fix npm security audit warning

This commit is contained in:
olevole
2020-10-04 00:40:03 +03:00
parent 6c8f6aa318
commit 74a2a22a71
58 changed files with 9719 additions and 37516 deletions

View File

@@ -4,8 +4,8 @@ var assert = require('assert');
var helper = require('./helper');
var util = require('util');
var data1 = new Buffer([1,2,3,4]);
var data2 = new Buffer([1,2,3,4]);
var data1 = Buffer.alloc(4, [1,2,3,4]);
var data2 = Buffer.alloc(4, [1,2,3,4]);
helper.bind(function(conn, data) {
if(String(data).indexOf('put') > -1) {