Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

file-type

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-type - npm Package Compare versions

Comparing version 19.2.0 to 19.3.0

2

core.d.ts

@@ -167,2 +167,3 @@ /**

| 'fbx'
| 'vsdx'
; // eslint-disable-line semi-style

@@ -318,2 +319,3 @@

| 'application/x.autodesk.fbx'
| 'application/vnd.visio'
; // eslint-disable-line semi-style

@@ -320,0 +322,0 @@

@@ -384,2 +384,7 @@ /**

};
case 'visio':
return {
ext: 'vsdx',
mime: 'application/vnd.visio',
};
default:

@@ -386,0 +391,0 @@ break;

5

package.json
{
"name": "file-type",
"version": "19.2.0",
"version": "19.3.0",
"description": "Detect the file type of a Uint8Array/ArrayBuffer",

@@ -208,3 +208,4 @@ "license": "MIT",

"icc",
"fbx"
"fbx",
"vsdx"
],

@@ -211,0 +212,0 @@ "dependencies": {

@@ -508,2 +508,3 @@ # file-type

- [`voc`](https://wiki.multimedia.cx/index.php/Creative_Voice) - Creative Voice File
- [`vsdx`](https://en.wikipedia.org/wiki/Microsoft_Visio) - Microsoft Visio File
- [`wasm`](https://en.wikipedia.org/wiki/WebAssembly) - WebAssembly intermediate compiled format

@@ -510,0 +511,0 @@ - [`wav`](https://en.wikipedia.org/wiki/WAV) - Waveform Audio file

@@ -154,2 +154,3 @@ export const extensions = [

'fbx',
'vsdx',
];

@@ -305,2 +306,3 @@

'application/x.autodesk.fbx', // Invented by us
'application/vnd.visio',
];
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc