amd-name-resolver
Advanced tools
Comparing version 1.2.0 to 1.2.1
11
index.js
var ensurePosix = require('ensure-posix-path'); | ||
var hash = require('object-hash'); | ||
@@ -67,2 +68,12 @@ /** | ||
// broccoli-babel-transpiler caching | ||
moduleResolve.cacheKey = function() { | ||
return hash(options); | ||
}; | ||
moduleResolve.baseDir = function() { | ||
return __dirname; | ||
}; | ||
// parallel API - enable parallel babel transpilation for the moduleResolve function | ||
@@ -69,0 +80,0 @@ moduleResolve._parallelBabel = { |
{ | ||
"name": "amd-name-resolver", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "AMD module name resolver algorithm", | ||
@@ -23,8 +23,12 @@ "main": "index.js", | ||
"broccoli-babel-transpiler": "^5.7.1", | ||
"chai": "^3.0.0", | ||
"mocha": "^2.2.5" | ||
"chai": "^4.1.2", | ||
"mocha": "^5.2.0" | ||
}, | ||
"dependencies": { | ||
"ensure-posix-path": "^1.0.1" | ||
"ensure-posix-path": "^1.0.1", | ||
"object-hash": "^1.3.1" | ||
}, | ||
"engines": { | ||
"node": "6.* || 8.* || >= 10.*" | ||
} | ||
} |
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
3052
77
2
+ Addedobject-hash@^1.3.1
+ Addedobject-hash@1.3.1(transitive)