chore(deps): update devdependencies #1725
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:
~18.11.17
->~18.11.18
~9.9.0
->~9.10.0
~12.2.0
->~12.3.0
~0.16.10
->~0.16.16
~8.30.0
->~8.31.0
~8.5.0
->~8.6.0
~1.12.0
->~1.14.0
~3.12.1
->~3.12.2
~4.0.3
->~4.0.4
Release Notes
vueuse/vueuse
v9.10.0
Compare Source
🚀 Features
scrollTo
in component - by @Agapanthus and Eric Skaliks in https://github.com/vueuse/vueuse/issues/2397 (9f495)🐞 Bug Fixes
target
ref nullable - by @vaakian in https://github.com/vueuse/vueuse/issues/2579 (28614)View changes on GitHub
cypress-io/cypress
v12.3.0
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​12-3-0
evanw/esbuild
v0.16.16
Compare Source
Fix a regression caused by comment preservation (#2805)
The new comment preservation behavior that was added in 0.16.14 introduced a regression where comments in certain locations could cause esbuild to omit certain necessary parentheses in the output. The outermost parentheses were incorrectly removed for the following syntax forms, which then introduced syntax errors:
This regression has been fixed.
v0.16.15
Compare Source
Add
format
to input files in the JSON metafile dataWhen
--metafile
is enabled, input files may now have an additionalformat
field that indicates the export format used by this file. When present, the value will either becjs
for CommonJS-style exports oresm
for ESM-style exports. This can be useful in bundle analysis.For example, esbuild's new Bundle Size Analyzer now uses this information to visualize whether ESM or CommonJS was used for each directory and file of source code (click on the CJS/ESM bar at the top).
This information is helpful when trying to reduce the size of your bundle. Using the ESM variant of a dependency instead of the CommonJS variant always results in a faster and smaller bundle because it omits CommonJS wrappers, and also may result in better tree-shaking as it allows esbuild to perform tree-shaking at the statement level instead of the module level.
Fix a bundling edge case with dynamic import (#2793)
This release fixes a bug where esbuild's bundler could produce incorrect output. The problematic edge case involves the entry point importing itself using a dynamic
import()
expression in an imported file, like this:Remove new type syntax from type declarations in the
esbuild
package (#2798)Previously you needed to use TypeScript 4.3 or newer when using the
esbuild
package from TypeScript code due to the use of a getter in an interface innode_modules/esbuild/lib/main.d.ts
. This release removes this newer syntax to allow people with versions of TypeScript as far back as TypeScript 3.5 to use this latest version of theesbuild
package. Here is change that was made to esbuild's type declarations:v0.16.14
Compare 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-syntax
is 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-whitespace
is enabled (which is automatically enabled when you use--minify
).v0.16.13
Compare Source
Publish a new bundle visualization tool
While esbuild provides bundle metadata via the
--metafile
flag, previously esbuild left analysis of it completely up to third-party tools (well, outside of the rudimentary--analyze
flag). However, the esbuild website now has a built-in bundle visualization tool:You can pass
--metafile
to 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
--metafile
and--mangle-cache
with--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
original
field 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
original
field in addition to the post-resolved path in thepath
field. 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.12
Compare Source
Loader defaults to
js
for extensionless files (#2776)Certain packages contain files without an extension. For example, the
yargs
package contains the fileyargs/yargs
which has no extension. Node, Webpack, and Parcel can all understand code that importsyargs/yargs
because 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.json
files now only applies to files with an explicit.js
,.jsx
,.ts
, or.tsx
extension. Previously it was incorrectly applied by esbuild to all files that had an extension other than.mjs
,.mts
,.cjs
, or.cts
including extensionless files. So for example an extensionless file in a"type": "module"
package is now treated as CommonJS instead of ESM.v0.16.11
Compare Source
Avoid a syntax error in the presence of direct
eval
(#2761)The behavior of nested
function
declarations in JavaScript depends on whether the code is run in strict mode or not. It would be problematic if esbuild preserved nestedfunction
declarations 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 nestedfunction
declarations 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 true
because 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 true
regardless of whether it's run in strict mode or not.However, this transformation is impossible if the code contains direct
eval
because directeval
"poisons" all containing scopes by preventing anything in those scopes from being renamed. That prevents esbuild from splitting up accesses tofoo
into 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 directeval
is 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.
eslint/eslint
v8.31.0
Compare Source
Features
52c7c73
feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)b401cde
feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)30d0daf
feat: group properties with values in parentheses inkey-spacing
(#16677) (Francesco Trotta)Bug Fixes
35439f1
fix: correct syntax error inprefer-arrow-callback
autofix (#16722) (Francesco Trotta)87b2470
fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)Documentation
4339dc4
docs: Update README (GitHub Actions Bot)4e4049c
docs: optimize code block structure (#16669) (Sam Chen)54a7ade
docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)e5ecfef
docs: Add function call example for no-undefined (#16712) (Elliot Huffman)a3262f0
docs: Add mastodon link (#16638) (Amaresh S M)a14ccf9
docs: clarify files property (#16709) (Sam Chen)3b29eb1
docs: fix npm link (#16710) (Abdullah Osama)a638673
docs: fix search bar focus onEsc
(#16700) (Shanmughapriyan S)f62b722
docs: country flag missing in windows (#16698) (Shanmughapriyan S)4d27ec6
docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)8bda20e
docs: remove manually maintained anchors (#16685) (Percy Ma)b68440f
docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)Chores
65d4e24
chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills)8d93081
chore: fix CI failure (#16721) (Sam Chen)8f17247
chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)4cd87cb
ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])fd20c75
chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)10a5c78
chore: update ignore patterns ineslint.config.js
(#16678) (Milos Djermanovic)prettier/eslint-config-prettier
v8.6.0
Compare Source
Shinigami92/eslint-define-config
v1.14.0
Compare Source
diff
v1.13.0
Compare Source
diff
excludedFiles
type to allowstring[]
(#159)deprecation
(8ca5721)eslint-comments
(#163)jsonc
(#160)promise
(#162)sonarjs
(#161)esbuild-kit/tsx
v3.12.2
Compare Source
Bug Fixes
vitejs/vite
v4.0.4
Compare Source
Configuration
📅 Schedule: Branch creation - "before 3am 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.