Skip to content

Commit

Permalink
chore(deps): update dependency d3-color to v3 [security] (#942)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency d3-color to v3 [security]

* chore: add name mapper for d3-color

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caele <tsm@qlik.com>
  • Loading branch information
renovate[bot] and Caele authored Nov 15, 2022
1 parent 1c8dd28 commit 7ffc720
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apis/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"main": "src/index.js",
"devDependencies": {
"d3-color": "2.0.0",
"d3-color": "3.1.0",
"extend": "3.0.2",
"node-event-emitter": "0.0.1"
}
Expand Down
9 changes: 1 addition & 8 deletions aw.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@ module.exports = {
exclude: [
'**/commands/**',
'**/__stories__/**',
'**/apis/nucleus/index.js',
'**/apis/locale/index.js',
'**/apis/stardust/index.js',
'**/apis/supernova/index.js',
'**/apis/theme/index.js',
'**/apis/conversion/index.js',
'**/apis/test-utils/index.js',
'**/apis/enigma-mocker/index.js',
'**/apis/**',
'**/packages/ui/icons/**/*.js', // Exclude the defined icons but test the `<SvgIcon />`
],
},
Expand Down
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ module.exports = {
coverageReporters: ['json', 'lcov', 'text-summary', 'clover'],
reporters: ['default', ['jest-junit', { outputDirectory: 'coverage/junit/' }]],
transformIgnorePatterns: ['/node_modules/(?!@qlik/sdk)'],
moduleNameMapper: {
'd3-color': '<rootDir>/node_modules/d3-color/dist/d3-color.min.js',
},
};
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9888,10 +9888,10 @@ cyclist@^1.0.1:
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==

d3-color@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e"
integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ==
d3-color@3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2"
integrity sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==

d3-require@1.3.0:
version "1.3.0"
Expand Down

0 comments on commit 7ffc720

Please sign in to comment.