@visactor/vutils
Advanced tools
Comparing version 0.16.18 to 0.16.19
@@ -9,2 +9,3 @@ "use strict"; | ||
value: !0 | ||
}), exports.ascending = void 0, exports.ascending = ascending; | ||
}), exports.ascending = void 0, exports.ascending = ascending; | ||
//# sourceMappingURL=ascending.js.map |
@@ -9,3 +9,2 @@ "use strict"; | ||
exports.default = getType; | ||
//# sourceMappingURL=getType.js.map | ||
exports.default = getType; |
@@ -11,2 +11,3 @@ "use strict"; | ||
exports.default = isArrayLike; | ||
exports.default = isArrayLike; | ||
//# sourceMappingURL=isArrayLike.js.map |
@@ -12,3 +12,2 @@ "use strict"; | ||
exports.default = isObject; | ||
//# sourceMappingURL=isObject.js.map | ||
exports.default = isObject; |
@@ -33,2 +33,3 @@ "use strict"; | ||
exports.isShallowEqual = isShallowEqual; | ||
exports.isShallowEqual = isShallowEqual; | ||
//# sourceMappingURL=isShallowEqual.js.map |
@@ -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,3 +114,2 @@ "use strict"; | ||
exports.HashTable = HashTable; | ||
//# sourceMappingURL=hashTable.js.map | ||
exports.HashTable = HashTable; |
@@ -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; | ||
//# sourceMappingURL=getType.js.map | ||
export default getType; |
@@ -5,2 +5,3 @@ const isArrayLike = function(value) { | ||
export default isArrayLike; | ||
export default isArrayLike; | ||
//# sourceMappingURL=isArrayLike.js.map |
@@ -6,3 +6,2 @@ const isObject = value => { | ||
export default isObject; | ||
//# sourceMappingURL=isObject.js.map | ||
export default isObject; |
@@ -21,2 +21,3 @@ 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,3 +104,2 @@ 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.16.18", | ||
"version": "0.16.19", | ||
"main": "cjs/index.js", | ||
@@ -30,6 +30,6 @@ "module": "es/index.js", | ||
"@types/node": "*", | ||
"@internal/bundler": "0.0.1", | ||
"@internal/eslint-config": "0.0.1", | ||
"@internal/jest-config": "0.0.1", | ||
"@internal/ts-config": "0.0.1", | ||
"@internal/jest-config": "0.0.1" | ||
"@internal/bundler": "0.0.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "dependencies": { |
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
1417065