Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): bump terser-webpack-plugin to drop serialize-javascript (#60236)

Robbiee2bd7e1bd535
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b1eb6486c245..023676c46d12 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -448,7 +448,7 @@ importers:
'@storybook/react-webpack5':
specifier: ^7.6.4
'@storybook/test-runner':
specifier: ^0.16.0
version: 0.16.0([email protected])
@@ -502,7 +502,7 @@ importers:
version: 2.0.0([email protected])
webpack:
specifier: ^5.88.2
webpack-cli:
specifier: ^5.1.4
version: 5.1.4([email protected])
@@ -1474,7 +1474,7 @@ importers:
version: 0.4.8([email protected])
'@segment/action-destinations':
specifier: ^3.383.0
'@temporalio/activity':
specifier: 1.15.0
version: 1.15.0
@@ -1489,7 +1489,7 @@ importers:
version: 1.15.0
'@temporalio/worker':
specifier: ^1.12.0
'@types/node':
specifier: 'catalog:'
version: 22.18.8
@@ -21675,10 +21675,6 @@ packages:
resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==}
engines: {node: '>= 10.13.0'}
- resolution: {integrity: sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==}
- engines: {node: '>= 12.13.0'}
-
resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==}
engines: {node: '>= 10.13.0'}
@@ -21744,9 +21740,6 @@ packages:
resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==}
engines: {node: '>= 18'}
- resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
-
resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==}
engines: {node: '>= 0.8.0'}
@@ -22489,35 +22482,46 @@ packages:
resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-YR7PtUp6GMU91BgSJmlaX/rS2lGDbAF7D+Wtq7hRO+MiljNmodYvqslzCFiYVAgW+Qoaaia/QUIP4lGXufjdZw==}
+ resolution: {integrity: sha512-Eum+5ajkaOhf5KbM26osvv21kLD7BaGqQ1UA4Ami4arYwylmGUQTgHFpHDdmJod1q4QXa66p0to/FBKID+J1vA==}
engines: {node: '>= 10.13.0'}
peerDependencies:
+ '@minify-html/node': '*'
'@swc/core': '*'
+ '@swc/css': '*'
+ '@swc/html': '*'
+ clean-css: '*'
+ cssnano: '*'
+ csso: '*'
esbuild: '*'
+ html-minifier-terser: '*'
+ lightningcss: '*'
+ postcss: '*'
uglify-js: '*'
webpack: ^5.1.0
peerDependenciesMeta:
+ '@minify-html/node':
+ optional: true
'@swc/core':
optional: true
- esbuild:
+ '@swc/css':
optional: true
- uglify-js:
+ '@swc/html':
optional: true
-
- resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==}
- engines: {node: '>= 10.13.0'}
- peerDependencies:
- '@swc/core': '*'
- esbuild: '*'
- uglify-js: '*'
- webpack: ^5.1.0
- peerDependenciesMeta:
- '@swc/core':
+ clean-css:
+ optional: true
+ cssnano:
+ optional: true
+ csso:
optional: true
esbuild:
optional: true
+ html-minifier-terser:
+ optional: true
+ lightningcss:
+ optional: true
+ postcss:
+ optional: true
uglify-js:
optional: true
@@ -32351,7 +32355,7 @@ snapshots:
react-refresh: 0.14.0
schema-utils: 3.3.0
source-map: 0.7.6
optionalDependencies:
type-fest: 4.41.0
webpack-hot-middleware: 2.25.4
@@ -33566,7 +33570,7 @@ snapshots:
'@segment/[email protected]': {}
dependencies:
'@amplitude/ua-parser-js': 0.7.33
'@aws-sdk/client-eventbridge': 3.806.0
@@ -33576,7 +33580,7 @@ snapshots:
'@segment/actions-core': 3.153.0([email protected])
'@segment/actions-shared': 1.134.0([email protected])
'@types/node': 22.18.8
- ajv-formats: 2.1.1([email protected])
+ ajv-formats: 2.1.1([email protected])
aws4: 1.13.2
cheerio: 1.0.0
dayjs: 1.11.11(patch_hash=2e3e09d22bbc20d8961e0392c318f12ffada0babb6422f03b5538af8b2707852)
@@ -34390,7 +34394,7 @@ snapshots:
- encoding
- supports-color
dependencies:
'@babel/core': 7.29.0
'@storybook/channels': 7.6.4
@@ -34420,21 +34424,30 @@ snapshots:
semver: 7.7.4
style-loader: 3.3.3([email protected])
swc-loader: 0.2.3(@swc/[email protected])([email protected])
- terser-webpack-plugin: 5.3.9(@swc/[email protected])([email protected])([email protected])
ts-dedent: 2.2.0
url: 0.11.1
util: 0.12.5
util-deprecate: 1.0.2
webpack-dev-middleware: 6.1.3([email protected])
webpack-hot-middleware: 2.25.4
webpack-virtual-modules: 0.5.0
optionalDependencies:
typescript: 6.0.3
transitivePeerDependencies:
+ - '@minify-html/node'
+ - '@swc/css'
- '@swc/helpers'
+ - '@swc/html'
+ - clean-css
+ - cssnano
+ - csso
- encoding
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- supports-color
- uglify-js
- webpack-cli
@@ -34891,7 +34904,7 @@ snapshots:
'@storybook/[email protected]': {}
dependencies:
'@babel/preset-flow': 7.23.3(@babel/[email protected])
'@babel/preset-react': 7.23.3(@babel/[email protected])
@@ -34911,15 +34924,24 @@ snapshots:
react-dom: 18.3.1([email protected])
react-refresh: 0.14.0
semver: 7.7.4
optionalDependencies:
'@babel/core': 7.26.0
typescript: 6.0.3
transitivePeerDependencies:
+ - '@minify-html/node'
- '@swc/core'
+ - '@swc/css'
+ - '@swc/html'
- '@types/webpack'
+ - clean-css
+ - cssnano
+ - csso
- encoding
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- sockjs-client
- supports-color
- type-fest
@@ -35011,7 +35033,7 @@ snapshots:
react-docgen-typescript: 2.2.2([email protected])
tslib: 2.8.1
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -35045,10 +35067,10 @@ snapshots:
- typescript
- vite-plugin-glimmerx
dependencies:
'@types/node': 18.19.130
react: 18.3.1
@@ -35057,11 +35079,20 @@ snapshots:
'@babel/core': 7.26.0
typescript: 6.0.3
transitivePeerDependencies:
+ - '@minify-html/node'
- '@swc/core'
+ - '@swc/css'
- '@swc/helpers'
+ - '@swc/html'
- '@types/webpack'
+ - clean-css
+ - cssnano
+ - csso
- encoding
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- sockjs-client
- supports-color
- type-fest
@@ -35774,7 +35805,7 @@ snapshots:
long: 5.3.2
protobufjs: 7.6.1
dependencies:
'@grpc/grpc-js': 1.13.4
'@swc/core': 1.15.18
@@ -35793,14 +35824,23 @@ snapshots:
protobufjs: 7.6.1
rxjs: 7.8.1
source-map: 0.7.6
- source-map-loader: 4.0.2([email protected](@swc/[email protected])([email protected]))
supports-color: 8.1.1
unionfs: 4.6.0
- webpack: 5.105.4(@swc/[email protected])([email protected])
transitivePeerDependencies:
+ - '@minify-html/node'
+ - '@swc/css'
- '@swc/helpers'
+ - '@swc/html'
+ - clean-css
+ - cssnano
+ - csso
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- tslib
- uglify-js
- webpack-cli
@@ -37602,17 +37642,17 @@ snapshots:
dependencies:
webpack-cli: 5.1.4([email protected])
dependencies:
webpack-cli: 5.1.4([email protected])
dependencies:
webpack-cli: 5.1.4([email protected])
'@xmldom/[email protected]': {}
@@ -38217,14 +38257,14 @@ snapshots:
loader-utils: 2.0.4
make-dir: 3.1.0
schema-utils: 2.7.1
dependencies:
'@babel/core': 7.29.0
find-cache-dir: 4.0.0
- schema-utils: 4.2.0
+ schema-utils: 4.3.3
@@ -39448,7 +39488,7 @@ snapshots:
postcss-value-parser: 4.2.0
schema-utils: 2.7.1
semver: 6.3.1
dependencies:
@@ -39460,7 +39500,7 @@ snapshots:
postcss-modules-values: 4.0.0([email protected])
postcss-value-parser: 4.2.0
semver: 7.8.0
dependencies:
@@ -41237,7 +41277,7 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -41395,7 +41435,7 @@ snapshots:
semver: 7.8.0
tapable: 2.3.0
typescript: 6.0.3
dependencies:
@@ -42100,7 +42140,7 @@ snapshots:
dependencies:
html-webpack-plugin: 5.5.3([email protected])
dependencies:
@@ -42109,7 +42149,7 @@ snapshots:
lodash: 4.18.1
pretty-error: 4.0.0
tapable: 2.2.1
dependencies:
@@ -44431,7 +44471,7 @@ snapshots:
less: 4.2.2
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -46922,7 +46962,7 @@ snapshots:
postcss: 8.5.6
schema-utils: 3.3.0
semver: 7.7.0
dependencies:
@@ -47916,7 +47956,7 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -49055,7 +49095,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
semver: 7.7.0
optionalDependencies:
sass: 1.56.0
@@ -49095,13 +49135,6 @@ snapshots:
ajv: 6.12.6
ajv-keywords: 3.5.2([email protected])
- dependencies:
- '@types/json-schema': 7.0.15
- ajv: 8.18.0
- ajv-formats: 2.1.1([email protected])
- ajv-keywords: 5.1.0([email protected])
-
dependencies:
'@types/json-schema': 7.0.15
@@ -49189,10 +49222,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- randombytes: 2.1.0
-
dependencies:
encodeurl: 1.0.2
@@ -49428,11 +49457,11 @@ snapshots:
dependencies:
iconv-lite: 0.6.3
source-map-js: 1.2.1
- webpack: 5.105.4(@swc/[email protected])([email protected])
dependencies:
@@ -49796,11 +49825,11 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -49996,15 +50025,15 @@ snapshots:
picocolors: 1.1.1
sax: 1.6.0
dependencies:
'@swc/core': 1.15.18
- webpack: 5.105.4(@swc/[email protected])([email protected])
dependencies:
'@swc/core': 1.15.18
@@ -50192,28 +50221,29 @@ snapshots:
ansi-escapes: 4.3.2
supports-hyperlinks: 2.3.0
dependencies:
'@jridgewell/trace-mapping': 0.3.29
jest-worker: 27.5.1
schema-utils: 4.3.3
terser: 5.46.0
- webpack: 5.105.4(@swc/[email protected])([email protected])
optionalDependencies:
'@swc/core': 1.15.18
- esbuild: 0.27.7
+ esbuild: 0.18.20
+ postcss: 8.5.6
dependencies:
'@jridgewell/trace-mapping': 0.3.29
jest-worker: 27.5.1
- schema-utils: 3.3.0
- serialize-javascript: 6.0.2
- terser: 5.19.1
+ schema-utils: 4.3.3
+ terser: 5.46.0
optionalDependencies:
'@swc/core': 1.15.18
- esbuild: 0.18.20
+ esbuild: 0.27.7
+ postcss: 8.5.6
dependencies:
@@ -51457,7 +51487,7 @@ snapshots:
import-local: 3.1.0
interpret: 3.1.1
rechoir: 0.8.0
webpack-merge: 5.8.0
@@ -51468,7 +51498,7 @@ snapshots:
range-parser: 1.2.1
schema-utils: 4.3.3
optionalDependencies:
dependencies:
@@ -51487,7 +51517,7 @@ snapshots:
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.8
@@ -51511,15 +51541,24 @@ snapshots:
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.0
watchpack: 2.5.1
webpack-sources: 3.3.4
transitivePeerDependencies:
+ - '@minify-html/node'
- '@swc/core'
+ - '@swc/css'
+ - '@swc/html'
+ - clean-css
+ - cssnano
+ - csso
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- uglify-js
dependencies:
'@types/eslint-scope': 3.7.4
'@types/estree': 1.0.1
@@ -51542,14 +51581,23 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
tapable: 2.2.1
- terser-webpack-plugin: 5.3.9(@swc/[email protected])([email protected])([email protected])
watchpack: 2.4.0
webpack-sources: 3.2.3
optionalDependencies:
webpack-cli: 5.1.4([email protected])
transitivePeerDependencies:
+ - '@minify-html/node'
- '@swc/core'
+ - '@swc/css'
+ - '@swc/html'
+ - clean-css
+ - cssnano
+ - csso
- esbuild
+ - html-minifier-terser
+ - lightningcss
+ - postcss
- uglify-js