Skip to content

Commit

Permalink
Use safe-buffer for Node v4 compatibility. (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Nov 6, 2017
1 parent 711389a commit c6eb6d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"package-json": "^2.4.0",
"power-assert": "^1.4.2",
"propprop": "^0.3.1",
"safe-buffer": "^5.1.1",
"semver": "^5.3.0",
"shelljs": "^0.7.3",
"string-format-obj": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/datastore/system-test/datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

var assert = require('assert');
var async = require('async');
var Buffer = require('safe-buffer').Buffer;

var Datastore = require('../');
var entity = require('../src/entity.js');
Expand Down

0 comments on commit c6eb6d7

Please sign in to comment.