Skip to content

Commit 6a939ef

Browse files
authored
feat: add text-decoding to native replacements (#799)
* feat: add `text-decoding` to native replacements * fix incorrect assumption
1 parent acb1be1 commit 6a939ef

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

manifests/native.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,15 @@
15251525
"compatKey": "javascript.builtins.Symbol.description"
15261526
}
15271527
},
1528+
"TextDecoder": {
1529+
"id": "TextDecoder",
1530+
"type": "native",
1531+
"webFeatureId": {
1532+
"featureId": "text-encoding",
1533+
"compatKey": "api.TextDecoder"
1534+
},
1535+
"url": {"type": "mdn", "id": "Web/API/TextDecoder"}
1536+
},
15281537
"TextEncoder.encode": {
15291538
"id": "TextEncoder.encode",
15301539
"type": "native",
@@ -3061,6 +3070,11 @@
30613070
"moduleName": "symbol.prototype.description",
30623071
"replacements": ["Symbol.prototype.description"]
30633072
},
3073+
"text-decoding": {
3074+
"type": "module",
3075+
"moduleName": "text-decoding",
3076+
"replacements": ["TextDecoder"]
3077+
},
30643078
"through2-map": {
30653079
"type": "module",
30663080
"moduleName": "through2-map",

0 commit comments

Comments
 (0)