Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alameda-prim

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alameda-prim - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

20

alameda-prim.js
/**
* @license alameda 1.1.0 Copyright jQuery Foundation and other contributors.
* @license alameda 1.1.1 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/alameda/LICENSE

@@ -750,3 +750,3 @@ */

function makeDefer(name) {
function makeDefer(name, calculatedMap) {
var d = {};

@@ -762,3 +762,3 @@ d.promise = new Promise(function (resolve, reject) {

});
d.map = name ? makeMap(name, null, true) : {};
d.map = name ? (calculatedMap || makeMap(name)) : {};
d.depCount = 0;

@@ -778,3 +778,3 @@ d.depMax = 0;

function getDefer(name) {
function getDefer(name, calculatedMap) {
var d;

@@ -784,3 +784,3 @@ if (name) {

if (!d) {
d = deferreds[name] = makeDefer(name);
d = deferreds[name] = makeDefer(name, calculatedMap);
}

@@ -960,3 +960,3 @@ } else {

// Redo map now that plugin is known to be loaded
var newMap = makeMap(name, relName, true),
var newMap = map.prn ? map : makeMap(name, relName, true),
newId = newMap.id,

@@ -1015,3 +1015,3 @@ shim = getOwn(config.shim, newId);

var plugin, url, parts, prefix, result,
var plugin, url, parts, prefix, result, prefixNormalized,
cacheKey = name + ' & ' + (relName || '') + ' & ' + !!applyMap;

@@ -1036,2 +1036,3 @@

name = plugin.normalize(name, makeNormalize(relName));
prefixNormalized = true;
} else {

@@ -1063,3 +1064,4 @@ // If nested plugin references, then do not try to

pr: prefix,
url: url
url: url,
prn: prefix && prefixNormalized
};

@@ -1105,3 +1107,3 @@

var depId = depMap.id,
dep = !hasProp(handlers, depId) && getDefer(depId);
dep = !hasProp(handlers, depId) && getDefer(depId, depMap);

@@ -1108,0 +1110,0 @@ // Only force things that have not completed

{
"name": "alameda-prim",
"version": "1.1.0",
"version": "1.1.1",
"ignore": [

@@ -5,0 +5,0 @@ ".gitignore",

{
"name": "alameda-prim",
"description": "The alameda AMD loader that includes a private promise shim",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "http://github.com/requirejs/alameda-prim",

@@ -6,0 +6,0 @@ "author": "James Burke <jrburke@gmail.com> (http://github.com/jrburke)",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc