New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fis3-hook-node_modules

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-hook-node_modules - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

3

index.js

@@ -9,3 +9,3 @@ var path = require('path');

if (/^([^\/]+)(?:\/(.*))?$/.test(id)) {
if (/^([^\/\{\}]+)(?:\/(.*))?$/.test(id)) {
var prefix = RegExp.$1;

@@ -21,2 +21,3 @@ var subpath = RegExp.$2;

if (!pkg) {
opts.shutup || fis.log.warn('Can\'t resolve `%s` in file [%s], did you miss `npm install %s`', prefix, file.subpath, prefix);
return info;

@@ -23,0 +24,0 @@ }

@@ -41,5 +41,11 @@ var fs = require('fs');

var hostJsonPath = path.join(currentDir, '../package.json');
var hostJson = {};
if (fis.util.exists(hostJsonPath)) {
hostJson = fis.util.readJSON(hostJsonPath);
}
list = cachePkgs[currentDir] = {};
fs.readdirSync(currentDir).forEach(function(folderName) {
if (folderName[0] === '.') {
if (folderName[0] === '.' || hostJson.devDependencies && hostJson.devDependencies[folderName]) {
return null;

@@ -46,0 +52,0 @@ }

{
"name": "fis3-hook-node_modules",
"version": "2.0.9",
"version": "2.0.10",
"description": "fis3 npm support",

@@ -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