Parcourir la source

remove some old deps

master
peter il y a 5 ans
Parent
révision
b3aa435339
3 fichiers modifiés avec 8 ajouts et 30 suppressions
  1. 1
    1
      README.md
  2. 5
    25
      package-lock.json
  3. 2
    4
      package.json

+ 1
- 1
README.md Voir le fichier

@@ -44,7 +44,7 @@ In order to function, some metadata has to be included in the return value of ho
44 44
 
45 45
 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. 
46 46
 
47
-You should unhook the client socket once you're done with it as not to cause security or program flow issues.
47
+You should unhook the client socket once you're done with it as not to cause security or control flow issues.
48 48
 
49 49
 ```typescript
50 50
 import {Backend, Frontend, Utils} from 'rpclibrary'

+ 5
- 25
package-lock.json Voir le fichier

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.2.1",
3
+  "version": "1.2.5",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {
@@ -1632,11 +1632,6 @@
1632 1632
         "readable-stream": "^2.0.0"
1633 1633
       }
1634 1634
     },
1635
-    "fs": {
1636
-      "version": "0.0.1-security",
1637
-      "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
1638
-      "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ="
1639
-    },
1640 1635
     "fs-extra": {
1641 1636
       "version": "8.1.0",
1642 1637
       "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
@@ -2549,7 +2544,8 @@
2549 2544
     "inherits": {
2550 2545
       "version": "2.0.3",
2551 2546
       "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
2552
-      "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
2547
+      "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
2548
+      "dev": true
2553 2549
     },
2554 2550
     "ini": {
2555 2551
       "version": "1.3.5",
@@ -3675,15 +3671,6 @@
3675 3671
       "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
3676 3672
       "dev": true
3677 3673
     },
3678
-    "path": {
3679
-      "version": "0.12.7",
3680
-      "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz",
3681
-      "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=",
3682
-      "requires": {
3683
-        "process": "^0.11.1",
3684
-        "util": "^0.10.3"
3685
-      }
3686
-    },
3687 3674
     "path-browserify": {
3688 3675
       "version": "0.0.1",
3689 3676
       "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",
@@ -3763,7 +3750,8 @@
3763 3750
     "process": {
3764 3751
       "version": "0.11.10",
3765 3752
       "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
3766
-      "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="
3753
+      "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
3754
+      "dev": true
3767 3755
     },
3768 3756
     "process-nextick-args": {
3769 3757
       "version": "2.0.1",
@@ -4857,14 +4845,6 @@
4857 4845
       "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
4858 4846
       "dev": true
4859 4847
     },
4860
-    "util": {
4861
-      "version": "0.10.4",
4862
-      "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
4863
-      "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",
4864
-      "requires": {
4865
-        "inherits": "2.0.3"
4866
-      }
4867
-    },
4868 4848
     "util-deprecate": {
4869 4849
       "version": "1.0.2",
4870 4850
       "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",

+ 2
- 4
package.json Voir le fichier

@@ -4,8 +4,8 @@
4 4
   "description": "rpclibrary is a websocket on steroids!",
5 5
   "main": "./js/Index.js",
6 6
   "repository": {
7
-    "type" : "git",
8
-    "url" : "https://gitea.frontblock.me/fw-vendor/rpclibrary"
7
+    "type": "git",
8
+    "url": "https://gitea.frontblock.me/fw-vendor/rpclibrary"
9 9
   },
10 10
   "scripts": {
11 11
     "tsc": "tsc",
@@ -37,9 +37,7 @@
37 37
   },
38 38
   "dependencies": {
39 39
     "bsock": "^0.1.9",
40
-    "fs": "0.0.1-security",
41 40
     "http": "0.0.0",
42
-    "path": "^0.12.7",
43 41
     "uuid": "^3.3.3"
44 42
   },
45 43
   "files": [

Chargement…
Annuler
Enregistrer