chore(deps): update all non-major dependencies #50
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:
4.0.0
->4.1.0
9.0.0
->9.1.0
0.17.11
->0.17.15
8.36.0
->8.37.0
7.29.1
->7.30.5
3.12.4
->3.12.6
1.1.2
->1.2.0
4.1.4
->4.2.1
0.29.2
->0.29.8
Release Notes
vitejs/vite-plugin-vue
v4.1.0
Compare Source
antfu/bumpp
v9.1.0
Compare Source
🚨 Breaking Changes
c12
loader configuration - by @KeJunMao and @antfu in https://github.com/antfu/bumpp/issues/4 (fd66b)View changes on GitHub
evanw/esbuild
v0.17.15
Compare Source
Allow keywords as type parameter names in mapped types (#3033)
TypeScript allows type keywords to be used as parameter names in mapped types. Previously esbuild incorrectly treated this as an error. Code that does this is now supported:
Add annotations for re-exported modules in node (#2486, #3029)
Node lets you import named imports from a CommonJS module using ESM import syntax. However, the allowed names aren't derived from the properties of the CommonJS module. Instead they are derived from an arbitrary syntax-only analysis of the CommonJS module's JavaScript AST.
To accommodate node doing this, esbuild's ESM-to-CommonJS conversion adds a special non-executable "annotation" for node that describes the exports that node should expose in this scenario. It takes the form
0 && (module.exports = { ... })
and comes at the end of the file (0 && expr
meansexpr
is never evaluated).Previously esbuild didn't do this for modules re-exported using the
export * from
syntax. Annotations for these re-exports will now be added starting with this release:Note that you need to specify both
--format=cjs
and--platform=node
to get these node-specific annotations.Avoid printing an unnecessary space in between a number and a
.
(#3026)JavaScript typically requires a space in between a number token and a
.
token to avoid the.
being interpreted as a decimal point instead of a member expression. However, this space is not required if the number token itself contains a decimal point, an exponent, or uses a base other than 10. This release of esbuild now avoids printing the unnecessary space in these cases:Fix server-sent events with live reload when writing to the file system root (#3027)
This release fixes a bug where esbuild previously failed to emit server-sent events for live reload when
outdir
was the file system root, such as/
. This happened because/
is the only path on Unix that cannot have a trailing slash trimmed from it, which was fixed by improved path handling.v0.17.14
Compare Source
Allow the TypeScript 5.0
const
modifier in object type declarations (#3021)The new TypeScript 5.0
const
modifier was added to esbuild in version 0.17.5, and works with classes, functions, and arrow expressions. However, support for it wasn't added to object type declarations (e.g. interfaces) due to an oversight. This release adds support for these cases, so the following TypeScript 5.0 code can now be built with esbuild:Implement preliminary lowering for CSS nesting (#1945)
Chrome has implemented the new CSS nesting specification in version 112, which is currently in beta but will become stable very soon. So CSS nesting is now a part of the web platform!
This release of esbuild can now transform nested CSS syntax into non-nested CSS syntax for older browsers. The transformation relies on the
:is()
pseudo-class in many cases, so the transformation is only guaranteed to work when targeting browsers that support:is()
(e.g. Chrome 88+). You'll need to set esbuild'starget
to the browsers you intend to support to tell esbuild to do this transformation. You will get a warning if you use CSS nesting syntax with atarget
which includes older browsers that don't support:is()
.The lowering transformation looks like this:
More complex cases may generate the
:is()
pseudo-class:In addition, esbuild now has a special warning message for nested style rules that start with an identifier. This isn't allowed in CSS because the syntax would be ambiguous with the existing declaration syntax. The new warning message looks like this:
Keep in mind that the transformation in this release is a preliminary implementation. CSS has many features that interact in complex ways, and there may be some edge cases that don't work correctly yet.
Minification now removes unnecessary
&
CSS nesting selectorsThis release introduces the following CSS minification optimizations:
Minification now removes duplicates from CSS selector lists
This release introduces the following CSS minification optimization:
v0.17.13
Compare Source
Work around an issue with
NODE_PATH
and Go's WebAssembly internals (#3001)Go's WebAssembly implementation returns
EINVAL
instead ofENOTDIR
when using thereaddir
syscall on a file. This messes up esbuild's implementation of node's module resolution algorithm since encounteringENOTDIR
causes esbuild to continue its search (since it's a normal condition) while other encountering other errors causes esbuild to fail with an I/O error (since it's an unexpected condition). You can encounter this issue in practice if you use node's legacyNODE_PATH
feature to tell esbuild to resolve node modules in a custom directory that was not installed by npm. This release works around this problem by convertingEINVAL
intoENOTDIR
for thereaddir
syscall.Fix a minification bug with CSS
@layer
rules that have parsing errors (#3016)CSS at-rules require either a
{}
block or a semicolon at the end. Omitting both of these causes esbuild to treat the rule as an unknown at-rule. Previous releases of esbuild had a bug that incorrectly removed unknown at-rules without any children during minification if the at-rule token matched an at-rule that esbuild can handle. Specifically cssnano can generate@layer
rules with parsing errors, and empty@layer
rules cannot be removed because they have side effects (@layer
didn't exist when esbuild's CSS support was added, so esbuild wasn't written to handle this). This release changes esbuild to no longer discard@layer
rules with parsing errors when minifying (the rule@layer c
has a parsing error):Unterminated strings in CSS are no longer an error
The CSS specification provides rules for handling parsing errors. One of those rules is that user agents must close strings upon reaching the end of a line (i.e., before an unescaped line feed, carriage return or form feed character), but then drop the construct (declaration or rule) in which the string was found. For example:
...would be treated the same as:
...because the second declaration (from
font-family
to the semicolon aftercolor: red
) is invalid and is dropped.Previously using this CSS with esbuild failed to build due to a syntax error, even though the code can be interpreted by a browser. With this release, the code now produces a warning instead of an error, and esbuild prints the invalid CSS such that it stays invalid in the output:
v0.17.12
Compare Source
Fix a crash when parsing inline TypeScript decorators (#2991)
Previously esbuild's TypeScript parser crashed when parsing TypeScript decorators if the definition of the decorator was inlined into the decorator itself:
This crash was not noticed earlier because this edge case did not have test coverage. The crash is fixed in this release.
eslint/eslint
v8.37.0
Compare Source
Features
b6ab8b2
feat:require-unicode-regexp
add suggestions (#17007) (Josh Goldberg)10022b1
feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas)1665c02
feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas)b3634f6
feat: docs license (#17010) (Samuel Roldan)892e6e5
feat: languageOptions.parser must be an object. (#16985) (Nicholas C. Zakas)Bug Fixes
619f3fd
fix: correctly handlenull
default config inRuleTester
(#17023) (Brad Zacher)1fbf118
fix:getFirstToken
/getLastToken
on comment-only node (#16889) (Francesco Trotta)129e252
fix: Fix typo inlogical-assignment-operators
rule description (#17000) (Francesco Trotta)Documentation
75339df
docs: fix typos and missing info in id-match docs (#17029) (Ed Lucas)ec2d830
docs: Fix typos in thesemi
rule docs (#17012) (Andrii Lundiak)e39f28d
docs: add back to top button (#16979) (Tanuj Kanti)721c717
docs: Custom Processors cleanup and expansion (#16838) (Ben Perlmutter)d049f97
docs: 'How ESLint is Maintained' page (#16961) (Ben Perlmutter)5251a92
docs: Describe guard options for guard-for-in (#16986) (alope107)6157d81
docs: Add example to guard-for-in docs. (#16983) (alope107)fd47998
docs: updateArray.prototype.toSorted
specification link (#16982) (Milos Djermanovic)3e1cf6b
docs: Copy edits on Maintain ESLint docs (#16939) (Ben Perlmutter)Chores
c67f299
chore: upgrade @eslint/js@8.37.0 (#17033) (Milos Djermanovic)ee9ddbd
chore: package.json update for @eslint/js release (ESLint Jenkins)dddb475
chore: upgrade @eslint/eslintrc@2.0.2 (#17032) (Milos Djermanovic)522431e
chore: upgrade [email protected] (#17031) (Milos Djermanovic)f5f9a88
chore: upgrade [email protected] (#17030) (Milos Djermanovic)4dd8d52
ci: bump actions/stale from 7 to 8 (#17026) (dependabot[bot])ad9dd6a
chore: remove duplicate scss, (#17005) (Strek)ada6a3e
ci: unpin Node 19 (#16993) (Milos Djermanovic)c3da975
chore: Remove triage label from template (#16990) (Nicholas C. Zakas)69bc0e2
ci: pin Node 19 to 19.7.0 (#16987) (Milos Djermanovic)pnpm/pnpm
v7.30.5
Compare Source
Patch Changes
pnpm audit
should work even if there are nopackage.json
file, just apnpm-lock.yaml
file.dedupe-peer-dependents
istrue
#6154.Our Gold Sponsors
Our Silver Sponsors
v7.30.4
Compare Source
v7.30.3
Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.30.2
Compare Source
v7.30.1
Compare Source
Patch Changes
pnpm-lock.yaml
file if it has no changes andpnpm install --frozen-lockfile
was executed #6158.git+ssh
that use semver selectors #6239.pnpm audit
output #6203Our Gold Sponsors
Our Silver Sponsors
v7.30.0
Compare Source
Minor Changes
patches-dir
setting #6215Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.29.3
Compare Source
Patch Changes
node_modules/.pnpm/node_modules
directory through theNODE_PATH
env variable, then the command's ownnode_modules
directory #5176.extend-node-path
is set back totrue
by default. It was set tofalse
in v7.29.2 in order to fix issues with multiple versions of Jest in one workspace. It has caused other issues, so now we keep extendingNODE_PATH
. We have fixed the Jest issue with a different solution #6213.Our Gold Sponsors
Our Silver Sponsors
v7.29.2
Compare Source
esbuild-kit/tsx
v3.12.6
Compare Source
Bug Fixes
v3.12.5
Compare Source
Bug Fixes
unjs/unbuild
v1.2.0
Compare Source
compare changes
🚀 Enhancements
jsx
andtsx
to esbuild loader defaults (#198)externals
array (#145)pattern
option (#139)charset
option (#190)🩹 Fixes
rollup.alias.entries
option (#220)interop: compat
for cjs compatibility (#215)📖 Documentation
types
to defaultexports
(#226)types
field suggestion for now (e8988ae)🏡 Chore
❤️ Contributors
vitejs/vite
v4.2.1
Compare Source
virtual:
to virtual module source map ignore (#12444) (c4aa28f), closes #12444v4.2.0
Compare Source
Vite 4.2 is out!
Support env variables replacement in HTML files
Vite now supports replacing env variables in HTML files. Any properties in
import.meta.env
can be used in HTML files with a special%ENV_NAME%
syntax:Sourcemaps improvements
The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an improved experience and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using
server.sourcemapIgnoreList
andbuild.rollupOptions.output.sourcemapIgnoreList
.ESM subpath imports
Vite 4.2 now supports subpath imports, thanks to @lukeed05's resolve.exports library.
TypeScript 5 support
Vite 4.2 also supports TypeScript 5's
tsconfig
extends
array format, thanks to tsconfck.esbuild 0.17
esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #11908 for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.
Use Rollup types from the vite package
Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like vite-ecosystem-ci (#12316).
Português Docs Translation
The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .
Features
build.cssMinify
(#12207) (90431f2), closes #12207sourcemapIgnoreList
configuration option (#12174) (f875580), closes #12174build.target
if terser is 5.16.0+ (#12197) (9885f6f), closes #12197this.load
in plugin container context (#11469) (abfa804), closes #11469Bug Fixes
Configuration
📅 Schedule: Branch creation - "after 6pm on sunday" in timezone Asia/Shanghai, 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.