From 5b3ed5877acfdb35e4faa2f46f06a8032ff8b574 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Wed, 2 Sep 2020 08:46:58 +0200 Subject: [PATCH] chore: bump notepack.io to version 2.2.0 Diff: https://github.com/darrachequesne/notepack/compare/2.1.3...2.2.0 --- package-lock.json | 6 +++--- package.json | 2 +- test/index.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b33c500..3254faf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -521,9 +521,9 @@ "dev": true }, "notepack.io": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/notepack.io/-/notepack.io-2.1.3.tgz", - "integrity": "sha512-AgSt+cP5XMooho1Ppn8NB3FFaVWefV+qZoZncYTUSch2GAEwlYLcIIbT5YVkMlFeNHnfwOvc4HDlbvrB5BRxXA==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/notepack.io/-/notepack.io-2.2.0.tgz", + "integrity": "sha512-9b5w3t5VSH6ZPosoYnyDONnUTF8o0UkBw7JLA6eBlYJWyGT1Q3vQa8Hmuj1/X6RYvHjjygBDgw6fJhe0JEojfw==" }, "object-component": { "version": "0.0.3", diff --git a/package.json b/package.json index 829a9a4..a9f9b48 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "debug": "~4.1.0", - "notepack.io": "~2.1.2", + "notepack.io": "~2.2.0", "redis": "^3.0.0", "socket.io-adapter": "~1.1.0", "uid2": "0.0.3" diff --git a/test/index.js b/test/index.js index 6559ae4..901331c 100644 --- a/test/index.js +++ b/test/index.js @@ -42,7 +42,7 @@ var socket1, socket2, socket3; done(); }); - var buf = new Buffer('asdfasdf', 'utf8'); + var buf = Buffer.from('asdfasdf', 'utf8'); var array = Uint8Array.of(1, 2, 3, 4); socket2.broadcast.emit('woot', [], { a: 'b' }, buf, array); });