oc-external-dependencies-handler
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -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" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3232
0