build: update all non-major dependencies #24445
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.20.5->7.20.127.20.5->7.20.127.20.5->7.20.77.20.5->7.20.77.20.1->7.20.77.20.1->7.20.77.18.6->7.20.77.18.6->7.20.77.20.6->7.20.77.20.6->7.20.77.18.10->7.20.77.18.10->7.20.75.46.1->5.48.05.46.1->5.48.0v3.2.0->v3.3.08.11.2->8.12.08.11.2->8.12.08.11.2->8.12.0v1.18.0->v1.19.19.1.0->9.1.29.1.0->9.1.20.16.7->0.16.140.16.7->0.16.140.16.7->0.16.140.16.7->0.16.148.29.0->8.31.08.5.0->8.6.08.0.2->8.0.35.1.1->5.1.2~7.6.0->~7.8.01.56.2->1.57.11.56.2->1.57.15.18.0->5.19.0Release Notes
babel/babel
v7.20.12Compare Source
🐛 Bug Fix
babel-traverseTaggedTemplateLiteralevaluation (@nmn)babel-helper-create-class-features-plugin,babel-plugin-proposal-class-propertiesdelete thisin static class properties initialization (@SuperSodaSea)💅 Polish
babel-traversev7.20.7Compare Source
👓 Spec Compliance
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classesbabel-helpers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes,babel-plugin-transform-object-super🐛 Bug Fix
babel-parser,babel-plugin-transform-typescriptbabel-traverse.parentPathafter rename inSwitchCase(@nicolo-ribaudo)babel-plugin-transform-typescript,babel-traversebabel-plugin-transform-block-scopingbabel-plugin-proposal-async-generator-functions,babel-preset-envfor awaitwith shadowed variables (@liuxingbaoyu)babel-generator,babel-plugin-proposal-optional-chaining(a ?? b) as T(@liuxingbaoyu)babel-plugin-transform-react-jsx,babel-typesJSXText(@liuxingbaoyu)babel-core,babel-helpers,babel-plugin-transform-computed-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimebabel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classesbabel-generatorTSEnumMember(@liuxingbaoyu)💅 Polish
babel-plugin-transform-block-scoping,babel-traverse🏠 Internal
babel-helper-define-map,babel-plugin-transform-property-mutators@babel/helper-define-map(@nicolo-ribaudo)babel-core,babel-plugin-proposal-class-properties,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-destructuring,babel-plugin-transform-parameters,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-traversetransform-block-scopingplugin (@nicolo-ribaudo)🏃♀️ Performance
babel-helper-compilation-targetsgetTargets(@liuxingbaoyu)typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.48.0Compare Source
Features
5.47.1 (2022-12-26)
Bug Fixes
v5.47.1Compare Source
Bug Fixes
v5.47.0Compare Source
Features
5.46.1 (2022-12-12)
Note: Version bump only for package @typescript-eslint/eslint-plugin
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.48.0Compare Source
Note: Version bump only for package @typescript-eslint/parser
5.47.1 (2022-12-26)
Note: Version bump only for package @typescript-eslint/parser
v5.47.1Compare Source
Note: Version bump only for package @typescript-eslint/parser
v5.47.0Compare Source
Note: Version bump only for package @typescript-eslint/parser
5.46.1 (2022-12-12)
Note: Version bump only for package @typescript-eslint/parser
actions/checkout
v3.3.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/checkout@v3.2.0...v3.3.0
ajv-validator/ajv
v8.12.0Compare Source
aspect-build/bazel-lib
v1.19.1Compare Source
Using Bzlmod with Bazel 6:
common --enable_bzlmodin.bazelrc.MODULE.bazelfile:Using WORKSPACE
Paste this snippet into your file:
Optional toolchains:
What's Changed
Full Changelog: bazel-contrib/bazel-lib@v1.19.0...v1.19.1
v1.19.0Compare Source
Using Bzlmod with Bazel 6:
common --enable_bzlmodin.bazelrc.MODULE.bazelfile:Using WORKSPACE
Paste this snippet into your file:
Optional toolchains:
What's Changed
Full Changelog: bazel-contrib/bazel-lib@v1.18.0...v1.19.0
babel/babel-loader
v9.1.2Compare Source
9.1.1 was a broken release, it didn't include all the commits.
Dependencies updates
Misc
New Contributors
Full Changelog: babel/babel-loader@v9.1.0...v9.1.2
v9.1.1Compare Source
evanw/esbuild
v0.16.14Compare Source
Preserve some comments in expressions (#2721)
Various tools give semantic meaning to comments embedded inside of expressions. For example, Webpack and Vite have special "magic comments" that can be used to affect code splitting behavior:
Since esbuild can be used as a preprocessor for these tools (e.g. to strip TypeScript types), it can be problematic if esbuild doesn't do additional work to try to retain these comments. Previously esbuild special-cased Webpack comments in these specific locations in the AST. But Vite would now like to use similar comments, and likely other tools as well.
So with this release, esbuild now will attempt to preserve some comments inside of expressions in more situations than before. This behavior is mainly intended to preserve these special "magic comments" that are meant for other tools to consume, although esbuild will no longer only preserve Webpack-specific comments so it should now be tool-agnostic. There is no guarantee that all such comments will be preserved (especially when
--minify-syntaxis enabled). So this change does not mean that esbuild is now usable as a code formatter. In particular comment preservation is more likely to happen with leading comments than with trailing comments. You should put comments that you want to be preserved before the relevant expression instead of after it. Also note that this change does not retain any more statement-level comments than before (i.e. comments not embedded inside of expressions). Comment preservation is not enabled when--minify-whitespaceis enabled (which is automatically enabled when you use--minify).v0.16.13Compare Source
Publish a new bundle visualization tool
While esbuild provides bundle metadata via the
--metafileflag, previously esbuild left analysis of it completely up to third-party tools (well, outside of the rudimentary--analyzeflag). However, the esbuild website now has a built-in bundle visualization tool:You can pass
--metafileto esbuild to output bundle metadata, then upload that JSON file to this tool to visualize your bundle. This is helpful for answering questions such as:I'm publishing this tool because I think esbuild should provide some answer to "how do I visualize my bundle" without requiring people to reach for third-party tools. At the moment the tool offers two types of visualizations: a radial "sunburst chart" and a linear "flame chart". They serve slightly different but overlapping use cases (e.g. the sunburst chart is more keyboard-accessible while the flame chart is easier with the mouse). This tool may continue to evolve over time.
Fix
--metafileand--mangle-cachewith--watch(#1357)The CLI calls the Go API and then also writes out the metafile and/or mangle cache JSON files if those features are enabled. This extra step is necessary because these files are returned by the Go API as in-memory strings. However, this extra step accidentally didn't happen for all builds after the initial build when watch mode was enabled. This behavior used to work but it was broken in version 0.14.18 by the introduction of the mangle cache feature. This release fixes the combination of these features, so the metafile and mangle cache features should now work with watch mode. This behavior was only broken for the CLI, not for the JS or Go APIs.
Add an
originalfield to the metafileThe metadata file JSON now has an additional field: each import in an input file now contains the pre-resolved path in the
originalfield in addition to the post-resolved path in thepathfield. This means it's now possible to run certain additional analysis over your bundle. For example, you should be able to use this to detect when the same package subpath is represented multiple times in the bundle, either because multiple versions of a package were bundled or because a package is experiencing the dual-package hazard.v0.16.12Compare Source
Loader defaults to
jsfor extensionless files (#2776)Certain packages contain files without an extension. For example, the
yargspackage contains the fileyargs/yargswhich has no extension. Node, Webpack, and Parcel can all understand code that importsyargs/yargsbecause they assume that the file is JavaScript. However, esbuild was previously unable to understand this code because it relies on the file extension to tell it how to interpret the file. With this release, esbuild will now assume files without an extension are JavaScript files. This can be customized by setting the loader for""(the empty string, representing files without an extension) to another loader. For example, if you want files without an extension to be treated as CSS instead, you can do that like this:CLI:
JS:
Go:
In addition, the
"type"field inpackage.jsonfiles now only applies to files with an explicit.js,.jsx,.ts, or.tsxextension. Previously it was incorrectly applied by esbuild to all files that had an extension other than.mjs,.mts,.cjs, or.ctsincluding extensionless files. So for example an extensionless file in a"type": "module"package is now treated as CommonJS instead of ESM.v0.16.11Compare Source
Avoid a syntax error in the presence of direct
eval(#2761)The behavior of nested
functiondeclarations in JavaScript depends on whether the code is run in strict mode or not. It would be problematic if esbuild preserved nestedfunctiondeclarations in its output because then the behavior would depend on whether the output was run in strict mode or not instead of respecting the strict mode behavior of the original source code. To avoid this, esbuild transforms nestedfunctiondeclarations to preserve the intended behavior of the original source code regardless of whether the output is run in strict mode or not:In the above example, the original code should print
true false truebecause it's not run in strict mode (it doesn't contain"use strict"and is not an ES module). The code that esbuild generates has been transformed such that it printstrue false trueregardless of whether it's run in strict mode or not.However, this transformation is impossible if the code contains direct
evalbecause directeval"poisons" all containing scopes by preventing anything in those scopes from being renamed. That prevents esbuild from splitting up accesses tofoointo two separate variables with different names. Previously esbuild still did this transformation but with two variables both namedfoo, which is a syntax error. With this release esbuild will now skip doing this transformation when directevalis present to avoid generating code with a syntax error. This means that the generated code may no longer behave as intended since the behavior depends on the run-time strict mode setting instead of the strict mode setting present in the original source code. To fix this problem, you will need to remove the use of directeval.Fix a bundling scenario involving multiple symlinks (#2773, #2774)
This release contains a fix for a bundling scenario involving an import path where multiple path segments are symlinks. Previously esbuild was unable to resolve certain import paths in this scenario, but these import paths should now work starting with this release. This fix was contributed by @onebytegone.
v0.16.10Compare Source
Change the default "legal comment" behavior again (#2745)
The legal comments feature automatically gathers comments containing
@licenseor@preserveand puts the comments somewhere (either in the generated code or in a separate file). This behavior used to be on by default but was disabled by default in version 0.16.0 because automatically inserting comments is potentially confusing and misleading. These comments can appear to be assigning the copyright of your code to another entity. And this behavior can be especially problematic if it happens automatically by default since you may not even be aware of it happening. For example, if you bundle the TypeScript compiler the preserving legal comments means your source code would contain this comment, which appears to be assigning the copyright of all of your code to Microsoft:However, people have asked for this feature to be re-enabled by default. To resolve the confusion about what these comments are applying to, esbuild's default behavior will now be to attempt to describe which package the comments are coming from. So while this feature has been re-enabled by default, the output will now look something like this instead:
Note that you can still customize this behavior with the
--legal-comments=flag. For example, you can use--legal-comments=noneto turn this off, or you can use--legal-comments=linkedto put these comments in a separate.LEGAL.txtfile instead.Enable
externallegal comments with the transform API (#2390)Previously esbuild's transform API only supported
none,inline, oreoflegal comments. With this release,externallegal comments are now also supported with the transform API. This only applies to the JS and Go APIs, not to the CLI, and looks like this:JS:
Go:
Fix duplicate function declaration edge cases (#2757)
The change in the previous release to forbid duplicate function declarations in certain cases accidentally forbid some edge cases that should have been allowed. Specifically duplicate function declarations are forbidden in nested blocks in strict mode and at the top level of modules, but are allowed when they are declared at the top level of function bodies. This release fixes the regression by re-allowing the last case.
Allow package subpaths with
alias(#2715)Previously the names passed to the
aliasfeature had to be the name of a package (with or without a package scope). With this release, you can now also use thealiasfeature with package subpaths. So for example you can now create an alias that substitutes@org/pkg/libwith something else.v0.16.9Compare Source
Update to Unicode 15.0.0
The character tables that determine which characters form valid JavaScript identifiers have been updated from Unicode version 14.0.0 to the newly-released Unicode version 15.0.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.0.0/#Summary for more information about the changes.
Disallow duplicate lexically-declared names in nested blocks and in strict mode
In strict mode or in a nested block, it's supposed to be a syntax error to declare two symbols with the same name unless all duplicate entries are either
functiondeclarations or allvardeclarations. However, esbuild was overly permissive and allowed this when duplicate entries were eitherfunctiondeclarations orvardeclarations (even if they were mixed). This check has now been made more restrictive to match the JavaScript specification:Add a type declaration for the new
emptyloader (#2755)I forgot to add this in the previous release. It has now been added.
This fix was contributed by @fz6m.
Add support for the
vflag in regular expression literalsPeople are currently working on adding a
vflag to JavaScript regular expresions. You can read more about this flag here: https://v8.dev/features/regexp-v-flag. This release adds support for parsing this flag, so esbuild will now no longer consider regular expression literals with this flag to be a syntax error. If the target is set to something other thanesnext, esbuild will transform regular expression literals containing this flag into anew RegExp()constructor call so the resulting code doesn't have a syntax error. This enables you to provide a polyfill forRegExpthat implements thevflag to get your code to work at run-time. While esbuild doesn't typically adopt proposals until they're already shipping in a real JavaScript run-time, I'm adding it now because a) esbuild's implementation doesn't need to change as the proposal evolves, b) this isn't really new syntax since regular expression literals already have flags, and c) esbuild's implementation is a trivial pass-through anyway.Avoid keeping the name of classes with static
namepropertiesThe
--keep-namesproperty attempts to preserve the original value of thenameproperty for functions and classes even when identifiers are renamed by the minifier or to avoid a name collision. This is currently done by generating code to assign a string to thenameproperty on the function or class object. However, this should not be done for classes with a staticnameproperty since in that case the explicitly-definednameproperty overwrites the automatically-generated class name. With this release, esbuild will now no longer attempt to preserve thenameproperty for classes with a staticnameproperty.v0.16.8Compare Source
Allow plugins to resolve injected files (#2754)
Previously paths passed to the
injectfeature were always interpreted as file system paths. This meant thatonResolveplugins would not be run for them and esbuild's default path resolver would always be used. This meant that theinjectfeature couldn't be used in the browser since the browser doesn't have access to a file system. This release runs paths passed toinjectthrough esbuild's full path resolution pipeline so plugins now have a chance to handle them usingonResolvecallbacks. This makes it possible to write a plugin that makes esbuild'sinjectwork in the browser.Add the
emptyloader (#1541, #2753)The new
emptyloader tells esbuild to pretend that a file is empty. So for example--loader:.css=emptyeffectively skips all imports of.cssfiles in JavaScript so that they aren't included in the bundle, sinceimport "./some-empty-file"in JavaScript doesn't bundle anything. You can also use theemptyloader to remove asset references in CSS files. For example--loader:.png=emptycauses esbuild to replace asset references such asurl(image.png)withurl()so that they are no longer included in the resulting style sheet.Fix
</script>and</style>escaping for non-default targets (#2748)The change in version 0.16.0 to give control over
</script>escaping via--supported:inline-script=falseor--supported:inline-script=trueaccidentally broke automatic escaping of</script>when an explicittargetsetting is specified. This release restores the correct automatic escaping of</script>(which should not depend on whattargetis set to).Enable the
exportsfield withNODE_PATHS(#2752)Node has a rarely-used feature where you can extend the set of directories that node searches for packages using the
NODE_PATHSenvironment variable. While esbuild supports this too, previously it only supported the oldmainfield path resolution but did not support the newexportsfield package resolution. This release makes the path resolution rules the same again for bothnode_modulesdirectories andNODE_PATHSdirectories.eslint/eslint
v8.31.0Compare Source
Features
52c7c73feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)b401cdefeat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)30d0daffeat: group properties with values in parentheses inkey-spacing(#16677) (Francesco Trotta)Bug Fixes
35439f1fix: correct syntax error inprefer-arrow-callbackautofix (#16722) (Francesco Trotta)87b2470fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)Documentation
4339dc4docs: Update README (GitHub Actions Bot)4e4049cdocs: optimize code block structure (#16669) (Sam Chen)54a7adedocs: do not escape code blocks of formatters examples (#16719) (Sam Chen)e5ecfefdocs: Add function call example for no-undefined (#16712) (Elliot Huffman)a3262f0docs: Add mastodon link (#16638) (Amaresh S M)a14ccf9docs: clarify files property (#16709) (Sam Chen)3b29eb1docs: fix npm link (#16710) (Abdullah Osama)a638673docs: fix search bar focus onEsc(#16700) (Shanmughapriyan S)f62b722docs: country flag missing in windows (#16698) (Shanmughapriyan S)4d27ec6docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)8bda20edocs: remove manually maintained anchors (#16685) (Percy Ma)b68440fdocs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)Chores
65d4e24chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills)8d93081chore: fix CI failure (#16721) (Sam Chen)8f17247chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)4cd87cbci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])fd20c75chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)10a5c78chore: update ignore patterns ineslint.config.js(#16678) (Milos Djermanovic)v8.30.0Compare Source
Features
075ef2cfeat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)7190d98feat: update globals (#16654) (Sébastien Règne)Bug Fixes
1a327aafix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)9b8bb72fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)Documentation
6a8cd94docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)ad44344docs: CLI documentation standardization (#16563) (Ben Perlmutter)293573edocs: fix broken line numbers (#16606) (Sam Chen)fa2c64bdocs: use relative links for internal links (#16631) (Percy Ma)75276c9docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)7276fe5docs: Fix anchor in URL (#16628) (Karl Horky)6bef135docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)dfc7ec1docs: Formatters page updates (#16566) (Ben Perlmutter)8ba124cdocs: update theprefer-constexample (#16607) (Pavel)e6cb05adocs: fix css leaking (#16603) (Sam Chen)Chores
f2c4737chore: upgrade @eslint/eslintrc@1.4.0 (#16675) (Milos Djermanovic)ba74253chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)0d9af4cci: fix npm v9 problem withfile:(#16664) (Milos Djermanovic)90c9219refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)prettier/eslint-config-prettier
v8.6.0Compare Source
typicode/husky
v8.0.3Compare Source
isaacs/minimatch
v5.1.2Compare Source
<
Configuration
📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.