diff --git a/package.json b/package.json index fe7f0805e7..ca12e04dc8 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "levelup/bl": ">=1.2.3", "levelup/semver": ">=5.7.2", "prettier": "^2.8.7", + "serialize-javascript": ">=6.0.2", "simple-update-notifier/semver": "^7.5.4", "tough-cookie": ">=4.1.3", "tslib": "^2.3.1", diff --git a/packages/objectloader/package.json b/packages/objectloader/package.json index 8710a039d9..244b469169 100644 --- a/packages/objectloader/package.json +++ b/packages/objectloader/package.json @@ -42,14 +42,14 @@ "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^21.0.3", "@rollup/plugin-node-resolve": "^13.1.3", + "@rollup/plugin-terser": "^0.4.4", "cross-fetch": "^3.1.5", "eslint": "^8.11.0", "eslint-config-prettier": "^8.5.0", "http-server": "^14.1.0", "prettier": "^2.5.1", "rollup": "^2.70.1", - "rollup-plugin-delete": "^2.0.0", - "rollup-plugin-terser": "^7.0.2" + "rollup-plugin-delete": "^2.0.0" }, "gitHead": "5627e490f9a3ecadf19cc4686ad15f344d9ad2d3" } diff --git a/packages/objectloader/rollup.config.js b/packages/objectloader/rollup.config.js index 9fac7515b5..2f4c0b31f7 100644 --- a/packages/objectloader/rollup.config.js +++ b/packages/objectloader/rollup.config.js @@ -1,6 +1,6 @@ import commonjs from '@rollup/plugin-commonjs' import nodeResolve from '@rollup/plugin-node-resolve' -import { terser } from 'rollup-plugin-terser' +import terser from '@rollup/plugin-terser' import { babel } from '@rollup/plugin-babel' import clean from 'rollup-plugin-delete' import pkg from './package.json' diff --git a/yarn.lock b/yarn.lock index 9f6568d19a..86e33601e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13772,6 +13772,7 @@ __metadata: "@rollup/plugin-babel": ^5.3.1 "@rollup/plugin-commonjs": ^21.0.3 "@rollup/plugin-node-resolve": ^13.1.3 + "@rollup/plugin-terser": ^0.4.4 "@speckle/shared": "workspace:^" core-js: ^3.21.1 cross-fetch: ^3.1.5 @@ -13782,7 +13783,6 @@ __metadata: regenerator-runtime: ^0.13.7 rollup: ^2.70.1 rollup-plugin-delete: ^2.0.0 - rollup-plugin-terser: ^7.0.2 languageName: unknown linkType: soft @@ -35075,8 +35075,8 @@ __metadata: linkType: hard "mocha@npm:^10.1.0": - version: 10.1.0 - resolution: "mocha@npm:10.1.0" + version: 10.2.0 + resolution: "mocha@npm:10.2.0" dependencies: ansi-colors: 4.1.1 browser-stdout: 1.3.1 @@ -35102,7 +35102,7 @@ __metadata: bin: _mocha: bin/_mocha mocha: bin/mocha.js - checksum: c64c7305769e09ae5559c1cd31eae8b4c7c0e19e328cf54d1374e5555a0f01e3d5dced99882911d927e0a9d0c613d0644a1750b848a2848fb7dcf4684f97f65f + checksum: 406c45eab122ffd6ea2003c2f108b2bc35ba036225eee78e0c784b6fa2c7f34e2b13f1dbacef55a4fdf523255d76e4f22d1b5aacda2394bd11666febec17c719 languageName: node linkType: hard @@ -41472,30 +41472,12 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:6.0.0, serialize-javascript@npm:^6.0.0": - version: 6.0.0 - resolution: "serialize-javascript@npm:6.0.0" - dependencies: - randombytes: ^2.1.0 - checksum: 56f90b562a1bdc92e55afb3e657c6397c01a902c588c0fe3d4c490efdcc97dcd2a3074ba12df9e94630f33a5ce5b76a74784a7041294628a6f4306e0ec84bf93 - languageName: node - linkType: hard - -"serialize-javascript@npm:^4.0.0": - version: 4.0.0 - resolution: "serialize-javascript@npm:4.0.0" - dependencies: - randombytes: ^2.1.0 - checksum: 3273b3394b951671fcf388726e9577021870dfbf85e742a1183fb2e91273e6101bdccea81ff230724f6659a7ee4cef924b0ff9baca32b79d9384ec37caf07302 - languageName: node - linkType: hard - -"serialize-javascript@npm:^6.0.1": - version: 6.0.1 - resolution: "serialize-javascript@npm:6.0.1" +"serialize-javascript@npm:>=6.0.2": + version: 6.0.2 + resolution: "serialize-javascript@npm:6.0.2" dependencies: randombytes: ^2.1.0 - checksum: 3c4f4cb61d0893b988415bdb67243637333f3f574e9e9cc9a006a2ced0b390b0b3b44aef8d51c951272a9002ec50885eefdc0298891bc27eb2fe7510ea87dc4f + checksum: c4839c6206c1d143c0f80763997a361310305751171dd95e4b57efee69b8f6edd8960a0b7fbfc45042aadff98b206d55428aee0dc276efe54f100899c7fa8ab7 languageName: node linkType: hard