Skip to content

Commit

Permalink
Bump deps and update types
Browse files Browse the repository at this point in the history
  • Loading branch information
vasturiano committed Oct 18, 2024
1 parent 3b3d5b4 commit c994978
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,20 @@
"react": "*"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/react": "^18.3.9",
"@types/three": "^0.168.0",
"@types/react": "^18.3.11",
"@types/three": "^0.169.0",
"rimraf": "^6.0.1",
"rollup": "^4.22.4",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
},
"engines": {
"node": ">=12"
Expand Down
4 changes: 2 additions & 2 deletions src/forcegraph-proptypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export const ForceGraph2DPropTypes = Object.assign({},
autoPauseRedraw: PropTypes.bool,
minZoom: PropTypes.number,
maxZoom: PropTypes.number,
enableZoomInteraction: PropTypes.bool,
enablePanInteraction: PropTypes.bool,
enableZoomInteraction: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]),
enablePanInteraction: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]),
onZoom: PropTypes.func,
onZoomEnd: PropTypes.func,
onRenderFramePre: PropTypes.func,
Expand Down
4 changes: 2 additions & 2 deletions src/packages/react-force-graph-2d/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ export interface ForceGraphProps<
onZoom?: (transform: {k: number, x: number, y: number}) => void;
onZoomEnd?: (transform: {k: number, x: number, y: number}) => void;
enableNodeDrag?: boolean;
enableZoomInteraction?: boolean;
enablePanInteraction?: boolean;
enableZoomInteraction?: boolean | ((event: MouseEvent) => boolean);
enablePanInteraction?: boolean | ((event: MouseEvent) => boolean);
enablePointerInteraction?: boolean;
}

Expand Down
2 changes: 1 addition & 1 deletion src/packages/react-force-graph-2d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"rimraf": "^6.0.1",
"rollup": "^4.22.4"
"rollup": "^4.24.0"
},
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion src/packages/react-force-graph-3d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"rimraf": "^6.0.1",
"rollup": "^4.22.4"
"rollup": "^4.24.0"
},
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion src/packages/react-force-graph-ar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"devDependencies": {
"rimraf": "^6.0.1",
"rollup": "^4.22.4"
"rollup": "^4.24.0"
},
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion src/packages/react-force-graph-vr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"rimraf": "^6.0.1",
"rollup": "^4.22.4"
"rollup": "^4.24.0"
},
"engines": {
"node": ">=12"
Expand Down

0 comments on commit c994978

Please sign in to comment.