diff --git a/package-lock.json b/package-lock.json index 5e79247..f95cd48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@apollo/client": "^3.14.0", "@apollo/react-testing": "^4.0.0", "@faustwp/cli": "1.2.1", - "@faustwp/core": "1.2.0", + "@faustwp/core": "3.3.2", "@wordpress/base-styles": "^4.49.0", "@wordpress/block-library": "^8.35.0", "classnames": "^2.5.1", @@ -23,7 +23,7 @@ "react-dom": "^18.3.1", "react-icons": "^4.12.0", "sass": "^1.93.3", - "universal-cookie": "^6.1.3", + "universal-cookie": "^8.0.1", "use-debounce": "^10.0.6" }, "devDependencies": { @@ -2295,22 +2295,24 @@ } }, "node_modules/@faustwp/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@faustwp/core/-/core-1.2.0.tgz", - "integrity": "sha512-ZVIoG1YZvFI5L53YNgW5IdFxCC+6fTkN+tEv8v3pY6xt7AlSiTLTJ3j9h7fVD78MrtDa49uHhgyKLB1uPEPYCw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@faustwp/core/-/core-3.3.2.tgz", + "integrity": "sha512-1RGeyLpTbnNpEFiZ7j7o1BjIyL2kdhEWp7WvZkhpBnqloU6mZf67Rnld2uGs/6BvjeR7DpYwtEl8tpIYq+XvDw==", + "license": "MIT", "dependencies": { "@wordpress/hooks": "^3.14.0", "chalk": "^4.1.2", "classnames": "^2.3.2", - "cookie": "^0.5.0", + "cookie": "^0.7.0", "deepmerge": "^4.2.2", - "fast-xml-parser": "^4.2.5", + "fast-xml-parser": "^4.4.1", "isomorphic-fetch": "^3.0.0", + "js-cookie": "^3.0.5", "js-sha256": "^0.9.0", "lodash": "^4.17.21" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -4773,11 +4775,6 @@ "@babel/types": "^7.20.7" } }, - "node_modules/@types/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" - }, "node_modules/@types/glob": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", @@ -7759,9 +7756,10 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -12744,6 +12742,15 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/js-cookie": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, "node_modules/js-sha256": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", @@ -16270,20 +16277,21 @@ } }, "node_modules/universal-cookie": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/universal-cookie/-/universal-cookie-6.1.3.tgz", - "integrity": "sha512-AETYRrhpRgl9T1YtnODmQE32G81U3A+f3HO3ZeK7efbXqe3x+RNOW4RTpV0iff7zJWhGYJA6EI0Mm+w50aFTAw==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/universal-cookie/-/universal-cookie-8.0.1.tgz", + "integrity": "sha512-B6ks9FLLnP1UbPPcveOidfvB9pHjP+wekP2uRYB9YDfKVpvcjKgy1W5Zj+cEXJ9KTPnqOKGfVDQBmn8/YCQfRg==", + "license": "MIT", "dependencies": { - "@types/cookie": "^0.6.0", - "cookie": "^0.6.0" + "cookie": "^1.0.2" } }, "node_modules/universal-cookie/node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", + "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", + "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">=18" } }, "node_modules/universalify": { diff --git a/package.json b/package.json index 09054bb..f8d85cd 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@apollo/client": "^3.14.0", "@apollo/react-testing": "^4.0.0", "@faustwp/cli": "1.2.1", - "@faustwp/core": "1.2.0", + "@faustwp/core": "3.3.2", "@wordpress/base-styles": "^4.49.0", "@wordpress/block-library": "^8.35.0", "classnames": "^2.5.1", @@ -27,7 +27,7 @@ "react-dom": "^18.3.1", "react-icons": "^4.12.0", "sass": "^1.93.3", - "universal-cookie": "^6.1.3", + "universal-cookie": "^8.0.1", "use-debounce": "^10.0.6" }, "devDependencies": {