lib: remove Symbol[Async]Dispose polyfills

PR-URL: https://github.com/nodejs/node/pull/55276
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
Michaël Zasso 2024-10-07 11:47:44 +02:00 committed by GitHub
parent 9a9409ff1f
commit d5eb9a378e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 33 additions and 70 deletions

View file

@ -30,6 +30,7 @@ const {
StringPrototypeTrim,
Symbol,
SymbolAsyncIterator,
SymbolDispose,
} = primordials;
const { codes: {
@ -44,7 +45,7 @@ const {
validateString,
validateUint32,
} = require('internal/validators');
const { SymbolDispose, kEmptyObject } = require('internal/util');
const { kEmptyObject } = require('internal/util');
const {
inspect,
getStringWidth,