Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Safari compat data for arbitrary module namespace names #3520

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions compat-table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,9 @@ import('./kangax').then(kangax => {
// From https://bugzilla.mozilla.org/show_bug.cgi?id=1670044
js.ArbitraryModuleNamespaceNames.Firefox = { 87: { force: true } }

// This feature has been implemented in Safari but I have no idea what version
// this bug corresponds to: https://bugs.webkit.org/show_bug.cgi?id=217576
// From https://developer.apple.com/documentation/safari-release-notes/safari-14_1-release-notes#:~:text=Added%20support%20for%20Arbitrary%20module%20namespace%20identifier%20names.
js.ArbitraryModuleNamespaceNames.Safari = { '14.1': { force: true } }
js.ArbitraryModuleNamespaceNames.IOS = { '14.5': { force: true } }
}

// Import assertions (note: these were removed from the JavaScript specification and never standardized)
Expand Down
2 changes: 2 additions & 0 deletions internal/compat/js_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
Chrome: {{start: v{90, 0, 0}}},
ES: {{start: v{2022, 0, 0}}},
Firefox: {{start: v{87, 0, 0}}},
IOS: {{start: v{14, 5, 0}}},
Node: {{start: v{16, 0, 0}}},
Safari: {{start: v{14, 1, 0}}},
},
ArraySpread: {
// Note: The latest version of "IE" failed 15 tests including: spread syntax for iterable objects: spreading non-iterables is a runtime error
Expand Down
Loading