Comparing version 2.1.6 to 2.1.7
{ | ||
"name": "graphlib", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"main": [ | ||
@@ -5,0 +5,0 @@ "dist/graphlib.core.js" |
@@ -1205,3 +1205,20 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.graphlib = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
try { | ||
lodash = require("lodash"); | ||
lodash = { | ||
clone: require("lodash/clone"), | ||
constant: require("lodash/constant"), | ||
each: require("lodash/each"), | ||
filter: require("lodash/filter"), | ||
has: require("lodash/has"), | ||
isArray: require("lodash/isArray"), | ||
isEmpty: require("lodash/isEmpty"), | ||
isFunction: require("lodash/isFunction"), | ||
isUndefined: require("lodash/isUndefined"), | ||
keys: require("lodash/keys"), | ||
map: require("lodash/map"), | ||
reduce: require("lodash/reduce"), | ||
size: require("lodash/size"), | ||
transform: require("lodash/transform"), | ||
union: require("lodash/union"), | ||
values: require("lodash/values") | ||
}; | ||
} catch (e) {} | ||
@@ -1216,6 +1233,6 @@ } | ||
},{"lodash":undefined}],20:[function(require,module,exports){ | ||
module.exports = '2.1.6'; | ||
},{"lodash/clone":undefined,"lodash/constant":undefined,"lodash/each":undefined,"lodash/filter":undefined,"lodash/has":undefined,"lodash/isArray":undefined,"lodash/isEmpty":undefined,"lodash/isFunction":undefined,"lodash/isUndefined":undefined,"lodash/keys":undefined,"lodash/map":undefined,"lodash/reduce":undefined,"lodash/size":undefined,"lodash/transform":undefined,"lodash/union":undefined,"lodash/values":undefined}],20:[function(require,module,exports){ | ||
module.exports = '2.1.7'; | ||
},{}]},{},[1])(1) | ||
}); |
@@ -141,2 +141,2 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.graphlib=f()}})(function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r}()({1:[function(require,module,exports){ | ||
/* global window */ | ||
var lodash;if(typeof require==="function"){try{lodash=require("lodash")}catch(e){}}if(!lodash){lodash=window._}module.exports=lodash},{lodash:undefined}],20:[function(require,module,exports){module.exports="2.1.6"},{}]},{},[1])(1)}); | ||
var lodash;if(typeof require==="function"){try{lodash={clone:require("lodash/clone"),constant:require("lodash/constant"),each:require("lodash/each"),filter:require("lodash/filter"),has:require("lodash/has"),isArray:require("lodash/isArray"),isEmpty:require("lodash/isEmpty"),isFunction:require("lodash/isFunction"),isUndefined:require("lodash/isUndefined"),keys:require("lodash/keys"),map:require("lodash/map"),reduce:require("lodash/reduce"),size:require("lodash/size"),transform:require("lodash/transform"),union:require("lodash/union"),values:require("lodash/values")}}catch(e){}}if(!lodash){lodash=window._}module.exports=lodash},{"lodash/clone":undefined,"lodash/constant":undefined,"lodash/each":undefined,"lodash/filter":undefined,"lodash/has":undefined,"lodash/isArray":undefined,"lodash/isEmpty":undefined,"lodash/isFunction":undefined,"lodash/isUndefined":undefined,"lodash/keys":undefined,"lodash/map":undefined,"lodash/reduce":undefined,"lodash/size":undefined,"lodash/transform":undefined,"lodash/union":undefined,"lodash/values":undefined}],20:[function(require,module,exports){module.exports="2.1.7"},{}]},{},[1])(1)}); |
@@ -7,3 +7,20 @@ /* global window */ | ||
try { | ||
lodash = require("lodash"); | ||
lodash = { | ||
clone: require("lodash/clone"), | ||
constant: require("lodash/constant"), | ||
each: require("lodash/each"), | ||
filter: require("lodash/filter"), | ||
has: require("lodash/has"), | ||
isArray: require("lodash/isArray"), | ||
isEmpty: require("lodash/isEmpty"), | ||
isFunction: require("lodash/isFunction"), | ||
isUndefined: require("lodash/isUndefined"), | ||
keys: require("lodash/keys"), | ||
map: require("lodash/map"), | ||
reduce: require("lodash/reduce"), | ||
size: require("lodash/size"), | ||
transform: require("lodash/transform"), | ||
union: require("lodash/union"), | ||
values: require("lodash/values") | ||
}; | ||
} catch (e) {} | ||
@@ -10,0 +27,0 @@ } |
@@ -1,1 +0,1 @@ | ||
module.exports = '2.1.6'; | ||
module.exports = '2.1.7'; |
{ | ||
"name": "graphlib", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "A directed and undirected multi-graph library", | ||
@@ -5,0 +5,0 @@ "author": "Chris Pettitt <cpettitt@gmail.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
2
461827
11158