diff --git a/CHANGELOG.md b/CHANGELOG.md index 3533c460..1c064cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 3.2.0 + +- This version of Ultraviolet upgrades [bare-mux](https://www.npmjs.com/package/@mercuryworkshop/bare-mux). This moves all of the bare client logic to a shared worker. + # 3.1.5 - This version of Ultraviolet upgrades [bare-mux](https://www.npmjs.com/package/@mercuryworkshop/bare-mux). This allows the websocket to be properly closed by windows. diff --git a/package-lock.json b/package-lock.json index 0ad4879e..ba51b218 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@titaniumnetwork-dev/ultraviolet", - "version": "3.1.5", + "version": "3.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@titaniumnetwork-dev/ultraviolet", - "version": "3.1.5", + "version": "3.2.0", "license": "MIT", "devDependencies": { - "@mercuryworkshop/bare-mux": "^1.1.3", + "@mercuryworkshop/bare-mux": "^2.0.0", "css-tree": "^2.3.1", "esbuild": "^0.18.11", "eslint": "^8.28.0", @@ -24,6 +24,17 @@ "set-cookie-parser": "^2.6.0" } }, + "../bare-mux": { + "name": "@mercuryworkshop/bare-mux", + "version": "2.0.0", + "dev": true, + "devDependencies": { + "@rollup/plugin-inject": "^5.0.5", + "@rollup/plugin-replace": "^5.0.5", + "rollup": "^4.9.6", + "rollup-plugin-typescript2": "^0.36.0" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.18.11", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", @@ -477,14 +488,8 @@ } }, "node_modules/@mercuryworkshop/bare-mux": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@mercuryworkshop/bare-mux/-/bare-mux-1.1.3.tgz", - "integrity": "sha512-cn+2KvnolCUudPNt03bWztYlor4IrpTHFX2KtIq7ZxO5C/Ylwa/duAEfNffKTCRZLB5tm/12dI55vU3C0xULDA==", - "dev": true, - "dependencies": { - "@types/uuid": "^9.0.8", - "uuid": "^9.0.1" - } + "resolved": "../bare-mux", + "link": true }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -537,12 +542,6 @@ "integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==", "dev": true }, - "node_modules/@types/uuid": { - "version": "9.0.8", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", - "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==", - "dev": true - }, "node_modules/acorn": { "version": "8.8.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", @@ -1913,19 +1912,6 @@ "punycode": "^2.1.0" } }, - "node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2290,13 +2276,12 @@ } }, "@mercuryworkshop/bare-mux": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@mercuryworkshop/bare-mux/-/bare-mux-1.1.3.tgz", - "integrity": "sha512-cn+2KvnolCUudPNt03bWztYlor4IrpTHFX2KtIq7ZxO5C/Ylwa/duAEfNffKTCRZLB5tm/12dI55vU3C0xULDA==", - "dev": true, + "version": "file:../bare-mux", "requires": { - "@types/uuid": "^9.0.8", - "uuid": "^9.0.1" + "@rollup/plugin-inject": "^5.0.5", + "@rollup/plugin-replace": "^5.0.5", + "rollup": "^4.9.6", + "rollup-plugin-typescript2": "^0.36.0" } }, "@nodelib/fs.scandir": { @@ -2338,12 +2323,6 @@ "integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==", "dev": true }, - "@types/uuid": { - "version": "9.0.8", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", - "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==", - "dev": true - }, "acorn": { "version": "8.8.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", @@ -3324,12 +3303,6 @@ "punycode": "^2.1.0" } }, - "uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "dev": true - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 58920ca4..702f278e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@titaniumnetwork-dev/ultraviolet", - "version": "3.1.5", + "version": "3.2.0", "description": "Highly sophisticated proxy used for evading internet censorship or accessing websites in a controlled sandbox using the power of service-workers and more!", "main": "lib/index.cjs", "license": "MIT", @@ -21,7 +21,7 @@ "prepare": "npm run build" }, "devDependencies": { - "@mercuryworkshop/bare-mux": "^1.1.3", + "@mercuryworkshop/bare-mux": "^2.0.0", "css-tree": "^2.3.1", "esbuild": "^0.18.11", "eslint": "^8.28.0",