@dpuse/dpuse-tool-file-previewer 1.0.124 → 1.0.125
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.
|
|
68
|
+
| [@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared) | 1.0.146 | MIT | [LICENSE](licenses/downloads/@dpuse/dpuse-shared@1.0.146-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,7 +80,7 @@ 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.
|
|
83
|
+
- **[@dpuse/dpuse-shared](https://github.com/dpuse/dpuse-shared)** 1.0.146 — this month: 2026-10-26
|
|
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
|
|
@@ -105,7 +105,7 @@ _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.
|
|
108
|
+
| **dist/dpuse-tool-file-previewer.es.js** | 1249.2 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 |
|
|
@@ -114,7 +114,7 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
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.
|
|
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,
|
|
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",
|
|
@@ -8691,8 +8691,8 @@ var il = {
|
|
|
8691
8691
|
groupId: null,
|
|
8692
8692
|
decoderId: "windows-1252"
|
|
8693
8693
|
},
|
|
8694
|
-
|
|
8695
|
-
id: "
|
|
8694
|
+
big5: {
|
|
8695
|
+
id: "big5",
|
|
8696
8696
|
groupId: "chineseTraditional",
|
|
8697
8697
|
decoderId: "big5"
|
|
8698
8698
|
},
|
|
@@ -8791,8 +8791,8 @@ var il = {
|
|
|
8791
8791
|
groupId: "greek",
|
|
8792
8792
|
decoderId: null
|
|
8793
8793
|
},
|
|
8794
|
-
|
|
8795
|
-
id: "
|
|
8794
|
+
cp874: {
|
|
8795
|
+
id: "cp874",
|
|
8796
8796
|
groupId: "thai",
|
|
8797
8797
|
decoderId: "windows-874"
|
|
8798
8798
|
},
|
|
@@ -8801,13 +8801,13 @@ var il = {
|
|
|
8801
8801
|
groupId: "greek",
|
|
8802
8802
|
decoderId: null
|
|
8803
8803
|
},
|
|
8804
|
-
|
|
8805
|
-
id: "
|
|
8804
|
+
cp932: {
|
|
8805
|
+
id: "cp932",
|
|
8806
8806
|
groupId: "japanese",
|
|
8807
8807
|
decoderId: "shift_jis"
|
|
8808
8808
|
},
|
|
8809
|
-
|
|
8810
|
-
id: "
|
|
8809
|
+
cp949: {
|
|
8810
|
+
id: "cp949",
|
|
8811
8811
|
groupId: "korean",
|
|
8812
8812
|
decoderId: "euc-kr"
|
|
8813
8813
|
},
|
|
@@ -8836,18 +8836,18 @@ var il = {
|
|
|
8836
8836
|
groupId: "vietnamese",
|
|
8837
8837
|
decoderId: "windows-1258"
|
|
8838
8838
|
},
|
|
8839
|
-
"
|
|
8840
|
-
id: "
|
|
8839
|
+
"euc-jp": {
|
|
8840
|
+
id: "euc-jp",
|
|
8841
8841
|
groupId: "japanese",
|
|
8842
8842
|
decoderId: "euc-jp"
|
|
8843
8843
|
},
|
|
8844
|
-
"
|
|
8845
|
-
id: "
|
|
8844
|
+
"euc-kr": {
|
|
8845
|
+
id: "euc-kr",
|
|
8846
8846
|
groupId: "korean",
|
|
8847
8847
|
decoderId: "euc-kr"
|
|
8848
8848
|
},
|
|
8849
|
-
|
|
8850
|
-
id: "
|
|
8849
|
+
gb18030: {
|
|
8850
|
+
id: "gb18030",
|
|
8851
8851
|
groupId: "chineseSimplified",
|
|
8852
8852
|
decoderId: "gb18030"
|
|
8853
8853
|
},
|
|
@@ -8856,68 +8856,68 @@ var il = {
|
|
|
8856
8856
|
groupId: "western",
|
|
8857
8857
|
decoderId: null
|
|
8858
8858
|
},
|
|
8859
|
-
"
|
|
8860
|
-
id: "
|
|
8859
|
+
"hz-gb-2312": {
|
|
8860
|
+
id: "hz-gb-2312",
|
|
8861
8861
|
groupId: "chineseSimplified",
|
|
8862
8862
|
decoderId: null
|
|
8863
8863
|
},
|
|
8864
|
-
|
|
8865
|
-
id: "
|
|
8864
|
+
ibm855: {
|
|
8865
|
+
id: "ibm855",
|
|
8866
8866
|
groupId: "cyrillic",
|
|
8867
8867
|
decoderId: null
|
|
8868
8868
|
},
|
|
8869
|
-
|
|
8870
|
-
id: "
|
|
8869
|
+
ibm866: {
|
|
8870
|
+
id: "ibm866",
|
|
8871
8871
|
groupId: "cyrillic",
|
|
8872
8872
|
decoderId: "ibm866"
|
|
8873
8873
|
},
|
|
8874
|
-
"
|
|
8875
|
-
id: "
|
|
8874
|
+
"iso-2022-jp": {
|
|
8875
|
+
id: "iso-2022-jp",
|
|
8876
8876
|
groupId: "japanese",
|
|
8877
8877
|
decoderId: "iso-2022-jp"
|
|
8878
8878
|
},
|
|
8879
|
-
"
|
|
8880
|
-
id: "
|
|
8879
|
+
"iso-2022-kr": {
|
|
8880
|
+
id: "iso-2022-kr",
|
|
8881
8881
|
groupId: "korean",
|
|
8882
8882
|
decoderId: null
|
|
8883
8883
|
},
|
|
8884
|
-
"
|
|
8885
|
-
id: "
|
|
8884
|
+
"iso-8859-1": {
|
|
8885
|
+
id: "iso-8859-1",
|
|
8886
8886
|
groupId: "western",
|
|
8887
8887
|
decoderId: "windows-1252"
|
|
8888
8888
|
},
|
|
8889
|
-
"
|
|
8890
|
-
id: "
|
|
8889
|
+
"iso-8859-2": {
|
|
8890
|
+
id: "iso-8859-2",
|
|
8891
8891
|
groupId: "centralEuropean",
|
|
8892
8892
|
decoderId: "iso-8859-2"
|
|
8893
8893
|
},
|
|
8894
|
-
"
|
|
8895
|
-
id: "
|
|
8894
|
+
"iso-8859-5": {
|
|
8895
|
+
id: "iso-8859-5",
|
|
8896
8896
|
groupId: "cyrillic",
|
|
8897
8897
|
decoderId: "iso-8859-5"
|
|
8898
8898
|
},
|
|
8899
|
-
"
|
|
8900
|
-
id: "
|
|
8899
|
+
"iso-8859-6": {
|
|
8900
|
+
id: "iso-8859-6",
|
|
8901
8901
|
groupId: "arabic",
|
|
8902
8902
|
decoderId: "iso-8859-6"
|
|
8903
8903
|
},
|
|
8904
|
-
"
|
|
8905
|
-
id: "
|
|
8904
|
+
"iso-8859-7": {
|
|
8905
|
+
id: "iso-8859-7",
|
|
8906
8906
|
groupId: "greek",
|
|
8907
8907
|
decoderId: "iso-8859-7"
|
|
8908
8908
|
},
|
|
8909
|
-
"
|
|
8910
|
-
id: "
|
|
8909
|
+
"iso-8859-8": {
|
|
8910
|
+
id: "iso-8859-8",
|
|
8911
8911
|
groupId: "hebrew",
|
|
8912
8912
|
decoderId: "iso-8859-8-i"
|
|
8913
8913
|
},
|
|
8914
|
-
"
|
|
8915
|
-
id: "
|
|
8914
|
+
"iso-8859-9": {
|
|
8915
|
+
id: "iso-8859-9",
|
|
8916
8916
|
groupId: "turkish",
|
|
8917
8917
|
decoderId: "windows-1254"
|
|
8918
8918
|
},
|
|
8919
|
-
"
|
|
8920
|
-
id: "
|
|
8919
|
+
"iso-8859-13": {
|
|
8920
|
+
id: "iso-8859-13",
|
|
8921
8921
|
groupId: "baltic",
|
|
8922
8922
|
decoderId: "iso-8859-13"
|
|
8923
8923
|
},
|
|
@@ -8961,13 +8961,13 @@ var il = {
|
|
|
8961
8961
|
groupId: "romanian",
|
|
8962
8962
|
decoderId: "iso-8859-16"
|
|
8963
8963
|
},
|
|
8964
|
-
|
|
8965
|
-
id: "
|
|
8964
|
+
johab: {
|
|
8965
|
+
id: "johab",
|
|
8966
8966
|
groupId: "korean",
|
|
8967
8967
|
decoderId: null
|
|
8968
8968
|
},
|
|
8969
|
-
"
|
|
8970
|
-
id: "
|
|
8969
|
+
"koi8-r": {
|
|
8970
|
+
id: "koi8-r",
|
|
8971
8971
|
groupId: "cyrillic",
|
|
8972
8972
|
decoderId: "koi8-r"
|
|
8973
8973
|
},
|
|
@@ -8981,38 +8981,38 @@ var il = {
|
|
|
8981
8981
|
groupId: "cyrillic",
|
|
8982
8982
|
decoderId: "koi8-u"
|
|
8983
8983
|
},
|
|
8984
|
-
|
|
8985
|
-
id: "
|
|
8984
|
+
kz1048: {
|
|
8985
|
+
id: "kz1048",
|
|
8986
8986
|
groupId: "cyrillic",
|
|
8987
8987
|
decoderId: null
|
|
8988
8988
|
},
|
|
8989
|
-
|
|
8990
|
-
id: "
|
|
8989
|
+
maccyrillic: {
|
|
8990
|
+
id: "maccyrillic",
|
|
8991
8991
|
groupId: "cyrillic",
|
|
8992
8992
|
decoderId: "x-mac-cyrillic"
|
|
8993
8993
|
},
|
|
8994
|
-
|
|
8995
|
-
id: "
|
|
8994
|
+
macgreek: {
|
|
8995
|
+
id: "macgreek",
|
|
8996
8996
|
groupId: "greek",
|
|
8997
8997
|
decoderId: null
|
|
8998
8998
|
},
|
|
8999
|
-
|
|
9000
|
-
id: "
|
|
8999
|
+
maciceland: {
|
|
9000
|
+
id: "maciceland",
|
|
9001
9001
|
groupId: "nordic",
|
|
9002
9002
|
decoderId: null
|
|
9003
9003
|
},
|
|
9004
|
-
|
|
9005
|
-
id: "
|
|
9004
|
+
maclatin2: {
|
|
9005
|
+
id: "maclatin2",
|
|
9006
9006
|
groupId: "centralEuropean",
|
|
9007
9007
|
decoderId: null
|
|
9008
9008
|
},
|
|
9009
|
-
|
|
9010
|
-
id: "
|
|
9009
|
+
macroman: {
|
|
9010
|
+
id: "macroman",
|
|
9011
9011
|
groupId: "western",
|
|
9012
9012
|
decoderId: "macintosh"
|
|
9013
9013
|
},
|
|
9014
|
-
|
|
9015
|
-
id: "
|
|
9014
|
+
macturkish: {
|
|
9015
|
+
id: "macturkish",
|
|
9016
9016
|
groupId: "turkish",
|
|
9017
9017
|
decoderId: null
|
|
9018
9018
|
},
|
|
@@ -9021,13 +9021,13 @@ var il = {
|
|
|
9021
9021
|
groupId: "cyrillic",
|
|
9022
9022
|
decoderId: null
|
|
9023
9023
|
},
|
|
9024
|
-
|
|
9025
|
-
id: "
|
|
9024
|
+
shift_jis: {
|
|
9025
|
+
id: "shift_jis",
|
|
9026
9026
|
groupId: "japanese",
|
|
9027
9027
|
decoderId: "shift_jis"
|
|
9028
9028
|
},
|
|
9029
|
-
"
|
|
9030
|
-
id: "
|
|
9029
|
+
"tis-620": {
|
|
9030
|
+
id: "tis-620",
|
|
9031
9031
|
groupId: "thai",
|
|
9032
9032
|
decoderId: "windows-874"
|
|
9033
9033
|
},
|
|
@@ -9041,13 +9041,13 @@ var il = {
|
|
|
9041
9041
|
groupId: null,
|
|
9042
9042
|
decoderId: "utf-8"
|
|
9043
9043
|
},
|
|
9044
|
-
"
|
|
9045
|
-
id: "
|
|
9044
|
+
"utf-8-sig": {
|
|
9045
|
+
id: "utf-8-sig",
|
|
9046
9046
|
groupId: null,
|
|
9047
9047
|
decoderId: "utf-8"
|
|
9048
9048
|
},
|
|
9049
|
-
"
|
|
9050
|
-
id: "
|
|
9049
|
+
"utf-16": {
|
|
9050
|
+
id: "utf-16",
|
|
9051
9051
|
groupId: "unicode16",
|
|
9052
9052
|
decoderId: null
|
|
9053
9053
|
},
|
|
@@ -9061,8 +9061,8 @@ var il = {
|
|
|
9061
9061
|
groupId: "unicode16",
|
|
9062
9062
|
decoderId: "utf-16le"
|
|
9063
9063
|
},
|
|
9064
|
-
"
|
|
9065
|
-
id: "
|
|
9064
|
+
"utf-32": {
|
|
9065
|
+
id: "utf-32",
|
|
9066
9066
|
groupId: "unicode32",
|
|
9067
9067
|
decoderId: null
|
|
9068
9068
|
},
|
|
@@ -9076,43 +9076,43 @@ var il = {
|
|
|
9076
9076
|
groupId: "unicode32",
|
|
9077
9077
|
decoderId: null
|
|
9078
9078
|
},
|
|
9079
|
-
"
|
|
9080
|
-
id: "
|
|
9079
|
+
"windows-1250": {
|
|
9080
|
+
id: "windows-1250",
|
|
9081
9081
|
groupId: "centralEuropean",
|
|
9082
9082
|
decoderId: "windows-1250"
|
|
9083
9083
|
},
|
|
9084
|
-
"
|
|
9085
|
-
id: "
|
|
9084
|
+
"windows-1251": {
|
|
9085
|
+
id: "windows-1251",
|
|
9086
9086
|
groupId: "cyrillic",
|
|
9087
9087
|
decoderId: "windows-1251"
|
|
9088
9088
|
},
|
|
9089
|
-
"
|
|
9090
|
-
id: "
|
|
9089
|
+
"windows-1252": {
|
|
9090
|
+
id: "windows-1252",
|
|
9091
9091
|
groupId: "western",
|
|
9092
9092
|
decoderId: "windows-1252"
|
|
9093
9093
|
},
|
|
9094
|
-
"
|
|
9095
|
-
id: "
|
|
9094
|
+
"windows-1253": {
|
|
9095
|
+
id: "windows-1253",
|
|
9096
9096
|
groupId: "greek",
|
|
9097
9097
|
decoderId: "windows-1253"
|
|
9098
9098
|
},
|
|
9099
|
-
"
|
|
9100
|
-
id: "
|
|
9099
|
+
"windows-1254": {
|
|
9100
|
+
id: "windows-1254",
|
|
9101
9101
|
groupId: "turkish",
|
|
9102
9102
|
decoderId: "windows-1254"
|
|
9103
9103
|
},
|
|
9104
|
-
"
|
|
9105
|
-
id: "
|
|
9104
|
+
"windows-1255": {
|
|
9105
|
+
id: "windows-1255",
|
|
9106
9106
|
groupId: "hebrew",
|
|
9107
9107
|
decoderId: "windows-1255"
|
|
9108
9108
|
},
|
|
9109
|
-
"
|
|
9110
|
-
id: "
|
|
9109
|
+
"windows-1256": {
|
|
9110
|
+
id: "windows-1256",
|
|
9111
9111
|
groupId: "arabic",
|
|
9112
9112
|
decoderId: "windows-1256"
|
|
9113
9113
|
},
|
|
9114
|
-
"
|
|
9115
|
-
id: "
|
|
9114
|
+
"windows-1257": {
|
|
9115
|
+
id: "windows-1257",
|
|
9116
9116
|
groupId: "baltic",
|
|
9117
9117
|
decoderId: "windows-1257"
|
|
9118
9118
|
}
|
|
@@ -9282,16 +9282,19 @@ function El(e, t) {
|
|
|
9282
9282
|
let n = Dl(e);
|
|
9283
9283
|
if (n != null) return [n];
|
|
9284
9284
|
let r = io(e, { minimumThreshold: 0 }), i = [];
|
|
9285
|
-
for (let { confidence: e, encoding: t } of r)
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9285
|
+
for (let { confidence: e, encoding: t } of r) {
|
|
9286
|
+
let n = t?.toLowerCase();
|
|
9287
|
+
n != null && al(n) && i.push({
|
|
9288
|
+
confidenceLevel: e,
|
|
9289
|
+
id: n
|
|
9290
|
+
});
|
|
9291
|
+
}
|
|
9289
9292
|
return i.filter(({ confidenceLevel: e = 0 }, n) => n === 0 || e >= t);
|
|
9290
9293
|
}
|
|
9291
9294
|
function Dl(e) {
|
|
9292
9295
|
return e[0] === 239 && e[1] === 187 && e[2] === 191 ? {
|
|
9293
9296
|
confidenceLevel: 1,
|
|
9294
|
-
id: "
|
|
9297
|
+
id: "utf-8-sig"
|
|
9295
9298
|
} : e[0] === 254 && e[1] === 255 ? {
|
|
9296
9299
|
confidenceLevel: 1,
|
|
9297
9300
|
id: "utf-16-be"
|