Skip to content

Commit

Permalink
feat(ses): permit Promise.try
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Oct 23, 2024
1 parent fad5c68 commit 354a325
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ses/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
User-visible changes in `ses`:

# Next release

- Permit [Promise.prototype.try](https://github.com/tc39/proposal-promise-try),
since it has no reached Stage 4.

# v1.9.0 (2024-10-10)

- On platforms without
Expand Down
2 changes: 2 additions & 0 deletions packages/ses/src/permits.js
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,8 @@ export const permitted = {
'UniqueSymbol(async_id_symbol)': accessor,
'UniqueSymbol(trigger_async_id_symbol)': accessor,
'UniqueSymbol(destroyed)': accessor,
// https://github.com/tc39/proposal-promise-try
try: fn,
},

'%InertAsyncFunction%': {
Expand Down

0 comments on commit 354a325

Please sign in to comment.