@dpuse/dpuse-shared 0.3.630 → 0.3.632

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.
@@ -1,91 +1,20 @@
1
- //#region src/encoding/encodingConfigs.json
1
+ //#endregion
2
+ //#region src/encoding/index.ts
2
3
  var e = {
3
- id: "ascii",
4
- groupLabel: "",
5
- label: "ascii",
6
- isDetectable: !1,
7
- isDecodable: !0
8
- }, t = {
9
- id: "big5",
10
- groupLabel: "Chinese Traditional",
11
- label: "Chinese Traditional (big5)",
12
- isDetectable: !0,
13
- isDecodable: !0
14
- }, n = {
15
- id: "gb18030",
16
- groupLabel: "Chinese Simplified",
17
- label: "Chinese Simplified (gb18030)",
18
- isDetectable: !0,
19
- isDecodable: !0
20
- }, r = {
21
- id: "gbk",
22
- groupLabel: "Chinese Simplified",
23
- label: "Chinese Simplified (gbk)",
24
- isDetectable: !1,
25
- isDecodable: !0
26
- }, i = {
27
- id: "ibm866",
28
- groupLabel: "Cyrillic",
29
- label: "Cyrillic (ibm866)",
30
- isDetectable: !1,
31
- isDecodable: !0
32
- }, a = {
33
- id: "latin1",
34
- groupLabel: "Western",
35
- label: "Western (latin1)",
36
- isDetectable: !1,
37
- isDecodable: !0
38
- }, o = {
39
- id: "macintosh",
40
- groupLabel: "Western",
41
- label: "Western (macintosh)",
42
- isDetectable: !1,
43
- isDecodable: !0
44
- }, s = {
45
- id: "shift_jis",
46
- groupLabel: "Japanese",
47
- label: "Japanese (shift_jis)",
48
- isDetectable: !0,
49
- isDecodable: !0
50
- }, c = {
51
- id: "utf16",
52
- groupLabel: "Unicode 16",
53
- label: "Unicode 16 (utf16)",
54
- isDetectable: !1,
55
- isDecodable: !0
56
- }, l = {
57
- id: "utf16be",
58
- groupLabel: "Unicode 16",
59
- label: "Unicode 16 (utf16be)",
60
- isDetectable: !0,
61
- isDecodable: !0
62
- }, u = {
63
- id: "utf16le",
64
- groupLabel: "Unicode 16",
65
- label: "Unicode 16 (utf16le)",
66
- isDetectable: !0,
67
- isDecodable: !0
68
- }, d = {
69
- id: "utf32be",
70
- groupLabel: "Unicode 32",
71
- label: "Unicode 32 (utf32be)",
72
- isDetectable: !0,
73
- isDecodable: !1
74
- }, f = {
75
- id: "utf32le",
76
- groupLabel: "Unicode 32",
77
- label: "Unicode 32 (utf32le)",
78
- isDetectable: !0,
79
- isDecodable: !1
80
- }, p = {
81
- id: "utf8",
82
- groupLabel: "",
83
- label: "utf8",
84
- isDetectable: !0,
85
- isDecodable: !0
86
- }, m = {
87
- ascii: e,
88
- big5: t,
4
+ ascii: {
5
+ id: "ascii",
6
+ groupLabel: "",
7
+ label: "ascii",
8
+ isDetectable: !1,
9
+ isDecodable: !0
10
+ },
11
+ big5: {
12
+ id: "big5",
13
+ groupLabel: "Chinese Traditional",
14
+ label: "Chinese Traditional (big5)",
15
+ isDetectable: !0,
16
+ isDecodable: !0
17
+ },
89
18
  "euc-jp": {
90
19
  id: "euc-jp",
91
20
  groupLabel: "Japanese",
@@ -100,9 +29,27 @@ var e = {
100
29
  isDetectable: !0,
101
30
  isDecodable: !0
102
31
  },
103
- gb18030: n,
104
- gbk: r,
105
- ibm866: i,
32
+ gb18030: {
33
+ id: "gb18030",
34
+ groupLabel: "Chinese Simplified",
35
+ label: "Chinese Simplified (gb18030)",
36
+ isDetectable: !0,
37
+ isDecodable: !0
38
+ },
39
+ gbk: {
40
+ id: "gbk",
41
+ groupLabel: "Chinese Simplified",
42
+ label: "Chinese Simplified (gbk)",
43
+ isDetectable: !1,
44
+ isDecodable: !0
45
+ },
46
+ ibm866: {
47
+ id: "ibm866",
48
+ groupLabel: "Cyrillic",
49
+ label: "Cyrillic (ibm866)",
50
+ isDetectable: !1,
51
+ isDecodable: !0
52
+ },
106
53
  "iso-2022-cn": {
107
54
  id: "iso-2022-cn",
108
55
  groupLabel: "Japanese",
@@ -243,9 +190,27 @@ var e = {
243
190
  isDetectable: !1,
244
191
  isDecodable: !0
245
192
  },
246
- latin1: a,
247
- macintosh: o,
248
- shift_jis: s,
193
+ latin1: {
194
+ id: "latin1",
195
+ groupLabel: "Western",
196
+ label: "Western (latin1)",
197
+ isDetectable: !1,
198
+ isDecodable: !0
199
+ },
200
+ macintosh: {
201
+ id: "macintosh",
202
+ groupLabel: "Western",
203
+ label: "Western (macintosh)",
204
+ isDetectable: !1,
205
+ isDecodable: !0
206
+ },
207
+ shift_jis: {
208
+ id: "shift_jis",
209
+ groupLabel: "Japanese",
210
+ label: "Japanese (shift_jis)",
211
+ isDetectable: !0,
212
+ isDecodable: !0
213
+ },
249
214
  "tis-620": {
250
215
  id: "tis-620",
251
216
  groupLabel: "Thai",
@@ -253,12 +218,48 @@ var e = {
253
218
  isDetectable: !1,
254
219
  isDecodable: !0
255
220
  },
256
- utf16: c,
257
- utf16be: l,
258
- utf16le: u,
259
- utf32be: d,
260
- utf32le: f,
261
- utf8: p,
221
+ utf16: {
222
+ id: "utf16",
223
+ groupLabel: "Unicode 16",
224
+ label: "Unicode 16 (utf16)",
225
+ isDetectable: !1,
226
+ isDecodable: !0
227
+ },
228
+ utf16be: {
229
+ id: "utf16be",
230
+ groupLabel: "Unicode 16",
231
+ label: "Unicode 16 (utf16be)",
232
+ isDetectable: !0,
233
+ isDecodable: !0
234
+ },
235
+ utf16le: {
236
+ id: "utf16le",
237
+ groupLabel: "Unicode 16",
238
+ label: "Unicode 16 (utf16le)",
239
+ isDetectable: !0,
240
+ isDecodable: !0
241
+ },
242
+ utf32be: {
243
+ id: "utf32be",
244
+ groupLabel: "Unicode 32",
245
+ label: "Unicode 32 (utf32be)",
246
+ isDetectable: !0,
247
+ isDecodable: !1
248
+ },
249
+ utf32le: {
250
+ id: "utf32le",
251
+ groupLabel: "Unicode 32",
252
+ label: "Unicode 32 (utf32le)",
253
+ isDetectable: !0,
254
+ isDecodable: !1
255
+ },
256
+ utf8: {
257
+ id: "utf8",
258
+ groupLabel: "",
259
+ label: "utf8",
260
+ isDetectable: !0,
261
+ isDecodable: !0
262
+ },
262
263
  "windows-1250": {
263
264
  id: "windows-1250",
264
265
  groupLabel: "Central European",
@@ -344,13 +345,13 @@ var e = {
344
345
  isDecodable: !0
345
346
  }
346
347
  };
347
- function h(e = "en") {
348
- let t = [];
349
- for (let [, e] of Object.entries(m)) t.push({
350
- ...e,
351
- label: e.label || e.id
348
+ function t(t = "en") {
349
+ let n = [];
350
+ for (let [, t] of Object.entries(e)) n.push({
351
+ ...t,
352
+ label: t.label || t.id
352
353
  });
353
- return t.toSorted((e, t) => e.groupLabel.localeCompare(t.groupLabel) || e.label.localeCompare(t.label));
354
+ return n.toSorted((e, t) => e.groupLabel.localeCompare(t.groupLabel) || e.label.localeCompare(t.label));
354
355
  }
355
356
  //#endregion
356
- export { m as encodingConfigMap, h as getEncodingTypeConfigs };
357
+ export { e as encodingConfigMap, t as getEncodingTypeConfigs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.630",
3
+ "version": "0.3.632",
4
4
  "description": "Common constants, types and utilities used across all DPUse projects.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
@@ -22,19 +22,19 @@
22
22
  "types": "./dist/types/src/component/index.d.ts"
23
23
  },
24
24
  "./component/connection": {
25
- "import": "./dist/dpuse-shared-connection.es.js",
25
+ "import": "./dist/dpuse-shared-componentConnection.es.js",
26
26
  "types": "./dist/types/src/component/connection/index.d.ts"
27
27
  },
28
28
  "./component/dataView": {
29
- "import": "./dist/dpuse-shared-dataview.es.js",
29
+ "import": "./dist/dpuse-shared-componentDataview.es.js",
30
30
  "types": "./dist/types/src/component/dataView/index.d.ts"
31
31
  },
32
32
  "./component/dimension": {
33
- "import": "./dist/dpuse-shared-dimension.es.js",
33
+ "import": "./dist/dpuse-shared-componentDimension.es.js",
34
34
  "types": "./dist/types/src/component/dimension/index.d.ts"
35
35
  },
36
36
  "./component/eventQuery": {
37
- "import": "./dist/dpuse-shared-eventQuery.es.js",
37
+ "import": "./dist/dpuse-shared-componentEventQuery.es.js",
38
38
  "types": "./dist/types/src/component/eventQuery/index.d.ts"
39
39
  },
40
40
  "./component/module": {
@@ -116,38 +116,38 @@
116
116
  ],
117
117
  "prettier": "@dpuse/dpuse-development/prettierrc",
118
118
  "devDependencies": {
119
- "@dpuse/dpuse-development": "^0.3.472",
120
- "@dpuse/eslint-config-dpuse": "^1.0.49",
121
- "@types/node": "^25.5.0",
122
- "@typescript-eslint/eslint-plugin": "^8.57.1",
123
- "@typescript-eslint/parser": "^8.57.1",
119
+ "@dpuse/dpuse-development": "^0.3.491",
120
+ "@dpuse/eslint-config-dpuse": "^1.0.55",
121
+ "@types/node": "^25.6.0",
122
+ "@typescript-eslint/eslint-plugin": "^8.58.2",
123
+ "@typescript-eslint/parser": "^8.58.2",
124
124
  "eslint": "^9.39.4",
125
125
  "eslint-import-resolver-typescript": "^4.4.4",
126
126
  "eslint-plugin-import": "^2.32.0",
127
127
  "eslint-plugin-security": "^4.0.0",
128
- "eslint-plugin-sonarjs": "^4.0.2",
128
+ "eslint-plugin-sonarjs": "^4.0.3",
129
129
  "eslint-plugin-unicorn": "^63.0.0",
130
- "file-type": "^21.3.3",
130
+ "file-type": "^22.0.1",
131
131
  "jiti": "^2.6.1",
132
132
  "license-downloader": "^1.3.3",
133
133
  "license-report": "^6.8.2",
134
- "license-report-check": "^0.1.2",
135
- "license-report-recursive": "^6.8.3",
134
+ "license-report-check": "^1.0.0",
135
+ "license-report-recursive": "^6.8.4",
136
136
  "md-to-pdf": "^5.2.5",
137
- "npm-check-updates": "^19.6.5",
137
+ "npm-check-updates": "^21.0.2",
138
138
  "owasp-dependency-check": "^1.0.1",
139
- "prettier": "^3.8.1",
139
+ "prettier": "^3.8.3",
140
140
  "rollup-plugin-visualizer": "^7.0.1",
141
141
  "sonda": "^0.11.1",
142
- "type-fest": "^5.5.0",
143
- "typedoc": "^0.28.17",
142
+ "type-fest": "^5.6.0",
143
+ "typedoc": "^0.28.19",
144
144
  "typedoc-github-theme": "^0.4.0",
145
145
  "typedoc-material-theme": "^1.4.1",
146
146
  "typescript": "^5.9.3",
147
147
  "valibot": "^1.3.1",
148
- "vite": "^8.0.1",
148
+ "vite": "^8.0.9",
149
149
  "vite-plugin-dts": "^4.5.4",
150
- "vitest": "^4.1.0"
150
+ "vitest": "^4.1.4"
151
151
  },
152
152
  "scripts": {
153
153
  "audit": "op run --env-file=.env -- node -e \"import('@dpuse/dpuse-development').then(m => m.auditDependencies())\"",