From b3aa4353395d72e0c4ca33487af6486e8b50d510 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 25 Sep 2019 21:26:50 +0200 Subject: [PATCH] remove some old deps --- README.md | 2 +- package-lock.json | 30 +++++------------------------- package.json | 6 ++---- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 703b4a8..d9a4ea4 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ In order to function, some metadata has to be included in the return value of ho The uuid, as the name implies, is used to uniquely identify the callback for a given invocation and also dictates the name given to the client-side RPC. Unless you got a preferred way of generating these (e.g. using some kind of unique information important to your task) we recommend [uuid](https://www.npmjs.com/package/uuid) for this purpose. -You should unhook the client socket once you're done with it as not to cause security or program flow issues. +You should unhook the client socket once you're done with it as not to cause security or control flow issues. ```typescript import {Backend, Frontend, Utils} from 'rpclibrary' diff --git a/package-lock.json b/package-lock.json index 9b53073..b4148a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rpclibrary", - "version": "1.2.1", + "version": "1.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1632,11 +1632,6 @@ "readable-stream": "^2.0.0" } }, - "fs": { - "version": "0.0.1-security", - "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" - }, "fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -2549,7 +2544,8 @@ "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true }, "ini": { "version": "1.3.5", @@ -3675,15 +3671,6 @@ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", "dev": true }, - "path": { - "version": "0.12.7", - "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", - "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=", - "requires": { - "process": "^0.11.1", - "util": "^0.10.3" - } - }, "path-browserify": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", @@ -3763,7 +3750,8 @@ "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true }, "process-nextick-args": { "version": "2.0.1", @@ -4857,14 +4845,6 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, - "util": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", - "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", - "requires": { - "inherits": "2.0.3" - } - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 2d243e4..6dbe46d 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "rpclibrary is a websocket on steroids!", "main": "./js/Index.js", "repository": { - "type" : "git", - "url" : "https://gitea.frontblock.me/fw-vendor/rpclibrary" + "type": "git", + "url": "https://gitea.frontblock.me/fw-vendor/rpclibrary" }, "scripts": { "tsc": "tsc", @@ -37,9 +37,7 @@ }, "dependencies": { "bsock": "^0.1.9", - "fs": "0.0.1-security", "http": "0.0.0", - "path": "^0.12.7", "uuid": "^3.3.3" }, "files": [