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

@travetto/asset

Package Overview
Dependencies
Maintainers
1
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/asset - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

4

package.json

@@ -40,4 +40,4 @@ {

},
"version": "0.4.1",
"gitHead": "56dcc5bc1e70d9e61208be4128108a9c4f974f3d"
"version": "0.4.2",
"gitHead": "9fef4547aa2a3d666c8cf4efcffd162691814e9b"
}

@@ -91,3 +91,3 @@ import * as fs from 'fs';

const buffer = await this.readChunk(filePath, 262);
return fileType(buffer) as { ext: string, mime: string };
return fileType(buffer) as { ext: string, mime: string } || {};
}

@@ -94,0 +94,0 @@

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