Skip to content

Commit

Permalink
drop legacy Promise.try modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 2, 2024
1 parent f704ded commit 7579dd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions packages/core-js-compat/src/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2145,8 +2145,6 @@ export const data = {
},
'esnext.math.sum-precise': {
},
// TODO: Remove from `core-js@4`
'esnext.promise.try': null,
'esnext.regexp.escape': {
bun: '1.1.22',
firefox: '134',
Expand Down Expand Up @@ -2448,8 +2446,7 @@ export const data = {
};

export const renamed = new Map([
// TODO: Clean in `core-js@4`
['esnext.promise.try', 'es.promise.try'],
// empty
]);

for (const [old, nw] of renamed) data[old] = data[nw];
Expand Down
3 changes: 0 additions & 3 deletions packages/core-js/modules/esnext.promise.try.js

This file was deleted.

0 comments on commit 7579dd1

Please sign in to comment.