@uppy/utils
Advanced tools
Comparing version 0.27.0 to 0.27.1
@@ -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') | ||
}) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
84644
0