diff --git a/lib/options-hash.js b/lib/options-hash.js index 12526bb..30bf4c4 100644 --- a/lib/options-hash.js +++ b/lib/options-hash.js @@ -1,6 +1,6 @@ 'use strict'; -const stringify = require('json-stable-stringify'); +const stringify = require('safe-stable-stringify'); const crypto = require('crypto'); const hashForDep = require('hash-for-dep'); const path = require('path'); diff --git a/package.json b/package.json index f7cf5f1..9449dfa 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "hash-for-dep": "^1.4.7", "heimdalljs": "^0.2.1", "heimdalljs-logger": "^0.1.9", - "json-stable-stringify": "^1.0.1", + "safe-stable-stringify": "^2.2.0", "rsvp": "^4.8.4", "workerpool": "^6.0.2" },