chore(deps): update all non-major dependencies #195
Merged
+439
−177
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:
^20.11.5
->^20.11.16
^1.2.1
->^1.2.2
^0.19.11
->^0.20.0
8.14.1
->8.15.1
^8.4.33
->^8.4.34
^3.2.4
->^3.2.5
^1.69.7
->^1.70.0
^1.2.1
->^1.2.2
^3.3.4
->^3.4.15
^1.8.5
->^1.8.27
^1.8.5
->^1.8.27
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v1.2.2
Compare Source
🐞 Bug Fixes
coverage/.tmp
files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8)toThrow(asymmetricMatcher)
failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)VITEST_POOL_ID
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)ignoreSourceErrors
in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)useFakeTimers
to fakerequestIdleCallback
on non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48)import.meta.resolve
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564)View changes on GitHub
evanw/esbuild (esbuild)
v0.20.0
Compare Source
This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of
esbuild
in yourpackage.json
file (recommended) or be using a version range syntax that only accepts patch upgrades such as^0.19.0
or~0.19.0
. See npm's documentation about semver for more information.This time there is only one breaking change, and it only matters for people using Deno. Deno tests that use esbuild will now fail unless you make the change described below.
Work around API deprecations in Deno 1.40.x (#3609, #3611)
Deno 1.40.0 was just released and introduced run-time warnings about certain APIs that esbuild uses. With this release, esbuild will work around these run-time warnings by using newer APIs if they are present and falling back to the original APIs otherwise. This should avoid the warnings without breaking compatibility with older versions of Deno.
Unfortunately, doing this introduces a breaking change. The newer child process APIs lack a way to synchronously terminate esbuild's child process, so calling
esbuild.stop()
from within a Deno test is no longer sufficient to prevent Deno from failing a test that uses esbuild's API (Deno fails tests that create a child process without killing it before the test ends). To work around this, esbuild'sstop()
function has been changed to return a promise, and you now have to changeesbuild.stop()
toawait esbuild.stop()
in all of your Deno tests.Reorder implicit file extensions within
node_modules
(#3341, #3608)In version 0.18.0, esbuild changed the behavior of implicit file extensions within
node_modules
directories (i.e. in published packages) to prefer.js
over.ts
even when the--resolve-extensions=
order prefers.ts
over.js
(which it does by default). However, doing that also accidentally made esbuild prefer.css
over.ts
, which caused problems for people that published packages containing both TypeScript and CSS in files with the same name.With this release, esbuild will reorder TypeScript file extensions immediately after the last JavaScript file extensions in the implicit file extension order instead of putting them at the end of the order. Specifically the default implicit file extension order is
.tsx,.ts,.jsx,.js,.css,.json
which used to become.jsx,.js,.css,.json,.tsx,.ts
innode_modules
directories. With this release it will now become.jsx,.js,.tsx,.ts,.css,.json
instead.Why even rewrite the implicit file extension order at all? One reason is because the
.js
file is more likely to behave correctly than the.ts
file. The behavior of the.ts
file may depend ontsconfig.json
and thetsconfig.json
file may not even be published, or may useextends
to refer to a basetsconfig.json
file that wasn't published. People can get into this situation when they forget to add all.ts
files to their.npmignore
file before publishing to npm. Picking.js
over.ts
helps make it more likely that resulting bundle will behave correctly.v0.19.12
Compare Source
The "preserve" JSX mode now preserves JSX text verbatim (#3605)
The JSX specification deliberately doesn't specify how JSX text is supposed to be interpreted and there is no canonical way to interpret JSX text. Two most popular interpretations are Babel and TypeScript. Yes they are different (esbuild deliberately follows TypeScript by the way).
Previously esbuild normalized text to the TypeScript interpretation when the "preserve" JSX mode is active. However, "preserve" should arguably reproduce the original JSX text verbatim so that whatever JSX transform runs after esbuild is free to interpret it however it wants. So with this release, esbuild will now pass JSX text through unmodified:
Allow JSX elements as JSX attribute values
JSX has an obscure feature where you can use JSX elements in attribute position without surrounding them with
{...}
. It looks like this:I think I originally didn't implement it even though it's part of the JSX specification because it previously didn't work in TypeScript (and potentially also in Babel?). However, support for it was silently added in TypeScript 4.8 without me noticing and Babel has also since fixed their bugs regarding this feature. So I'm adding it to esbuild too now that I know it's widely supported.
Keep in mind that there is some ongoing discussion about removing this feature from JSX. I agree that the syntax seems out of place (it does away with the elegance of "JSX is basically just XML with
{...}
escapes" for something arguably harder to read, which doesn't seem like a good trade-off), but it's in the specification and TypeScript and Babel both implement it so I'm going to have esbuild implement it too. However, I reserve the right to remove it from esbuild if it's ever removed from the specification in the future. So use it with caution.Fix a bug with TypeScript type parsing (#3574)
This release fixes a bug with esbuild's TypeScript parser where a conditional type containing a union type that ends with an infer type that ends with a constraint could fail to parse. This was caused by the "don't parse a conditional type" flag not getting passed through the union type parser. Here's an example of valid TypeScript code that previously failed to parse correctly:
pnpm/pnpm (pnpm)
v8.15.1
Compare Source
Patch Changes
object-hash
library instead ofnode-object-hash
for hashing keys of side-effects cache #7591.bundledDependencies
should never be added to the lockfile withfalse
as the value #7576.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.15.0
Compare Source
Minor Changes
package.json
but a license file exists, try to match and extract the license name #7530.Patch Changes
pnpm update -r --latest
will no longer downgrade prerelease dependencies #7436.--aggregate-output
should work on scripts executed from the same project #7556.pnpm update --latest
runs with arguments containing versions specs. For instance,pnpm update --latest foo@next
is not allowed #7567.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.14.3
Compare Source
Patch Changes
pnpm pack
should work as expected when "prepack" modifies the manifest #7558.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.14.2
Compare Source
Patch Changes
pnpm dlx
should not fail, when executed frompackage.json
"scripts" 7424.pnpm publish
should pack "main" file or "bin" files defined in "publishConfig" #4195.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
postcss/postcss (postcss)
v8.4.34
Compare Source
AtRule#nodes
type (by Tim Weißenfels).prettier/prettier (prettier)
v3.2.5
Compare Source
diff
Support Angular inline styles as single template literal (#15968 by @sosukesuzuki)
Angular v17 supports single string inline styles.
Unexpected embedded formatting for Angular template (#15969 by @JounQin)
Computed template should not be considered as Angular component template
Use
"json"
parser fortsconfig.json
by default (#16012 by @sosukesuzuki)In v2.3.0, we introduced
"jsonc"
parser which adds trialing comma by default.When adding a new parser we also define how it will be used based on the
linguist-languages
data.tsconfig.json
is a special file used by TypeScript, it uses.json
file extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing.json
file extension.We decide to treat it as a JSON file for now to avoid the extra configuration step.
To keep using the
"jsonc"
parser for yourtsconfig.json
files, add the following to your.pretterrc
filesass/dart-sass (sass)
v1.70.0
Compare Source
JavaScript API
Add a
sass.initCompiler()
function that returns asass.Compiler
objectwhich supports
compile()
andcompileString()
methods with the same API asthe global Sass object. On the Node.js embedded host, each
sass.Compiler
object uses a single long-lived subprocess, making compiling multiple
stylesheets much more efficient.
Add a
sass.initAsyncCompiler()
function that returns asass.AsyncCompiler
object which supports
compileAsync()
andcompileStringAsync()
methods withthe same API as the global Sass object. On the Node.js embedded host, each
sass.AsynCompiler
object uses a single long-lived subprocess, makingcompiling multiple stylesheets much more efficient.
Embedded Sass
Support the
CompileRequest.silent
field. This allows compilations with nologging to avoid unnecessary request/response cycles.
The Dart Sass embedded compiler now reports its name as "dart-sass" rather
than "Dart Sass", to match the JS API's
info
field.vuejs/language-tools (vue-tsc)
v1.8.27
Compare Source
JSX.Element
for compatible with vue 3.4 (https://github.com/vuejs/core/issues/9923)v1.8.26
Compare Source
v1.8.25
Compare Source
v1.8.24
Compare Source
vue-component-type-helpers/vue2
(#3404)defineEmits
'sarg
andtypeArg
inparseScriptSetupRanges
(#3710) - thanks @so1vestrictTemplates
fails to report unknown components (#3539)as
with multiple<script>
blocks (#3733) - thanks @so1ve<script setup>
tag above<script>
tag (#3743) - thanks @so1ve.prop
shorthand (#3729) - thanks @so1veVolar.js 1.11.1 updates:
v1.8.22
Compare Source
experimentalResolveStyleCssClasses: "always"
not working (#3689) - thanks @maIIady__VLS_Prettify
missing for dts build when useswithDefaults()
(#3691)v1.8.21
Compare Source
Volar.js 1.10.5 updates:
$
(https://github.com/volarjs/volar.js/issues/69)v1.8.20
[Compare Source](https://to
Configuration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ 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.