@uniformdev/files 20.72.4-alpha.6 → 20.73.1-alpha.13

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 CHANGED
@@ -91,9 +91,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
91
91
  var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
92
92
  var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
93
93
  var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
94
- var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
94
+ var FILE_TYPES_OTHER = [
95
+ ".pdf",
96
+ ".doc",
97
+ ".docx",
98
+ ".xls",
99
+ ".xlsx",
100
+ ".ppt",
101
+ ".pptx",
102
+ ".csv",
103
+ ".txt",
104
+ ".md",
105
+ ".json",
106
+ ".zip",
107
+ ".lottie",
108
+ ".srt",
109
+ ".vtt"
110
+ ];
95
111
  var FILE_MIME_TYPES_OTHER = [
96
112
  "application/pdf",
113
+ "application/msword",
114
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
115
+ "application/vnd.ms-excel",
116
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
117
+ "application/vnd.ms-powerpoint",
118
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
119
+ "text/csv",
97
120
  "text/plain",
98
121
  "text/markdown",
99
122
  "application/json",
package/dist/index.js CHANGED
@@ -132,9 +132,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
132
132
  var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
133
133
  var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
134
134
  var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
135
- var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
135
+ var FILE_TYPES_OTHER = [
136
+ ".pdf",
137
+ ".doc",
138
+ ".docx",
139
+ ".xls",
140
+ ".xlsx",
141
+ ".ppt",
142
+ ".pptx",
143
+ ".csv",
144
+ ".txt",
145
+ ".md",
146
+ ".json",
147
+ ".zip",
148
+ ".lottie",
149
+ ".srt",
150
+ ".vtt"
151
+ ];
136
152
  var FILE_MIME_TYPES_OTHER = [
137
153
  "application/pdf",
154
+ "application/msword",
155
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
156
+ "application/vnd.ms-excel",
157
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
158
+ "application/vnd.ms-powerpoint",
159
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
160
+ "text/csv",
138
161
  "text/plain",
139
162
  "text/markdown",
140
163
  "application/json",
package/dist/index.mjs CHANGED
@@ -91,9 +91,32 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
91
91
  var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
92
92
  var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
93
93
  var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
94
- var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
94
+ var FILE_TYPES_OTHER = [
95
+ ".pdf",
96
+ ".doc",
97
+ ".docx",
98
+ ".xls",
99
+ ".xlsx",
100
+ ".ppt",
101
+ ".pptx",
102
+ ".csv",
103
+ ".txt",
104
+ ".md",
105
+ ".json",
106
+ ".zip",
107
+ ".lottie",
108
+ ".srt",
109
+ ".vtt"
110
+ ];
95
111
  var FILE_MIME_TYPES_OTHER = [
96
112
  "application/pdf",
113
+ "application/msword",
114
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
115
+ "application/vnd.ms-excel",
116
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
117
+ "application/vnd.ms-powerpoint",
118
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
119
+ "text/csv",
97
120
  "text/plain",
98
121
  "text/markdown",
99
122
  "application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/files",
3
- "version": "20.72.4-alpha.6+93c66ff08a",
3
+ "version": "20.73.1-alpha.13+1ef8c4abf6",
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.4-alpha.6+93c66ff08a"
38
+ "@uniformdev/context": "20.73.1-alpha.13+1ef8c4abf6"
39
39
  },
40
- "gitHead": "93c66ff08aa52bcdf60dd38e32e6e39f6ddebab6"
40
+ "gitHead": "1ef8c4abf6483807fd16f7fdb684411f9a303e93"
41
41
  }