From 99d40028946524d4af5e841241bc9824e7a65c8f Mon Sep 17 00:00:00 2001 From: Tjaz <25076630+GizmoTjaz@users.noreply.github.com> Date: Thu, 15 Jul 2021 16:58:51 +0200 Subject: [PATCH] use npm-hosted vue-3-socket.io --- package-lock.json | 16 ++++++++-------- package.json | 2 +- ...o+1.0.3.patch => vue-3-socket.io+1.0.4.patch} | 3 +-- 3 files changed, 10 insertions(+), 11 deletions(-) rename patches/{vue-3-socket.io+1.0.3.patch => vue-3-socket.io+1.0.4.patch} (97%) diff --git a/package-lock.json b/package-lock.json index b3fc352f..3eecba5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "version": "1.1.0", "hasInstallScript": true, + "license": "MIT", "dependencies": { "axios": "^0.21.1", "gizmo-api": "^1.0.9", @@ -15,7 +16,7 @@ "socket.io-client": "^4.1.2", "tippy.js": "^6.3.1", "vue": "^3.1.2", - "vue-3-socket.io": "git+https://github.com/kil0ba/Vue-3-Socket.io.git", + "vue-3-socket.io": "^1.0.4", "vue-router": "^4.0.10", "vuex": "^4.0.2" }, @@ -7080,10 +7081,9 @@ } }, "node_modules/vue-3-socket.io": { - "version": "1.0.3", - "resolved": "git+ssh://git@github.com/kil0ba/Vue-3-Socket.io.git#df36655ea90fba434da3f5f91d09b5a6d777ce04", - "integrity": "sha512-Wna/OijmjWGd6DvbKFCZeiDGzDawFT4CL1Ki40V1h9aMTpmKvu8B1sTqno71hRAPppLOuvswKyISQvxeR6t2nQ==", - "license": "MIT", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vue-3-socket.io/-/vue-3-socket.io-1.0.4.tgz", + "integrity": "sha512-KCIK77aynp0I49tgD/JCqYi55m3kTr94E3N0E/yeuI02bptKdu2SaBEmHk9flcdKh6MITS2xGm534PlxnnfcDg==", "dependencies": { "socket.io-client": "^2.1.1" } @@ -13124,9 +13124,9 @@ } }, "vue-3-socket.io": { - "version": "git+ssh://git@github.com/kil0ba/Vue-3-Socket.io.git#df36655ea90fba434da3f5f91d09b5a6d777ce04", - "integrity": "sha512-Wna/OijmjWGd6DvbKFCZeiDGzDawFT4CL1Ki40V1h9aMTpmKvu8B1sTqno71hRAPppLOuvswKyISQvxeR6t2nQ==", - "from": "vue-3-socket.io@git+https://github.com/kil0ba/Vue-3-Socket.io.git", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vue-3-socket.io/-/vue-3-socket.io-1.0.4.tgz", + "integrity": "sha512-KCIK77aynp0I49tgD/JCqYi55m3kTr94E3N0E/yeuI02bptKdu2SaBEmHk9flcdKh6MITS2xGm534PlxnnfcDg==", "requires": { "socket.io-client": "^2.1.1" }, diff --git a/package.json b/package.json index edf2d8c3..2a1d1f76 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "socket.io-client": "^4.1.2", "tippy.js": "^6.3.1", "vue": "^3.1.2", - "vue-3-socket.io": "git+https://github.com/kil0ba/Vue-3-Socket.io.git", + "vue-3-socket.io": "^1.0.4", "vue-router": "^4.0.10", "vuex": "^4.0.2" }, diff --git a/patches/vue-3-socket.io+1.0.3.patch b/patches/vue-3-socket.io+1.0.4.patch similarity index 97% rename from patches/vue-3-socket.io+1.0.3.patch rename to patches/vue-3-socket.io+1.0.4.patch index c5af6426..a1036e1a 100644 --- a/patches/vue-3-socket.io+1.0.3.patch +++ b/patches/vue-3-socket.io+1.0.4.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/vue-3-socket.io/index.d.ts b/node_modules/vue-3-socket.io/index.d.ts -index dea7b6b..8ad0be2 100644 +index dea7b6b..31413a5 100644 --- a/node_modules/vue-3-socket.io/index.d.ts +++ b/node_modules/vue-3-socket.io/index.d.ts @@ -1,63 +1,43 @@ @@ -95,4 +95,3 @@ index dea7b6b..8ad0be2 100644 + constructor(options: VueSocketOptions); + install: (app: App) => void; } -\ No newline at end of file