New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jsplumb/util

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsplumb/util - npm Package Compare versions

Comparing version 5.4.1 to 5.5.0

4

js/jsplumb.util.cjs.js

@@ -468,2 +468,5 @@ 'use strict';

}
function sgn(x) {
return x < 0 ? -1 : x > 0 ? 1 : 0;
}
function wrap(wrappedFunction, newFunction, returnOnThisValue) {

@@ -1013,2 +1016,3 @@ return function () {

exports.setToArray = setToArray;
exports.sgn = sgn;
exports.snapToGrid = snapToGrid;

@@ -1015,0 +1019,0 @@ exports.subtract = subtract;

5

js/jsplumb.util.es.js

@@ -464,2 +464,5 @@ function filterList(list, value, missingIsFalse) {

}
function sgn(x) {
return x < 0 ? -1 : x > 0 ? 1 : 0;
}
function wrap(wrappedFunction, newFunction, returnOnThisValue) {

@@ -954,2 +957,2 @@ return function () {

export { EventGenerator, OptimisticEventGenerator, TWO_PI, add, addToDictionary, addToList, addWithFunction, arraysEqual, clone, each, encloses, extend, fastTrim, filterList, filterNull, findAllWithFunction, findWithFunction, forEach, fromArray, functionChain, getAllWithFunction, getFromSetWithFunction, getWithFunction, getsert, gradient, insertSorted, intersects, isAssignableFrom, isBoolean, isDate, isEmpty, isFunction, isNamedFunction, isNumber, isObject, isString, lineIntersection, lineLength, lineRectangleIntersection, log, logEnabled, map, merge, normal, objectsEqual, perpendicularLineTo, pointOnLine, populate, quadrant, remove, removeWithFunction, replace, rotateAnchorOrientation, rotatePoint, setToArray, snapToGrid, subtract, suggest, theta, uuid, wrap };
export { EventGenerator, OptimisticEventGenerator, TWO_PI, add, addToDictionary, addToList, addWithFunction, arraysEqual, clone, each, encloses, extend, fastTrim, filterList, filterNull, findAllWithFunction, findWithFunction, forEach, fromArray, functionChain, getAllWithFunction, getFromSetWithFunction, getWithFunction, getsert, gradient, insertSorted, intersects, isAssignableFrom, isBoolean, isDate, isEmpty, isFunction, isNamedFunction, isNumber, isObject, isString, lineIntersection, lineLength, lineRectangleIntersection, log, logEnabled, map, merge, normal, objectsEqual, perpendicularLineTo, pointOnLine, populate, quadrant, remove, removeWithFunction, replace, rotateAnchorOrientation, rotatePoint, setToArray, sgn, snapToGrid, subtract, suggest, theta, uuid, wrap };

@@ -470,2 +470,5 @@ (function (global, factory) {

}
function sgn(x) {
return x < 0 ? -1 : x > 0 ? 1 : 0;
}
function wrap(wrappedFunction, newFunction, returnOnThisValue) {

@@ -1015,2 +1018,3 @@ return function () {

exports.setToArray = setToArray;
exports.sgn = sgn;
exports.snapToGrid = snapToGrid;

@@ -1017,0 +1021,0 @@ exports.subtract = subtract;

{
"name": "@jsplumb/util",
"version": "5.4.1",
"version": "5.5.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "js/jsplumb.util.cjs.js",

@@ -707,2 +707,8 @@ /**

/**
* Replacement for Math.sign, which IE11 does not support.
* @param x
*/
export declare function sgn(x: number): -1 | 0 | 1;
/**
* Defines the width and height of some element.

@@ -709,0 +715,0 @@ * @public

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