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

optional

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optional - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

optional.js

@@ -1,2 +0,2 @@

module.exports = function(module){
module.exports = function(module, options){
try{

@@ -7,4 +7,8 @@ if(module[0] in {".":1}){

return require(module);
}catch(e){ }
}catch(e){
if (err.code !== "MODULE_NOT_FOUND" && options && options.rethrow) {
throw err;
}
}
return null;
};
{
"name":"optional"
,"version":"v0.1.0"
,"version":"v0.1.1"
,"homepage":"http://segomos.com/"

@@ -5,0 +5,0 @@ ,"main":"optional"

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