plugins-loader
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -6,4 +6,9 @@ 'use strict'; | ||
const isPluginNotFoundError = (e, pluginName) => | ||
e.toString().includes(`Error: Cannot find module '${pluginName}'`); | ||
const isPluginNotFoundError = (e, pluginName) => { | ||
return [ | ||
`Error: Cannot find module '${pluginName}'`, | ||
// error from yarn + pnp | ||
`plugins-loader tried to access ${pluginName}, but it isn't declared in its dependencies` | ||
].some(notFoundErr => e.toString().includes(notFoundErr)); | ||
}; | ||
@@ -10,0 +15,0 @@ module.exports = (pluginName, prefix) => { |
{ | ||
"name": "plugins-loader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Plugins loader", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
4826
66