Bump the npm group with 4 updates
Type: Pull Request
State: Open
Association: Contributor
Comments: 1
(11 months ago)
(11 months ago)
dependencies javascript
poad
Bumps the npm group with 4 updates: @emnapi/runtime, electron-to-chromium, esbuild and zod.
Updates @emnapi/runtime from 1.4.3 to 1.4.4
Commits
87bb86c1.4.492d5bbafix:worker.onerrormay receive anEvent- See full diff in compare view
Updates electron-to-chromium from 1.5.179 to 1.5.180
Commits
2d697941.5.18059e1126generate new version- See full diff in compare view
Updates esbuild from 0.25.5 to 0.25.6
Release notes
Sourced from esbuild's releases.
v0.25.6
Fix a memory leak when
cancel()is used on a build context (#4231)Calling
rebuild()followed bycancel()in rapid succession could previously leak memory. The bundler uses a producer/consumer model internally, and the resource leak was caused by the consumer being termianted while there were still remaining unreceived results from a producer. To avoid the leak, the consumer now waits for all producers to finish before terminating.Support empty
:is()and:where()syntax in CSS (#4232)Previously using these selectors with esbuild would generate a warning. That warning has been removed in this release for these cases.
Improve tree-shaking of
trystatements in dead code (#4224)With this release, esbuild will now remove certain
trystatements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:// Original code return 'foo' try { return 'bar' } catch {}// Old output (with --minify) return"foo";try{return"bar"}catch{}
// New output (with --minify) return"foo";
Consider negated bigints to have no side effects
While esbuild currently considers
1,-1, and1nto all have no side effects, it didn't previously consider-1nto have no side effects. This is because esbuild does constant folding with numbers but not bigints. However, it meant that unused negative bigint constants were not tree-shaken. With this release, esbuild will now consider these expressions to also be side-effect free:// Original code let a = 1, b = -1, c = 1n, d = -1n// Old output (with --bundle --minify) (()=>{var n=-1n;})();
// New output (with --bundle --minify) (()=>{})();
Support a configurable delay in watch mode before rebuilding (#3476, #4178)
The
watch()API now takes adelayoption that lets you add a delay (in milliseconds) before rebuilding when a change is detected in watch mode. If you use a tool that regenerates multiple source files very slowly, this should make it more likely that esbuild's watch mode won't generate a broken intermediate build before the successful final build. This option is also available via the CLI using the--watch-delay=flag.This should also help avoid confusion about the
watch()API's options argument. It was previously empty to allow for future API expansion, which caused some people to think that the documentation was missing. It's no longer empty now that thewatch()API has an option.Allow mixed array for
entryPointsAPI option (#4223)The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the
entryPointsAPI option, such as['foo.js', { out: 'lib', in: 'bar.js' }]. This was always possible to do in JavaScript but the TypeScript type definitions were previously too restrictive.
... (truncated)
Changelog
Sourced from esbuild's changelog.
0.25.6
Fix a memory leak when
cancel()is used on a build context (#4231)Calling
rebuild()followed bycancel()in rapid succession could previously leak memory. The bundler uses a producer/consumer model internally, and the resource leak was caused by the consumer being termianted while there were still remaining unreceived results from a producer. To avoid the leak, the consumer now waits for all producers to finish before terminating.Support empty
:is()and:where()syntax in CSS (#4232)Previously using these selectors with esbuild would generate a warning. That warning has been removed in this release for these cases.
Improve tree-shaking of
trystatements in dead code (#4224)With this release, esbuild will now remove certain
trystatements if esbuild considers them to be within dead code (i.e. code that is known to not ever be evaluated). For example:// Original code return 'foo' try { return 'bar' } catch {}// Old output (with --minify) return"foo";try{return"bar"}catch{}
// New output (with --minify) return"foo";
Consider negated bigints to have no side effects
While esbuild currently considers
1,-1, and1nto all have no side effects, it didn't previously consider-1nto have no side effects. This is because esbuild does constant folding with numbers but not bigints. However, it meant that unused negative bigint constants were not tree-shaken. With this release, esbuild will now consider these expressions to also be side-effect free:// Original code let a = 1, b = -1, c = 1n, d = -1n// Old output (with --bundle --minify) (()=>{var n=-1n;})();
// New output (with --bundle --minify) (()=>{})();
Support a configurable delay in watch mode before rebuilding (#3476, #4178)
The
watch()API now takes adelayoption that lets you add a delay (in milliseconds) before rebuilding when a change is detected in watch mode. If you use a tool that regenerates multiple source files very slowly, this should make it more likely that esbuild's watch mode won't generate a broken intermediate build before the successful final build. This option is also available via the CLI using the--watch-delay=flag.This should also help avoid confusion about the
watch()API's options argument. It was previously empty to allow for future API expansion, which caused some people to think that the documentation was missing. It's no longer empty now that thewatch()API has an option.Allow mixed array for
entryPointsAPI option (#4223)The TypeScript type definitions now allow you to pass a mixed array of both string literals and object literals to the
entryPointsAPI option, such as['foo.js', { out: 'lib', in: 'bar.js' }]. This was always possible to do in JavaScript but the TypeScript type definitions were previously too restrictive.
... (truncated)
Commits
d38c1f0publish 0.25.6 to npm11e547emissing)in release notescc8ac0afix trailing comment whitespace1e3fb57fix #4178: add the--watch-delay=optionc1f5f18fix #4209: disable binary executable optimization on WASM platform (#4210)3ed5eccfix incorrect locations inCHANGELOG.md248089cfix #4224: allowtrystatements to become dead42f159copenharmony: keep makefile targets sorted63256e1chore: fix some comments (#4211)d803f72add support for openharmony-arm64 platform (#4212)- Additional commits viewable in compare view
Updates zod from 3.25.75 to 3.25.76
Release notes
Sourced from zod's releases.
v3.25.76
Commits:
- 91c9ca6385bef38278605294498af06c89b9aa68 fix: cleanup _idmap of $ZodRegistry (#4837)
- 9cce1c5779aea32d00226a931a7f67d3e2529d58 docs: fix typo in flattenError example on error-formatting page (#4819) (#4833)
- a3560aeb6c3a8675a932601be79cfae897eec9d9 v3.25.76 (#4838)
- 50606616c0d291caf3210a7521da51271b918333 Release 3.25.76
- 7baee4e17f86f4017e09e12b0acdee36a5b1c087 Update index.mdx (#4831)
Commits
463f03eRelease 3.25.76fa2791dDetect cycle on root schema. Closes #46517a51879Set when converting registry to JSON Schema. Closes #4620db354b6Update docse542398Add when param. Clean up z.check. Closes #4598c842698Implement .clear() in . Fixes #48349f122aeAdd toString to ZodError. Fixes #4830- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
0
0
+0
-0
Package Dependencies
Technical Details
| ID: | 2978414 |
| UUID: | 3212399814 |
| Node ID: | PR_kwDOKSIIAM6d8IUd |
| Host: | GitHub |
| Repository: | poad/astro-solid-example |