load-plugin
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -16,4 +16,4 @@ 'use strict'; | ||
var windows = process.platform === 'win32'; | ||
var prefix = path.resolve(windows ? /* istanbul ignore next */ '' : 'lib', 'node_modules'); | ||
var globals = path.resolve(npmPrefix, prefix); | ||
var prefix = windows ? /* istanbul ignore next */ '' : 'lib'; | ||
var globals = path.resolve(npmPrefix, prefix, 'node_modules'); | ||
@@ -28,3 +28,3 @@ /* istanbul ignore next - If we’re in Electron, we’re running in a modified | ||
if (electron && nvm && !fs.existsSync(globals)) { | ||
globals = path.resolve(nvm, '..', prefix); | ||
globals = path.resolve(nvm, '..', prefix, 'node_modules'); | ||
} | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "load-plugin", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Load a submodule, plugin, or file", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
8313
0