Skip to content

Conversation

@JakeChampion
Copy link
Contributor

Summary

Updates the bundling process to handle Deno 2.x's deprecation of import assertions by automatically converting assert syntax to with syntax. This ensures compatibility when bundling Edge Functions that use import assertions, falling back to a temporary copy of source files with converted syntax when needed.

this is a part of https://linear.app/netlify/issue/RUN-2263/roll-out-the-dry-run-tarball-flag

@JakeChampion JakeChampion changed the title fix(edge-bundler): add support for Deno 2.x import assertions compatibility when using tarball bundling flow fix: add support for Deno 2.x import assertions compatibility when using tarball bundling flow Dec 4, 2025
…bility when using tarball bundling flow

Updates the bundling process to handle Deno 2.x's deprecation of import assertions by automatically converting `assert` syntax to `with` syntax. This ensures compatibility when bundling Edge Functions that use import assertions, falling back to a temporary copy of source files with converted syntax when needed.
@JakeChampion JakeChampion marked this pull request as ready for review December 4, 2025 23:32
@JakeChampion JakeChampion requested a review from a team as a code owner December 4, 2025 23:32
@JakeChampion JakeChampion marked this pull request as draft December 5, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants