Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkogo committed Oct 9, 2024
1 parent f7a98b2 commit a64a554
Show file tree
Hide file tree
Showing 11 changed files with 889 additions and 311 deletions.
6 changes: 3 additions & 3 deletions examples/astro-xyflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
"dependencies": {
"@astrojs/react": "^3.6.2",
"@astrojs/svelte": "^5.7.1",
"@types/react": "^18.3.7",
"@astrojs/svelte": "^5.7.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@xyflow/react": "workspace:^",
"@xyflow/svelte": "workspace:^",
"astro": "^4.15.8",
"astro": "^4.15.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"svelte": "^4.2.19"
Expand Down
12 changes: 6 additions & 6 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test-e2e": "start-server-and-test 'pnpm serve' http-get://localhost:3000 'pnpm test-e2e-cypress'"
},
"dependencies": {
"@reduxjs/toolkit": "^2.2.7",
"@reduxjs/toolkit": "^2.2.8",
"@xyflow/react": "workspace:*",
"@xyflow/system": "workspace:*",
"classcat": "^5.0.5",
Expand All @@ -30,14 +30,14 @@
"devDependencies": {
"@cypress/skip-test": "^2.6.1",
"@types/dagre": "^0.7.52",
"@types/react": "^18.3.7",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"cypress": "13.14.2",
"@vitejs/plugin-react": "4.3.2",
"@vitejs/plugin-react-swc": "^3.7.1",
"cypress": "13.15.0",
"cypress-real-events": "1.13.0",
"start-server-and-test": "^2.0.8",
"typescript": "5.5.4",
"vite": "5.4.6"
"vite": "5.4.8"
}
}
14 changes: 7 additions & 7 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/kit": "^2.5.28",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@sveltejs/kit": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-svelte": "^2.44.0",
"eslint-plugin-svelte": "^2.44.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-check": "^4.0.2",
"svelte-check": "^4.0.4",
"tslib": "^2.7.0",
"typescript": "5.5.4",
"vite": "^5.4.6"
"vite": "^5.4.8"
},
"type": "module",
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"@playwright/test": "^1.47.1",
"@changesets/cli": "^2.27.9",
"@playwright/test": "^1.48.0",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"concurrently": "^9.0.1",
Expand All @@ -36,8 +36,8 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.22.0",
"turbo": "^2.1.2",
"rollup": "^4.24.0",
"turbo": "^2.1.3",
"typescript": "^5.5.0"
},
"packageManager": "pnpm@9.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"react-dom": ">=17"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/node": "^22.7.5",
"@types/react": ">=18",
"@types/react-dom": ">=18",
"@xyflow/eslint-config": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useStore } from '../../hooks/useStore';

const selector = (state: ReactFlowState) => state.domNode?.querySelector('.react-flow__renderer');

export function NodeToolbarPortal({ children }: { children: ReactNode }) {
export function NodeToolbarPortal({ children }: { children: ReactNode }) : JSX.Element | null {
const wrapperRef = useStore(selector);

if (!wrapperRef) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/EdgeLabelRenderer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { ReactFlowState } from '../../types';

const selector = (s: ReactFlowState) => s.domNode?.querySelector('.react-flow__edgelabel-renderer');

export function EdgeLabelRenderer({ children }: { children: ReactNode }) {
export function EdgeLabelRenderer({ children }: { children: ReactNode }) : JSX.Element | null {
const edgeLabelRenderer = useStore(selector);

if (!edgeLabelRenderer) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/ViewportPortal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { ReactFlowState } from '../../types';

const selector = (s: ReactFlowState) => s.domNode?.querySelector('.react-flow__viewport-portal');

export function ViewportPortal({ children }: { children: ReactNode }) {
export function ViewportPortal({ children }: { children: ReactNode }) : JSX.Element | null {
const viewPortalDiv = useStore(selector);

if (!viewPortalDiv) {
Expand Down
14 changes: 7 additions & 7 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,28 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/kit": "^2.5.28",
"@sveltejs/kit": "^2.6.4",
"@sveltejs/package": "^2.3.5",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-svelte": "^2.44.0",
"eslint-plugin-svelte": "^2.44.1",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^16.1.0",
"postcss-nested": "^6.2.0",
"postcss-rename": "^0.6.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-check": "^4.0.2",
"svelte-check": "^4.0.4",
"svelte-eslint-parser": "^0.41.1",
"svelte-preprocess": "^6.0.2",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.7.0",
"typescript": "5.5.4"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
},
"dependencies": {
"@types/d3-drag": "^3.0.7",
"@types/d3-selection": "^3.0.10",
"@types/d3-transition": "^3.0.8",
"@types/d3-selection": "^3.0.11",
"@types/d3-transition": "^3.0.9",
"@types/d3-zoom": "^3.0.8",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/node": "^22.7.5",
"@xyflow/eslint-config": "workspace:*",
"@xyflow/rollup-config": "workspace:*",
"@xyflow/tsconfig": "workspace:*",
Expand Down
Loading

0 comments on commit a64a554

Please sign in to comment.