diff --git a/packages/builder/package.json b/packages/builder/package.json index e400870ed6..e35f85e9b5 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -22,7 +22,7 @@ "lodash": "^4.17.20", "pify": "^4.0.1", "semver": "^7.3.2", - "serialize-javascript": "^4.0.0", + "serialize-javascript": "^5.0.0", "upath": "^1.2.0" }, "publishConfig": { diff --git a/packages/utils/package.json b/packages/utils/package.json index f08f919f41..f1a807bee7 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": "^4.0.0", + "serialize-javascript": "^5.0.0", "signal-exit": "^3.0.3", "ua-parser-js": "^0.7.21" }, diff --git a/yarn.lock b/yarn.lock index 959b2feb64..f104224d5d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11719,6 +11719,13 @@ serialize-javascript@^4.0.0: dependencies: randombytes "^2.1.0" +serialize-javascript@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.0.tgz#55ec4cbbbbb5440a1aca9e5e8b0c9168e6fb565b" + integrity sha512-JyENN0vEVTeDAFn+s4whS5OxSadXxb14iEtUOo8fw9h1xYd+/kjQ6zWVxHm7W8HfQjGxnD1TYlh3PhAZlj0xbg== + 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"