netlify / zip-it-and-ship-it

Intelligently prepare Node.js Lambda functions for deployment
https://www.npmjs.com/package/@netlify/zip-it-and-ship-it
MIT License
316 stars 35 forks source link

fix(deps): update dependency esbuild to v0.19.5 #1637

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.19.4 -> 0.19.5 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild) ### [`v0.19.5`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0195) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.19.4...v0.19.5) - Fix a regression in 0.19.0 regarding `paths` in `tsconfig.json` ([#​3354](https://togithub.com/evanw/esbuild/issues/3354)) The fix in esbuild version 0.19.0 to process `tsconfig.json` aliases before the `--packages=external` setting unintentionally broke an edge case in esbuild's handling of certain `tsconfig.json` aliases where there are multiple files with the same name in different directories. This release adjusts esbuild's behavior for this edge case so that it passes while still processing aliases before `--packages=external`. Please read the linked issue for more details. - Fix a CSS `font` property minification bug ([#​3452](https://togithub.com/evanw/esbuild/issues/3452)) This release fixes a bug where esbuild's CSS minifier didn't insert a space between the font size and the font family in the `font` CSS shorthand property in the edge case where the original source code didn't already have a space and the leading string token was shortened to an identifier: ```css /* Original code */ .foo { font: 16px"Menlo"; } /* Old output (with --minify) */ .foo{font:16pxMenlo} /* New output (with --minify) */ .foo{font:16px Menlo} ``` - Fix bundling CSS with asset names containing spaces ([#​3410](https://togithub.com/evanw/esbuild/issues/3410)) Assets referenced via CSS `url()` tokens may cause esbuild to generate invalid output when bundling if the file name contains spaces (e.g. `url(image 2.png)`). With this release, esbuild will now quote all bundled asset references in `url()` tokens to avoid this problem. This only affects assets loaded using the `file` and `copy` loaders. - Fix invalid CSS `url()` tokens in `@import` rules ([#​3426](https://togithub.com/evanw/esbuild/issues/3426)) In the future, CSS `url()` tokens may contain additional stuff after the URL. This is irrelevant today as no CSS specification does this. But esbuild previously had a bug where using these tokens in an `@import` rule resulted in malformed output. This bug has been fixed. - Fix `browser` + `false` + `type: module` in `package.json` ([#​3367](https://togithub.com/evanw/esbuild/issues/3367)) The `browser` field in `package.json` allows you to map a file to `false` to have it be treated as an empty file when bundling for the browser. However, if `package.json` contains `"type": "module"` then all `.js` files will be considered ESM, not CommonJS. Importing a named import from an empty CommonJS file gives you undefined, but importing a named export from an empty ESM file is a build error. This release changes esbuild's interpretation of these files mapped to `false` in this situation from ESM to CommonJS to avoid generating build errors for named imports. - Fix a bug in top-level await error reporting ([#​3400](https://togithub.com/evanw/esbuild/issues/3400)) Using `require()` on a file that contains [top-level await](https://v8.dev/features/top-level-await) is not allowed because `require()` must return synchronously and top-level await makes that impossible. You will get a build error if you try to bundle code that does this with esbuild. This release fixes a bug in esbuild's error reporting code for complex cases of this situation involving multiple levels of imports to get to the module containing the top-level await. - Update to Unicode 15.1.0 The character tables that determine which characters form valid JavaScript identifiers have been updated from Unicode version 15.0.0 to the newly-released Unicode version 15.1.0. I'm not putting an example in the release notes because all of the new characters will likely just show up as little squares since fonts haven't been updated yet. But you can read https://www.unicode.org/versions/Unicode15.1.0/#Summary for more information about the changes. This upgrade was contributed by [@​JLHwung](https://togithub.com/JLHwung).

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 year ago

⏱ Benchmark results

Comparing with a7b997238fc578a2c83b921cb2d4c1eab1f93325

largeDepsEsbuild: 3.4s

⬆️ 8.18% increase vs. a7b997238fc578a2c83b921cb2d4c1eab1f93325

^                           3.5s                                                                          
│                           ┌──┐                    3.3s    3.3s                                    3.4s  
│                   3.2s    |  |    3.1s            ┌──┐    ┌──┐            3.2s            3.1s    ┌──┐  
│    3s      3s     ┌──┐    |  |    ┌──┐            |  |    |  |            ┌──┐            ┌──┐    |▒▒|  
│ ──┌──┐────┌──┐────┼──┼────┼──┼────┼──┼────────────┼──┼────┼──┼────────────┼──┼────────────┼──┼────|▒▒|──
│   |  |    |  |    |  |    |  |    |  |    2.7s    |  |    |  |    2.7s    |  |            |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    ┌──┐    |  |    2.5s    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (23405c64e8f3f27b8e384d47dfddd727dd9f9898): 2.7s - T-29 (fffff2193787ccc260c2e8eff83128d10e788139): 2.7s - T-28 (d1a18f186f465878ccc479873e0ed44feb66471a): 3.4s - T-27 (591f2a81052dd85725d2a1b3971a8dc413800819): 2.6s - T-26 (3c294af2821a298f9dde7ce5287d4ed7b7a458be): 2.7s - T-25 (dad329b65e777c60111072e8bf8ae8b73c882866): 2.5s - T-24 (9f3dab86ae7e3ba894abaffd527b532f6b395d92): 3.3s - T-23 (bf7a4acac64a9c50364703196061618e95244fd4): 2.7s - T-22 (cc8ad7cd1ccbeb3158c2dd6a2e688945141f71e6): 3.8s - T-21 (58c83442fd6e88b931c33c40309495b79560087f): 3.3s - T-20 (9efef2f12593f66a220bce9c2ce940d78b9e8229): 2.8s - T-19 (84ff0f8de591f283570b723928bb001764576c8d): 2.5s - T-18 (7eafe9537935bca0b8c3ed4f3a1f4d4e262e27e9): 2.5s - T-17 (57c38e3fee419f4b65c04e45094ed3212113ba63): 3.2s - T-16 (7898a4bbbf09989ceec19accdb835065ed0b5c25): 3.5s - T-15 (d15abd9ac2cc525bb32b97bf1d7b0c61dc6f3109): 3.5s - T-14 (efa8ddc3ce75b888d32e809617708bc9267f223b): 2.6s - T-13 (600dbf7c6f6c1d7673aeb03074f32dd21bd77a91): 3.1s - T-12 (6051e01ca1034de9382d759255df098645920fc5): 3s - T-11 (57d30ec0fe95cb5d5fcaf7a36c4cb08b192ca371): 3s - T-10 (28b658a20a8557549545e6b8ac2d1e38f52e80b7): 3.2s - T-9 (d7a0d5086725f7f390ae91ae8787869f28634744): 3.5s - T-8 (1618df80c56c91b8622992f0fd45edf4fea69962): 3.1s - T-7 (0297aa17ec1d9082450a13bac5c33840c9d1d22d): 2.7s - T-6 (3092e010ce7fc47cdd0bee843528d13291a40acf): 3.3s - T-5 (cb23207e0c520f207df84e6d6509f24eefc9680e): 3.3s - T-4 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 2.7s - T-3 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 3.2s - T-2 (4b0f947b315ac43d126e652881467f619c323cd7): 2.5s - T-1 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 3.1s - **T (current commit): 3.4s**

largeDepsNft: 10.7s

⬆️ 8.48% increase vs. a7b997238fc578a2c83b921cb2d4c1eab1f93325

^                          11.3s                   11.2s                                                  
│                           ┌──┐                    ┌──┐                                           10.7s  
│                  10.1s    |  |   10.5s            |  |   10.1s            10s                     ┌──┐  
│   9.4s            ┌──┐    |  |    ┌──┐            |  |    ┌──┐            ┌──┐            9.8s    |▒▒|  
│ ──┌──┐────9.3s────┼──┼────┼──┼────┼──┼────────────┼──┼────┼──┼────────────┼──┼────────────┌──┐────|▒▒|──
│   |  |    ┌──┐    |  |    |  |    |  |    8.3s    |  |    |  |    8.4s    |  |            |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    ┌──┐    |  |            |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    7.6s    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (23405c64e8f3f27b8e384d47dfddd727dd9f9898): 8.5s - T-29 (fffff2193787ccc260c2e8eff83128d10e788139): 8.4s - T-28 (d1a18f186f465878ccc479873e0ed44feb66471a): 10.7s - T-27 (591f2a81052dd85725d2a1b3971a8dc413800819): 8.4s - T-26 (3c294af2821a298f9dde7ce5287d4ed7b7a458be): 8.2s - T-25 (dad329b65e777c60111072e8bf8ae8b73c882866): 7.8s - T-24 (9f3dab86ae7e3ba894abaffd527b532f6b395d92): 10s - T-23 (bf7a4acac64a9c50364703196061618e95244fd4): 8.1s - T-22 (cc8ad7cd1ccbeb3158c2dd6a2e688945141f71e6): 11.9s - T-21 (58c83442fd6e88b931c33c40309495b79560087f): 11s - T-20 (9efef2f12593f66a220bce9c2ce940d78b9e8229): 8.8s - T-19 (84ff0f8de591f283570b723928bb001764576c8d): 7.7s - T-18 (7eafe9537935bca0b8c3ed4f3a1f4d4e262e27e9): 7.6s - T-17 (57c38e3fee419f4b65c04e45094ed3212113ba63): 9.8s - T-16 (7898a4bbbf09989ceec19accdb835065ed0b5c25): 10.7s - T-15 (d15abd9ac2cc525bb32b97bf1d7b0c61dc6f3109): 11.3s - T-14 (efa8ddc3ce75b888d32e809617708bc9267f223b): 7.8s - T-13 (600dbf7c6f6c1d7673aeb03074f32dd21bd77a91): 10.4s - T-12 (6051e01ca1034de9382d759255df098645920fc5): 9.4s - T-11 (57d30ec0fe95cb5d5fcaf7a36c4cb08b192ca371): 9.3s - T-10 (28b658a20a8557549545e6b8ac2d1e38f52e80b7): 10.1s - T-9 (d7a0d5086725f7f390ae91ae8787869f28634744): 11.3s - T-8 (1618df80c56c91b8622992f0fd45edf4fea69962): 10.5s - T-7 (0297aa17ec1d9082450a13bac5c33840c9d1d22d): 8.3s - T-6 (3092e010ce7fc47cdd0bee843528d13291a40acf): 11.2s - T-5 (cb23207e0c520f207df84e6d6509f24eefc9680e): 10.1s - T-4 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 8.4s - T-3 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 10s - T-2 (4b0f947b315ac43d126e652881467f619c323cd7): 7.6s - T-1 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 9.8s - **T (current commit): 10.7s**

largeDepsZisi: 21.2s

⬆️ 5.19% increase vs. a7b997238fc578a2c83b921cb2d4c1eab1f93325

^                          21.4s                   20.9s                                           21.2s  
│                           ┌──┐   20.6s            ┌──┐   19.9s                           20.1s    ┌──┐  
│  18.8s   19.2s   19.2s    |  |    ┌──┐            |  |    ┌──┐           19.7s            ┌──┐    |▒▒|  
│ ──┌──┐────┌──┐────┌──┐────┼──┼────┼──┼────────────┼──┼────┼──┼────────────┌──┐────────────┼──┼────|▒▒|──
│   |  |    |  |    |  |    |  |    |  |            |  |    |  |            |  |            |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |   16.3s    |  |    |  |   16.5s    |  |            |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    ┌──┐    |  |   15.1s    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend - T-30 (23405c64e8f3f27b8e384d47dfddd727dd9f9898): 16.2s - T-29 (fffff2193787ccc260c2e8eff83128d10e788139): 16.5s - T-28 (d1a18f186f465878ccc479873e0ed44feb66471a): 20.6s - T-27 (591f2a81052dd85725d2a1b3971a8dc413800819): 16.1s - T-26 (3c294af2821a298f9dde7ce5287d4ed7b7a458be): 16.3s - T-25 (dad329b65e777c60111072e8bf8ae8b73c882866): 15.6s - T-24 (9f3dab86ae7e3ba894abaffd527b532f6b395d92): 20s - T-23 (bf7a4acac64a9c50364703196061618e95244fd4): 16s - T-22 (cc8ad7cd1ccbeb3158c2dd6a2e688945141f71e6): 23.4s - T-21 (58c83442fd6e88b931c33c40309495b79560087f): 20.7s - T-20 (9efef2f12593f66a220bce9c2ce940d78b9e8229): 16.9s - T-19 (84ff0f8de591f283570b723928bb001764576c8d): 15.2s - T-18 (7eafe9537935bca0b8c3ed4f3a1f4d4e262e27e9): 15.2s - T-17 (57c38e3fee419f4b65c04e45094ed3212113ba63): 19.6s - T-16 (7898a4bbbf09989ceec19accdb835065ed0b5c25): 21.5s - T-15 (d15abd9ac2cc525bb32b97bf1d7b0c61dc6f3109): 22.1s - T-14 (efa8ddc3ce75b888d32e809617708bc9267f223b): 16s - T-13 (600dbf7c6f6c1d7673aeb03074f32dd21bd77a91): 20.6s - T-12 (6051e01ca1034de9382d759255df098645920fc5): 18.8s - T-11 (57d30ec0fe95cb5d5fcaf7a36c4cb08b192ca371): 19.2s - T-10 (28b658a20a8557549545e6b8ac2d1e38f52e80b7): 19.2s - T-9 (d7a0d5086725f7f390ae91ae8787869f28634744): 21.4s - T-8 (1618df80c56c91b8622992f0fd45edf4fea69962): 20.6s - T-7 (0297aa17ec1d9082450a13bac5c33840c9d1d22d): 16.3s - T-6 (3092e010ce7fc47cdd0bee843528d13291a40acf): 20.9s - T-5 (cb23207e0c520f207df84e6d6509f24eefc9680e): 19.9s - T-4 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 16.5s - T-3 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 19.7s - T-2 (4b0f947b315ac43d126e652881467f619c323cd7): 15.1s - T-1 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 20.1s - **T (current commit): 21.2s**