Skip to content

Commit 208a997

Browse files
committed
fix: revert javascript-stringify to 1.x
1 parent a6fb9af commit 208a997

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

packages/@vue/cli-ui/apollo-server/connectors/configurations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require('fs-extra')
22
const path = require('path')
33
const yaml = require('js-yaml')
44
const clone = require('clone')
5-
const stringifyJS = require('javascript-stringify').stringify
5+
const stringifyJS = require('javascript-stringify')
66
// Connectors
77
const cwd = require('./cwd')
88
const plugins = require('./plugins')

packages/@vue/cli-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"graphql-subscriptions": "^1.1.0",
4848
"graphql-tag": "^2.9.2",
4949
"graphql-type-json": "^0.3.0",
50-
"javascript-stringify": "^2.0.0",
50+
"javascript-stringify": "^1.6.0",
5151
"js-yaml": "^3.13.1",
5252
"lodash.merge": "^4.6.1",
5353
"lowdb": "^1.0.0",

packages/@vue/cli/lib/util/stringifyJS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = function stringifyJS (value) {
2-
const { stringify } = require('javascript-stringify')
2+
const stringify = require('javascript-stringify')
33
return stringify(value, (val, indent, stringify) => {
44
if (val && val.__expression) {
55
return val.__expression

packages/@vue/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"import-global": "^0.1.0",
4343
"inquirer": "^6.3.1",
4444
"isbinaryfile": "^3.0.2",
45-
"javascript-stringify": "^2.0.0",
45+
"javascript-stringify": "^1.6.0",
4646
"js-yaml": "^3.13.1",
4747
"lodash.clonedeep": "^4.5.0",
4848
"minimist": "^1.2.0",

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16900,10 +16900,10 @@ vue-hot-reload-api@^2.3.0:
1690016900
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"
1690116901
integrity sha512-AA86yKZ5uOKz87/q1UpngEXhbRkaYg1b7HMMVRobNV1IVKqZe8oLIzo6iMocVwZXnYitlGwf2k4ZRLOZlS8oPQ==
1690216902

16903-
vue-i18n@^8.10.0:
16904-
version "8.10.0"
16905-
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.10.0.tgz#e95f215b5548bedf5610c14506acb3438717b6bd"
16906-
integrity sha512-n2A9Q5dbwk3q4r6cOdT5jJaMb/mV4JtkNmgSiUNtoDp+N00bQHzpALM2XRyNzu7WZSHyi10/wBrNKl0unNKpVg==
16903+
vue-i18n@^8.11.2:
16904+
version "8.11.2"
16905+
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.11.2.tgz#92827fc42449f4602d2a0ddb437dfc4e3370d9d7"
16906+
integrity sha512-STcpmxqBrG77SyWi7e0Yn/B3DjKR6mSDwYS4F/V7zoi+e/+CPbVb2TaBqFwnrkoDcPmRfjM7nTwsiRQQOGdifw==
1690716907

1690816908
vue-instantsearch@^1.5.1:
1690916909
version "1.7.0"
@@ -17904,10 +17904,10 @@ xtend@^4.0.0, xtend@~4.0.1:
1790417904
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
1790517905
integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68=
1790617906

17907-
xterm@^3.12.0:
17908-
version "3.12.0"
17909-
resolved "https://registry.yarnpkg.com/xterm/-/xterm-3.12.0.tgz#74cc54013140cf0fd38a05a0d5d49e013e8a53bd"
17910-
integrity sha512-U5w1NJdrqAtnNju4W05uOxLzNgMD1sk0AnIkZ//Wa7xRdQTi9Dl1qkPdAaxWJ1a7A8xzNM4ogrX/4oSVl15qOw==
17907+
xterm@^3.12.2:
17908+
version "3.12.2"
17909+
resolved "https://registry.yarnpkg.com/xterm/-/xterm-3.12.2.tgz#ec8563857c7b098973bab4dbf537f1a7c6a790c8"
17910+
integrity sha512-FSXovDdsqIKqoayC6+zFzhaHi+A3NSceM5rgTW88DH7sS96HdwMToB2p1rW+FyNsSqfAgFwlXDRQk+fh/aHvPQ==
1791117911

1791217912
y18n@^3.2.1:
1791317913
version "3.2.1"

0 commit comments

Comments
 (0)