Skip to content

Commit

Permalink
add entries definitions for /(async-)disposable-stack/
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 6, 2023
1 parent 0142243 commit 1722365
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ var defineBuiltIns = require('../internals/define-built-ins');
var defineBuiltInAccessor = require('../internals/define-built-in-accessor');
var wellKnownSymbol = require('../internals/well-known-symbol');
var InternalStateModule = require('../internals/internal-state');
// dependency: esnext.async-iterator.async-dispose
// dependency: esnext.iterator.dispose
var addDisposableResource = require('../internals/add-disposable-resource');

// dependency: es.promise.constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var defineBuiltIns = require('../internals/define-built-ins');
var defineBuiltInAccessor = require('../internals/define-built-in-accessor');
var wellKnownSymbol = require('../internals/well-known-symbol');
var InternalStateModule = require('../internals/internal-state');
// dependency: esnext.iterator.dispose
var addDisposableResource = require('../internals/add-disposable-resource');

// dependency: esnext.suppressed-error.constructor
Expand Down
8 changes: 8 additions & 0 deletions scripts/build-entries/entries-definitions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ export const features = {
modules: [/^(?:es|esnext)\.async-iterator\./],
template: $namespace({ name: 'AsyncIterator' }),
},
'async-disposable-stack/index': {
modules: [/^(?:es|esnext)\.async-disposable-stack\./],
template: $namespace({ name: 'AsyncDisposableStack' }),
},
// 'async-iterator/async-dispose' ???
'async-iterator/drop': {
modules: ['esnext.async-iterator.drop'],
Expand Down Expand Up @@ -471,6 +475,10 @@ export const features = {
modules: ['es.date.to-json'],
template: $virtual({ namespace: 'Date', method: 'toJSON' }),
},
'disposable-stack/index': {
modules: [/^(?:es|esnext)\.disposable-stack\./],
template: $namespace({ name: 'DisposableStack' }),
},
// date/to-primitive ???
'dom-exception/index': {
modules: [/^web\.dom-exception\./],
Expand Down

0 comments on commit 1722365

Please sign in to comment.