chore(deps): update all non-major dependencies #90
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:
^22.0.0
->^22.0.1
^0.14.47
->^0.14.49
^0.3.10
->^0.3.13
^0.5.3
->^0.5.4
^0.3.0
->^0.3.2
7.3.0
->7.5.2
^2.75.7
->^2.77.0
Release Notes
rollup/plugins
v22.0.1
2022-06-24
Bugfixes
evanw/esbuild
v0.14.49
Compare Source
Keep inlined constants when direct
eval
is present (#2361)Version 0.14.19 of esbuild added inlining of certain
const
variables during minification, which replaces all references to the variable with the initializer and then removes the variable declaration. However, this could generate incorrect code when directeval
is present because the directeval
could reference the constant by name. This release fixes the problem by preserving theconst
variable declaration in this case:Fix an incorrect error in TypeScript when targeting ES5 (#2375)
Previously when compiling TypeScript code to ES5, esbuild could incorrectly consider the following syntax forms as a transformation error:
The error messages looked like this:
These parenthesized literals followed by a colon look like the start of an arrow function expression followed by a TypeScript return type (e.g.
([]) : 1
could be the start of the TypeScript arrow function([]): 1 => 1
). Unlike in JavaScript, parsing arrow functions in TypeScript requires backtracking. In this case esbuild correctly determined that this expression wasn't an arrow function after all but the check for destructuring was incorrectly not covered under the backtracking process. With this release, the error message is now only reported if the parser successfully parses an arrow function without backtracking.Fix generated TypeScript
enum
comments containing*/
(#2369, #2371)TypeScript
enum
values that are equal to a number or string literal are inlined (references to the enum are replaced with the literal value) and have a/* ... */
comment after them with the original enum name to improve readability. However, this comment is omitted if the enum name contains the character sequence*/
because that would end the comment early and cause a syntax error:This was originally handled correctly when TypeScript
enum
inlining was initially implemented since it was only supported within a single file. However, when esbuild was later extended to support TypeScriptenum
inlining across files, this special case where the enum name contains*/
was not handled in that new code. Starting with this release, esbuild will now handle enums with names containing*/
correctly when they are inlined across files:This fix was contributed by @magic-akari.
Allow
declare
class fields to be initialized (#2380)This release fixes an oversight in the TypeScript parser that disallowed initializers for
declare
class fields. TypeScript actually allows the following limited initializer expressions forreadonly
fields:So with this release, esbuild now allows initializers for
declare
class fields too. To future-proof this in case TypeScript allows more expressions as initializers in the future (such asnull
), esbuild will allow any expression as an initializer and will leave the specifics of TypeScript's special-casing here to the TypeScript type checker.Fix a bug in esbuild's feature compatibility table generator (#2365)
Passing specific JavaScript engines to esbuild's
--target
flag restricts esbuild to only using JavaScript features that are supported on those engines in the output files that esbuild generates. The data for this feature is automatically derived from this compatibility table with a script: https://kangax.github.io/compat-table/.However, the script had a bug that could incorrectly consider a JavaScript syntax feature to be supported in a given engine even when it doesn't actually work in that engine. Specifically this bug happened when a certain aspect of JavaScript syntax has always worked incorrectly in that engine and the bug in that engine has never been fixed. This situation hasn't really come up before because previously esbuild pretty much only targeted JavaScript engines that always fix their bugs, but the two new JavaScript engines that were added in the previous release (Hermes and Rhino) have many aspects of the JavaScript specification that have never been implemented, and may never be implemented. For example, the
let
andconst
keywords are not implemented correctly in those engines.With this release, esbuild's compatibility table generator script has been fixed and as a result, esbuild will now correctly consider a JavaScript syntax feature to be unsupported in a given engine if there is some aspect of that syntax that is broken in all known versions of that engine. This means that the following JavaScript syntax features are no longer considered to be supported by these engines (represented using esbuild's internal names for these syntax features):
Hermes:
arrow
const-and-let
default-argument
generator
optional-catch-binding
optional-chain
rest-argument
template-literal
Rhino:
arrow
const-and-let
destructuring
for-of
generator
object-extensions
template-literal
IE:
const-and-let
v0.14.48
Compare Source
Enable using esbuild in Deno via WebAssembly (#2323)
The native implementation of esbuild is much faster than the WebAssembly version, but some people don't want to give Deno the
--allow-run
permission necessary to run esbuild and are ok waiting longer for their builds to finish when using the WebAssembly backend. With this release, you can now use esbuild via WebAssembly in Deno. To do this you will need to import fromwasm.js
instead ofmod.js
:Make sure you run Deno with
--allow-net
so esbuild can download the WebAssembly module. Using esbuild like this starts up a worker thread that runs esbuild in parallel (unless you callesbuild.initialize({ worker: false })
to tell esbuild to run on the main thread). If you want to, you can callesbuild.stop()
to terminate the worker if you won't be using esbuild anymore and you want to reclaim the memory.Note that Deno appears to have a bug where background WebAssembly optimization can prevent the process from exiting for many seconds. If you are trying to use Deno and WebAssembly to run esbuild quickly, you may need to manually call
Deno.exit(0)
after your code has finished running.Add support for font file MIME types (#2337)
This release adds support for font file MIME types to esbuild, which means they are now recognized by the built-in local web server and they are now used when a font file is loaded using the
dataurl
loader. The full set of newly-added file extension MIME type mappings is as follows:.eot
=>application/vnd.ms-fontobject
.otf
=>font/otf
.sfnt
=>font/sfnt
.ttf
=>font/ttf
.woff
=>font/woff
.woff2
=>font/woff2
Remove
"use strict";
when targeting ESM (#2347)All ES module code is automatically in strict mode, so a
"use strict";
directive is unnecessary. With this release, esbuild will now remove the"use strict";
directive if the output format is ESM. This change makes the generated output file a few bytes smaller:Attempt to have esbuild work with Deno on FreeBSD (#2356)
Deno doesn't support FreeBSD, but it's possible to build Deno for FreeBSD with some additional patches on top. This release of esbuild changes esbuild's Deno installer to download esbuild's FreeBSD binary in this situation. This configuration is unsupported although in theory everything should work.
Add some more target JavaScript engines (#2357)
This release adds the Rhino and Hermes JavaScript engines to the set of engine identifiers that can be passed to the
--target
flag. You can use this to restrict esbuild to only using JavaScript features that are supported on those engines in the output files that esbuild generates.unjs/mkdist
v0.3.13
Compare Source
v0.3.12
Compare Source
v0.3.11
Compare Source
unjs/mlly
v0.5.4
Compare Source
unjs/pathe
v0.3.2
Compare Source
v0.3.1
Compare Source
pnpm/pnpm
v7.5.2
Compare Source
Patch Changes
Our Gold Sponsors
Full Changelog: pnpm/pnpm@v7.5.1...v7.5.2
v7.5.1
Compare Source
Patch Changes
node_modules
#4988.Our Gold Sponsors
Full Changelog: pnpm/pnpm@v7.5.0...v7.5.1
v7.5.0
Compare Source
Minor Changes
A new value
rolling
for optionsave-workspace-protocol
. When selected, pnpm will save workspace versions using a rolling alias (e.g."foo": "workspace:^"
) instead of pinning the current version number (e.g."foo": "workspace:^1.0.0"
). Usage example, in the root of your workspace, create a.npmrc
with the following content:Patch Changes
pnpm remove <pkg>
should not fail in a workspace that has patches #4954pnpm env use
should throw an error on a system that use the MUSL libc.Our Gold Sponsors
Full Changelog: pnpm/pnpm@v7.4.1...v7.5.0
v7.4.1
Compare Source
Patch Changes
pnpm install
in a workspace with patches should not fail when doing partial installation #4954.--lockfile-only
is used. Even iffrozen-lockfile
istrue
#4951.patchedDependencies
field topnpm-lock.yaml
.Our Gold Sponsors
Full Changelog: pnpm/pnpm@v7.4.0...v7.4.1
v7.4.0
Compare Source
Minor Changes
Dependencies patching is possible via the
pnpm.patchedDependencies
field of thepackage.json
.To patch a package, the package name, exact version, and the relative path to the patch file should be specified. For instance:
Two new commands added:
pnpm patch
andpnpm patch-commit
.pnpm patch <pkg>
prepares a package for patching. For instance, if you want to patch express v1, run:pnpm will create a temporary directory with
express@1.0.0
that you can modify with your changes.Once you are read with your changes, run:
This will create a patch file and write it to
<project>/patches/express@1.0.0.patch
.Also, it will reference this new patch file from the
patchedDependencies
field inpackage.json
:A new experimental command added:
pnpm deploy
. The deploy command takes copies a project from a workspace and installs all of its production dependencies (even if some of those dependencies are other projects from the workspace).For example, the new command will deploy the project named
foo
to thedist
directory in the root of the workspace:package-import-method
supports a new option:clone-or-copy
.New setting added:
include-workspace-root
. When it is set totrue
, therun
,exec
,add
, andtest
commands will include the root package, when executed recursively #4906Patch Changes
Don't crash when
pnpm update --interactive
is cancelled with Ctrl+c.The
use-node-version
setting should work with prerelease Node.js versions. For instance:Return early when the lockfile is up-to-date.
Resolve native workspace path for case-insensitive file systems #4904.
Don't link local dev dependencies, when prod dependencies should only be installed.
pnpm audit --fix
should not add an override for a vulnerable package that has no fixes released.Update the compatibility database.
Our Gold Sponsors
Full Changelog: pnpm/pnpm@v7.3.0...v7.4.0
rollup/rollup
v2.77.0
Compare Source
2022-07-15
Features
maxParallelFileOps
to limit both read and write operations, default to 20 and replacesmaxParallelFileRead
(#4570)Bug Fixes
Pull Requests
v2.76.0
Compare Source
2022-07-08
Features
sourcmapBaseUrl
for absolute paths in sourcemaps (#4527)Bug Fixes
Pull Requests
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.