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

oc-external-dependencies-handler

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oc-external-dependencies-handler - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

index.js

@@ -9,3 +9,3 @@ 'use strict';

*
*/
*/

@@ -28,3 +28,3 @@ const coreModules = require('builtin-modules');

let dependencyName = req;
if (/\//g.test(dependencyName)) {
if (/^(?!@).*\//g.test(dependencyName)) {
dependencyName = dependencyName.substring(

@@ -31,0 +31,0 @@ 0,

{
"name": "oc-external-dependencies-handler",
"version": "1.0.6",
"version": "1.0.7",
"description": "External dependencies handler for webpack",

@@ -32,3 +32,4 @@ "main": "index.js",

"oc-templates-messages": "1.0.2"
}
},
"gitHead": "257b8ff80a01fa46c4e6f7e03e73ca2c9cf8087d"
}
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