File tree Expand file tree Collapse file tree 6 files changed +7
-0
lines changed Expand file tree Collapse file tree 6 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 2929 message : " Use `const { Reflect } = primordials;` instead of the global."
3030 - name : Symbol
3131 message : " Use `const { Symbol } = primordials;` instead of the global."
32+ - name : WeakMap
33+ message : " Use `const { WeakMap } = primordials;` instead of the global."
3234 no-restricted-syntax :
3335 # Config copied from .eslintrc.js
3436 - error
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ const {
1717 ReflectOwnKeys,
1818 Symbol,
1919 SymbolHasInstance,
20+ WeakMap,
2021} = primordials ;
2122
2223const { trace } = internalBinding ( 'trace_events' ) ;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const {
1818 ObjectKeys,
1919 Symbol,
2020 SymbolFor,
21+ WeakMap,
2122} = primordials ;
2223
2324const messages = new Map ( ) ;
Original file line number Diff line number Diff line change 22
33const {
44 ObjectDefineProperty,
5+ WeakMap,
56} = primordials ;
67
78const {
Original file line number Diff line number Diff line change 77 ObjectGetOwnPropertyDescriptor,
88 ObjectPrototypeHasOwnProperty,
99 MapPrototypeEntries,
10+ WeakMap,
1011 WeakMapPrototypeGet,
1112 uncurryThis,
1213} = primordials ;
Original file line number Diff line number Diff line change 77 ObjectDefineProperty,
88 SafePromise,
99 Symbol,
10+ WeakMap,
1011} = primordials ;
1112
1213const { isContext } = internalBinding ( 'contextify' ) ;
You can’t perform that action at this time.
0 commit comments