diff --git a/libs/policy-engine/package.json b/libs/policy-engine/package.json index 699bf70db..73a408fef 100644 --- a/libs/policy-engine/package.json +++ b/libs/policy-engine/package.json @@ -8,7 +8,7 @@ "devDependencies": { "@babel/core": "^7.20.5", "@babel/preset-env": "^7.20.2", - "@rollup/plugin-terser": "^0.1.0", + "@rollup/plugin-terser": "^0.4.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "rollup": "^3.4.0", diff --git a/libs/url-state-router/package.json b/libs/url-state-router/package.json index 934a8ea6a..29b047b3d 100644 --- a/libs/url-state-router/package.json +++ b/libs/url-state-router/package.json @@ -18,7 +18,7 @@ "@babel/preset-react": "^7.18.6", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^13.1.3", - "@rollup/plugin-terser": "^0.1.0", + "@rollup/plugin-terser": "^0.4.0", "@testing-library/dom": "^8.19.0", "@testing-library/react": "^13.4.0", "@testing-library/react-hooks": "^8.0.1", diff --git a/package-lock.json b/package-lock.json index bde5b49e3..7cd27c340 100644 --- a/package-lock.json +++ b/package-lock.json @@ -859,7 +859,7 @@ "devDependencies": { "@babel/core": "^7.20.5", "@babel/preset-env": "^7.20.2", - "@rollup/plugin-terser": "^0.1.0", + "@rollup/plugin-terser": "^0.4.0", "babel-jest": "^29.3.1", "jest": "^29.3.1", "rollup": "^3.4.0", @@ -908,7 +908,7 @@ "@babel/preset-react": "^7.18.6", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^13.1.3", - "@rollup/plugin-terser": "^0.1.0", + "@rollup/plugin-terser": "^0.4.0", "@testing-library/dom": "^8.19.0", "@testing-library/react": "^13.4.0", "@testing-library/react-hooks": "^8.0.1", @@ -5219,9 +5219,9 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", @@ -5229,9 +5229,9 @@ } }, "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, "dependencies": { "@jridgewell/set-array": "^1.0.1", @@ -6198,18 +6198,20 @@ "dev": true }, "node_modules/@rollup/plugin-terser": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.1.0.tgz", - "integrity": "sha512-N2KK+qUfHX2hBzVzM41UWGLrEmcjVC37spC8R3c9mt3oEDFKh3N2e12/lLp9aVSt86veR0TQiCNQXrm8C6aiUQ==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz", + "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==", "dev": true, "dependencies": { - "terser": "^5.15.1" + "serialize-javascript": "^6.0.1", + "smob": "^1.0.0", + "terser": "^5.17.4" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^2.x || ^3.x" + "rollup": "^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -35058,6 +35060,12 @@ "npm": ">= 3.0.0" } }, + "node_modules/smob": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/smob/-/smob-1.4.1.tgz", + "integrity": "sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ==", + "dev": true + }, "node_modules/snake-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz", @@ -36340,13 +36348,13 @@ "link": true }, "node_modules/terser": { - "version": "5.16.8", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.8.tgz", - "integrity": "sha512-QI5g1E/ef7d+PsDifb+a6nnVgC4F22Bg6T0xrBrz6iloVB4PUkkunp6V8nzoOOZJIzjWVdAGqCdlKlhLq/TbIA==", + "version": "5.21.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.21.0.tgz", + "integrity": "sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw==", "dev": true, "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" },