diff --git a/manifests/native.json b/manifests/native.json index dc2bc3bc..c94a0699 100644 --- a/manifests/native.json +++ b/manifests/native.json @@ -1659,6 +1659,16 @@ "type": "removal", "description": "Every modern environment has support for ES7/ES2016 apis." }, + "extends": { + "id": "extends", + "type": "native", + "description": "ES6 classes `extends` syntax for prototype inheritance", + "url": {"type": "mdn", "id": "Web/JavaScript/Reference/Classes/extends"}, + "webFeatureId": { + "featureId": "class-syntax", + "compatKey": "javascript.classes.extends" + } + }, "for...in": { "id": "for...in", "type": "native", @@ -1905,6 +1915,15 @@ "compatKey": "api.structuredClone" } }, + "util.inherits": { + "id": "util.inherits", + "type": "native", + "nodeFeatureId": {"moduleName": "node:util", "exportName": "inherits"}, + "url": { + "type": "node", + "id": "api/util.html#utilinheritsconstructor-superconstructor" + } + }, "util.promisify": { "id": "util.promisify", "type": "native", @@ -2543,6 +2562,12 @@ "moduleName": "indexof", "replacements": ["Array.prototype.indexOf"] }, + "inherits": { + "type": "module", + "moduleName": "inherits", + "replacements": ["extends", "util.inherits"], + "url": {"type": "e18e", "id": "inherits"} + }, "is-arrayish": { "type": "module", "moduleName": "is-arrayish", diff --git a/manifests/preferred.json b/manifests/preferred.json index 80a7525d..c249bbe6 100644 --- a/manifests/preferred.json +++ b/manifests/preferred.json @@ -518,12 +518,6 @@ "replacements": ["httpxy", "http-proxy-3"], "url": {"type": "e18e", "id": "http-proxy"} }, - "inherits": { - "type": "module", - "moduleName": "inherits", - "replacements": ["extends", "util.inherits"], - "url": {"type": "e18e", "id": "inherits"} - }, "invariant": { "type": "module", "moduleName": "invariant", @@ -3156,12 +3150,6 @@ "type": "documented", "replacementModule": "exsolve" }, - "extends": { - "id": "extends", - "type": "native", - "description": "You can use ES6 classes `extends` syntax for prototype inheritance.", - "url": {"type": "mdn", "id": "Web/JavaScript/Reference/Classes/extends"} - }, "fast-querystring": { "id": "fast-querystring", "type": "documented", @@ -3625,15 +3613,6 @@ "type": "documented", "replacementModule": "uri-js-replace" }, - "util.inherits": { - "id": "util.inherits", - "type": "native", - "nodeFeatureId": {"moduleName": "node:util", "exportName": "inherits"}, - "url": { - "type": "node", - "id": "api/util.html#utilinheritsconstructor-superconstructor" - } - }, "util.isDeepStrictEqual": { "id": "util.isDeepStrictEqual", "type": "native",