From 5ae6d91367a719bb80f68ff5d13dff0cd64939ec Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 7 Mar 2019 19:28:49 +0000 Subject: [PATCH 1/2] Update dependency javascript-stringify to v2 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9b8c185..c297e70 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "deepmerge": "^1.5.2", - "javascript-stringify": "^1.6.0" + "javascript-stringify": "^2.0.0" }, "devDependencies": { "@types/node": "^10.12.17", diff --git a/yarn.lock b/yarn.lock index 3dc7a17..b9a3aef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2841,10 +2841,10 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= -javascript-stringify@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" - integrity sha1-FC0RHzpuPa6PSpr9d9RYVbWpzOM= +javascript-stringify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-2.0.0.tgz#ef750216ae66504ffd670b68c8b8aa07bdf7b588" + integrity sha512-zzK8+ByrzvOL6N92hRewwUKL0wN0TOaIuUjX0Jj8lraxWvr5wHYs2YTjaj2lstF+8qMv5cmPPef47va8NT8lDw== js-string-escape@^1.0.1: version "1.0.1" From ccafd1c48fc519c86b1161ccd6862563e77d2193 Mon Sep 17 00:00:00 2001 From: Eli Perelman Date: Mon, 11 Mar 2019 14:54:27 -0700 Subject: [PATCH 2/2] Switch to destructured imports for javascript-stringify --- src/Config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.js b/src/Config.js index 359b827..6440ada 100644 --- a/src/Config.js +++ b/src/Config.js @@ -46,7 +46,7 @@ module.exports = class extends ChainedMap { static toString(config, { verbose = false, configPrefix = 'config' } = {}) { // eslint-disable-next-line global-require - const stringify = require('javascript-stringify'); + const { stringify } = require('javascript-stringify'); return stringify( config,