From 7c3dcdec413dd91fd2ecda50178f5bdcb2b960b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 17 Nov 2022 00:28:23 +1100 Subject: [PATCH] chore(deps): update dependency esbuild to v0.15.14 (#1203) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [esbuild](https://togithub.com/evanw/esbuild) | [`0.15.13` -> `0.15.14`](https://renovatebot.com/diffs/npm/esbuild/0.15.13/0.15.14) | [![age](https://badges.renovateapi.com/packages/npm/esbuild/0.15.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/esbuild/0.15.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/esbuild/0.15.14/compatibility-slim/0.15.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/esbuild/0.15.14/confidence-slim/0.15.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
evanw/esbuild ### [`v0.15.14`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01514) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.15.13...v0.15.14) - Fix parsing of TypeScript `infer` inside a conditional `extends` ([#​2675](https://togithub.com/evanw/esbuild/issues/2675)) Unlike JavaScript, parsing TypeScript sometimes requires backtracking. The `infer A` type operator can take an optional constraint of the form `infer A extends B`. However, this syntax conflicts with the similar conditional type operator `A extends B ? C : D` in cases where the syntax is combined, such as `infer A extends B ? C : D`. This is supposed to be parsed as `(infer A) extends B ? C : D`. Previously esbuild incorrectly parsed this as `(infer A extends B) ? C : D` instead, which is a parse error since the `?:` conditional operator requires the `extends` keyword as part of the conditional type. TypeScript disambiguates by speculatively parsing the `extends` after the `infer`, but backtracking if a `?` token is encountered afterward. With this release, esbuild should now do the same thing, so esbuild should now correctly parse these types. Here's a real-world example of such a type: ```ts type Normalized = T extends Array ? Dictionary> : { [P in keyof T]: T[P] extends Array ? Dictionary> : Normalized } ``` - Avoid unnecessary watch mode rebuilds when debug logging is enabled ([#​2661](https://togithub.com/evanw/esbuild/issues/2661)) When debug-level logs are enabled (such as with `--log-level=debug`), esbuild's path resolution subsystem generates debug log messages that say something like "Read 20 entries for directory /home/user" to help you debug what esbuild's path resolution is doing. This caused esbuild's watch mode subsystem to add a dependency on the full list of entries in that directory since if that changes, the generated log message would also have to be updated. However, meant that on systems where a parent directory undergoes constant directory entry churn, esbuild's watch mode would continue to rebuild if `--log-level=debug` was passed. With this release, these debug log messages are now generated by "peeking" at the file system state while bypassing esbuild's watch mode dependency tracking. So now watch mode doesn't consider the count of directory entries in these debug log messages to be a part of the build that needs to be kept up to date when the file system state changes.
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/fwouts/previewjs). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- integrations/cli/package.json | 2 +- integrations/intellij/controller/package.json | 2 +- integrations/vscode/package.json | 2 +- pnpm-lock.yaml | 105 +++++++----------- 4 files changed, 42 insertions(+), 69 deletions(-) diff --git a/integrations/cli/package.json b/integrations/cli/package.json index 23e67e27f14..498941138c3 100644 --- a/integrations/cli/package.json +++ b/integrations/cli/package.json @@ -30,7 +30,7 @@ "chalk": "^4.1.2", "commander": "^9.4.1", "cross-env": "7.0.3", - "esbuild": "0.15.13", + "esbuild": "0.15.14", "open": "^8.4.0", "rimraf": "3.0.2", "shx": "0.3.4", diff --git a/integrations/intellij/controller/package.json b/integrations/intellij/controller/package.json index 04e1efd8cf0..06e4045341a 100644 --- a/integrations/intellij/controller/package.json +++ b/integrations/intellij/controller/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@previewjs/server": "workspace:*", - "esbuild": "0.15.13", + "esbuild": "0.15.14", "rimraf": "3.0.2", "shx": "0.3.4", "ts-node-dev": "2.0.0", diff --git a/integrations/vscode/package.json b/integrations/vscode/package.json index 9a351182520..64434d8983f 100644 --- a/integrations/vscode/package.json +++ b/integrations/vscode/package.json @@ -98,7 +98,7 @@ "@previewjs/server": "workspace:*", "@types/vscode": "1.71.0", "cross-env": "7.0.3", - "esbuild": "0.15.13", + "esbuild": "0.15.14", "exclusive-promises": "^1.0.3", "execa": "5.1.1", "ovsx": "0.5.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76c1b390006..60dd393b671 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -617,7 +617,7 @@ importers: chalk: ^4.1.2 commander: ^9.4.1 cross-env: 7.0.3 - esbuild: 0.15.13 + esbuild: 0.15.14 open: ^8.4.0 rimraf: 3.0.2 shx: 0.3.4 @@ -630,7 +630,7 @@ importers: chalk: 4.1.2 commander: 9.4.1 cross-env: 7.0.3 - esbuild: 0.15.13 + esbuild: 0.15.14 open: 8.4.0 rimraf: 3.0.2 shx: 0.3.4 @@ -640,14 +640,14 @@ importers: integrations/intellij/controller: specifiers: '@previewjs/server': workspace:* - esbuild: 0.15.13 + esbuild: 0.15.14 rimraf: 3.0.2 shx: 0.3.4 ts-node-dev: 2.0.0 typescript: 4.8.4 devDependencies: '@previewjs/server': link:../../../server - esbuild: 0.15.13 + esbuild: 0.15.14 rimraf: 3.0.2 shx: 0.3.4 ts-node-dev: 2.0.0_cbe7ovvae6zqfnmtgctpgpys54 @@ -658,7 +658,7 @@ importers: '@previewjs/server': workspace:* '@types/vscode': 1.71.0 cross-env: 7.0.3 - esbuild: 0.15.13 + esbuild: 0.15.14 exclusive-promises: ^1.0.3 execa: 5.1.1 ovsx: 0.5.2 @@ -670,7 +670,7 @@ importers: '@previewjs/server': link:../../server '@types/vscode': 1.71.0 cross-env: 7.0.3 - esbuild: 0.15.13 + esbuild: 0.15.14 exclusive-promises: 1.0.3 execa: 5.1.1 ovsx: 0.5.2 @@ -2025,10 +2025,6 @@ packages: resolution: {integrity: sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ==} engines: {node: '>=6.9.0'} - /@babel/compat-data/7.19.4: - resolution: {integrity: sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==} - engines: {node: '>=6.9.0'} - /@babel/compat-data/7.20.1: resolution: {integrity: sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==} engines: {node: '>=6.9.0'} @@ -2172,7 +2168,7 @@ packages: resolution: {integrity: sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.4 + '@babel/types': 7.20.2 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 @@ -2188,7 +2184,7 @@ packages: resolution: {integrity: sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.4 + '@babel/types': 7.20.2 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 @@ -2219,7 +2215,7 @@ packages: peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.19.4 + '@babel/compat-data': 7.20.1 '@babel/core': 7.18.10 '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.4 @@ -2243,7 +2239,7 @@ packages: peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.19.4 + '@babel/compat-data': 7.20.1 '@babel/core': 7.19.1 '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.4 @@ -2256,7 +2252,7 @@ packages: peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.19.4 + '@babel/compat-data': 7.20.1 '@babel/core': 7.19.6 '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.4 @@ -2509,12 +2505,12 @@ packages: dependencies: '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-module-imports': 7.18.6 - '@babel/helper-simple-access': 7.19.4 + '@babel/helper-simple-access': 7.20.2 '@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.18.10 - '@babel/traverse': 7.19.6 - '@babel/types': 7.19.4 + '@babel/traverse': 7.20.1 + '@babel/types': 7.20.2 transitivePeerDependencies: - supports-color @@ -2539,12 +2535,12 @@ packages: dependencies: '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-module-imports': 7.18.6 - '@babel/helper-simple-access': 7.19.4 + '@babel/helper-simple-access': 7.20.2 '@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.18.10 - '@babel/traverse': 7.19.6 - '@babel/types': 7.19.4 + '@babel/traverse': 7.20.1 + '@babel/types': 7.20.2 transitivePeerDependencies: - supports-color @@ -2641,12 +2637,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/helper-simple-access/7.19.4: - resolution: {integrity: sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.20.2 - /@babel/helper-simple-access/7.20.2: resolution: {integrity: sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==} engines: {node: '>=6.9.0'} @@ -2693,8 +2683,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.18.10 - '@babel/traverse': 7.19.6 - '@babel/types': 7.19.4 + '@babel/traverse': 7.20.1 + '@babel/types': 7.20.2 transitivePeerDependencies: - supports-color @@ -2713,8 +2703,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.18.10 - '@babel/traverse': 7.19.6 - '@babel/types': 7.19.4 + '@babel/traverse': 7.20.1 + '@babel/types': 7.20.2 transitivePeerDependencies: - supports-color @@ -5077,7 +5067,7 @@ packages: '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.10 - '@babel/types': 7.20.2 + '@babel/types': 7.19.4 /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.19.1: resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} @@ -5090,7 +5080,7 @@ packages: '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.19.1 - '@babel/types': 7.20.2 + '@babel/types': 7.19.4 dev: true /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.19.6: @@ -5117,7 +5107,7 @@ packages: '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.2 - '@babel/types': 7.20.2 + '@babel/types': 7.19.4 /@babel/plugin-transform-react-pure-annotations/7.18.6_@babel+core@7.18.10: resolution: {integrity: sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ==} @@ -5949,21 +5939,21 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/parser': 7.19.6 - '@babel/types': 7.19.4 + '@babel/parser': 7.20.3 + '@babel/types': 7.20.2 /@babel/traverse/7.18.11: resolution: {integrity: sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/generator': 7.19.6 + '@babel/generator': 7.20.4 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.19.6 - '@babel/types': 7.19.4 + '@babel/parser': 7.20.3 + '@babel/types': 7.20.2 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: @@ -5974,13 +5964,13 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/generator': 7.19.6 + '@babel/generator': 7.20.4 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.19.6 - '@babel/types': 7.19.4 + '@babel/parser': 7.20.3 + '@babel/types': 7.20.2 debug: 4.3.4_supports-color@5.5.0 globals: 11.12.0 transitivePeerDependencies: @@ -6009,13 +5999,13 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/generator': 7.19.6 + '@babel/generator': 7.20.4 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.19.6 - '@babel/types': 7.19.4 + '@babel/parser': 7.20.3 + '@babel/types': 7.20.2 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: @@ -11071,23 +11061,6 @@ packages: '@svgr/babel-plugin-transform-svg-component': 6.3.1_@babel+core@7.19.6 dev: true - /@svgr/babel-preset/6.4.0_@babel+core@7.19.6: - resolution: {integrity: sha512-Ytuh7N282fv2Cy1JePf6HZ29/G5Hb8mQAjx4iykPjvfFl9NK6o5lZavmewgjOGT8kNPtwgvheuOQn4CifHRUhQ==} - engines: {node: '>=10'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.19.6 - '@svgr/babel-plugin-add-jsx-attribute': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-remove-jsx-attribute': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-remove-jsx-empty-expression': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-replace-jsx-attribute-value': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-svg-dynamic-title': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-svg-em-dimensions': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-transform-react-native-svg': 6.3.1_@babel+core@7.19.6 - '@svgr/babel-plugin-transform-svg-component': 6.3.1_@babel+core@7.19.6 - dev: true - /@svgr/babel-preset/6.4.0_@babel+core@7.20.2: resolution: {integrity: sha512-Ytuh7N282fv2Cy1JePf6HZ29/G5Hb8mQAjx4iykPjvfFl9NK6o5lZavmewgjOGT8kNPtwgvheuOQn4CifHRUhQ==} engines: {node: '>=10'} @@ -11193,8 +11166,8 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 dependencies: - '@babel/core': 7.19.6 - '@svgr/babel-preset': 6.4.0_@babel+core@7.19.6 + '@babel/core': 7.20.2 + '@svgr/babel-preset': 6.4.0_@babel+core@7.20.2 '@svgr/core': 6.4.0_@babel+core@7.20.2 '@svgr/hast-util-to-babel-ast': 6.4.0 svg-parser: 2.0.4 @@ -29186,7 +29159,7 @@ packages: hasBin: true dependencies: '@babel/core': 7.20.2 - '@babel/generator': 7.19.6 + '@babel/generator': 7.20.4 '@babel/runtime': 7.18.9 ast-types: 0.14.2 commander: 2.20.3 @@ -34352,7 +34325,7 @@ packages: terser: optional: true dependencies: - esbuild: 0.15.13 + esbuild: 0.15.14 postcss: 8.4.19 resolve: 1.22.1 rollup: 2.78.1