From 390f30d3519c280416e5ad05e3e2d3dec7695dc1 Mon Sep 17 00:00:00 2001 From: Supereg Date: Mon, 19 Sep 2022 18:16:58 +0900 Subject: [PATCH] Replace put package with our fork @homebridge/put --- lib/marshall.js | 2 +- package-lock.json | 28 ++++++++++++++-------------- package.json | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/marshall.js b/lib/marshall.js index 5a743416..38b48e8c 100644 --- a/lib/marshall.js +++ b/lib/marshall.js @@ -1,7 +1,7 @@ const assert = require('assert'); const parseSignature = require('./signature'); -const put = require('put'); +const put = require('@homebridge/put'); const Marshallers = require('./marshallers'); const align = require('./align').align; diff --git a/package-lock.json b/package-lock.json index 2ff497e6..f61560c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "license": "MIT", "dependencies": { "@homebridge/long": "^5.2.1", + "@homebridge/put": "0.0.7", "event-stream": "^4.0.0", "hexy": "^0.2.10", "optimist": "^0.6.1", - "put": "0.0.6", "safe-buffer": "^5.1.1", "xml2js": "^0.4.17" }, @@ -450,6 +450,14 @@ "resolved": "https://registry.npmjs.org/@homebridge/long/-/long-5.2.1.tgz", "integrity": "sha512-i5Df8R63XNPCn+Nj1OgAoRdw9e+jHUQb3CNUbvJneI2iu3j4+OtzQj+5PA1Ce+747NR1SPqZSvyvD483dOT3AA==" }, + "node_modules/@homebridge/put": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@homebridge/put/-/put-0.0.7.tgz", + "integrity": "sha512-W6Ow4i+8qyVOSwWUbkB01lNoONyPUB+sul+bqzCKE0S+1Y1/mKyYkHsQOm0IPyTP5Sj6mLYJyB6EAqJiWEtkMQ==", + "engines": { + "node": ">=0.3.0" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -4204,14 +4212,6 @@ "node": ">=6" } }, - "node_modules/put": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/put/-/put-0.0.6.tgz", - "integrity": "sha512-w0szIZ2NkqznMFqxYPRETCIi+q/S8UKis9F4yOl6/N9NDCZmbjZZT85aI4FgJf3vIPrzMPX60+odCLOaYxNWWw==", - "engines": { - "node": ">=0.3.0" - } - }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -5557,6 +5557,11 @@ "resolved": "https://registry.npmjs.org/@homebridge/long/-/long-5.2.1.tgz", "integrity": "sha512-i5Df8R63XNPCn+Nj1OgAoRdw9e+jHUQb3CNUbvJneI2iu3j4+OtzQj+5PA1Ce+747NR1SPqZSvyvD483dOT3AA==" }, + "@homebridge/put": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@homebridge/put/-/put-0.0.7.tgz", + "integrity": "sha512-W6Ow4i+8qyVOSwWUbkB01lNoONyPUB+sul+bqzCKE0S+1Y1/mKyYkHsQOm0IPyTP5Sj6mLYJyB6EAqJiWEtkMQ==" + }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -8348,11 +8353,6 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, - "put": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/put/-/put-0.0.6.tgz", - "integrity": "sha512-w0szIZ2NkqznMFqxYPRETCIi+q/S8UKis9F4yOl6/N9NDCZmbjZZT85aI4FgJf3vIPrzMPX60+odCLOaYxNWWw==" - }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", diff --git a/package.json b/package.json index b7646a0f..9221d541 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "event-stream": "^4.0.0", "hexy": "^0.2.10", "optimist": "^0.6.1", - "put": "0.0.6", + "@homebridge/put": "0.0.7", "safe-buffer": "^5.1.1", "xml2js": "^0.4.17" },