diff --git a/packages/builder/package.json b/packages/builder/package.json index 96ca130931..eb10930963 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -22,7 +22,7 @@ "lodash": "^4.17.15", "pify": "^4.0.1", "semver": "^7.3.2", - "serialize-javascript": "^3.1.0", + "serialize-javascript": "^4.0.0", "upath": "^1.2.0" }, "publishConfig": { diff --git a/packages/utils/package.json b/packages/utils/package.json index f03971016b..252a85b9f3 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -13,7 +13,7 @@ "hash-sum": "^2.0.0", "proper-lockfile": "^4.1.1", "semver": "^7.3.2", - "serialize-javascript": "^3.1.0", + "serialize-javascript": "^4.0.0", "signal-exit": "^3.0.3", "ua-parser-js": "^0.7.21" }, diff --git a/yarn.lock b/yarn.lock index 8690b3d8df..210909e3a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11611,6 +11611,13 @@ serialize-javascript@^3.1.0: dependencies: randombytes "^2.1.0" +serialize-javascript@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" + integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== + dependencies: + randombytes "^2.1.0" + serve-placeholder@^1.2.2: version "1.2.2" resolved "https://registry.npmjs.org/serve-placeholder/-/serve-placeholder-1.2.2.tgz#034960945b5950f873b2be4e4ea3a4653b9e33e5"