Skip to content

Commit 99449ee

Browse files
authored
feat: add string_decoder to replacements (#711)
* feat: add `string_decoder` to replacements * chore: move string_decoder to native
1 parent a6f6970 commit 99449ee

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

manifests/native.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,6 +1765,12 @@
17651765
"description": "All modern versions of Node have `Buffer.from` for safely creating buffers from arbitrary types.",
17661766
"url": {"type": "node", "id": "api/buffer.html"}
17671767
},
1768+
"string_decoder": {
1769+
"id": "string_decoder",
1770+
"type": "native",
1771+
"nodeFeatureId": {"moduleName": "node:string_decoder"},
1772+
"url": {"type": "node", "id": "api/string_decoder.html"}
1773+
},
17681774
"structuredClone": {
17691775
"id": "structuredClone",
17701776
"type": "native",
@@ -2882,6 +2888,11 @@
28822888
"moduleName": "string.raw",
28832889
"replacements": ["String.raw"]
28842890
},
2891+
"string_decoder": {
2892+
"type": "module",
2893+
"moduleName": "string_decoder",
2894+
"replacements": ["string_decoder"]
2895+
},
28852896
"symbol.prototype.description": {
28862897
"type": "module",
28872898
"moduleName": "symbol.prototype.description",

manifests/preferred.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3221,7 +3221,8 @@
32213221
"node:fs": {
32223222
"id": "node:fs",
32233223
"type": "documented",
3224-
"replacementModule": "node:fs"
3224+
"replacementModule": "node:fs",
3225+
"url": {"type": "node", "id": "api/fs.html"}
32253226
},
32263227
"node:sqlite": {
32273228
"id": "node:sqlite",

0 commit comments

Comments
 (0)