module-alias
Advanced tools
Comparing version 2.0.2 to 2.0.3
'use strict' | ||
var Module = require('module').Module | ||
var BuiltinModule = require('module') | ||
// Guard against poorly mocked module constructors | ||
var Module = module.constructor.length > 1 | ||
? module.constructor | ||
: BuiltinModule | ||
var nodePath = require('path') | ||
@@ -5,0 +11,0 @@ |
{ | ||
"name": "module-alias", | ||
"description": "Create aliases of directories and register custom module paths in NodeJS like a boss!", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Nick Gavrilov", |
@@ -130,4 +130,3 @@ # module-alias | ||
alias: npm_package._moduleAliases || {}, | ||
extensions: ['', '.js', '.jsx'], | ||
modulesDirectories: npm_package._moduleDirectories || [] // eg: ["node_modules", "node_modules_custom", "src"] | ||
modules: npm_package._moduleDirectories || [] // eg: ["node_modules", "node_modules_custom", "src"] | ||
} | ||
@@ -134,0 +133,0 @@ } |
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
9932
153
145