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

@uppy/utils

Package Overview
Dependencies
Maintainers
5
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/utils - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1

4

lib/getFileType.js

@@ -22,4 +22,4 @@ var getFileNameAndExtension = require('./getFileNameAndExtension');

// if all fails, well, return empty
return null;
// if all fails, fall back to a generic byte stream type
return 'application/octet-stream';
};
{
"name": "@uppy/utils",
"description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.",
"version": "0.27.0",
"version": "0.27.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -22,4 +22,4 @@ const getFileNameAndExtension = require('./getFileNameAndExtension')

// if all fails, well, return empty
return null
// if all fails, fall back to a generic byte stream type
return 'application/octet-stream'
}

@@ -45,4 +45,4 @@ const getFileType = require('./getFileType')

}
expect(getFileType(file)).toEqual(null)
expect(getFileType(file)).toEqual('application/octet-stream')
})
})
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