Skip to content

Commit 5b39961

Browse files
authored
fix(security): upgrade serialize-javascript (#11434)
1 parent 46ae952 commit 5b39961

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"rollup-plugin-node-resolve": "^4.0.0",
134134
"rollup-plugin-replace": "^2.0.0",
135135
"selenium-server": "^2.53.1",
136-
"serialize-javascript": "^2.1.2",
136+
"serialize-javascript": "^3.1.0",
137137
"shelljs": "^0.8.1",
138138
"terser": "^3.10.2",
139139
"typescript": "^3.6.4",

packages/vue-server-renderer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lodash.template": "^4.5.0",
2626
"lodash.uniq": "^4.5.0",
2727
"resolve": "^1.2.0",
28-
"serialize-javascript": "^2.1.2",
28+
"serialize-javascript": "^3.1.0",
2929
"source-map": "0.5.6"
3030
},
3131
"devDependencies": {

yarn.lock

+13-4
Original file line numberDiff line numberDiff line change
@@ -6596,6 +6596,13 @@ randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5:
65966596
dependencies:
65976597
safe-buffer "^5.1.0"
65986598

6599+
randombytes@^2.1.0:
6600+
version "2.1.0"
6601+
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
6602+
integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
6603+
dependencies:
6604+
safe-buffer "^5.1.0"
6605+
65996606
randomfill@^1.0.3:
66006607
version "1.0.4"
66016608
resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458"
@@ -7151,10 +7158,12 @@ serialize-javascript@^1.4.0:
71517158
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.6.1.tgz#4d1f697ec49429a847ca6f442a2a755126c4d879"
71527159
integrity sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw==
71537160

7154-
serialize-javascript@^2.1.2:
7155-
version "2.1.2"
7156-
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-2.1.2.tgz#ecec53b0e0317bdc95ef76ab7074b7384785fa61"
7157-
integrity sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ==
7161+
serialize-javascript@^3.1.0:
7162+
version "3.1.0"
7163+
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-3.1.0.tgz#8bf3a9170712664ef2561b44b691eafe399214ea"
7164+
integrity sha512-JIJT1DGiWmIKhzRsG91aS6Ze4sFUrYbltlkg2onR5OrnNM02Kl/hnY/T4FN2omvyeBbQmMJv+K4cPOpGzOTFBg==
7165+
dependencies:
7166+
randombytes "^2.1.0"
71587167

71597168
set-blocking@~2.0.0:
71607169
version "2.0.0"

0 commit comments

Comments
 (0)