From 8bf6e4f4de346e43c90fa2fa9665d40ee508b51d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 30 Dec 2025 10:29:18 +0000 Subject: [PATCH] fix: example/package.json & example/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-QS-14724253 --- example/package-lock.json | 42 ++++++++++++++++++++++++++++----------- example/package.json | 2 +- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/example/package-lock.json b/example/package-lock.json index 9bb8e74..55ade45 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@pankod/refine-antd": "3.3.2", "@pankod/refine-core": "3.3.1", - "@pankod/refine-nextjs-router": "3.3.1", + "@pankod/refine-nextjs-router": "^4.5.0", "@tspvivek/refine-directus": "^1.0.7", "next": "^12.0.3", "next-compose-plugins": "^2.2.1", @@ -504,18 +504,26 @@ } }, "node_modules/@pankod/refine-nextjs-router": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@pankod/refine-nextjs-router/-/refine-nextjs-router-3.3.1.tgz", - "integrity": "sha512-nN4Kw0l5OQMAc0GRTjxtmXOgDJTWnMFE+mvhe8s3TP99w/zrhC/IiV0/aXi5+j0iYvT1ky7Fx8HEV8Xm91mGOw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@pankod/refine-nextjs-router/-/refine-nextjs-router-4.5.0.tgz", + "integrity": "sha512-fDYZJPH1sgZzZ+bQMzZmH2tqqOO+cX13N1usCvgnRMViaUhaS5HZj60NnJa7KpsIMZ7qsSXvR1zoyicf/Q9upQ==", + "deprecated": "refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x", + "hasInstallScript": true, "license": "MIT", "dependencies": { - "qs": "^6.10.1" + "qs": "^6.10.1", + "warn-once": "^0.1.0" }, "engines": { "node": ">=10" }, "peerDependencies": { - "next": "^12.0.3" + "@pankod/refine-core": "^3.23.2", + "@types/react": "^17.0.0 || ^18.0.0", + "@types/react-dom": "^17.0.0 || ^18.0.0", + "next": "*", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" } }, "node_modules/@tspvivek/refine-directus": { @@ -576,7 +584,6 @@ "version": "17.0.11", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.11.tgz", "integrity": "sha512-f96K3k+24RaLGVu/Y2Ng3e1EbZ8/cVJvypZWd7cy0ofCBaf2lcM46xNhycMZ2xGwbBjRql7hOlZ+e2WlJ5MH3Q==", - "dev": true, "dependencies": { "@types/react": "*" } @@ -3916,6 +3923,12 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/warn-once": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz", + "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==", + "license": "MIT" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -4296,11 +4309,12 @@ } }, "@pankod/refine-nextjs-router": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@pankod/refine-nextjs-router/-/refine-nextjs-router-3.3.1.tgz", - "integrity": "sha512-nN4Kw0l5OQMAc0GRTjxtmXOgDJTWnMFE+mvhe8s3TP99w/zrhC/IiV0/aXi5+j0iYvT1ky7Fx8HEV8Xm91mGOw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@pankod/refine-nextjs-router/-/refine-nextjs-router-4.5.0.tgz", + "integrity": "sha512-fDYZJPH1sgZzZ+bQMzZmH2tqqOO+cX13N1usCvgnRMViaUhaS5HZj60NnJa7KpsIMZ7qsSXvR1zoyicf/Q9upQ==", "requires": { - "qs": "^6.10.1" + "qs": "^6.10.1", + "warn-once": "^0.1.0" } }, "@tspvivek/refine-directus": { @@ -4354,7 +4368,6 @@ "version": "17.0.11", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.11.tgz", "integrity": "sha512-f96K3k+24RaLGVu/Y2Ng3e1EbZ8/cVJvypZWd7cy0ofCBaf2lcM46xNhycMZ2xGwbBjRql7hOlZ+e2WlJ5MH3Q==", - "dev": true, "requires": { "@types/react": "*" } @@ -6747,6 +6760,11 @@ "unist-util-stringify-position": "^2.0.0" } }, + "warn-once": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz", + "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/example/package.json b/example/package.json index 860c16d..4142ffe 100644 --- a/example/package.json +++ b/example/package.json @@ -11,7 +11,7 @@ "dependencies": { "@pankod/refine-antd": "3.3.2", "@pankod/refine-core": "3.3.1", - "@pankod/refine-nextjs-router": "3.3.1", + "@pankod/refine-nextjs-router": "4.5.0", "@tspvivek/refine-directus": "^1.0.7", "next": "^12.0.3", "next-compose-plugins": "^2.2.1",