@shipstatic/types 0.4.22 → 0.4.23
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.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -417,7 +417,7 @@ export interface ConfigResponse {
|
|
|
417
417
|
* - Explicit allowlist (only approved formats, reject unknown)
|
|
418
418
|
* ============================================================================
|
|
419
419
|
*/
|
|
420
|
-
export declare const ALLOWED_MIME_TYPES: readonly ["text/html", "text/css", "text/plain", "text/markdown", "text/xml", "text/csv", "text/yaml", "text/vtt", "text/calendar", "text/javascript", "text/typescript", "text/tsx", "text/jsx", "text/x-scss", "text/x-sass", "text/x-less", "text/stylus", "text/x-vue", "text/x-svelte", "image/", "audio/", "video/", "font/", "application/javascript", "application/ecmascript", "application/x-javascript", "application/wasm", "application/json", "application/ld+json", "application/manifest+json", "application/source-map", "application/xml", "application/xhtml+xml", "application/rss+xml", "application/atom+xml", "application/yaml", "application/toml", "application/pdf", "model/gltf+json", "model/gltf-binary", "application/mp4", "application/font-woff", "application/font-woff2", "application/x-font-woff", "application/x-woff", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-font-truetype", "application/x-font-otf", "application/x-font-opentype"];
|
|
420
|
+
export declare const ALLOWED_MIME_TYPES: readonly ["text/html", "text/css", "text/plain", "text/markdown", "text/xml", "text/csv", "text/yaml", "text/vtt", "text/calendar", "text/javascript", "text/typescript", "text/tsx", "text/jsx", "text/x-scss", "text/x-sass", "text/less", "text/x-less", "text/stylus", "text/x-vue", "text/x-svelte", "image/", "audio/", "video/", "font/", "application/javascript", "application/ecmascript", "application/x-javascript", "application/wasm", "application/json", "application/ld+json", "application/manifest+json", "application/source-map", "application/xml", "application/xhtml+xml", "application/rss+xml", "application/atom+xml", "application/yaml", "application/toml", "application/pdf", "model/gltf+json", "model/gltf-binary", "application/mp4", "application/font-woff", "application/font-woff2", "application/x-font-woff", "application/x-woff", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-font-truetype", "application/x-font-otf", "application/x-font-opentype"];
|
|
421
421
|
/**
|
|
422
422
|
* Check if a MIME type is allowed for upload.
|
|
423
423
|
*
|
package/dist/index.js
CHANGED
|
@@ -289,7 +289,8 @@ export const ALLOWED_MIME_TYPES = [
|
|
|
289
289
|
'text/jsx', // React JSX (.jsx)
|
|
290
290
|
'text/x-scss', // SCSS preprocessor
|
|
291
291
|
'text/x-sass', // Sass preprocessor
|
|
292
|
-
'text/
|
|
292
|
+
'text/less', // Less preprocessor
|
|
293
|
+
'text/x-less', // Less preprocessor (alternative)
|
|
293
294
|
'text/stylus', // Stylus preprocessor
|
|
294
295
|
'text/x-vue', // Vue single-file components (.vue)
|
|
295
296
|
'text/x-svelte', // Svelte components (.svelte)
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -600,7 +600,8 @@ export const ALLOWED_MIME_TYPES = [
|
|
|
600
600
|
'text/jsx', // React JSX (.jsx)
|
|
601
601
|
'text/x-scss', // SCSS preprocessor
|
|
602
602
|
'text/x-sass', // Sass preprocessor
|
|
603
|
-
'text/
|
|
603
|
+
'text/less', // Less preprocessor
|
|
604
|
+
'text/x-less', // Less preprocessor (alternative)
|
|
604
605
|
'text/stylus', // Stylus preprocessor
|
|
605
606
|
'text/x-vue', // Vue single-file components (.vue)
|
|
606
607
|
'text/x-svelte', // Svelte components (.svelte)
|