module-lookup-amd
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -10,3 +10,3 @@ var ConfigFile = require('requirejs-config-file').ConfigFile; | ||
* @param {String|Object} config - Pass a loaded config object if you'd like to avoid rereading the config | ||
* @param {String} depPath | ||
* @param {String} depPath - the dependency name | ||
* @param {String} filepath - the file containing the dependency | ||
@@ -29,2 +29,3 @@ * | ||
// Uses a plugin loader | ||
var exclamationLocation; | ||
if ((exclamationLocation = depPath.indexOf('!')) !== -1) { | ||
@@ -31,0 +32,0 @@ depPath = depPath.slice(exclamationLocation + 1); |
@@ -0,3 +1,4 @@ | ||
//jscs: disable | ||
/** | ||
* Source code extracted from requirejs | ||
* Source code extracted from requirejs and modified | ||
* | ||
@@ -4,0 +5,0 @@ * @license RequireJS 2.1.18 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved. |
{ | ||
"name": "module-lookup-amd", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Resolve aliased dependency paths using a RequireJS config", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "jscs -p airbnb index.js test bin && mocha" | ||
}, | ||
@@ -9,0 +9,0 @@ "bin": { |
@@ -6,4 +6,4 @@ // Dependent: no one | ||
'hgn!templates/a' | ||
], function (B, C) { | ||
], function(B, C) { | ||
}); |
// Dependent: no one | ||
define([ | ||
'foobar' // aliased | ||
], function (B) { | ||
], function(B) { | ||
}); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13125
282
0