From 130ba380c720cfab3f96911e22d2aca55701204b Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 6 Jul 2023 04:49:14 +0300 Subject: [PATCH] update bare client, fix manifest typo --- package-lock.json | 14 +++++++------- package.json | 2 +- src/uv.sw.js | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index dff31a9e..58831f8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.0", "license": "MIT", "devDependencies": { - "@tomphttp/bare-client": "^2.0.0", + "@tomphttp/bare-client": "^2.0.1", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "css-tree": "^2.3.1", @@ -188,9 +188,9 @@ } }, "node_modules/@tomphttp/bare-client": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tomphttp/bare-client/-/bare-client-2.0.0.tgz", - "integrity": "sha512-WAu7sjZnP2WmFL/DjmTY0tjLakyxI0a8A3xH3MYIku5QSIFv4Xi3dhwMAhm6Ho4RN74MDj128uFSQxqaBP48mA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tomphttp/bare-client/-/bare-client-2.0.1.tgz", + "integrity": "sha512-xbsGTlBA4J0fvrqMq9VLIalBJrBr/Zu3vxj3/+CXuQsVDKrVSFuxjp4sRCPpSEbvLLX6GdN5sGvKR88A8QpaCA==", "dev": true }, "node_modules/@types/eslint": { @@ -2974,9 +2974,9 @@ } }, "@tomphttp/bare-client": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tomphttp/bare-client/-/bare-client-2.0.0.tgz", - "integrity": "sha512-WAu7sjZnP2WmFL/DjmTY0tjLakyxI0a8A3xH3MYIku5QSIFv4Xi3dhwMAhm6Ho4RN74MDj128uFSQxqaBP48mA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tomphttp/bare-client/-/bare-client-2.0.1.tgz", + "integrity": "sha512-xbsGTlBA4J0fvrqMq9VLIalBJrBr/Zu3vxj3/+CXuQsVDKrVSFuxjp4sRCPpSEbvLLX6GdN5sGvKR88A8QpaCA==", "dev": true }, "@types/eslint": { diff --git a/package.json b/package.json index e31740d3..08789e55 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "watch": "cross-env NODE_ENV=development webpack-cli --watch" }, "devDependencies": { - "@tomphttp/bare-client": "^2.0.0", + "@tomphttp/bare-client": "^2.0.1", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "css-tree": "^2.3.1", diff --git a/src/uv.sw.js b/src/uv.sw.js index eac06bdd..e526140c 100644 --- a/src/uv.sw.js +++ b/src/uv.sw.js @@ -213,7 +213,7 @@ class UVServiceWorker extends Ultraviolet.EventEmitter { .join(','); responseCtx.body = `if (!self.__uv && self.importScripts) { ${ultraviolet.createJsInject( this.address, - this.bareClient.manfiest, + this.bareClient.manifest, ultraviolet.cookie.serialize( cookies, ultraviolet.meta, @@ -249,7 +249,7 @@ class UVServiceWorker extends Ultraviolet.EventEmitter { ultraviolet.clientScript, ultraviolet.configScript, this.address, - this.bareClient.manfiest, + this.bareClient.manifest, ultraviolet.cookie.serialize( cookies, ultraviolet.meta,