This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
chore(deps): update all non-major dependencies #3273
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.1.1
->^7.2.0
^0.14.21
->^0.14.22
^37.9.1
->^37.9.2
^5.69.0
->^5.69.1
Release Notes
sindresorhus/dot-prop
v7.2.0
Compare Source
deepKeys()
(#94)3902c64
2c1bbfb
evanw/esbuild
v0.14.22
Compare Source
Preserve whitespace for token lists that look like CSS variable declarations (#2020)
Previously esbuild removed the whitespace after the CSS variable declaration in the following CSS:
However, that broke rendering in Chrome as it caused Chrome to ignore the entire rule. This did not break rendering in Firefox and Safari, so there's a browser bug either with Chrome or with both Firefox and Safari. In any case, esbuild now preserves whitespace after the CSS variable declaration in this case.
Ignore legal comments when merging adjacent duplicate CSS rules (#2016)
This release now generates more compact minified CSS when there are legal comments in between two adjacent rules with identical content:
Block
onResolve
andonLoad
untilonStart
ends (#1967)This release changes the semantics of the
onStart
callback. AllonStart
callbacks from all plugins are run concurrently so that a slow plugin doesn't hold up the entire build. That's still the case. However, previously the only thing waiting for theonStart
callbacks to finish was the end of the build. This meant thatonResolve
and/oronLoad
callbacks could sometimes run beforeonStart
had finished. This was by design but violated user expectations. With this release, allonStart
callbacks must finish before anyonResolve
and/oronLoad
callbacks are run.Add a self-referential
default
export to the JS API (#1897)Some people try to use esbuild's API using
import esbuild from 'esbuild'
instead ofimport * as esbuild from 'esbuild'
(i.e. using a default import instead of a namespace import). There is nodefault
export so that wasn't ever intended to work. But it would work sometimes depending on which tools you used and how they were configured so some people still wrote code this way. This release tries to make that work by adding a self-referentialdefault
export that is equal to esbuild's module namespace object.More detail: The published package for esbuild's JS API is in CommonJS format, although the source code for esbuild's JS API is in ESM format. The original ESM code for esbuild's JS API has no export named
default
so using a default import like this doesn't work with Babel-compatible toolchains (since they respect the semantics of the original ESM code). However, it happens to work with node-compatible toolchains because node's implementation of importing CommonJS from ESM broke compatibility with existing conventions and automatically creates adefault
export which is set tomodule.exports
. This is an unfortunate compatibility headache because it means thedefault
import only works sometimes. This release tries to fix this by explicitly creating a self-referentialdefault
export. It now doesn't matter if you doesbuild.build()
,esbuild.default.build()
, oresbuild.default.default.build()
because they should all do the same thing. Hopefully this means people don't have to deal with this problem anymore.Handle
write
errors when esbuild's child process is killed (#2007)If you type Ctrl+C in a terminal when a script that uses esbuild's JS library is running, esbuild's child process may be killed before the parent process. In that case calls to the
write()
syscall may fail with anEPIPE
error. Previously this resulted in an uncaught exception because esbuild didn't handle this case. Starting with this release, esbuild should now catch these errors and redirect them into a generalThe service was stopped
error which should be returned from whatever top-level API calls were in progress.Better error message when browser WASM bugs are present (#1863)
Safari's WebAssembly implementation appears to be broken somehow, at least when running esbuild. Sometimes this manifests as a stack overflow and sometimes as a Go panic. Previously a Go panic resulted in the error message
Can't find variable: fs
but this should now result in the Go panic being printed to the console. Using esbuild's WebAssembly library in Safari is still broken but now there's a more helpful error message.More detail: When Go panics, it prints a stack trace to stderr (i.e. file descriptor 2). Go's WebAssembly shim calls out to node's
fs.writeSync()
function to do this, and it converts calls tofs.writeSync()
into calls toconsole.log()
in the browser by providing a shim forfs
. However, Go's shim code stores the shim onwindow.fs
in the browser. This is undesirable because it pollutes the global scope and leads to brittle code that can break if other code also useswindow.fs
. To avoid this, esbuild shadows the global object by wrapping Go's shim. But that broke bare references tofs
since the shim is no longer stored onwindow.fs
. This release now stores the shim in a local variable namedfs
so that bare references tofs
work correctly.Undo incorrect dead-code elimination with destructuring (#1183)
Previously esbuild eliminated these statements as dead code if tree-shaking was enabled:
This is incorrect because both of these lines will throw an error when evaluated. With this release, esbuild now preserves these statements even when tree shaking is enabled.
Update to Go 1.17.7
The version of the Go compiler used to compile esbuild has been upgraded from Go 1.17.6 to Go 1.17.7, which contains a few compiler and security bug fixes.
gajus/eslint-plugin-jsdoc
v37.9.2
Compare Source
Bug Fixes
valid-types
: ensurerequires
checking works withoutmodule:
; fixes #840 (0cfdfd7)webpack/webpack
v5.69.1
Compare Source
Revert
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.