@uniformdev/files 20.72.3-alpha.45 → 20.72.3-alpha.52
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/dist/index.esm.js +24 -1
- package/dist/index.js +24 -1
- package/dist/index.mjs +24 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -95,9 +95,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
95
95
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
96
96
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
97
97
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
98
|
-
var FILE_TYPES_OTHER = [
|
|
98
|
+
var FILE_TYPES_OTHER = [
|
|
99
|
+
".pdf",
|
|
100
|
+
".doc",
|
|
101
|
+
".docx",
|
|
102
|
+
".xls",
|
|
103
|
+
".xlsx",
|
|
104
|
+
".ppt",
|
|
105
|
+
".pptx",
|
|
106
|
+
".csv",
|
|
107
|
+
".txt",
|
|
108
|
+
".md",
|
|
109
|
+
".json",
|
|
110
|
+
".zip",
|
|
111
|
+
".lottie",
|
|
112
|
+
".srt",
|
|
113
|
+
".vtt"
|
|
114
|
+
];
|
|
99
115
|
var FILE_MIME_TYPES_OTHER = [
|
|
100
116
|
"application/pdf",
|
|
117
|
+
"application/msword",
|
|
118
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
119
|
+
"application/vnd.ms-excel",
|
|
120
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
121
|
+
"application/vnd.ms-powerpoint",
|
|
122
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
123
|
+
"text/csv",
|
|
101
124
|
"text/plain",
|
|
102
125
|
"text/markdown",
|
|
103
126
|
"application/json",
|
package/dist/index.js
CHANGED
|
@@ -136,9 +136,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
136
136
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
137
137
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
138
138
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
139
|
-
var FILE_TYPES_OTHER = [
|
|
139
|
+
var FILE_TYPES_OTHER = [
|
|
140
|
+
".pdf",
|
|
141
|
+
".doc",
|
|
142
|
+
".docx",
|
|
143
|
+
".xls",
|
|
144
|
+
".xlsx",
|
|
145
|
+
".ppt",
|
|
146
|
+
".pptx",
|
|
147
|
+
".csv",
|
|
148
|
+
".txt",
|
|
149
|
+
".md",
|
|
150
|
+
".json",
|
|
151
|
+
".zip",
|
|
152
|
+
".lottie",
|
|
153
|
+
".srt",
|
|
154
|
+
".vtt"
|
|
155
|
+
];
|
|
140
156
|
var FILE_MIME_TYPES_OTHER = [
|
|
141
157
|
"application/pdf",
|
|
158
|
+
"application/msword",
|
|
159
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
160
|
+
"application/vnd.ms-excel",
|
|
161
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
162
|
+
"application/vnd.ms-powerpoint",
|
|
163
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
164
|
+
"text/csv",
|
|
142
165
|
"text/plain",
|
|
143
166
|
"text/markdown",
|
|
144
167
|
"application/json",
|
package/dist/index.mjs
CHANGED
|
@@ -95,9 +95,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
95
95
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
96
96
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
97
97
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
98
|
-
var FILE_TYPES_OTHER = [
|
|
98
|
+
var FILE_TYPES_OTHER = [
|
|
99
|
+
".pdf",
|
|
100
|
+
".doc",
|
|
101
|
+
".docx",
|
|
102
|
+
".xls",
|
|
103
|
+
".xlsx",
|
|
104
|
+
".ppt",
|
|
105
|
+
".pptx",
|
|
106
|
+
".csv",
|
|
107
|
+
".txt",
|
|
108
|
+
".md",
|
|
109
|
+
".json",
|
|
110
|
+
".zip",
|
|
111
|
+
".lottie",
|
|
112
|
+
".srt",
|
|
113
|
+
".vtt"
|
|
114
|
+
];
|
|
99
115
|
var FILE_MIME_TYPES_OTHER = [
|
|
100
116
|
"application/pdf",
|
|
117
|
+
"application/msword",
|
|
118
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
119
|
+
"application/vnd.ms-excel",
|
|
120
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
121
|
+
"application/vnd.ms-powerpoint",
|
|
122
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
123
|
+
"text/csv",
|
|
101
124
|
"text/plain",
|
|
102
125
|
"text/markdown",
|
|
103
126
|
"application/json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/files",
|
|
3
|
-
"version": "20.72.3-alpha.
|
|
3
|
+
"version": "20.72.3-alpha.52+f01685e1ef",
|
|
4
4
|
"description": "Uniform Files helpers",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@uniformdev/context": "20.72.3-alpha.
|
|
38
|
+
"@uniformdev/context": "20.72.3-alpha.52+f01685e1ef"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f01685e1ef0aeb05dc200ccdcdd5aba6f6cfc437"
|
|
41
41
|
}
|