fix(deps): update all non-major dependencies #176
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:
^11.11.1
->^11.11.3
^1.16.1
->^1.18.2
^1.39.0
->^1.41.1
^1.3.96
->^1.3.106
^2.5.98
->^2.5.115
^1.5.98
->^1.5.115
^20.9.0
->^20.11.7
^18.2.37
->^18.2.48
^18.2.15
->^18.2.18
^5.1.30
->^5.1.34
^0.19.5
->^0.19.12
^11.1.1
->^11.2.0
8.10.5
->8.14.3
^6.18.0
->^6.21.3
^6.1.1
->^6.1.8
^5.2.2
->^5.3.3
^5.0.2
->^5.0.12
Release Notes
emotion-js/emotion (@emotion/react)
v11.11.3
Compare Source
Patch Changes
#3101
49c20b4f
Thanks @kyvong! - Fix Theme import for newer Typescript module resolution modesUpdated dependencies [
45c440fb
]:oedotme/generouted (@generouted/react-router)
v1.18.2
Compare Source
Commits
92ba661
by @oedotmeChangelog: oedotme/generouted@v1.18.1...v1.18.2
v1.18.1
Compare Source
Commits
fd803f1
by @oedotmeChangelog: oedotme/generouted@v1.18.0...v1.18.1
v1.18.0
Compare Source
Commits
.mdx
routes9653cf7
by @oedotme closes #144604bc97
by @oedotmeChangelog: oedotme/generouted@v1.17.1...v1.18.0
v1.17.1
Compare Source
Commits
b91afb2
by @oedotme4fc7d65
by @oedotme closes #143Changelog: oedotme/generouted@v1.17.0...v1.17.1
v1.17.0
Compare Source
Breaking changes — Solid integration ONLY
@generouted/solid-router
v1.17.0
now requires using@solidjs/router
v0.10.1
<Outlet />
component was removed from@solidjs/router
, you'll need to use{props.children}
insteadCommits
427548b
by @oedotmed466ef2
by @oedotme517febf
by @oedotmefefae76
by @oedotmeChangelog: oedotme/generouted@v1.16.1...v1.17.0
microsoft/playwright (@playwright/test)
v1.41.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/29067 - [REGRESSION] Codegen/Recorder: not all clicks are being actioned nor recordedhttps://github.com/microsoft/playwright/issues/290288 - [REGRESSION] React component tests throw type error when passing null/undefined to componenhttps://github.com/microsoft/playwright/issues/2902727 - [REGRESSION] React component tests not passing Date prop valuhttps://github.com/microsoft/playwright/issues/29023023 - [REGRESSION] React component tests not rendering children phttps://github.com/microsoft/playwright/issues/290199019 - [REGRESSION] trace.playwright.dev does not currently support the loading from URL
Browser Versions
This version was also tested against the following stable channels:
v1.41.0
Compare Source
New APIs
style
in page.screenshot([options]) and locator.screenshot([options]) to add custom CSS to the page before taking a screenshot.stylePath
for methods expect(page).toHaveScreenshot(name[, options]) and expect(locator).toHaveScreenshot(name[, options]) to apply a custom stylesheet while making the screenshot.fileName
option for Blob reporter, to specify the name of the report to be created.Browser Versions
This version was also tested against the following stable channels:
v1.40.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traceshttps://github.com/microsoft/playwright/issues/283711 - [BUG] The color of the 'ok' text did not change to green in the vs code test results sectiohttps://github.com/microsoft/playwright/issues/2832121 - [BUG] Ambiguous test outcome and status for serial mohttps://github.com/microsoft/playwright/issues/28362362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characthttps://github.com/microsoft/playwright/pull/282398239 - fix: collect all errors in removeFolders
Browser Versions
This version was also tested against the following stable channels:
v1.40.0
Compare Source
Test Generator Update
New tools to generate assertions:
Here is an example of a generated test with assertions:
New APIs
reason
in page.close(), browserContext.close() and browser.close(). Close reason is reported for all operations interrupted by the closure.firefoxUserPrefs
in browserType.launchPersistentContext(userDataDir).Other Changes
Browser Versions
This version was also tested against the following stable channels:
swc-project/swc (@swc/core)
v1.3.106
Compare Source
Bug Fixes
(binding/types) Add
bugfixes
field to EnvConfig (#8538) (49ebdf9)(common) Fix source map generation with
inputSourceMap
(#8546) (043ee85)(es/ast) Add
definite
andis_override
toAutoAccessor
(#8436) (572bcae)(es/ast) Fix definition of
SetterProp
(#8314) (bc38ac9)(es/codegen) Set
sourceRoot
of sourcemaps (#6086) (ae78669)(es/compat) Support vars from
reserved_word
pass (#8543) (fc929e9)(es/loader) Don't use browser versions for
jsc.paths
(#8548) (fab27da)(es/minifier) Fix a bug related to inliner and the variable scoping (#8542) (aa70131)
(es/module) Fix resolving of dependencies (#8533) (71fb5c1)
(es/module) Fix handling of
*
injsc.paths
(#8535) (2d8bd9e)(es/quote) Add support for import phase to quote macro (#8536) (71930ff)
Features
(css/parser) Implement error reporting for
@value
of CSS Modules (#8547) (00619b1)(es/ast) Support import phase (#8279) (72048ae)
(swc_core) Expose
preset_env_base
(#8537) (793f265)Miscellaneous Tasks
sourcemap
(#8544) (4630426)v1.3.105
Compare Source
Bug Fixes
(common) Remove
<
and>
fromDisplay
impl ofFileName::Custom
(#8530) (014a6cd)(es/codegen) Fix codegen of
\\0
(#8433) (9f1ce3a)(es/minifier) Fix a bug in tpl string <-> string logic (#8510) (4946a11)
(es/typescript) Fix panic on invalid jsx pragma (#8513) (f40f59b)
Miscellaneous Tasks
browserslist-rs
(#8524) (5e40dc7)Testing
(es/codegen) Add tests for
@ctrl/tinycolor
(#8518) (1c4eb1f)(es/codegen) Add a JS test for ascii-only mode (#8519) (974c6a0)
(es/minifier) Add a test for a fixed issue (#8520) (8fac2bb)
(es/module) Add a test for a fixed issue (#8521) (4b4a0a2)
v1.3.104
Compare Source
Bug Fixes
(es) Fix plugin template & restore
test!
astest_inline!
(#8508) (10449e0)(es/systemjs) Handle top level this (#8506) (0f94c8c)
(plugin) Set
swc_common::errors::HANDLER
while invoking plugins (#8511) (ba753f1)v1.3.103
Compare Source
Bug Fixes
(binding/types) Add type for
decoratorVersion
(#8468) (79438e6)(es/codegen) Emit abstract keyword (#8479) (a12eaae)
(es/codegen) Emit declare keyword for class properties (#8478) (2076ef8)
(es/codegen) Emit implements clause with commas (#8477) (d98a282)
(es/codegen) Emit
?
for an optional computed property (#8481) (e0bdc0f)(es/codegen) Fix codegen of a property key in ascii-only mode (#8493) (8d9bf4c)
(es/compat) Set inserted var inside export class in destructing (#8470) (4416077)
(es/compat) Correctly handle
this
in arrow function parameters (#8489) (52a8f05)(es/minifier) Correctly escape more characters (#8490) (f7c4934)
(es/module) Fix resolving of
.js
files (#8480) (b70e96f)(es/parser) Correctly parse the keyword (#8483) (740e6f3)
(es/resolver) Resolve top-level
undefined
,NaN
, andInfinity
correctly (#8471) (82bd807)Documentation
string_cache
withhstr
inARCHITECTURE.md
(#8487) (abd7c51)Features
/>
on non-void HTML elements via a flag (#8460) (566063d)Refactor
Testing
(es/minifier) Enable non esm mode for tests (#8472) (1120336)
(es/minifier) Enable script mode for
terser_exec
andmangle
(#8474) (b676e75)v1.3.102
Compare Source
Bug Fixes
(css/parser) Fix parsing of
hsla(var(--foo), 1)
(#8443) (d89b60a)(es) Apply
paren_remover
for minify (#8442) (e68720a)(es/codegen) Fix codegen of type-only export declarations (#8447) (65dec90)
(es/codegen) Emit
override
keyword (#8449) (0dd96f8)(es/compat) Use correct
span.lo
in class transforms (#8439) (a06d5b2)(es/minifier) Add WeakRef as a safe global reference (#8458) (d681785)
(es/parser) Disallowing await as an identifier in class static block (#8450) (0b188cc)
(es/renamer) Correctly check top level (#8456) (1e44e57)
v1.3.101
Compare Source
v1.3.100
Compare Source
Bug Fixes
(es/codegen) Fix panic due to
\\ud
(#8346) (1891afa)(es/codegen) Wrap quote for length greater than one (#8351) (2cdea3f)
(es/decorators) Resolve enum for
design:returntype
(#8320) (91ef7c9)(es/fixer) Wrap yield expression in await expression (#8357) (ff719f0)
(es/minifier) Fix
if_return
bug related toawait
andyield
(#8328) (01e2c7f)(es/minifier) Give up terminate merge if in
try
withfinally
(#8342) (ed5a9b3)(es/parser) Wrap with
OptChain
acrossTsNonNull
(#8332) (8af6ffb)(es/parser) Fix conditional compilation (#8343) (a423681)
(es/react) Make jsx with single spread child static (#8339) (58568fa)
(es/renamer) Allow
globalThis
to be shadowed (#8327) (3dd73a3)(es/typescript) Handle shebang with jsx pragma (#8318) (c25601d)
Miscellaneous Tasks
Build
vergen
tov8
(#8325) (1315615)v1.3.99
Compare Source
evanw/esbuild (esbuild)
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:
v0.19.11
Compare Source
Fix TypeScript-specific class transform edge case (#3559)
The previous release introduced an optimization that avoided transforming
super()
in the class constructor for TypeScript code compiled withuseDefineForClassFields
set tofalse
if all class instance fields have no initializers. The rationale was that in this case, all class instance fields are omitted in the output so no changes to the constructor are needed. However, if all of this is the case and there are#private
instance fields with initializers, those private instance field initializers were still being moved into the constructor. This was problematic because they were being inserted before the call tosuper()
(sincesuper()
is now no longer transformed in that case). This release introduces an additional optimization that avoids moving the private instance field initializers into the constructor in this edge case, which generates smaller code, matches the TypeScript compiler's output more closely, and avoids this bug:Minifier: allow reording a primitive past a side-effect (#3568)
The minifier previously allowed reordering a side-effect past a primitive, but didn't handle the case of reordering a primitive past a side-effect. This additional case is now handled:
Minifier: consider properties named using known
Symbol
instances to be side-effect free (#3561)Many things in JavaScript can have side effects including property accesses and ToString operations, so using a symbol such as
Symbol.iterator
as a computed property name is not obviously side-effect free. This release adds a special case for knownSymbol
instances so that they are considered side-effect free when used as property names. For example, this class declaration will now be considered side-effect free:Provide the
stop()
API in node to exit esbuild's child process (#3558)You can now call
stop()
in esbuild's node API to exit esbuild's child process to reclaim the resources used. It only makes sense to do this for a long-lived node process when you know you will no longer be making any more esbuild API calls. It is not necessary to call this to allow node to exit, and it's advantageous to not call this in between calls to esbuild's API as sharing a single long-lived esbuild child process is more efficient than re-creating a new esbuild child process for every API call. This API call used to exist but was removed in version 0.9.0. This release adds it back due to a user request.v0.19.10
Compare Source
Fix glob imports in TypeScript files (#3319)
This release fixes a problem where bundling a TypeScript file containing a glob import could emit a call to a helper function that doesn't exist. The problem happened because esbuild's TypeScript transformation removes unused imports (which is required for correctness, as they may be type-only imports) and esbuild's glob import transformation wasn't correctly marking the imported helper function as used. This wasn't caught earlier because most of esbuild's glob import tests were written in JavaScript, not in TypeScript.
Fix
require()
glob imports with bundling disabled (#3546)Previously
require()
calls containing glob imports were incorrectly transformed when bundling was disabled. All glob imports should only be transformed when bundling is enabled. This bug has been fixed.Fix a panic when transforming optional chaining with
define
(#3551, #3554)This release fixes a case where esbuild could crash with a panic, which was triggered by using
define
to replace an expression containing an optional chain. Here is an example:This fix was contributed by @hi-ogawa.
Work around a bug in node's CommonJS export name detector (#3544)
The export names of a CommonJS module are dynamically-determined at run time because CommonJS exports are properties on a mutable object. But the export names of an ES module are statically-determined at module instantiation time by using
import
andexport
syntax and cannot be changed at run time.When you import a CommonJS module into an ES module in node, node scans over the source code to attempt to detect the set of export names that the CommonJS module will end up using. That statically-determined set of names is used as the set of names that the ES module is allowed to import at module instantiation time. However, this scan appears to have bugs (or at least, can cause false positives) because it doesn't appear to do any scope analysis. Node will incorrectly consider the module to export something even if the assignment is done to a local variable instead of to the module-level
exports
object. For example:You can see that node incorrectly thinks the file
confuseNode.js
has an export callednotAnExport
when that file is loaded in an ES module context:To avoid this, esbuild will now rename local variables that use the names
exports
andmodule
when generating CommonJS output for thenode
platform.Fix the return value of esbuild's
super()
shim (#3538)Some people write
constructor
methods that use the return value ofsuper()
instead of usingthis
. This isn't too common because TypeScript doesn't let you do that but it can come up when writing JavaScript. Previously esbuild's class lowering transform incorrectly transformed the return value ofsuper()
intoundefined
. With this release, the return value ofsuper()
will now bethis
instead:Terminate the Go GC when esbuild's
stop()
API is called (#3552)If you use esbuild with WebAssembly and pass the
worker: false
flag toesbuild.initialize()
, then esbuild will run the WebAssembly module on the main thread. If you do this within a Deno test and that test callsesbuild.stop()
to clean up esbuild's resources, Deno may complain that asetTimeout()
call lasted past the end of the test. This happens when the Go is in the middle of a garbage collection pass and has scheduled additional ongoing garbage collection work. Normally callingesbuild.stop()
will terminate the web worker that the WebAssembly module runs in, which will terminate the Go GC, but that doesn't happen if you disable the web worker withworker: false
.With this release, esbuild will now attempt to terminate the Go GC in this edge case by calling
clearTimeout()
on these pending timeouts.Apply
/* @​__NO_SIDE_EFFECTS__ */
on tagged template literals (#3511)Tagged template literals that reference functions annotated with a
@__NO_SIDE_EFFECTS__
comment are now able to be removed via tree-shaking if the result is unused. This is a convention from Rollup. Here is an example:Note that this feature currently only works within a single file, so it's not especially useful. This feature does not yet work across separate files. I still recommend using
@__PURE__
annotations instead of this feature, as they have wider tooling support. The drawback of course is that@__PURE__
annotations need to be added at each call site, not at the declaration, and for non-call expressions such as template literals you need to wrap the expression in an IIFE (immediately-invoked function expression) to create a call expression to apply the@__PURE__
annotation to.Publish builds for IBM AIX PowerPC 64-bit (#3549)
This release publishes a binary executable to npm for IBM AIX PowerPC 64-bit, which means that in theory esbuild can now be installed in that environment with
npm install esbuild
. This hasn't actually been tested yet. If you have access to such a system, it would be helpful to confirm whether or not doing this actually works.v0.19.9
Compare Source
Add support for transforming new CSS gradient syntax for older browsers
The specification called CSS Images Module Level 4 introduces new CSS gradient syntax for customizing how the browser interpolates colors in between color stops. You can now cont
Configuration
📅 Schedule: Branch creation - "before 4am 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.