@dpuse/dpuse-tool-file-previewer 1.0.124 → 1.0.126

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 CHANGED
@@ -65,7 +65,7 @@ License data is updated each time `npm run document` is run, using [license-chec
65
65
  | Dependency | Version | License(s) | Document |
66
66
  | :--------------------------------------------------------------------- | :-----: | :--------- | :-------------------------------------------------------------------- |
67
67
  | [@borewit/text-codec](https://github.com/Borewit/text-codec) | 0.2.2 | MIT | [LICENSE](licenses/downloads/@borewit/text-codec@0.2.2-LICENSE.txt) |
68
- | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.144 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.144-LICENSE.txt) |
68
+ | [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.155 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.155-LICENSE.txt) |
69
69
  | [@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate) | 0.5.1 | MIT | [LICENSE](licenses/downloads/@tokenizer/inflate@0.5.1-LICENSE.txt) |
70
70
  | [debug](https://github.com/debug-js/debug) | 4.4.3 | MIT | [LICENSE](licenses/downloads/debug@4.4.3-LICENSE.txt) |
71
71
  | [file-type](https://github.com/sindresorhus/file-type) | 22.2.0 | MIT | [LICENSE](licenses/downloads/file-type@22.2.0-LICENSE.txt) |
@@ -80,14 +80,14 @@ License data is updated each time `npm run document` is run, using [license-chec
80
80
 
81
81
  The dependency tree below shows how each package in the table above is reached — direct and transitive — along with its installed version, release date, and update status. A package that does not ship itself, such as one whose parts are bundled separately, is left out and what ships beneath it is shown in its place. Packages flagged ❗ have a newer version available; ⚠️ indicates a package that hasn't been updated in the last 6 months or longer. Neither flag necessarily indicates a problem: we let new releases stabilise before upgrading, and some packages are mature and stable (have limited or no dependencies), so they require no active development.
82
82
 
83
- - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.144 — this month: 2026-10-26
83
+ - **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.155 — this month: 2026-10-28
84
84
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.2.0 — this month: 2026-10-14
85
85
  - **[valibot](https://github.com/open-circle/valibot)** 1.5.0 — 1 mth ago: 2026-09-09
86
86
  - **[file-type](https://github.com/sindresorhus/file-type)** 22.2.0 — this month: 2026-10-14
87
87
  - **[@tokenizer/inflate](https://github.com/Borewit/tokenizer-inflate)** 0.5.1 — this month: 2026-10-13 → latest: 0.6.0 — this month: 2026-10-24 ❗
88
88
  - **[debug](https://github.com/debug-js/debug)** 4.4.3 — 13 mths ago: 2025-09-13 ⚠️
89
89
  - **[token-types](https://github.com/Borewit/token-types)** 6.1.2 — 9 mths ago: 2026-01-01 ⚠️
90
- - **[strtok3](https://github.com/Borewit/strtok3)** 10.6.2 — this month: 2026-10-18
90
+ - **[strtok3](https://github.com/Borewit/strtok3)** 10.6.2 — this month: 2026-10-18 → latest: 10.6.3 — this month: 2026-10-26 ❗
91
91
  - **[token-types](https://github.com/Borewit/token-types)** 6.1.2 — 9 mths ago: 2026-01-01 ⚠️
92
92
  - **[@borewit/text-codec](https://github.com/Borewit/text-codec)** 0.2.2 — 7 mths ago: 2026-03-11 ⚠️
93
93
  - **[uint8array-extras](https://github.com/sindresorhus/uint8array-extras)** 1.6.0 — 1 mth ago: 2026-09-26
@@ -105,16 +105,16 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
105
105
 
106
106
  | Chunk/Module/File | Composition |
107
107
  | :---------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ |
108
- | **dist/dpuse-tool-file-previewer.es.js** | 1249.2 kB · gzip 722.5 kB · 100.0% of the build |
108
+ | **dist/dpuse-tool-file-previewer.es.js** | 1249.3 kB · gzip 722.4 kB · 100.0% of the build |
109
109
  |     jschardet → dist/jschardet.esm.min.js | `██████████████████░░` 90.6% · 1132.0 kB |
110
110
  |     file-type → source/index.js + 7 more | `█░░░░░░░░░░░░░░░░░░░` 3.6% · 45.3 kB |
111
111
  |         ↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 3.6% · 45.3 kB |
112
- |     @dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░` 1.2% · 15.4 kB |
112
+ |     @dpuse/dpuse-shared → dist/dpuse-shared.es.js | `░░░░░░░░░░░░░░░░░░░░` 1.2% · 15.5 kB |
113
113
  |     strtok3 → lib/AbstractTokenizer.js + 12 more | `░░░░░░░░░░░░░░░░░░░░` 0.8% · 9.4 kB |
114
114
  |         ↳ 13 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.8% · 9.4 kB |
115
115
  |     @tokenizer/inflate → lib/ZipHandler.js + 3 more | `░░░░░░░░░░░░░░░░░░░░` 0.7% · 8.4 kB |
116
116
  |         ↳ 4 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.7% · 8.4 kB |
117
- |     src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 7.1 kB |
117
+ |     src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 7.2 kB |
118
118
  |     debug → src/browser.js + 1 more | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
119
119
  |         ↳ 2 smaller files | `░░░░░░░░░░░░░░░░░░░░` 0.4% · 5.1 kB |
120
120
  |     @borewit/text-codec → lib/index.js | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 3.3 kB |
@@ -8594,7 +8594,7 @@ var Xc = {
8594
8594
  status: /* @__PURE__ */ Z(Jc),
8595
8595
  statusId: /* @__PURE__ */ Z(qc)
8596
8596
  };
8597
- ({ ...Xc }), J({ en: "Arrow" }), J({ en: "Avro" }), J({ en: "Delimited text (CSV, TAB, TSV…)" }), J({ en: "JSON" }), J({ en: "JSON Lines (JSONL)" }), J({ en: "Markdown (MD)" }), J({ en: "OpenDocument spreadsheet (ODS)" }), J({ en: "Parquet" }), J({ en: "SPSS (SAV)" }), J({ en: "SQLite" }), J({ en: "Excel (XLSX, XLSM)" }), J({ en: "XML" }), J({ en: "Newline" }), J({ en: "Carriage Return" }), J({ en: "Carriage Return/Newline" }), J({ en: "Colon" }), J({ en: "Comma" }), J({ en: "Exclamation Mark" }), J({ en: "Record Separator" }), J({ en: "Semicolon" }), J({ en: "Space" }), J({ en: "Tab" }), J({ en: "Underscore" }), J({ en: "Unit Separator" }), J({ en: "Vertical Bar" }), $([
8597
+ ({ ...Xc }), J({ en: "Arrow" }), J({ en: "Avro" }), J({ en: "Delimited text (CSV, TSV…)" }), J({ en: "JSON" }), J({ en: "JSON Lines (JSONL)" }), J({ en: "Markdown (MD)" }), J({ en: "OpenDocument spreadsheet (ODS)" }), J({ en: "Parquet" }), J({ en: "SPSS (SAV)" }), J({ en: "SQLite" }), J({ en: "Excel (XLSX, XLSM)" }), J({ en: "XML" }), J({ en: "Newline" }), J({ en: "Carriage Return" }), J({ en: "Carriage Return/Newline" }), J({ en: "Colon" }), J({ en: "Comma" }), J({ en: "Exclamation Mark" }), J({ en: "Record Separator" }), J({ en: "Semicolon" }), J({ en: "Space" }), J({ en: "Tab" }), J({ en: "Underscore" }), J({ en: "Unit Separator" }), J({ en: "Vertical Bar" }), $([
8598
8598
  "app",
8599
8599
  "engine",
8600
8600
  "connector",
@@ -8644,7 +8644,7 @@ var Zc = {
8644
8644
  "disabled",
8645
8645
  "oAuth2",
8646
8646
  "none"
8647
- ]), { ...Zc }, $(["list"]), { ...Zc };
8647
+ ]), { ...Zc };
8648
8648
  var Qc = 2048, $c = class extends Error {
8649
8649
  data;
8650
8650
  locator;
@@ -8681,6 +8681,19 @@ function rl(e) {
8681
8681
  if (e != null && e !== "") return e.length > Qc ? `${e.slice(0, Qc)}... [truncated]` : e;
8682
8682
  }
8683
8683
  $([
8684
+ "arrow",
8685
+ "avro",
8686
+ "dtv",
8687
+ "json",
8688
+ "jsonl",
8689
+ "markdown",
8690
+ "ods",
8691
+ "parquet",
8692
+ "sav",
8693
+ "sqlite",
8694
+ "xlsx",
8695
+ "xml"
8696
+ ]), { ...Zc }, $(["list"]), { ...Zc }, $([
8684
8697
  "list",
8685
8698
  "render",
8686
8699
  "setColorMode"
@@ -8691,8 +8704,8 @@ var il = {
8691
8704
  groupId: null,
8692
8705
  decoderId: "windows-1252"
8693
8706
  },
8694
- Big5: {
8695
- id: "Big5",
8707
+ big5: {
8708
+ id: "big5",
8696
8709
  groupId: "chineseTraditional",
8697
8710
  decoderId: "big5"
8698
8711
  },
@@ -8791,8 +8804,8 @@ var il = {
8791
8804
  groupId: "greek",
8792
8805
  decoderId: null
8793
8806
  },
8794
- CP874: {
8795
- id: "CP874",
8807
+ cp874: {
8808
+ id: "cp874",
8796
8809
  groupId: "thai",
8797
8810
  decoderId: "windows-874"
8798
8811
  },
@@ -8801,13 +8814,13 @@ var il = {
8801
8814
  groupId: "greek",
8802
8815
  decoderId: null
8803
8816
  },
8804
- CP932: {
8805
- id: "CP932",
8817
+ cp932: {
8818
+ id: "cp932",
8806
8819
  groupId: "japanese",
8807
8820
  decoderId: "shift_jis"
8808
8821
  },
8809
- CP949: {
8810
- id: "CP949",
8822
+ cp949: {
8823
+ id: "cp949",
8811
8824
  groupId: "korean",
8812
8825
  decoderId: "euc-kr"
8813
8826
  },
@@ -8836,18 +8849,18 @@ var il = {
8836
8849
  groupId: "vietnamese",
8837
8850
  decoderId: "windows-1258"
8838
8851
  },
8839
- "EUC-JP": {
8840
- id: "EUC-JP",
8852
+ "euc-jp": {
8853
+ id: "euc-jp",
8841
8854
  groupId: "japanese",
8842
8855
  decoderId: "euc-jp"
8843
8856
  },
8844
- "EUC-KR": {
8845
- id: "EUC-KR",
8857
+ "euc-kr": {
8858
+ id: "euc-kr",
8846
8859
  groupId: "korean",
8847
8860
  decoderId: "euc-kr"
8848
8861
  },
8849
- GB18030: {
8850
- id: "GB18030",
8862
+ gb18030: {
8863
+ id: "gb18030",
8851
8864
  groupId: "chineseSimplified",
8852
8865
  decoderId: "gb18030"
8853
8866
  },
@@ -8856,68 +8869,68 @@ var il = {
8856
8869
  groupId: "western",
8857
8870
  decoderId: null
8858
8871
  },
8859
- "HZ-GB-2312": {
8860
- id: "HZ-GB-2312",
8872
+ "hz-gb-2312": {
8873
+ id: "hz-gb-2312",
8861
8874
  groupId: "chineseSimplified",
8862
8875
  decoderId: null
8863
8876
  },
8864
- IBM855: {
8865
- id: "IBM855",
8877
+ ibm855: {
8878
+ id: "ibm855",
8866
8879
  groupId: "cyrillic",
8867
8880
  decoderId: null
8868
8881
  },
8869
- IBM866: {
8870
- id: "IBM866",
8882
+ ibm866: {
8883
+ id: "ibm866",
8871
8884
  groupId: "cyrillic",
8872
8885
  decoderId: "ibm866"
8873
8886
  },
8874
- "ISO-2022-JP": {
8875
- id: "ISO-2022-JP",
8887
+ "iso-2022-jp": {
8888
+ id: "iso-2022-jp",
8876
8889
  groupId: "japanese",
8877
8890
  decoderId: "iso-2022-jp"
8878
8891
  },
8879
- "ISO-2022-KR": {
8880
- id: "ISO-2022-KR",
8892
+ "iso-2022-kr": {
8893
+ id: "iso-2022-kr",
8881
8894
  groupId: "korean",
8882
8895
  decoderId: null
8883
8896
  },
8884
- "ISO-8859-1": {
8885
- id: "ISO-8859-1",
8897
+ "iso-8859-1": {
8898
+ id: "iso-8859-1",
8886
8899
  groupId: "western",
8887
8900
  decoderId: "windows-1252"
8888
8901
  },
8889
- "ISO-8859-2": {
8890
- id: "ISO-8859-2",
8902
+ "iso-8859-2": {
8903
+ id: "iso-8859-2",
8891
8904
  groupId: "centralEuropean",
8892
8905
  decoderId: "iso-8859-2"
8893
8906
  },
8894
- "ISO-8859-5": {
8895
- id: "ISO-8859-5",
8907
+ "iso-8859-5": {
8908
+ id: "iso-8859-5",
8896
8909
  groupId: "cyrillic",
8897
8910
  decoderId: "iso-8859-5"
8898
8911
  },
8899
- "ISO-8859-6": {
8900
- id: "ISO-8859-6",
8912
+ "iso-8859-6": {
8913
+ id: "iso-8859-6",
8901
8914
  groupId: "arabic",
8902
8915
  decoderId: "iso-8859-6"
8903
8916
  },
8904
- "ISO-8859-7": {
8905
- id: "ISO-8859-7",
8917
+ "iso-8859-7": {
8918
+ id: "iso-8859-7",
8906
8919
  groupId: "greek",
8907
8920
  decoderId: "iso-8859-7"
8908
8921
  },
8909
- "ISO-8859-8": {
8910
- id: "ISO-8859-8",
8922
+ "iso-8859-8": {
8923
+ id: "iso-8859-8",
8911
8924
  groupId: "hebrew",
8912
8925
  decoderId: "iso-8859-8-i"
8913
8926
  },
8914
- "ISO-8859-9": {
8915
- id: "ISO-8859-9",
8927
+ "iso-8859-9": {
8928
+ id: "iso-8859-9",
8916
8929
  groupId: "turkish",
8917
8930
  decoderId: "windows-1254"
8918
8931
  },
8919
- "ISO-8859-13": {
8920
- id: "ISO-8859-13",
8932
+ "iso-8859-13": {
8933
+ id: "iso-8859-13",
8921
8934
  groupId: "baltic",
8922
8935
  decoderId: "iso-8859-13"
8923
8936
  },
@@ -8961,13 +8974,13 @@ var il = {
8961
8974
  groupId: "romanian",
8962
8975
  decoderId: "iso-8859-16"
8963
8976
  },
8964
- Johab: {
8965
- id: "Johab",
8977
+ johab: {
8978
+ id: "johab",
8966
8979
  groupId: "korean",
8967
8980
  decoderId: null
8968
8981
  },
8969
- "KOI8-R": {
8970
- id: "KOI8-R",
8982
+ "koi8-r": {
8983
+ id: "koi8-r",
8971
8984
  groupId: "cyrillic",
8972
8985
  decoderId: "koi8-r"
8973
8986
  },
@@ -8981,38 +8994,38 @@ var il = {
8981
8994
  groupId: "cyrillic",
8982
8995
  decoderId: "koi8-u"
8983
8996
  },
8984
- KZ1048: {
8985
- id: "KZ1048",
8997
+ kz1048: {
8998
+ id: "kz1048",
8986
8999
  groupId: "cyrillic",
8987
9000
  decoderId: null
8988
9001
  },
8989
- MacCyrillic: {
8990
- id: "MacCyrillic",
9002
+ maccyrillic: {
9003
+ id: "maccyrillic",
8991
9004
  groupId: "cyrillic",
8992
9005
  decoderId: "x-mac-cyrillic"
8993
9006
  },
8994
- MacGreek: {
8995
- id: "MacGreek",
9007
+ macgreek: {
9008
+ id: "macgreek",
8996
9009
  groupId: "greek",
8997
9010
  decoderId: null
8998
9011
  },
8999
- MacIceland: {
9000
- id: "MacIceland",
9012
+ maciceland: {
9013
+ id: "maciceland",
9001
9014
  groupId: "nordic",
9002
9015
  decoderId: null
9003
9016
  },
9004
- MacLatin2: {
9005
- id: "MacLatin2",
9017
+ maclatin2: {
9018
+ id: "maclatin2",
9006
9019
  groupId: "centralEuropean",
9007
9020
  decoderId: null
9008
9021
  },
9009
- MacRoman: {
9010
- id: "MacRoman",
9022
+ macroman: {
9023
+ id: "macroman",
9011
9024
  groupId: "western",
9012
9025
  decoderId: "macintosh"
9013
9026
  },
9014
- MacTurkish: {
9015
- id: "MacTurkish",
9027
+ macturkish: {
9028
+ id: "macturkish",
9016
9029
  groupId: "turkish",
9017
9030
  decoderId: null
9018
9031
  },
@@ -9021,13 +9034,13 @@ var il = {
9021
9034
  groupId: "cyrillic",
9022
9035
  decoderId: null
9023
9036
  },
9024
- SHIFT_JIS: {
9025
- id: "SHIFT_JIS",
9037
+ shift_jis: {
9038
+ id: "shift_jis",
9026
9039
  groupId: "japanese",
9027
9040
  decoderId: "shift_jis"
9028
9041
  },
9029
- "TIS-620": {
9030
- id: "TIS-620",
9042
+ "tis-620": {
9043
+ id: "tis-620",
9031
9044
  groupId: "thai",
9032
9045
  decoderId: "windows-874"
9033
9046
  },
@@ -9041,13 +9054,13 @@ var il = {
9041
9054
  groupId: null,
9042
9055
  decoderId: "utf-8"
9043
9056
  },
9044
- "UTF-8-SIG": {
9045
- id: "UTF-8-SIG",
9057
+ "utf-8-sig": {
9058
+ id: "utf-8-sig",
9046
9059
  groupId: null,
9047
9060
  decoderId: "utf-8"
9048
9061
  },
9049
- "UTF-16": {
9050
- id: "UTF-16",
9062
+ "utf-16": {
9063
+ id: "utf-16",
9051
9064
  groupId: "unicode16",
9052
9065
  decoderId: null
9053
9066
  },
@@ -9061,8 +9074,8 @@ var il = {
9061
9074
  groupId: "unicode16",
9062
9075
  decoderId: "utf-16le"
9063
9076
  },
9064
- "UTF-32": {
9065
- id: "UTF-32",
9077
+ "utf-32": {
9078
+ id: "utf-32",
9066
9079
  groupId: "unicode32",
9067
9080
  decoderId: null
9068
9081
  },
@@ -9076,43 +9089,43 @@ var il = {
9076
9089
  groupId: "unicode32",
9077
9090
  decoderId: null
9078
9091
  },
9079
- "Windows-1250": {
9080
- id: "Windows-1250",
9092
+ "windows-1250": {
9093
+ id: "windows-1250",
9081
9094
  groupId: "centralEuropean",
9082
9095
  decoderId: "windows-1250"
9083
9096
  },
9084
- "Windows-1251": {
9085
- id: "Windows-1251",
9097
+ "windows-1251": {
9098
+ id: "windows-1251",
9086
9099
  groupId: "cyrillic",
9087
9100
  decoderId: "windows-1251"
9088
9101
  },
9089
- "Windows-1252": {
9090
- id: "Windows-1252",
9102
+ "windows-1252": {
9103
+ id: "windows-1252",
9091
9104
  groupId: "western",
9092
9105
  decoderId: "windows-1252"
9093
9106
  },
9094
- "Windows-1253": {
9095
- id: "Windows-1253",
9107
+ "windows-1253": {
9108
+ id: "windows-1253",
9096
9109
  groupId: "greek",
9097
9110
  decoderId: "windows-1253"
9098
9111
  },
9099
- "Windows-1254": {
9100
- id: "Windows-1254",
9112
+ "windows-1254": {
9113
+ id: "windows-1254",
9101
9114
  groupId: "turkish",
9102
9115
  decoderId: "windows-1254"
9103
9116
  },
9104
- "Windows-1255": {
9105
- id: "Windows-1255",
9117
+ "windows-1255": {
9118
+ id: "windows-1255",
9106
9119
  groupId: "hebrew",
9107
9120
  decoderId: "windows-1255"
9108
9121
  },
9109
- "Windows-1256": {
9110
- id: "Windows-1256",
9122
+ "windows-1256": {
9123
+ id: "windows-1256",
9111
9124
  groupId: "arabic",
9112
9125
  decoderId: "windows-1256"
9113
9126
  },
9114
- "Windows-1257": {
9115
- id: "Windows-1257",
9127
+ "windows-1257": {
9128
+ id: "windows-1257",
9116
9129
  groupId: "baltic",
9117
9130
  decoderId: "windows-1257"
9118
9131
  }
@@ -9282,16 +9295,19 @@ function El(e, t) {
9282
9295
  let n = Dl(e);
9283
9296
  if (n != null) return [n];
9284
9297
  let r = io(e, { minimumThreshold: 0 }), i = [];
9285
- for (let { confidence: e, encoding: t } of r) t != null && al(t) && i.push({
9286
- confidenceLevel: e,
9287
- id: t
9288
- });
9298
+ for (let { confidence: e, encoding: t } of r) {
9299
+ let n = t?.toLowerCase();
9300
+ n != null && al(n) && i.push({
9301
+ confidenceLevel: e,
9302
+ id: n
9303
+ });
9304
+ }
9289
9305
  return i.filter(({ confidenceLevel: e = 0 }, n) => n === 0 || e >= t);
9290
9306
  }
9291
9307
  function Dl(e) {
9292
9308
  return e[0] === 239 && e[1] === 187 && e[2] === 191 ? {
9293
9309
  confidenceLevel: 1,
9294
- id: "UTF-8-SIG"
9310
+ id: "utf-8-sig"
9295
9311
  } : e[0] === 254 && e[1] === 255 ? {
9296
9312
  confidenceLevel: 1,
9297
9313
  id: "utf-16-be"