@nocobase/plugin-file-manager 1.6.2 → 1.6.4

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 (47) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/constants.js +1 -1
  3. package/dist/externalVersion.js +7 -7
  4. package/dist/locale/de-DE.json +41 -0
  5. package/dist/locale/it-IT.json +20 -0
  6. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  7. package/dist/node_modules/mime-match/package.json +1 -1
  8. package/dist/node_modules/mkdirp/package.json +1 -1
  9. package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
  10. package/dist/node_modules/multer-cos/package.json +1 -1
  11. package/dist/node_modules/multer-s3/package.json +1 -1
  12. package/dist/server/actions/attachments.js +1 -4
  13. package/dist/server/storages/s3.d.ts +1 -0
  14. package/dist/server/storages/s3.js +27 -12
  15. package/dist/server/utils.js +3 -4
  16. package/package.json +2 -3
  17. package/dist/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  18. package/dist/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  19. package/dist/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  20. package/dist/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  21. package/dist/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  22. package/dist/node_modules/iconv-lite/.idea/modules.xml +0 -8
  23. package/dist/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  24. package/dist/node_modules/iconv-lite/LICENSE +0 -21
  25. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  26. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  27. package/dist/node_modules/iconv-lite/encodings/index.js +0 -23
  28. package/dist/node_modules/iconv-lite/encodings/internal.js +0 -198
  29. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  30. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  31. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  32. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  33. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  34. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  35. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  36. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  37. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  38. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  39. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  40. package/dist/node_modules/iconv-lite/encodings/utf16.js +0 -197
  41. package/dist/node_modules/iconv-lite/encodings/utf32.js +0 -319
  42. package/dist/node_modules/iconv-lite/encodings/utf7.js +0 -290
  43. package/dist/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  44. package/dist/node_modules/iconv-lite/lib/index.d.ts +0 -41
  45. package/dist/node_modules/iconv-lite/lib/index.js +0 -1
  46. package/dist/node_modules/iconv-lite/lib/streams.js +0 -109
  47. package/dist/node_modules/iconv-lite/package.json +0 -1
@@ -1,109 +0,0 @@
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(stream_module) {
8
- var Transform = stream_module.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
- try {
27
- var res = this.conv.write(chunk);
28
- if (res && res.length) this.push(res);
29
- done();
30
- }
31
- catch (e) {
32
- done(e);
33
- }
34
- }
35
-
36
- IconvLiteEncoderStream.prototype._flush = function(done) {
37
- try {
38
- var res = this.conv.end();
39
- if (res && res.length) this.push(res);
40
- done();
41
- }
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
-
58
- // == Decoder stream =======================================================
59
-
60
- function IconvLiteDecoderStream(conv, options) {
61
- this.conv = conv;
62
- options = options || {};
63
- options.encoding = this.encoding = 'utf8'; // We output strings.
64
- Transform.call(this, options);
65
- }
66
-
67
- IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, {
68
- constructor: { value: IconvLiteDecoderStream }
69
- });
70
-
71
- IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) {
72
- if (!Buffer.isBuffer(chunk) && !(chunk instanceof Uint8Array))
73
- return done(new Error("Iconv decoding stream needs buffers as its input."));
74
- try {
75
- var res = this.conv.write(chunk);
76
- if (res && res.length) this.push(res, this.encoding);
77
- done();
78
- }
79
- catch (e) {
80
- done(e);
81
- }
82
- }
83
-
84
- IconvLiteDecoderStream.prototype._flush = function(done) {
85
- try {
86
- var res = this.conv.end();
87
- if (res && res.length) this.push(res, this.encoding);
88
- done();
89
- }
90
- catch (e) {
91
- done(e);
92
- }
93
- }
94
-
95
- IconvLiteDecoderStream.prototype.collect = function(cb) {
96
- var res = '';
97
- this.on('error', cb);
98
- this.on('data', function(chunk) { res += chunk; });
99
- this.on('end', function() {
100
- cb(null, res);
101
- });
102
- return this;
103
- }
104
-
105
- return {
106
- IconvLiteEncoderStream: IconvLiteEncoderStream,
107
- IconvLiteDecoderStream: IconvLiteDecoderStream,
108
- };
109
- };
@@ -1 +0,0 @@
1
- {"name":"iconv-lite","description":"Convert character encodings in pure javascript.","version":"0.6.3","license":"MIT","keywords":["iconv","convert","charset","icu"],"author":"Alexander Shtuchkin <ashtuchkin@gmail.com>","main":"./lib/index.js","typings":"./lib/index.d.ts","homepage":"https://github.com/ashtuchkin/iconv-lite","bugs":"https://github.com/ashtuchkin/iconv-lite/issues","repository":{"type":"git","url":"git://github.com/ashtuchkin/iconv-lite.git"},"engines":{"node":">=0.10.0"},"scripts":{"coverage":"c8 _mocha --grep .","test":"mocha --reporter spec --grep ."},"browser":{"stream":false},"devDependencies":{"async":"^3.2.0","c8":"^7.2.0","errto":"^0.2.1","iconv":"^2.3.5","mocha":"^3.5.3","request":"^2.88.2","semver":"^6.3.0","unorm":"^1.6.0"},"dependencies":{"safer-buffer":">= 2.1.2 < 3.0.0"},"_lastModified":"2025-03-12T08:56:04.797Z"}