Skip to content

Commit

Permalink
use safe-buffer (compatibility with older node versions)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJONSSON committed Mar 29, 2020
1 parent 63f6bfe commit 6753e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/connection/test-auth-switch-clear-insecure.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var assert = require('assert');
var Buffer = require('safe-buffer').Buffer;
var common = require('../../common');
var connection = common.createConnection({
port : common.fakeServerPort,
Expand Down
1 change: 1 addition & 0 deletions test/unit/connection/test-auth-switch-clear-secure.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var assert = require('assert');
var Buffer = require('safe-buffer').Buffer;
var common = require('../../common');
var connection = common.createConnection({
port : common.fakeServerPort,
Expand Down

0 comments on commit 6753e1b

Please sign in to comment.