Skip to content

Commit

Permalink
Use fast-json-stable-stringify instead of json-stable-stringify. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgtybhertgeghgtwtg authored and thymikee committed May 27, 2018
1 parent 6eeadab commit 40d15f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"chalk": "^2.0.1",
"convert-source-map": "^1.4.0",
"exit": "^0.1.2",
"fast-json-stable-stringify": "^2.0.0",
"graceful-fs": "^4.1.11",
"jest-config": "^23.0.0",
"jest-haste-map": "^23.0.0",
Expand All @@ -22,7 +23,6 @@
"jest-snapshot": "^23.0.0",
"jest-util": "^23.0.0",
"jest-validate": "^23.0.0",
"json-stable-stringify": "^1.0.1",
"micromatch": "^2.3.11",
"realpath-native": "^1.0.0",
"slash": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/script_transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {transform as babelTransform} from 'babel-core';
import babelPluginIstanbul from 'babel-plugin-istanbul';
import convertSourceMap from 'convert-source-map';
import HasteMap from 'jest-haste-map';
import stableStringify from 'json-stable-stringify';
import stableStringify from 'fast-json-stable-stringify';
import slash from 'slash';
import {version as VERSION} from '../package.json';
import shouldInstrument from './should_instrument';
Expand Down

0 comments on commit 40d15f9

Please sign in to comment.