Skip to content

Commit

Permalink
add entries definitions for /weak-map/
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 4, 2023
1 parent f47fad1 commit 5ded5b9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions scripts/build-entries/entries-definitions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,34 @@ export const features = {
modules: [/^web\.url-search-params\./],
template: $namespace({ name: 'URLSearchParams' }),
},
'weak-map/index': {
modules: [/^(?:es|esnext)\.weak-map\./],
template: $namespace({ name: 'WeakMap' }),
},
'weak-map/delete-all': {
modules: ['esnext.weak-map.delete-all'],
template: $prototype({ namespace: 'WeakMap', method: 'deleteAll' }),
},
'weak-map/virtual/delete-all': {
modules: ['esnext.weak-map.delete-all'],
template: $virtual({ namespace: 'WeakMap', method: 'deleteAll' }),
},
'weak-map/emplace': {
modules: ['esnext.weak-map.emplace'],
template: $prototype({ namespace: 'WeakMap', method: 'emplace' }),
},
'weak-map/virtual/emplace': {
modules: ['esnext.weak-map.emplace'],
template: $virtual({ namespace: 'WeakMap', method: 'emplace' }),
},
'weak-map/from': {
modules: ['esnext.weak-map.from'],
template: $staticWithContext({ namespace: 'WeakMap', method: 'from' }),
},
'weak-map/of': {
modules: ['esnext.weak-map.of'],
template: $staticWithContext({ namespace: 'WeakMap', method: 'of' }),
},
atob: {
modules: ['web.atob'],
template: $namespace({ name: 'atob' }),
Expand Down

0 comments on commit 5ded5b9

Please sign in to comment.