Skip to content

Comments

Bump esbuild and @netlify/functions#2

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-3a6a202da2
Open

Bump esbuild and @netlify/functions#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-3a6a202da2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 29, 2025

Bumps esbuild and @netlify/functions. These dependencies needed to be updated together.
Updates esbuild from 0.19.11 to 0.25.5

Release notes

Sourced from esbuild's releases.

v0.25.5

  • Fix a regression with browser in package.json (#4187)

    The fix to #4144 in version 0.25.3 introduced a regression that caused browser overrides specified in package.json to fail to override relative path names that end in a trailing slash. That behavior change affected the axios@0.30.0 package. This regression has been fixed, and now has test coverage.

  • Add support for certain keywords as TypeScript tuple labels (#4192)

    Previously esbuild could incorrectly fail to parse certain keywords as TypeScript tuple labels that are parsed by the official TypeScript compiler if they were followed by a ? modifier. These labels included function, import, infer, new, readonly, and typeof. With this release, these keywords will now be parsed correctly. Here's an example of some affected code:

    type Foo = [
      value: any,
      readonly?: boolean, // This is now parsed correctly
    ]
  • Add CSS prefixes for the stretch sizing value (#4184)

    This release adds support for prefixing CSS declarations such as div { width: stretch }. That CSS is now transformed into this depending on what the --target= setting includes:

    div {
      width: -webkit-fill-available;
      width: -moz-available;
      width: stretch;
    }

v0.25.4

  • Add simple support for CORS to esbuild's development server (#4125)

    Starting with version 0.25.0, esbuild's development server is no longer configured to serve cross-origin requests. This was a deliberate change to prevent any website you visit from accessing your running esbuild development server. However, this change prevented (by design) certain use cases such as "debugging in production" by having your production website load code from localhost where the esbuild development server is running.

    To enable this use case, esbuild is adding a feature to allow Cross-Origin Resource Sharing (a.k.a. CORS) for simple requests. Specifically, passing your origin to the new cors option will now set the Access-Control-Allow-Origin response header when the request has a matching Origin header. Note that this currently only works for requests that don't send a preflight OPTIONS request, as esbuild's development server doesn't currently support OPTIONS requests.

    Some examples:

    • CLI:

      esbuild --servedir=. --cors-origin=https://example.com
      
    • JS:

      const ctx = await esbuild.context({})
      await ctx.serve({
        servedir: '.',
        cors: {

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2023

This changelog documents all esbuild versions published in the year 2023 (versions 0.16.13 through 0.19.11).

Commits

Updates @netlify/functions from 3.1.2 to 3.1.10

Release notes

Sourced from @​netlify/functions's releases.

functions: v3.1.10

3.1.10 (2025-05-27)

Bug Fixes

functions: v3.1.9

3.1.9 (2025-05-23)

Bug Fixes

  • deps: update dependency @​netlify/serverless-functions-api to v1.41.2 (#201) (fa01004)
  • pass route to function invocation (#202) (7bb9396)
  • use ephemeral directories to serve functions (#199) (a749e26)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @​netlify/blobs bumped from ^9.1.1 to ^9.1.2
      • @​netlify/dev-utils bumped from 2.1.1 to 2.2.0

functions: v3.1.8

3.1.8 (2025-05-09)

Bug Fixes

  • deps: update dependency @​netlify/serverless-functions-api to v1.41.1 (#182) (5e2b72a)
  • deps: update netlify packages (#153) (1fd1824)
  • fix package settings and add publint (#180) (dc093b4)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @​netlify/blobs bumped from ^9.1.0 to ^9.1.1
      • @​netlify/dev-utils bumped from 2.1.0 to 2.1.1

functions: v3.1.7

3.1.7 (2025-05-09)

Bug Fixes

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [esbuild](https://github.com/evanw/esbuild) and [@netlify/functions](https://github.com/netlify/primitives). These dependencies needed to be updated together.

Updates `esbuild` from 0.19.11 to 0.25.5
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.19.11...v0.25.5)

Updates `@netlify/functions` from 3.1.2 to 3.1.10
- [Release notes](https://github.com/netlify/primitives/releases)
- [Changelog](https://github.com/netlify/primitives/blob/main/release-please-config.json)
- [Commits](netlify/primitives@functions-v3.1.2...functions-v3.1.10)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.5
  dependency-type: indirect
- dependency-name: "@netlify/functions"
  dependency-version: 3.1.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 29, 2025
@vercel
Copy link

vercel bot commented May 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portfolio-simondaguetkargl ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2025 4:22pm

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 29, 2025
@netlify
Copy link

netlify bot commented May 29, 2025

Deploy Preview for friendly-beignet-3ad7ba failed. Why did it fail? →

Name Link
🔨 Latest commit 58597c9
🔍 Latest deploy log https://app.netlify.com/projects/friendly-beignet-3ad7ba/deploys/683889c9c741f40008a28e8c

@netlify
Copy link

netlify bot commented May 29, 2025

Deploy Preview for enchanting-alpaca-b037bf failed. Why did it fail? →

Name Link
🔨 Latest commit 58597c9
🔍 Latest deploy log https://app.netlify.com/projects/enchanting-alpaca-b037bf/deploys/683889c9f478b200080e0da1

@netlify
Copy link

netlify bot commented May 29, 2025

Deploy Preview for simondaguetkargl ready!

Name Link
🔨 Latest commit 58597c9
🔍 Latest deploy log https://app.netlify.com/projects/simondaguetkargl/deploys/683889c9da9ce500086b2418
😎 Deploy Preview https://deploy-preview-2--simondaguetkargl.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants