Switch json-stable-stringify to fast-json-stable-stringify (#8590)
This commit is contained in:
1 parent
9184743081
commit
8a4d9a242b
4 files changed
+4
-16
No files matched your search
+1
-1
@@ -40,6 +40,7 @@
|
||||
"escape-string-regexp": "4.0.0",
|
||||
"esutils": "2.0.3",
|
||||
"fast-glob": "3.2.4",
|
||||
"fast-json-stable-stringify": "2.1.0",
|
||||
"find-parent-dir": "0.3.0",
|
||||
"find-project-root": "1.1.1",
|
||||
"flow-parser": "0.127.0",
|
||||
@@ -51,7 +52,6 @@
|
||||
"html-tag-names": "1.1.5",
|
||||
"ignore": "4.0.6",
|
||||
"jest-docblock": "26.0.0",
|
||||
"json-stable-stringify": "1.0.1",
|
||||
"leven": "3.1.0",
|
||||
"lines-and-columns": "1.1.6",
|
||||
"linguist-languages": "7.9.0",
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ require("please-upgrade-node")(require("../../package.json"));
|
||||
|
||||
// eslint-disable-next-line no-restricted-modules
|
||||
const prettier = require("../index");
|
||||
const stringify = require("json-stable-stringify");
|
||||
const stringify = require("fast-json-stable-stringify");
|
||||
const util = require("./util");
|
||||
|
||||
function run(args) {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ const fs = require("fs");
|
||||
|
||||
const chalk = require("chalk");
|
||||
const readline = require("readline");
|
||||
const stringify = require("json-stable-stringify");
|
||||
const stringify = require("fast-json-stable-stringify");
|
||||
const fromPairs = require("lodash/fromPairs");
|
||||
const pick = require("lodash/pick");
|
||||
const groupBy = require("lodash/groupBy");
|
||||
|
||||
@@ -3541,7 +3541,7 @@ fast-glob@3.2.4, fast-glob@^3.1.1:
|
||||
micromatch "^4.0.2"
|
||||
picomatch "^2.2.1"
|
||||
|
||||
fast-json-stable-stringify@^2.0.0:
|
||||
fast-json-stable-stringify@2.1.0, fast-json-stable-stringify@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
|
||||
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
|
||||
@@ -5007,13 +5007,6 @@ json-stable-stringify-without-jsonify@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
|
||||
integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=
|
||||
|
||||
json-stable-stringify@1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af"
|
||||
integrity sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=
|
||||
dependencies:
|
||||
jsonify "~0.0.0"
|
||||
|
||||
json-stringify-safe@~5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
|
||||
@@ -5042,11 +5035,6 @@ jsonfile@^6.0.1:
|
||||
optionalDependencies:
|
||||
graceful-fs "^4.1.6"
|
||||
|
||||
jsonify@~0.0.0:
|
||||
version "0.0.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
|
||||
integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=
|
||||
|
||||
jsprim@^1.2.2:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
|
||||
|
||||
Reference in new issue
Block a user