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

node-hook-filename

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

node-hook-filename - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -12,3 +12,3 @@ var Module = require('module');

var regexes = extensions.map(function(ext){ return new RegExp(ext, 'i') })
var regexes = extensions.map(function(ext){ return new RegExp(ext, '') })

@@ -15,0 +15,0 @@ Module._resolveFilename = function(request, parent) {

{
"name": "node-hook-filename",
"version": "0.1.0",
"version": "0.1.1",
"description": "\"Hooking node require calls for specific extensions to only return the filename\"",

@@ -5,0 +5,0 @@ "main": "index.js",

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