Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2025

Bumps the npm_and_yarn group with 3 updates: esbuild, sanity and tar-fs.

Updates esbuild from 0.25.3 to 0.25.4

Release notes

Sourced from esbuild's releases.

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: {
          origin: 'https://example.com',
        },
      })
    • Go:

      ctx, _ := api.Context(api.BuildOptions{})
      ctx.Serve(api.ServeOptions{
        Servedir: ".",
        CORS: api.CORSOptions{
          Origin: []string{"https://example.com"},
        },
      })

    The special origin * can be used to allow any origin to access esbuild's development server. Note that this means any website you visit will be able to read everything served by esbuild.

  • Pass through invalid URLs in source maps unmodified (#4169)

    This fixes a regression in version 0.25.0 where sources in source maps that form invalid URLs were not being passed through to the output. Version 0.25.0 changed the interpretation of sources from file paths to URLs, which means that URL parsing can now fail. Previously URLs that couldn't be parsed were replaced with the empty string. With this release, invalid URLs in sources should now be passed through unmodified.

  • Handle exports named __proto__ in ES modules (#4162, #4163)

    In JavaScript, the special property name __proto__ sets the prototype when used inside an object literal. Previously esbuild's ESM-to-CommonJS conversion didn't special-case the property name of exports named __proto__ so the exported getter accidentally became the prototype of the object literal. It's unclear what this affects, if anything, but it's better practice to avoid this by using a computed property name in this case.

    This fix was contributed by @​magic-akari.

Changelog

Sourced from esbuild's changelog.

0.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: {
          origin: 'https://example.com',
        },
      })
    • Go:

      ctx, _ := api.Context(api.BuildOptions{})
      ctx.Serve(api.ServeOptions{
        Servedir: ".",
        CORS: api.CORSOptions{
          Origin: []string{"https://example.com"},
        },
      })

    The special origin * can be used to allow any origin to access esbuild's development server. Note that this means any website you visit will be able to read everything served by esbuild.

  • Pass through invalid URLs in source maps unmodified (#4169)

    This fixes a regression in version 0.25.0 where sources in source maps that form invalid URLs were not being passed through to the output. Version 0.25.0 changed the interpretation of sources from file paths to URLs, which means that URL parsing can now fail. Previously URLs that couldn't be parsed were replaced with the empty string. With this release, invalid URLs in sources should now be passed through unmodified.

  • Handle exports named __proto__ in ES modules (#4162, #4163)

    In JavaScript, the special property name __proto__ sets the prototype when used inside an object literal. Previously esbuild's ESM-to-CommonJS conversion didn't special-case the property name of exports named __proto__ so the exported getter accidentally became the prototype of the object literal. It's unclear what this affects, if anything, but it's better practice to avoid this by using a computed property name in this case.

... (truncated)

Commits
  • 218d29e publish 0.25.4 to npm
  • e66cd0b dev server: simple support for CORS requests (#4171)
  • 8bf3368 js api: validate some options as arrays of strings
  • 1e7375a js api: simplify comma-separated array validation
  • 5f5964d release notes for #4163
  • adb5284 fix: handle __proto__ as a computed property in exports and add tests for s...
  • 0aa9f7b fix #4169: keep invalid source map URLs unmodified
  • 5959289 add additional guards for #4114 when using :is()
  • See full diff in compare view

Updates sanity from 3.87.1 to 3.90.0

Release notes

Sourced from sanity's releases.

v3.90.0

This release includes various improvements and bug fixes.

For the complete changelog with details, please visit: www.sanity.io/changelog/cfe82482-30ed-4888-b11f-cd2bdd7ccfde

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency @​portabletext/editor to ^1.50.2 (#9348) 6e5aa241e0
Magnus Holm chore: use correct path for "groq" package (#9458) 4438f2f5fb
Jordan Lawrence test: refactor ObjectBlock tests to use clicks instead of Tab navigation to fix issue with focus in chromium (#9463) 772b8cef27
renovate[bot] fix(deps): update dependency @​sanity/client to ^7.3.0 (#9462) 704f1b2f0a
renovate[bot] fix(deps): update dependency @​portabletext/editor to ^1.50.3 (#9469) a3a3ae387c
RitaDias fix(core): update useDocumentVersions to cache observable per id (#9442) cd8c314e70
Jordan Lawrence feat: dashboard studio links embed (#9432) 20db4da134
ChrisLaRocque feat(vision): save vision queries (#9004) 34d2a09171
Jordan Lawrence chore: test-studio deploys manifest (#9332) f200719ac5
Ash feat(sanity): remove Actions API remote feature toggle and default to enabled 994ab1f2d5
Ash feat(sanity): deprecate __internal_serverDocumentActions.enabled configuration option 27bda8fc37
Simeon Griggs fix: move sanity ui to its own component (#9466) 78b8fa3d99
Magnus Holm feat(schema): move builtin types into @​sanity/schema (#9450) 9acb96968c
RitaDias refactor(core): move observable cache clean up to helper method (#9471) 2526a1565d
renovate[bot] fix(deps): update dependency @​portabletext/editor to ^1.50.6 (#9470) 64185be693
RitaDias fix(core): fix issue where document for unpublished should show the preview for the published document and not untitled (#9476) 7fbbf7e1d9
Jordan Lawrence feat: deprecate --auto-updates flag in CLI (#9454) db677521f0
Bjørge Næss fix(structure): make document list search interactive when not connected (#9485) 7b2fc6c460
Bjørge Næss chore(e2e): cleanup old datasets on PR close (#9479) f395d60653
Ryan Bonial fix(cli): respect prefers reduced motion for SDK template (#9495) 8345fc76c0
renovate[bot] fix(deps): update dependency @​sanity/ui to ^2.15.18 (#9461) 1023bd1e07
Ryan Bonial chore(cli): update SDK templates to version ^2 (#9494) 219d14fa82
Jordan Lawrence test: increase timeout for search branching test (#9492) b541202205
renovate[bot] fix(deps): update dependency @​sanity/comlink to ^3.0.4 (#9467) 494d5ef629
Pedro Bonamin chore(actions): fail e2e tests if no preview url is found (#9504) 1906d31754
Magnus Holm feat(schema): place builtin types in a separate registry (#9451) f8013f10d7
Pedro Bonamin fix(core): review changes and history updates. (#9431) 6025c1022f
Espen Hovlandsdal feat: detect and warn if using http1 against API (#8848) 73319cdfcc
Pedro Bonamin feat(core): add history cleared event and compare to published (#9506) c799945387
Magnus Holm feat(schema): introduce internal own props on each type (#9472) fca1e6f28b

v3.89.0

This release includes various improvements and bug fixes.

... (truncated)

Commits
  • 413ed0f v3.90.0
  • c799945 feat(core): add history cleared event and compare to published (#9506)
  • 73319cd feat: detect and warn if using http1 against API (#8848)
  • 6025c10 fix(core): review changes and history updates. (#9431)
  • f8013f1 feat(schema): place builtin types in a separate registry (#9451)
  • 494d5ef fix(deps): update dependency @​sanity/comlink to ^3.0.4 (#9467)
  • b541202 test: increase timeout for search branching test (#9492)
  • 1023bd1 fix(deps): update dependency @​sanity/ui to ^2.15.18 (#9461)
  • 7b2fc6c fix(structure): make document list search interactive when not connected (#9485)
  • db67752 feat: deprecate --auto-updates flag in CLI (#9454)
  • Additional commits viewable in compare view

Updates tar-fs from 2.1.2 to 2.1.3

Commits

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 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 <dependency name> major version will 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 version will 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
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 3 updates: [esbuild](https://github.com/evanw/esbuild), [sanity](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity) and [tar-fs](https://github.com/mafintosh/tar-fs).


Updates `esbuild` from 0.25.3 to 0.25.4
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.25.3...v0.25.4)

Updates `sanity` from 3.87.1 to 3.90.0
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Changelog](https://github.com/sanity-io/sanity/blob/main/packages/sanity/CHANGELOG.md)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.90.0/packages/sanity)

Updates `tar-fs` from 2.1.2 to 2.1.3
- [Commits](https://github.com/mafintosh/tar-fs/commits)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.4
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: sanity
  dependency-version: 3.90.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 3, 2025
@netlify
Copy link

netlify bot commented Jun 3, 2025

Deploy Preview for eventua11y-sanity ready!

Name Link
🔨 Latest commit 975dfca
🔍 Latest deploy log https://app.netlify.com/projects/eventua11y-sanity/deploys/683ec4291f4fb800089b1bae
😎 Deploy Preview https://deploy-preview-166--eventua11y-sanity.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.

1 participant