aboutsummaryrefslogtreecommitdiff
path: root/node_modules/hullabaloo-config-manager/lib/Verifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/hullabaloo-config-manager/lib/Verifier.js')
-rw-r--r--node_modules/hullabaloo-config-manager/lib/Verifier.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/hullabaloo-config-manager/lib/Verifier.js b/node_modules/hullabaloo-config-manager/lib/Verifier.js
index 267fcb2bb..0ac85a558 100644
--- a/node_modules/hullabaloo-config-manager/lib/Verifier.js
+++ b/node_modules/hullabaloo-config-manager/lib/Verifier.js
@@ -5,6 +5,7 @@ const path = require('path')
const isEqual = require('lodash.isequal')
const md5Hex = require('md5-hex')
+const SafeBuffer = require('safe-buffer').Buffer
const currentEnv = require('./currentEnv')
const hashDependencies = require('./hashDependencies')
@@ -134,7 +135,7 @@ class Verifier {
}
toBuffer () {
- return Buffer.from(JSON.stringify({
+ return SafeBuffer.from(JSON.stringify({
babelrcDir: this.babelrcDir,
envNames: this.envNames,
dependencies: this.dependencies,