diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.json index 5186f6b6ed6..0cc1d7c812d 100644 --- a/app/assets/javascripts/discourse/package.json +++ b/app/assets/javascripts/discourse/package.json @@ -112,7 +112,7 @@ "select-kit": "1.0.0", "sinon": "^18.0.0", "source-map": "^0.7.4", - "terser": "^5.31.0", + "terser": "^5.31.1", "truth-helpers": "1.0.0", "util": "^0.12.5", "virtual-dom": "^2.1.1", diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.json index 64fe344cf77..70eeb63979a 100644 --- a/app/assets/javascripts/theme-transpiler/package.json +++ b/app/assets/javascripts/theme-transpiler/package.json @@ -19,7 +19,7 @@ "handlebars": "^4.7.8", "path-browserify": "^1.0.1", "polyfill-crypto.getrandomvalues": "^1.0.0", - "terser": "^5.31.0" + "terser": "^5.31.1" }, "engines": { "node": ">= 18", diff --git a/yarn.lock b/yarn.lock index 4e5a8ae5490..c6249e72193 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11901,10 +11901,10 @@ terser-webpack-plugin@^5.3.10: serialize-javascript "^6.0.1" terser "^5.26.0" -terser@^5.26.0, terser@^5.3.0, terser@^5.31.0, terser@^5.7.0: - version "5.31.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.0.tgz#06eef86f17007dbad4593f11a574c7f5eb02c6a1" - integrity sha512-Q1JFAoUKE5IMfI4Z/lkE/E6+SwgzO+x4tq4v1AyBLRj8VSYvRO6A/rQrPg1yud4g0En9EKI1TvFRF2tQFcoUkg== +terser@^5.26.0, terser@^5.3.0, terser@^5.31.1, terser@^5.7.0: + version "5.31.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.1.tgz#735de3c987dd671e95190e6b98cfe2f07f3cf0d4" + integrity sha512-37upzU1+viGvuFtBo9NPufCb9dwM0+l9hMxYyWfBA+fbwrPqNJAhbZ6W47bBFnZHKHTUBnMvi87434qq+qnxOg== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.8.2"