Socket
Socket
Sign inDemoInstall

module-lookup-amd

Package Overview
Dependencies
2
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

3

index.js

@@ -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) {
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc