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 Jan 21, 2025
1 parent 8821be0 commit bac941b
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 @@ -2234,8 +2234,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 @@ -2537,8 +2535,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 bac941b

Please sign in to comment.