@visactor/vutils
Advanced tools
Comparing version 0.17.3 to 0.17.4
@@ -9,3 +9,2 @@ "use strict"; | ||
value: !0 | ||
}), exports.ascending = void 0, exports.ascending = ascending; | ||
//# sourceMappingURL=ascending.js.map | ||
}), exports.ascending = void 0, exports.ascending = ascending; |
@@ -9,2 +9,3 @@ "use strict"; | ||
exports.default = getType; | ||
exports.default = getType; | ||
//# sourceMappingURL=getType.js.map |
@@ -11,3 +11,2 @@ "use strict"; | ||
exports.default = isArrayLike; | ||
//# sourceMappingURL=isArrayLike.js.map | ||
exports.default = isArrayLike; |
@@ -12,2 +12,3 @@ "use strict"; | ||
exports.default = isObject; | ||
exports.default = isObject; | ||
//# sourceMappingURL=isObject.js.map |
@@ -33,3 +33,2 @@ "use strict"; | ||
exports.isShallowEqual = isShallowEqual; | ||
//# sourceMappingURL=isShallowEqual.js.map | ||
exports.isShallowEqual = isShallowEqual; |
@@ -10,2 +10,2 @@ "use strict"; | ||
exports.default = isUndefined; | ||
//# sourceMappingURL=isUndefined.js.map | ||
//# sourceMappingURL=isUndefined.js.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
exports.default = isValid; | ||
//# sourceMappingURL=isValid.js.map | ||
//# sourceMappingURL=isValid.js.map |
@@ -17,2 +17,2 @@ "use strict"; | ||
exports.default = isValidNumber; | ||
//# sourceMappingURL=isValidNumber.js.map | ||
//# sourceMappingURL=isValidNumber.js.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
exports.isValidUrl = isValidUrl, exports.default = exports.isValidUrl; | ||
//# sourceMappingURL=isValidUrl.js.map | ||
//# sourceMappingURL=isValidUrl.js.map |
@@ -12,2 +12,2 @@ "use strict"; | ||
exports.default = lowerFirst; | ||
//# sourceMappingURL=lowerFirst.js.map | ||
//# sourceMappingURL=lowerFirst.js.map |
@@ -139,2 +139,2 @@ "use strict"; | ||
exports.OBBBounds = OBBBounds; | ||
//# sourceMappingURL=bounds.js.map | ||
//# sourceMappingURL=bounds.js.map |
@@ -114,2 +114,3 @@ "use strict"; | ||
exports.HashTable = HashTable; | ||
exports.HashTable = HashTable; | ||
//# sourceMappingURL=hashTable.js.map |
@@ -22,2 +22,2 @@ "use strict"; | ||
__exportStar(require("./bounds"), exports), __exportStar(require("./matrix"), exports); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
@@ -113,2 +113,2 @@ "use strict"; | ||
exports.Matrix = Matrix, exports.normalTransform = normalTransform; | ||
//# sourceMappingURL=matrix.js.map | ||
//# sourceMappingURL=matrix.js.map |
@@ -81,2 +81,2 @@ "use strict"; | ||
exports.PolarPoint = PolarPoint; | ||
//# sourceMappingURL=point.js.map | ||
//# sourceMappingURL=point.js.map |
export function ascending(a, b) { | ||
return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; | ||
} | ||
//# sourceMappingURL=ascending.js.map | ||
} |
const getType = value => ({}.toString.call(value).replace(/^\[object /, "").replace(/]$/, "")); | ||
export default getType; | ||
export default getType; | ||
//# sourceMappingURL=getType.js.map |
@@ -5,3 +5,2 @@ const isArrayLike = function(value) { | ||
export default isArrayLike; | ||
//# sourceMappingURL=isArrayLike.js.map | ||
export default isArrayLike; |
@@ -6,2 +6,3 @@ const isObject = value => { | ||
export default isObject; | ||
export default isObject; | ||
//# sourceMappingURL=isObject.js.map |
@@ -21,3 +21,2 @@ import isArray from "./isArray"; | ||
ret; | ||
} | ||
//# sourceMappingURL=isShallowEqual.js.map | ||
} |
const isUndefined = value => void 0 === value; | ||
export default isUndefined; | ||
//# sourceMappingURL=isUndefined.js.map | ||
//# sourceMappingURL=isUndefined.js.map |
const isValid = value => null != value; | ||
export default isValid; | ||
//# sourceMappingURL=isValid.js.map | ||
//# sourceMappingURL=isValid.js.map |
@@ -6,2 +6,2 @@ import isNumber from "./isNumber"; | ||
export default isValidNumber; | ||
//# sourceMappingURL=isValidNumber.js.map | ||
//# sourceMappingURL=isValidNumber.js.map |
export const isValidUrl = value => new RegExp(/^(http(s)?:\/\/)\w+[^\s]+(\.[^\s]+){1,}$/).test(value); | ||
export default isValidUrl; | ||
//# sourceMappingURL=isValidUrl.js.map | ||
//# sourceMappingURL=isValidUrl.js.map |
@@ -6,2 +6,2 @@ const lowerFirst = function(str) { | ||
export default lowerFirst; | ||
//# sourceMappingURL=lowerFirst.js.map | ||
//# sourceMappingURL=lowerFirst.js.map |
@@ -127,2 +127,2 @@ import { isArray } from "../common"; | ||
export class OBBBounds extends Bounds {} | ||
//# sourceMappingURL=bounds.js.map | ||
//# sourceMappingURL=bounds.js.map |
@@ -104,2 +104,3 @@ export class HashValue {} | ||
toImmutableMap() {} | ||
} | ||
} | ||
//# sourceMappingURL=hashTable.js.map |
@@ -8,2 +8,2 @@ export * from "./hashTable"; | ||
export * from "./matrix"; | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
@@ -106,2 +106,2 @@ import { radianToDegree } from "../angle"; | ||
} | ||
//# sourceMappingURL=matrix.js.map | ||
//# sourceMappingURL=matrix.js.map |
@@ -65,2 +65,2 @@ import isNumber from "../common/isNumber"; | ||
} | ||
//# sourceMappingURL=point.js.map | ||
//# sourceMappingURL=point.js.map |
{ | ||
"name": "@visactor/vutils", | ||
"version": "0.17.3", | ||
"version": "0.17.4", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "es/index.js", |
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
1418509