@dpuse/dpuse-shared 1.0.179 → 1.0.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -90
- package/dist/dpuse-shared.es.js +19 -33
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/encoding/index.d.ts +18 -32
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -90,94 +90,94 @@ The table below lists every encoding [jschardet](https://github.com/aadsm/jschar
|
|
|
90
90
|
|
|
91
91
|
The major browsers all follow the Encoding Standard, so these columns hold for each of them. A test checks that Node's `TextDecoder`, which follows the same standard, accepts every Decoded As name as its own. They were also confirmed in Chrome 154, Edge 154, Firefox 156 and Safari 26.6 (October 2026), and all four gave identical results. To re-check them on a Mac, run `npm run check:browsers` after a build.
|
|
92
92
|
|
|
93
|
-
| Group
|
|
94
|
-
|
|
|
95
|
-
| —
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
| Arabic
|
|
99
|
-
| Arabic
|
|
100
|
-
| Arabic
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
| Baltic
|
|
104
|
-
| Baltic
|
|
105
|
-
|
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
| Central European
|
|
109
|
-
| Central European
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
| Chinese
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
| Cyrillic
|
|
116
|
-
| Cyrillic
|
|
117
|
-
| Cyrillic
|
|
118
|
-
| Cyrillic
|
|
119
|
-
| Cyrillic
|
|
120
|
-
| Cyrillic
|
|
121
|
-
| Cyrillic
|
|
122
|
-
| Cyrillic
|
|
123
|
-
| Cyrillic
|
|
124
|
-
|
|
|
125
|
-
|
|
|
126
|
-
| Greek
|
|
127
|
-
| Greek
|
|
128
|
-
| Greek
|
|
129
|
-
| Greek
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
| Hebrew
|
|
133
|
-
| Hebrew
|
|
134
|
-
| Hebrew
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
| Japanese
|
|
138
|
-
| Japanese
|
|
139
|
-
| Japanese
|
|
140
|
-
| Japanese
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
| Korean
|
|
144
|
-
| Korean
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
| Nordic
|
|
148
|
-
| Nordic
|
|
149
|
-
|
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
|
|
|
156
|
-
| Turkish
|
|
157
|
-
| Turkish
|
|
158
|
-
|
|
|
159
|
-
|
|
|
160
|
-
|
|
|
161
|
-
| Unicode
|
|
162
|
-
| Unicode
|
|
163
|
-
| Unicode
|
|
164
|
-
| Unicode
|
|
165
|
-
| Unicode
|
|
166
|
-
| Unicode
|
|
167
|
-
| Vietnamese
|
|
168
|
-
| Western
|
|
169
|
-
| Western
|
|
170
|
-
| Western
|
|
171
|
-
| Western
|
|
172
|
-
| Western
|
|
173
|
-
| Western
|
|
174
|
-
| Western
|
|
175
|
-
| Western
|
|
176
|
-
| Western
|
|
177
|
-
| Western
|
|
178
|
-
| Western
|
|
179
|
-
| Western
|
|
180
|
-
| Western
|
|
93
|
+
| Group | Encoding | Decodable | Decoded As |
|
|
94
|
+
| :--------------------- | :-------------- | :-------: | :------------- |
|
|
95
|
+
| — | ascii | ✅ | windows-1252 |
|
|
96
|
+
| Arabic | cp720 | ❌ | — |
|
|
97
|
+
| Arabic | cp864 | ❌ | — |
|
|
98
|
+
| Arabic | cp1006 | ❌ | — |
|
|
99
|
+
| Arabic | iso-8859-6 | ✅ | iso-8859-6 |
|
|
100
|
+
| Arabic | windows-1256 | ✅ | windows-1256 |
|
|
101
|
+
| Baltic | cp775 | ❌ | — |
|
|
102
|
+
| Baltic | iso-8859-13 | ✅ | iso-8859-13 |
|
|
103
|
+
| Baltic | iso8859-4 | ✅ | iso-8859-4 |
|
|
104
|
+
| Baltic | windows-1257 | ✅ | windows-1257 |
|
|
105
|
+
| Celtic | iso8859-14 | ✅ | iso-8859-14 |
|
|
106
|
+
| Central European | cp852 | ❌ | — |
|
|
107
|
+
| Central European | iso-8859-2 | ✅ | iso-8859-2 |
|
|
108
|
+
| Central European | maclatin2 | ❌ | — |
|
|
109
|
+
| Central European | windows-1250 | ✅ | windows-1250 |
|
|
110
|
+
| Chinese Simplified | gb18030 | ✅ | gb18030 |
|
|
111
|
+
| Chinese Simplified | hz-gb-2312 | ❌ | — |
|
|
112
|
+
| Chinese Traditional | big5 | ✅ | big5 |
|
|
113
|
+
| Cyrillic | cp1125 | ❌ | — |
|
|
114
|
+
| Cyrillic | ibm855 | ❌ | — |
|
|
115
|
+
| Cyrillic | ibm866 | ✅ | ibm866 |
|
|
116
|
+
| Cyrillic | iso-8859-5 | ✅ | iso-8859-5 |
|
|
117
|
+
| Cyrillic | koi8-r | ✅ | koi8-r |
|
|
118
|
+
| Cyrillic | koi8-t | ❌ | — |
|
|
119
|
+
| Cyrillic | koi8-u | ✅ | koi8-u |
|
|
120
|
+
| Cyrillic | kz1048 | ❌ | — |
|
|
121
|
+
| Cyrillic | maccyrillic | ✅ | x-mac-cyrillic |
|
|
122
|
+
| Cyrillic | ptcp154 | ❌ | — |
|
|
123
|
+
| Cyrillic | windows-1251 | ✅ | windows-1251 |
|
|
124
|
+
| Greek | cp737 | ❌ | — |
|
|
125
|
+
| Greek | cp869 | ❌ | — |
|
|
126
|
+
| Greek | cp875 | ❌ | — |
|
|
127
|
+
| Greek | iso-8859-7 | ✅ | iso-8859-7 |
|
|
128
|
+
| Greek | macgreek | ❌ | — |
|
|
129
|
+
| Greek | windows-1253 | ✅ | windows-1253 |
|
|
130
|
+
| Hebrew | cp424 | ❌ | — |
|
|
131
|
+
| Hebrew | cp856 | ❌ | — |
|
|
132
|
+
| Hebrew | cp862 | ❌ | — |
|
|
133
|
+
| Hebrew | iso-8859-8 | ✅ | iso-8859-8-i |
|
|
134
|
+
| Hebrew | windows-1255 | ✅ | windows-1255 |
|
|
135
|
+
| Japanese | cp932 | ✅ | shift_jis |
|
|
136
|
+
| Japanese | euc-jp | ✅ | euc-jp |
|
|
137
|
+
| Japanese | iso-2022-jp | ✅ | iso-2022-jp |
|
|
138
|
+
| Japanese | iso2022_jp_2004 | ❌ | — |
|
|
139
|
+
| Japanese | iso2022_jp_ext | ❌ | — |
|
|
140
|
+
| Japanese | shift_jis | ✅ | shift_jis |
|
|
141
|
+
| Korean | cp949 | ✅ | euc-kr |
|
|
142
|
+
| Korean | euc-kr | ✅ | euc-kr |
|
|
143
|
+
| Korean | iso-2022-kr | ❌ | — |
|
|
144
|
+
| Korean | johab | ❌ | — |
|
|
145
|
+
| Nordic | cp861 | ❌ | — |
|
|
146
|
+
| Nordic | cp865 | ❌ | — |
|
|
147
|
+
| Nordic | iso8859-10 | ✅ | iso-8859-10 |
|
|
148
|
+
| Nordic | maciceland | ❌ | — |
|
|
149
|
+
| South-Eastern European | iso8859-16 | ✅ | iso-8859-16 |
|
|
150
|
+
| Southern European | iso8859-3 | ✅ | iso-8859-3 |
|
|
151
|
+
| Thai | cp874 | ✅ | windows-874 |
|
|
152
|
+
| Thai | tis-620 | ✅ | windows-874 |
|
|
153
|
+
| Turkish | cp857 | ❌ | — |
|
|
154
|
+
| Turkish | cp1026 | ❌ | — |
|
|
155
|
+
| Turkish | iso-8859-9 | ✅ | windows-1254 |
|
|
156
|
+
| Turkish | macturkish | ❌ | — |
|
|
157
|
+
| Turkish | windows-1254 | ✅ | windows-1254 |
|
|
158
|
+
| Unicode | utf-7 | ❌ | — |
|
|
159
|
+
| Unicode | utf-8 | ✅ | utf-8 |
|
|
160
|
+
| Unicode | utf-8-sig | ✅ | utf-8 |
|
|
161
|
+
| Unicode | utf-16 | ❌ | — |
|
|
162
|
+
| Unicode | utf-16-be | ✅ | utf-16be |
|
|
163
|
+
| Unicode | utf-16-le | ✅ | utf-16le |
|
|
164
|
+
| Unicode | utf-32 | ❌ | — |
|
|
165
|
+
| Unicode | utf-32-be | ❌ | — |
|
|
166
|
+
| Unicode | utf-32-le | ❌ | — |
|
|
167
|
+
| Vietnamese | cp1258 | ✅ | windows-1258 |
|
|
168
|
+
| Western | cp273 | ❌ | — |
|
|
169
|
+
| Western | cp437 | ❌ | — |
|
|
170
|
+
| Western | cp500 | ❌ | — |
|
|
171
|
+
| Western | cp850 | ❌ | — |
|
|
172
|
+
| Western | cp858 | ❌ | — |
|
|
173
|
+
| Western | cp860 | ❌ | — |
|
|
174
|
+
| Western | cp863 | ❌ | — |
|
|
175
|
+
| Western | cp1140 | ❌ | — |
|
|
176
|
+
| Western | hp-roman8 | ❌ | — |
|
|
177
|
+
| Western | iso-8859-1 | ✅ | windows-1252 |
|
|
178
|
+
| Western | iso8859-15 | ✅ | iso-8859-15 |
|
|
179
|
+
| Western | macroman | ✅ | macintosh |
|
|
180
|
+
| Western | windows-1252 | ✅ | windows-1252 |
|
|
181
181
|
|
|
182
182
|
<!-- ENCODINGS_END -->
|
|
183
183
|
|
|
@@ -241,9 +241,9 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
241
241
|
|
|
242
242
|
| Chunk/Module/File | Composition |
|
|
243
243
|
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
244
|
-
| **dist/dpuse-shared.es.js** | 63.
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 63.2 kB · gzip 18.0 kB · 100.0% of the build |
|
|
245
245
|
| src → index.ts + 13 more | `████████████████░░░░` 77.7% · 49.2 kB |
|
|
246
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 34.
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 34.3% · 21.7 kB |
|
|
247
247
|
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░` 26.6% · 16.8 kB |
|
|
248
248
|
| ↳ objectParsing.ts | `▒▒░░░░░░░░░░░░░░░░░░` 7.9% · 5.0 kB |
|
|
249
249
|
| ↳ delimitedText.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.5% · 1.6 kB |
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -738,18 +738,11 @@ var he = T([
|
|
|
738
738
|
es: "Nórdico"
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
|
-
|
|
742
|
-
id: "
|
|
741
|
+
southEasternEuropean: {
|
|
742
|
+
id: "southEasternEuropean",
|
|
743
743
|
label: {
|
|
744
|
-
en: "
|
|
745
|
-
es: "
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
romanian: {
|
|
749
|
-
id: "romanian",
|
|
750
|
-
label: {
|
|
751
|
-
en: "Romanian",
|
|
752
|
-
es: "Rumano"
|
|
744
|
+
en: "South-Eastern European",
|
|
745
|
+
es: "Europeo sudoriental"
|
|
753
746
|
}
|
|
754
747
|
},
|
|
755
748
|
southernEuropean: {
|
|
@@ -773,18 +766,11 @@ var he = T([
|
|
|
773
766
|
es: "Turco"
|
|
774
767
|
}
|
|
775
768
|
},
|
|
776
|
-
|
|
777
|
-
id: "
|
|
778
|
-
label: {
|
|
779
|
-
en: "Unicode 16",
|
|
780
|
-
es: "Unicode 16"
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
unicode32: {
|
|
784
|
-
id: "unicode32",
|
|
769
|
+
unicode: {
|
|
770
|
+
id: "unicode",
|
|
785
771
|
label: {
|
|
786
|
-
en: "Unicode
|
|
787
|
-
es: "Unicode
|
|
772
|
+
en: "Unicode",
|
|
773
|
+
es: "Unicode"
|
|
788
774
|
}
|
|
789
775
|
},
|
|
790
776
|
vietnamese: {
|
|
@@ -1074,7 +1060,7 @@ var he = T([
|
|
|
1074
1060
|
},
|
|
1075
1061
|
"iso8859-16": {
|
|
1076
1062
|
id: "iso8859-16",
|
|
1077
|
-
groupId: "
|
|
1063
|
+
groupId: "southEasternEuropean",
|
|
1078
1064
|
decoderId: "iso-8859-16"
|
|
1079
1065
|
},
|
|
1080
1066
|
johab: {
|
|
@@ -1149,47 +1135,47 @@ var he = T([
|
|
|
1149
1135
|
},
|
|
1150
1136
|
"utf-7": {
|
|
1151
1137
|
id: "utf-7",
|
|
1152
|
-
groupId: "
|
|
1138
|
+
groupId: "unicode",
|
|
1153
1139
|
decoderId: null
|
|
1154
1140
|
},
|
|
1155
1141
|
"utf-8": {
|
|
1156
1142
|
id: "utf-8",
|
|
1157
|
-
groupId:
|
|
1143
|
+
groupId: "unicode",
|
|
1158
1144
|
decoderId: "utf-8"
|
|
1159
1145
|
},
|
|
1160
1146
|
"utf-8-sig": {
|
|
1161
1147
|
id: "utf-8-sig",
|
|
1162
|
-
groupId:
|
|
1148
|
+
groupId: "unicode",
|
|
1163
1149
|
decoderId: "utf-8"
|
|
1164
1150
|
},
|
|
1165
1151
|
"utf-16": {
|
|
1166
1152
|
id: "utf-16",
|
|
1167
|
-
groupId: "
|
|
1153
|
+
groupId: "unicode",
|
|
1168
1154
|
decoderId: null
|
|
1169
1155
|
},
|
|
1170
1156
|
"utf-16-be": {
|
|
1171
1157
|
id: "utf-16-be",
|
|
1172
|
-
groupId: "
|
|
1158
|
+
groupId: "unicode",
|
|
1173
1159
|
decoderId: "utf-16be"
|
|
1174
1160
|
},
|
|
1175
1161
|
"utf-16-le": {
|
|
1176
1162
|
id: "utf-16-le",
|
|
1177
|
-
groupId: "
|
|
1163
|
+
groupId: "unicode",
|
|
1178
1164
|
decoderId: "utf-16le"
|
|
1179
1165
|
},
|
|
1180
1166
|
"utf-32": {
|
|
1181
1167
|
id: "utf-32",
|
|
1182
|
-
groupId: "
|
|
1168
|
+
groupId: "unicode",
|
|
1183
1169
|
decoderId: null
|
|
1184
1170
|
},
|
|
1185
1171
|
"utf-32-be": {
|
|
1186
1172
|
id: "utf-32-be",
|
|
1187
|
-
groupId: "
|
|
1173
|
+
groupId: "unicode",
|
|
1188
1174
|
decoderId: null
|
|
1189
1175
|
},
|
|
1190
1176
|
"utf-32-le": {
|
|
1191
1177
|
id: "utf-32-le",
|
|
1192
|
-
groupId: "
|
|
1178
|
+
groupId: "unicode",
|
|
1193
1179
|
decoderId: null
|
|
1194
1180
|
},
|
|
1195
1181
|
"windows-1250": {
|
|
@@ -1249,7 +1235,7 @@ function Ee(e = "en") {
|
|
|
1249
1235
|
isDecodable: t != null,
|
|
1250
1236
|
decoderId: t
|
|
1251
1237
|
};
|
|
1252
|
-
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.
|
|
1238
|
+
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.id.localeCompare(n.id, e, { numeric: !0 }));
|
|
1253
1239
|
}
|
|
1254
1240
|
function De(e, t) {
|
|
1255
1241
|
let n = O[e].label;
|