Skip to content

Commit

Permalink
chore(deps): update dependency d3 to v7 (#768)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency d3 to v7

* Update changeset

* Fix app tests

* Fix extension test

* Format

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <[email protected]>
  • Loading branch information
renovate[bot] and Methuselah96 authored Jan 2, 2023
1 parent aac607c commit 9354604
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 151 deletions.
2 changes: 1 addition & 1 deletion .changeset/spicy-olives-compete.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

- Remove UMD build.
- Upgrade d3 peer dependency from v3 to v6.
- Upgrade d3 peer dependency from v3 to v7.
- Remove `attr` configuration method.
- Rename `style` configuration method to `styles` and move to options.
- Move `text` configuration method to options.
Expand Down
1 change: 1 addition & 0 deletions extension/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module.exports = {
moduleNameMapper: {
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
transformIgnorePatterns: ['<rootDir>/node_modules/(?!(d3)/)'],
resolver: '<rootDir>/jestResolver.js',
};
4 changes: 2 additions & 2 deletions packages/d3-state-visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
},
"dependencies": {
"@babel/runtime": "^7.20.6",
"@types/d3": "^6.7.5",
"d3": "^6.7.0",
"@types/d3": "^7.4.0",
"d3": "^7.8.0",
"d3tooltip": "^2.1.0",
"deepmerge": "^4.2.2",
"map2tree": "^2.1.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/d3tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/d3": "^6.7.5",
"@types/d3": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"d3": "^6.7.0",
"d3": "^7.8.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"rimraf": "^3.0.2",
"typescript": "~4.9.4"
},
"peerDependencies": {
"@types/d3": "^6.7.5",
"d3": "^6.7.0"
"@types/d3": "^7.4.0",
"d3": "^7.8.0"
}
}
2 changes: 2 additions & 0 deletions packages/redux-devtools-app/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ module.exports = {
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
transform: {
'^.+\\.jsx?$': 'babel-jest',
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
},
transformIgnorePatterns: ['<rootDir>/node_modules/(?!(d3)/)'],
resolver: '<rootDir>/jestResolver.js',
};
Loading

0 comments on commit 9354604

Please sign in to comment.