d1-northwind
                                
                                
                                
                                    d1-northwind copied to clipboard
                            
                            
                            
                        Bump esbuild, @cloudflare/vite-plugin and wrangler
Bumps esbuild to 0.25.2 and updates ancestor dependencies esbuild, @cloudflare/vite-plugin and wrangler. These dependencies need to be updated together.
Updates esbuild from 0.24.2 to 0.25.2
Release notes
Sourced from esbuild's releases.
v0.25.2
Support flags in regular expressions for the API (#4121)
The JavaScript plugin API for esbuild takes JavaScript regular expression objects for the
filteroption. Internally these are translated into Go regular expressions. However, this translation previously ignored theflagsproperty of the regular expression. With this release, esbuild will now translate JavaScript regular expression flags into Go regular expression flags. Specifically the JavaScript regular expression/\.[jt]sx?$/iis turned into the Go regular expression`(?i)\.[jt]sx?$`internally inside of esbuild's API. This should make it possible to use JavaScript regular expressions with theiflag. Note that JavaScript and Go don't support all of the same regular expression features, so this mapping is only approximate.Fix node-specific annotations for string literal export names (#4100)
When node instantiates a CommonJS module, it scans the AST to look for names to expose via ESM named exports. This is a heuristic that looks for certain patterns such as
exports.NAME = ...ormodule.exports = { ... }. This behavior is used by esbuild to "annotate" CommonJS code that was converted from ESM with the original ESM export names. For example, when converting the fileexport let foo, barfrom ESM to CommonJS, esbuild appends this to the end of the file:// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { bar, foo });However, this feature previously didn't work correctly for export names that are not valid identifiers, which can be constructed using string literal export names. The generated code contained a syntax error. That problem is fixed in this release:
// Original code let foo export { foo as "foo!" }// Old output (with --format=cjs --platform=node) ... 0 && (module.exports = { "foo!" });
// New output (with --format=cjs --platform=node) ... 0 && (module.exports = { "foo!": null });
Basic support for index source maps (#3439, #4109)
The source map specification has an optional mode called index source maps that makes it easier for tools to create an aggregate JavaScript file by concatenating many smaller JavaScript files with source maps, and then generate an aggregate source map by simply providing the original source maps along with some offset information. My understanding is that this is rarely used in practice. I'm only aware of two uses of it in the wild: ClojureScript and Turbopack.
This release provides basic support for indexed source maps. However, the implementation has not been tested on a real app (just on very simple test input). If you are using index source maps in a real app, please try this out and report back if anything isn't working for you.
Note that this is also not a complete implementation. For example, index source maps technically allows nesting source maps to an arbitrary depth, while esbuild's implementation in this release only supports a single level of nesting. It's unclear whether supporting more than one level of nesting is important or not given the lack of available test cases.
This feature was contributed by
@clyfish.v0.25.1
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2024
This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).
Commits
4475787publish 0.25.2 to npm8f56771fix #4121: map js regexp flags to go regexp flags36b458dfollow-up to #41098b8437cfeat: support index source map (#4109)75286c1unit test for absolute windows paths in source mapbcc77fbfix #4100: invalid identifiers in node annotation37cb6a2fix a warning fromnpm publish6bfc1c1publish 0.25.1 to npmf9b3952fix #4078: prepend namespaces to source map pathsccf3dd7add "contributed by" in changelog- Additional commits viewable in compare view
 
Updates @cloudflare/vite-plugin from 1.0.3 to 1.0.6
Release notes
Sourced from @cloudflare/vite-plugin's releases.
@cloudflare/vite-plugin@1.0.6Patch Changes
#8878
d04c69fThanks@petebacondarwin! - add support for Node.js ALS compat modeUpdated dependencies [
c912b99,f5413c5,f2802f9,d2b44a2,4cc036d,84ecfe9]:
- [email protected]
 - [email protected]
 @cloudflare/unenv-preset@2.3.1
@cloudflare/vite-plugin@1.0.5Patch Changes
#8685
8e87754Thanks@dario-piotrowicz! - make sure that.dev.varsfiles trigger a full reloadUpdated dependencies [
b7ac367,dcce2ec,5388447]:
- [email protected]
 - [email protected]
 @cloudflare/unenv-preset@2.3.1
@cloudflare/vite-plugin@1.0.4Patch Changes
- #8862
 f843447Thanks@jamesopstad! - Fix a bug where Node.js externals (i.e. Node.js imports that are included in the runtime) were being registered as missing imports with thedepsOptimizer. This was previously causing the dev server to crash if these imports were encountered when using React Router.
Changelog
Sourced from @cloudflare/vite-plugin's changelog.
1.0.6
Patch Changes
#8878
d04c69fThanks@petebacondarwin! - add support for Node.js ALS compat modeUpdated dependencies [
c912b99,f5413c5,f2802f9,d2b44a2,4cc036d,84ecfe9]:
- [email protected]
 - [email protected]
 @cloudflare/unenv-preset@2.3.11.0.5
Patch Changes
#8685
8e87754Thanks@dario-piotrowicz! - make sure that.dev.varsfiles trigger a full reloadUpdated dependencies [
b7ac367,dcce2ec,5388447]:
- [email protected]
 - [email protected]
 @cloudflare/unenv-preset@2.3.11.0.4
Patch Changes
- #8862
 f843447Thanks@jamesopstad! - Fix a bug where Node.js externals (i.e. Node.js imports that are included in the runtime) were being registered as missing imports with thedepsOptimizer. This was previously causing the dev server to crash if these imports were encountered when using React Router.
Commits
25b1307Version Packages (#8900)f5413c5Bump the workerd-and-workers-types group with 2 updates (#8873)d04c69fvite-plugin: add support for Node.js ALS compat mode (#8878)421ea99Version Packages (#8864)8e87754[vite-plugin] make sure that.dev.varsfiles trigger a full reload (#8685)05b1e83Refactor Turbo + CI jobs (#8845)b7ac367Bump the workerd-and-workers-types group with 2 updates (#8859)fbf7734Version Packages (#8861)f843447Fix Node.js externals usage causing dev server to crash (#8862)- See full diff in compare view
 
Updates wrangler from 4.9.1 to 4.11.0
Release notes
Sourced from wrangler's releases.
[email protected]
Minor Changes
#8890
c912b99Thanks@edmundhung! - update esbuild version to 0.25#8711
4cc036dThanks@CarmenPopoviciu! - Add the Pages deployment id to the JSON output forwrangler pages deployment list#8244
84ecfe9Thanks@CarmenPopoviciu! - feat: Add debug logs to capture assets upload status, specifically:
- which asset files were read from the file system
 - which files were successfully uploaded
 Patch Changes
#8885
f2802f9Thanks@CarmenPopoviciu! - Disambiguate the "No files to upload. Proceeding with deployment..." message#8924
d2b44a2Thanks@dario-piotrowicz! - fix redirected config env validation breaking wrangler pages commandsa validation check has recently been introduced to make wrangler error on deploy commands when an environment is specified and a redirected configuration is in use (the reason being that redirected configurations should not include any environment), this check is problematic with pages commands where the "production" environment is anyways set by default, to address this the validation check is being relaxed here on pages commands
Updated dependencies [
f5413c5]:[email protected]
Minor Changes
- #8807
 dcce2ecThanks@LuisDuarte1! - Promote workflows commands to stablePatch Changes
#8883
5388447Thanks@penalosa! - fix: Only log requests to the Wrangler dev server once
Changelog
Sourced from wrangler's changelog.
4.11.0
Minor Changes
#8890
c912b99Thanks@edmundhung! - update esbuild version to 0.25#8711
4cc036dThanks@CarmenPopoviciu! - Add the Pages deployment id to the JSON output forwrangler pages deployment list#8244
84ecfe9Thanks@CarmenPopoviciu! - feat: Add debug logs to capture assets upload status, specifically:
- which asset files were read from the file system
 - which files were successfully uploaded
 Patch Changes
#8885
f2802f9Thanks@CarmenPopoviciu! - Disambiguate the "No files to upload. Proceeding with deployment..." message#8924
d2b44a2Thanks@dario-piotrowicz! - fix redirected config env validation breaking wrangler pages commandsa validation check has recently been introduced to make wrangler error on deploy commands when an environment is specified and a redirected configuration is in use (the reason being that redirected configurations should not include any environment), this check is problematic with pages commands where the "production" environment is anyways set by default, to address this the validation check is being relaxed here on pages commands
Updated dependencies [
f5413c5]:4.10.0
Minor Changes
- #8807
 dcce2ecThanks@LuisDuarte1! - Promote workflows commands to stablePatch Changes
#8883
5388447Thanks@penalosa! - fix: Only log requests to the Wrangler dev server once
Commits
25b1307Version Packages (#8900)d2b44a2fix redirected config env validation breaking wrangler pages commands (#8924)4cc036dfeat[wrangler]: Add deployment id towrangler pages deployment listoutput ...84ecfe9feat(wrangler): Add debug logs to capture assets upload status (#8244)2048ad5docs: fix worker compat URL in docstring (#8799)f5413c5Bump the workerd-and-workers-types group with 2 updates (#8873)c912b99Update wrangler esbuild version (#8890)f2802f9fix(wrangler): Disambiguate the "No files to upload. Proceeding with deployme...421ea99Version Packages (#8864)5388447Fix multiple request logging (#8883)- Additional commits viewable 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 this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.