Skip to content

Commit

Permalink
deps(scale): bump d3-interpolate and d3-scale (#1578)
Browse files Browse the repository at this point in the history
* deps(scale): bump `d3-interpolate` and `d3-scale`

Closes #1577

Bumping these packages allows for `d3-color` version 3.1.0 or higher to
be installed, fixing this vulnerability:
GHSA-36jr-mh4h-2g58

* deps(scale): update yarn.lock

* chore: configure modules that need to be transformed by babel
  • Loading branch information
jreyes33 authored Dec 22, 2022
1 parent 77292e2 commit 0f7ee0a
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 22 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const plugins = ['babel-plugin-typescript-to-proptypes'];

const ignore = [
'coverage/',
'node_modules/',
'node_modules/(?!(d3-(array|color|format|interpolate|scale|time|time-format)|internmap)/)',
'public/',
'esm/',
'lib/',
Expand Down
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ module.exports = {
timers: 'fake',
verbose: false,
testPathIgnorePatterns: ['<rootDir>/packages/visx-demo', '<rootDir>/packages/visx-visx'],
transformIgnorePatterns: [
'node_modules/(?!(d3-(array|color|format|interpolate|scale|time|time-format)|internmap)/)',
],
};
8 changes: 4 additions & 4 deletions packages/visx-scale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
},
"homepage": "https://github.com/airbnb/visx#readme",
"dependencies": {
"@types/d3-interpolate": "^1.3.1",
"@types/d3-scale": "^3.3.0",
"@types/d3-interpolate": "^3.0.1",
"@types/d3-scale": "^4.0.2",
"@types/d3-time": "^2.0.0",
"d3-interpolate": "^1.4.0",
"d3-scale": "^3.3.0",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-time": "^2.1.1"
},
"publishConfig": {
Expand Down
Loading

0 comments on commit 0f7ee0a

Please sign in to comment.