From 7b3a47ee3df49fb9d99fd2c553073b8c5354f086 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 8 Oct 2021 17:27:43 +0300 Subject: [PATCH] Update terser to v5.9.0. --- .bundlewatch.config.json | 4 ++-- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.bundlewatch.config.json b/.bundlewatch.config.json index e8b71ee3d9..0576af92f5 100644 --- a/.bundlewatch.config.json +++ b/.bundlewatch.config.json @@ -30,7 +30,7 @@ }, { "path": "./dist/js/bootstrap.bundle.min.js", - "maxSize": "21.5 kB" + "maxSize": "21.75 kB" }, { "path": "./dist/js/bootstrap.js", @@ -38,7 +38,7 @@ }, { "path": "./dist/js/bootstrap.min.js", - "maxSize": "14.75 kB" + "maxSize": "15 kB" } ], "ci": { diff --git a/package-lock.json b/package-lock.json index 1f1f6bb383..23e14e3325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9616,14 +9616,14 @@ } }, "terser": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.1.0.tgz", - "integrity": "sha512-pwC1Jbzahz1ZPU87NQ8B3g5pKbhyJSiHih4gLH6WZiPU8mmS1IlGbB0A2Nuvkj/LCNsgIKctg6GkYwWCeTvXZQ==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", + "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", "dev": true, "requires": { "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" }, "dependencies": { "commander": { @@ -9633,9 +9633,9 @@ "dev": true }, "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", "dev": true } } diff --git a/package.json b/package.json index 5b12c5013d..a60074253d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve-only": "npx sirv-cli _site --port 9001", "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", - "update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor", + "update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon\" && npm update && echo Manually update site/assets/js/vendor", "release": "npm-run-all dist release-sri docs-build release-zip*", "release-sri": "node build/generate-sri.js", "release-version": "node build/change-version.js", @@ -139,7 +139,7 @@ "sinon": "^7.5.0", "stylelint": "^13.13.1", "stylelint-config-twbs-bootstrap": "^2.2.3", - "terser": "5.1.0", + "terser": "^5.9.0", "vnu-jar": "21.9.2" }, "files": [