From 6b849dcf1a938eac747980d534dbd30f861f9a31 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Wed, 25 Sep 2024 17:59:58 +0800 Subject: [PATCH] use latest uglifyjs --- package-lock.json | 17 +++++++++-------- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 19dc164..e2b7d80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "@servicestack/vue", - "version": "3.0.95", + "version": "3.0.102", "dependencies": { "@servicestack/client": "^2.1.2", "vue": "^3.4.19", @@ -26,7 +26,7 @@ "shx": "^0.3.4", "tailwindcss": "^3.2.4", "typescript": "~4.9.5", - "uglify-js": "^3.17.4", + "uglify-js": "^3.19.3", "vite": "^4.1.5", "vite-plugin-dts": "^1.7.2", "vitest": "^0.34.6", @@ -6274,10 +6274,11 @@ "dev": true }, "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, + "license": "BSD-2-Clause", "bin": { "uglifyjs": "bin/uglifyjs" }, @@ -11844,9 +11845,9 @@ "dev": true }, "uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true }, "unbox-primitive": { diff --git a/package.json b/package.json index 1360e3f..978062a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "scripts": { "dev": "vite", "build": "run-p type-check build-only build-style && run-p build-minify", - "build-minify": "uglifyjs dist/servicestack-vue.mjs --compress --mangle -o dist/servicestack-vue.min.mjs", + "build-minify": "uglifyjs dist/servicestack-vue.mjs --compress --mangle --webkit -o dist/servicestack-vue.min.mjs", "build-style": "postcss src/tailwind.css -o dist/styles.css", "build-copy": "npm run build && npm run copy-src && npm run copy-diffusion && npm run copy-aiserver", "copy-src": "shx cp dist/servicestack-vue.min.mjs ../ServiceStack/ServiceStack/src/ServiceStack/js/servicestack-vue.mjs && shx cp dist/servicestack-vue.mjs ../ServiceStack/ServiceStack/tests/NorthwindAuto/wwwroot/lib/mjs/", @@ -50,7 +50,7 @@ "shx": "^0.3.4", "tailwindcss": "^3.2.4", "typescript": "~4.9.5", - "uglify-js": "^3.17.4", + "uglify-js": "^3.19.3", "vite": "^4.1.5", "vite-plugin-dts": "^1.7.2", "vitest": "^0.34.6", diff --git a/yarn.lock b/yarn.lock index 70bd914..441df47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3624,10 +3624,10 @@ ufo@^1.3.0: resolved "https://registry.npmjs.org/ufo/-/ufo-1.3.1.tgz" integrity sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw== -uglify-js@^3.17.4: - version "3.17.4" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz" - integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== +uglify-js@^3.19.3: + version "3.19.3" + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz" + integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ== unbox-primitive@^1.0.2: version "1.0.2"