diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.json index 425642a2489..7fc5e8cdea1 100644 --- a/app/assets/javascripts/discourse/package.json +++ b/app/assets/javascripts/discourse/package.json @@ -118,7 +118,7 @@ "select-kit": "workspace:1.0.0", "sinon": "^19.0.2", "source-map": "^0.7.4", - "terser": "^5.36.0", + "terser": "^5.37.0", "testem": "^3.15.2", "truth-helpers": "workspace:1.0.0", "util": "^0.12.5", diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.json index 487715b182d..c3ce4c174a1 100644 --- a/app/assets/javascripts/theme-transpiler/package.json +++ b/app/assets/javascripts/theme-transpiler/package.json @@ -20,7 +20,7 @@ "handlebars": "^4.7.8", "path-browserify": "^1.0.1", "polyfill-crypto.getrandomvalues": "^1.0.0", - "terser": "^5.36.0" + "terser": "^5.37.0" }, "engines": { "node": ">= 18", diff --git a/package.json b/package.json index 30f1eeb079b..4c2dc37c406 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "prettier": "^2.8.8", "puppeteer-core": "^23.10.1", "squoosh": "https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d", - "terser": "^5.36.0", + "terser": "^5.37.0", "typescript": "^5.7.2" }, "scripts": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc62e8f4fef..94a517f4825 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -122,8 +122,8 @@ importers: specifier: https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d version: https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d terser: - specifier: ^5.36.0 - version: 5.36.0 + specifier: ^5.37.0 + version: 5.37.0 typescript: specifier: ^5.7.2 version: 5.7.2 @@ -568,8 +568,8 @@ importers: specifier: ^0.7.4 version: 0.7.4 terser: - specifier: ^5.36.0 - version: 5.36.0 + specifier: ^5.37.0 + version: 5.37.0 testem: specifier: ^3.15.2 version: 3.15.2(handlebars@4.7.8)(underscore@1.13.6) @@ -1100,8 +1100,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 terser: - specifier: ^5.36.0 - version: 5.36.0 + specifier: ^5.37.0 + version: 5.37.0 app/assets/javascripts/truth-helpers: dependencies: @@ -2880,11 +2880,6 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.12.1: - resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.14.0: resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} engines: {node: '>=0.4.0'} @@ -7747,8 +7742,8 @@ packages: uglify-js: optional: true - terser@5.36.0: - resolution: {integrity: sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==} + terser@5.37.0: + resolution: {integrity: sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==} engines: {node: '>=10'} hasBin: true @@ -9604,7 +9599,7 @@ snapshots: source-map-url: 0.4.1 style-loader: 2.0.0(webpack@5.97.0(@swc/core@1.10.0)(esbuild@0.24.0)) supports-color: 8.1.1 - terser: 5.36.0 + terser: 5.37.0 thread-loader: 3.0.4(webpack@5.97.0(@swc/core@1.10.0)(esbuild@0.24.0)) webpack: 5.97.0(@swc/core@1.10.0)(esbuild@0.24.0) transitivePeerDependencies: @@ -10663,8 +10658,6 @@ snapshots: dependencies: acorn: 8.14.0 - acorn@8.12.1: {} - acorn@8.14.0: {} agent-base@7.1.0(supports-color@8.1.1): @@ -11493,7 +11486,7 @@ snapshots: lodash.defaultsdeep: 4.6.1 matcher-collection: 2.0.1 symlink-or-copy: 1.3.1 - terser: 5.36.0 + terser: 5.37.0 walk-sync: 2.2.0 workerpool: 6.5.1 transitivePeerDependencies: @@ -16645,16 +16638,16 @@ snapshots: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.36.0 + terser: 5.37.0 webpack: 5.97.0(@swc/core@1.10.0)(esbuild@0.24.0) optionalDependencies: '@swc/core': 1.10.0 esbuild: 0.24.0 - terser@5.36.0: + terser@5.37.0: dependencies: '@jridgewell/source-map': 0.3.3 - acorn: 8.12.1 + acorn: 8.14.0 commander: 2.20.3 source-map-support: 0.5.21