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

plugins-loader

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plugins-loader - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

9

lib/require-plugin.js

@@ -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": {

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