@nocobase/plugin-mcp-server 2.1.0-alpha.10 → 2.1.0-alpha.9

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.
Files changed (78) hide show
  1. package/build.config.ts +0 -1
  2. package/dist/client/index.js +1 -1
  3. package/dist/externalVersion.js +5 -6
  4. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/http-errors/HISTORY.md +186 -0
  5. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/http-errors/LICENSE +23 -0
  6. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/http-errors/README.md +169 -0
  7. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/http-errors/index.js +290 -0
  8. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/http-errors/package.json +54 -0
  9. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/LICENSE +21 -0
  10. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/README.md +138 -0
  11. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  12. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  13. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/index.js +23 -0
  14. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/internal.js +218 -0
  15. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  16. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  17. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  18. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  19. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  20. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  21. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  22. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  23. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  24. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  25. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  26. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/utf16.js +187 -0
  27. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/utf32.js +307 -0
  28. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/utf7.js +283 -0
  29. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  30. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  31. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/lib/index.d.ts +129 -0
  32. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/lib/index.js +182 -0
  33. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/lib/streams.js +105 -0
  34. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/package.json +70 -0
  35. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/types/encodings.d.ts +423 -0
  36. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/LICENSE +22 -0
  37. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/README.md +223 -0
  38. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/index.d.ts +85 -0
  39. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/index.js +336 -0
  40. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/package.json +46 -0
  41. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/HISTORY.md +87 -0
  42. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/LICENSE +23 -0
  43. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/README.md +139 -0
  44. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/codes.json +65 -0
  45. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/index.js +146 -0
  46. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/statuses/package.json +49 -0
  47. package/dist/node_modules/light-my-request/package.json +1 -1
  48. package/dist/node_modules/openapi-types/package.json +1 -1
  49. package/dist/server/mcp-server.js +3 -4
  50. package/dist/server/mcp-tools.js +0 -56
  51. package/dist/server/plugin.d.ts +1 -10
  52. package/dist/server/plugin.js +4 -116
  53. package/package.json +2 -3
  54. package/dist/node_modules/fast-uri/.gitattributes +0 -2
  55. package/dist/node_modules/fast-uri/.github/.stale.yml +0 -21
  56. package/dist/node_modules/fast-uri/.github/dependabot.yml +0 -13
  57. package/dist/node_modules/fast-uri/.github/tests_checker.yml +0 -8
  58. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +0 -23
  59. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -20
  60. package/dist/node_modules/fast-uri/LICENSE +0 -30
  61. package/dist/node_modules/fast-uri/README.md +0 -125
  62. package/dist/node_modules/fast-uri/benchmark.js +0 -105
  63. package/dist/node_modules/fast-uri/index.js +0 -303
  64. package/dist/node_modules/fast-uri/lib/schemes.js +0 -188
  65. package/dist/node_modules/fast-uri/lib/scopedChars.js +0 -30
  66. package/dist/node_modules/fast-uri/lib/utils.js +0 -242
  67. package/dist/node_modules/fast-uri/package.json +0 -39
  68. package/dist/node_modules/fast-uri/test/.gitkeep +0 -0
  69. package/dist/node_modules/fast-uri/test/ajv.test.js +0 -39
  70. package/dist/node_modules/fast-uri/test/compatibility.test.js +0 -131
  71. package/dist/node_modules/fast-uri/test/equal.test.js +0 -103
  72. package/dist/node_modules/fast-uri/test/parse.test.js +0 -318
  73. package/dist/node_modules/fast-uri/test/resolve.test.js +0 -75
  74. package/dist/node_modules/fast-uri/test/serialize.test.js +0 -143
  75. package/dist/node_modules/fast-uri/test/uri-js.test.js +0 -912
  76. package/dist/node_modules/fast-uri/test/util.test.js +0 -23
  77. package/dist/node_modules/fast-uri/types/index.d.ts +0 -53
  78. package/dist/node_modules/fast-uri/types/index.test-d.ts +0 -17
@@ -0,0 +1,105 @@
1
+ "use strict"
2
+
3
+ var Buffer = require("safer-buffer").Buffer
4
+
5
+ // NOTE: Due to 'stream' module being pretty large (~100Kb, significant in browser environments),
6
+ // we opt to dependency-inject it instead of creating a hard dependency.
7
+ module.exports = function (streamModule) {
8
+ var Transform = streamModule.Transform
9
+
10
+ // == Encoder stream =======================================================
11
+
12
+ function IconvLiteEncoderStream (conv, options) {
13
+ this.conv = conv
14
+ options = options || {}
15
+ options.decodeStrings = false // We accept only strings, so we don't need to decode them.
16
+ Transform.call(this, options)
17
+ }
18
+
19
+ IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, {
20
+ constructor: { value: IconvLiteEncoderStream }
21
+ })
22
+
23
+ IconvLiteEncoderStream.prototype._transform = function (chunk, encoding, done) {
24
+ if (typeof chunk !== "string") {
25
+ return done(new Error("Iconv encoding stream needs strings as its input."))
26
+ }
27
+
28
+ try {
29
+ var res = this.conv.write(chunk)
30
+ if (res && res.length) this.push(res)
31
+ done()
32
+ } catch (e) {
33
+ done(e)
34
+ }
35
+ }
36
+
37
+ IconvLiteEncoderStream.prototype._flush = function (done) {
38
+ try {
39
+ var res = this.conv.end()
40
+ if (res && res.length) this.push(res)
41
+ done()
42
+ } catch (e) {
43
+ done(e)
44
+ }
45
+ }
46
+
47
+ IconvLiteEncoderStream.prototype.collect = function (cb) {
48
+ var chunks = []
49
+ this.on("error", cb)
50
+ this.on("data", function (chunk) { chunks.push(chunk) })
51
+ this.on("end", function () {
52
+ cb(null, Buffer.concat(chunks))
53
+ })
54
+ return this
55
+ }
56
+
57
+ // == Decoder stream =======================================================
58
+
59
+ function IconvLiteDecoderStream (conv, options) {
60
+ this.conv = conv
61
+ options = options || {}
62
+ options.encoding = this.encoding = "utf8" // We output strings.
63
+ Transform.call(this, options)
64
+ }
65
+
66
+ IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, {
67
+ constructor: { value: IconvLiteDecoderStream }
68
+ })
69
+
70
+ IconvLiteDecoderStream.prototype._transform = function (chunk, encoding, done) {
71
+ if (!Buffer.isBuffer(chunk) && !(chunk instanceof Uint8Array)) { return done(new Error("Iconv decoding stream needs buffers as its input.")) }
72
+ try {
73
+ var res = this.conv.write(chunk)
74
+ if (res && res.length) this.push(res, this.encoding)
75
+ done()
76
+ } catch (e) {
77
+ done(e)
78
+ }
79
+ }
80
+
81
+ IconvLiteDecoderStream.prototype._flush = function (done) {
82
+ try {
83
+ var res = this.conv.end()
84
+ if (res && res.length) this.push(res, this.encoding)
85
+ done()
86
+ } catch (e) {
87
+ done(e)
88
+ }
89
+ }
90
+
91
+ IconvLiteDecoderStream.prototype.collect = function (cb) {
92
+ var res = ""
93
+ this.on("error", cb)
94
+ this.on("data", function (chunk) { res += chunk })
95
+ this.on("end", function () {
96
+ cb(null, res)
97
+ })
98
+ return this
99
+ }
100
+
101
+ return {
102
+ IconvLiteEncoderStream: IconvLiteEncoderStream,
103
+ IconvLiteDecoderStream: IconvLiteDecoderStream
104
+ }
105
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "iconv-lite",
3
+ "description": "Convert character encodings in pure javascript.",
4
+ "version": "0.7.2",
5
+ "license": "MIT",
6
+ "keywords": [
7
+ "iconv",
8
+ "convert",
9
+ "charset",
10
+ "icu"
11
+ ],
12
+ "author": "Alexander Shtuchkin <ashtuchkin@gmail.com>",
13
+ "main": "./lib/index.js",
14
+ "typings": "./lib/index.d.ts",
15
+ "homepage": "https://github.com/pillarjs/iconv-lite",
16
+ "bugs": "https://github.com/pillarjs/iconv-lite/issues",
17
+ "files": [
18
+ "lib/",
19
+ "encodings/",
20
+ "types/"
21
+ ],
22
+ "funding": {
23
+ "type": "opencollective",
24
+ "url": "https://opencollective.com/express"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/pillarjs/iconv-lite.git"
29
+ },
30
+ "engines": {
31
+ "node": ">=0.10.0"
32
+ },
33
+ "scripts": {
34
+ "lint": "eslint",
35
+ "lint:fix": "eslint --fix",
36
+ "test": "mocha --reporter spec --check-leaks --grep .",
37
+ "test:ci": "nyc --exclude test --reporter=lcovonly --reporter=text npm test",
38
+ "test:cov": "nyc --exclude test --reporter=html --reporter=text npm test",
39
+ "test:performance": "node --allow-natives-syntax performance/index.js",
40
+ "test:tap": "mocha --reporter tap --check-leaks --grep .",
41
+ "test:typescript": "tsc && attw --pack",
42
+ "test:webpack": "npm pack && mv iconv-lite-*.tgz test/webpack/iconv-lite.tgz && cd test/webpack && npm install && npm run test && rm iconv-lite.tgz",
43
+ "typegen": "node generation/gen-typings.js"
44
+ },
45
+ "browser": {
46
+ "stream": false
47
+ },
48
+ "devDependencies": {
49
+ "@arethetypeswrong/cli": "^0.17.4",
50
+ "@stylistic/eslint-plugin": "^5.1.0",
51
+ "@stylistic/eslint-plugin-js": "^4.1.0",
52
+ "@types/node": "^24.0.12",
53
+ "async": "^3.2.0",
54
+ "bench-node": "^0.10.0",
55
+ "eslint": "^9.0.0",
56
+ "errto": "^0.2.1",
57
+ "expect-type": "^1.2.0",
58
+ "iconv": "^2.3.5",
59
+ "mocha": "^6.2.2",
60
+ "neostandard": "^0.12.0",
61
+ "nyc": "^14.1.1",
62
+ "request": "^2.88.2",
63
+ "semver": "^6.3.0",
64
+ "typescript": "~5.9.2",
65
+ "unorm": "^1.6.0"
66
+ },
67
+ "dependencies": {
68
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
69
+ }
70
+ }
@@ -0,0 +1,423 @@
1
+ /*
2
+ * ---------------------------------------------------------------------------------------------
3
+ * DO NOT EDIT THIS FILE MANUALLY.
4
+ * THIS FILE IS AUTOMATICALLY GENERATED.
5
+ * TO UPDATE, RUN `npm run typegen` AND COMMIT THE CHANGES.
6
+ * ---------------------------------------------------------------------------------------------
7
+ */
8
+
9
+ /** A union of all supported encoding strings in `iconv-lite`. */
10
+ export type Encoding =
11
+ | "10000"
12
+ | "10006"
13
+ | "10007"
14
+ | "10029"
15
+ | "10079"
16
+ | "10081"
17
+ | "1046"
18
+ | "1124"
19
+ | "1125"
20
+ | "1129"
21
+ | "1133"
22
+ | "1161"
23
+ | "1162"
24
+ | "1163"
25
+ | "1250"
26
+ | "1251"
27
+ | "1252"
28
+ | "1253"
29
+ | "1254"
30
+ | "1255"
31
+ | "1256"
32
+ | "1257"
33
+ | "1258"
34
+ | "20866"
35
+ | "21866"
36
+ | "28591"
37
+ | "28592"
38
+ | "28593"
39
+ | "28594"
40
+ | "28595"
41
+ | "28596"
42
+ | "28597"
43
+ | "28598"
44
+ | "28599"
45
+ | "28600"
46
+ | "28601"
47
+ | "28603"
48
+ | "28604"
49
+ | "28605"
50
+ | "28606"
51
+ | "437"
52
+ | "737"
53
+ | "775"
54
+ | "808"
55
+ | "850"
56
+ | "852"
57
+ | "855"
58
+ | "856"
59
+ | "857"
60
+ | "858"
61
+ | "860"
62
+ | "861"
63
+ | "862"
64
+ | "863"
65
+ | "864"
66
+ | "865"
67
+ | "866"
68
+ | "869"
69
+ | "874"
70
+ | "922"
71
+ | "932"
72
+ | "936"
73
+ | "949"
74
+ | "950"
75
+ | "ansix34"
76
+ | "ansix341968"
77
+ | "ansix341986"
78
+ | "arabic"
79
+ | "arabic8"
80
+ | "armscii8"
81
+ | "ascii"
82
+ | "ascii8bit"
83
+ | "asmo708"
84
+ | "base64"
85
+ | "big5"
86
+ | "big5hkscs"
87
+ | "binary"
88
+ | "celtic"
89
+ | "celtic8"
90
+ | "cesu8"
91
+ | "chinese"
92
+ | "cn"
93
+ | "cnbig5"
94
+ | "cp1046"
95
+ | "cp1124"
96
+ | "cp1125"
97
+ | "cp1129"
98
+ | "cp1133"
99
+ | "cp1161"
100
+ | "cp1162"
101
+ | "cp1163"
102
+ | "cp1250"
103
+ | "cp1251"
104
+ | "cp1252"
105
+ | "cp1253"
106
+ | "cp1254"
107
+ | "cp1255"
108
+ | "cp1256"
109
+ | "cp1257"
110
+ | "cp1258"
111
+ | "cp20866"
112
+ | "cp21866"
113
+ | "cp28591"
114
+ | "cp28592"
115
+ | "cp28593"
116
+ | "cp28594"
117
+ | "cp28595"
118
+ | "cp28596"
119
+ | "cp28597"
120
+ | "cp28598"
121
+ | "cp28599"
122
+ | "cp28600"
123
+ | "cp28601"
124
+ | "cp28603"
125
+ | "cp28604"
126
+ | "cp28605"
127
+ | "cp28606"
128
+ | "cp367"
129
+ | "cp437"
130
+ | "cp720"
131
+ | "cp737"
132
+ | "cp775"
133
+ | "cp808"
134
+ | "cp819"
135
+ | "cp850"
136
+ | "cp852"
137
+ | "cp855"
138
+ | "cp856"
139
+ | "cp857"
140
+ | "cp858"
141
+ | "cp860"
142
+ | "cp861"
143
+ | "cp862"
144
+ | "cp863"
145
+ | "cp864"
146
+ | "cp865"
147
+ | "cp866"
148
+ | "cp869"
149
+ | "cp874"
150
+ | "cp922"
151
+ | "cp932"
152
+ | "cp936"
153
+ | "cp949"
154
+ | "cp950"
155
+ | "cpgr"
156
+ | "csascii"
157
+ | "csbig5"
158
+ | "cseuckr"
159
+ | "csgb2312"
160
+ | "cshproman8"
161
+ | "csibm1046"
162
+ | "csibm1124"
163
+ | "csibm1125"
164
+ | "csibm1129"
165
+ | "csibm1133"
166
+ | "csibm1161"
167
+ | "csibm1162"
168
+ | "csibm1163"
169
+ | "csibm437"
170
+ | "csibm737"
171
+ | "csibm775"
172
+ | "csibm850"
173
+ | "csibm852"
174
+ | "csibm855"
175
+ | "csibm856"
176
+ | "csibm857"
177
+ | "csibm858"
178
+ | "csibm860"
179
+ | "csibm861"
180
+ | "csibm862"
181
+ | "csibm863"
182
+ | "csibm864"
183
+ | "csibm865"
184
+ | "csibm866"
185
+ | "csibm869"
186
+ | "csibm922"
187
+ | "csiso14jisc6220ro"
188
+ | "csiso58gb231280"
189
+ | "csisolatin1"
190
+ | "csisolatin2"
191
+ | "csisolatin3"
192
+ | "csisolatin4"
193
+ | "csisolatin5"
194
+ | "csisolatin6"
195
+ | "csisolatinarabic"
196
+ | "csisolatincyrillic"
197
+ | "csisolatingreek"
198
+ | "csisolatinhebrew"
199
+ | "cskoi8r"
200
+ | "csksc56011987"
201
+ | "csmacintosh"
202
+ | "cspc775baltic"
203
+ | "cspc850multilingual"
204
+ | "cspc862latinhebrew"
205
+ | "cspc8codepage437"
206
+ | "cspcp852"
207
+ | "csshiftjis"
208
+ | "cyrillic"
209
+ | "ecma114"
210
+ | "ecma118"
211
+ | "elot928"
212
+ | "euccn"
213
+ | "eucjp"
214
+ | "euckr"
215
+ | "gb18030"
216
+ | "gb198880"
217
+ | "gb2312"
218
+ | "gb23121980"
219
+ | "gb231280"
220
+ | "gbk"
221
+ | "georgianacademy"
222
+ | "georgianps"
223
+ | "greek"
224
+ | "greek8"
225
+ | "hebrew"
226
+ | "hebrew8"
227
+ | "hex"
228
+ | "hproman8"
229
+ | "ibm1046"
230
+ | "ibm1051"
231
+ | "ibm1124"
232
+ | "ibm1125"
233
+ | "ibm1129"
234
+ | "ibm1133"
235
+ | "ibm1161"
236
+ | "ibm1162"
237
+ | "ibm1163"
238
+ | "ibm1168"
239
+ | "ibm367"
240
+ | "ibm437"
241
+ | "ibm737"
242
+ | "ibm775"
243
+ | "ibm808"
244
+ | "ibm819"
245
+ | "ibm850"
246
+ | "ibm852"
247
+ | "ibm855"
248
+ | "ibm856"
249
+ | "ibm857"
250
+ | "ibm858"
251
+ | "ibm860"
252
+ | "ibm861"
253
+ | "ibm862"
254
+ | "ibm863"
255
+ | "ibm864"
256
+ | "ibm865"
257
+ | "ibm866"
258
+ | "ibm869"
259
+ | "ibm878"
260
+ | "ibm922"
261
+ | "iso646cn"
262
+ | "iso646irv"
263
+ | "iso646jp"
264
+ | "iso646us"
265
+ | "iso88591"
266
+ | "iso885910"
267
+ | "iso885911"
268
+ | "iso885913"
269
+ | "iso885914"
270
+ | "iso885915"
271
+ | "iso885916"
272
+ | "iso88592"
273
+ | "iso88593"
274
+ | "iso88594"
275
+ | "iso88595"
276
+ | "iso88596"
277
+ | "iso88597"
278
+ | "iso88598"
279
+ | "iso88599"
280
+ | "isoceltic"
281
+ | "isoir100"
282
+ | "isoir101"
283
+ | "isoir109"
284
+ | "isoir110"
285
+ | "isoir126"
286
+ | "isoir127"
287
+ | "isoir138"
288
+ | "isoir14"
289
+ | "isoir144"
290
+ | "isoir148"
291
+ | "isoir149"
292
+ | "isoir157"
293
+ | "isoir166"
294
+ | "isoir179"
295
+ | "isoir199"
296
+ | "isoir203"
297
+ | "isoir226"
298
+ | "isoir57"
299
+ | "isoir58"
300
+ | "isoir6"
301
+ | "jisc62201969ro"
302
+ | "jp"
303
+ | "koi8r"
304
+ | "koi8ru"
305
+ | "koi8t"
306
+ | "koi8u"
307
+ | "korean"
308
+ | "ksc5601"
309
+ | "ksc56011987"
310
+ | "ksc56011989"
311
+ | "l1"
312
+ | "l10"
313
+ | "l2"
314
+ | "l3"
315
+ | "l4"
316
+ | "l5"
317
+ | "l6"
318
+ | "l7"
319
+ | "l8"
320
+ | "l9"
321
+ | "latin1"
322
+ | "latin10"
323
+ | "latin2"
324
+ | "latin3"
325
+ | "latin4"
326
+ | "latin5"
327
+ | "latin6"
328
+ | "latin7"
329
+ | "latin8"
330
+ | "latin9"
331
+ | "mac"
332
+ | "maccenteuro"
333
+ | "maccroatian"
334
+ | "maccyrillic"
335
+ | "macgreek"
336
+ | "maciceland"
337
+ | "macintosh"
338
+ | "macroman"
339
+ | "macromania"
340
+ | "macthai"
341
+ | "macturkish"
342
+ | "macukraine"
343
+ | "mik"
344
+ | "ms31j"
345
+ | "ms932"
346
+ | "ms936"
347
+ | "ms949"
348
+ | "ms950"
349
+ | "msansi"
350
+ | "msarab"
351
+ | "mscyrl"
352
+ | "msee"
353
+ | "msgreek"
354
+ | "mshebr"
355
+ | "mskanji"
356
+ | "msturk"
357
+ | "pt154"
358
+ | "r8"
359
+ | "rk1048"
360
+ | "roman8"
361
+ | "shiftjis"
362
+ | "sjis"
363
+ | "strk10482002"
364
+ | "tcvn"
365
+ | "tcvn5712"
366
+ | "tcvn57121"
367
+ | "thai"
368
+ | "thai8"
369
+ | "tis620"
370
+ | "tis6200"
371
+ | "tis62025291"
372
+ | "tis62025330"
373
+ | "turkish"
374
+ | "turkish8"
375
+ | "ucs2"
376
+ | "ucs4"
377
+ | "ucs4be"
378
+ | "ucs4le"
379
+ | "unicode11utf7"
380
+ | "unicode11utf8"
381
+ | "us"
382
+ | "usascii"
383
+ | "utf16"
384
+ | "utf16be"
385
+ | "utf16le"
386
+ | "utf32"
387
+ | "utf32be"
388
+ | "utf32le"
389
+ | "utf7"
390
+ | "utf7imap"
391
+ | "utf8"
392
+ | "viscii"
393
+ | "win1250"
394
+ | "win1251"
395
+ | "win1252"
396
+ | "win1253"
397
+ | "win1254"
398
+ | "win1255"
399
+ | "win1256"
400
+ | "win1257"
401
+ | "win1258"
402
+ | "win874"
403
+ | "winbaltrim"
404
+ | "windows1250"
405
+ | "windows1251"
406
+ | "windows1252"
407
+ | "windows1253"
408
+ | "windows1254"
409
+ | "windows1255"
410
+ | "windows1256"
411
+ | "windows1257"
412
+ | "windows1258"
413
+ | "windows31j"
414
+ | "windows874"
415
+ | "windows932"
416
+ | "windows936"
417
+ | "windows949"
418
+ | "windows950"
419
+ | "xgbk"
420
+ | "xroman8"
421
+ | "xsjis"
422
+ | "xxbig5"
423
+ | (string & {})
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013-2014 Jonathan Ong <me@jongleberry.com>
4
+ Copyright (c) 2014-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.