@visactor/vutils 0.16.17 → 0.16.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,5 +6,4 @@ function ascending(a, b) {
6
6
 
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: !0
9
- }), exports.ascending = void 0, exports.ascending = ascending;
10
- //# sourceMappingURL=ascending.js.map
9
+ }), exports.ascending = void 0, exports.ascending = ascending;
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
 
7
7
  const getType = value => ({}.toString.call(value).replace(/^\[object /, "").replace(/]$/, ""));
8
8
 
9
- exports.default = getType;
9
+ exports.default = getType;
10
+ //# sourceMappingURL=getType.js.map
@@ -8,5 +8,4 @@ const isArrayLike = function(value) {
8
8
  return null !== value && "function" != typeof value && Number.isFinite(value.length);
9
9
  };
10
10
 
11
- exports.default = isArrayLike;
12
- //# sourceMappingURL=isArrayLike.js.map
11
+ exports.default = isArrayLike;
@@ -9,4 +9,5 @@ const isObject = value => {
9
9
  return null !== value && "object" === type || "function" === type;
10
10
  };
11
11
 
12
- exports.default = isObject;
12
+ exports.default = isObject;
13
+ //# sourceMappingURL=isObject.js.map
@@ -30,5 +30,4 @@ function isShallowEqual(objA, objB) {
30
30
  ret;
31
31
  }
32
32
 
33
- exports.isShallowEqual = isShallowEqual;
34
- //# sourceMappingURL=isShallowEqual.js.map
33
+ exports.isShallowEqual = isShallowEqual;
@@ -7,4 +7,4 @@ Object.defineProperty(exports, "__esModule", {
7
7
  const isUndefined = value => void 0 === value;
8
8
 
9
9
  exports.default = isUndefined;
10
- //# sourceMappingURL=isUndefined.js.map
10
+ //# sourceMappingURL=isUndefined.js.map
@@ -7,4 +7,4 @@ Object.defineProperty(exports, "__esModule", {
7
7
  const isValid = value => null != value;
8
8
 
9
9
  exports.default = isValid;
10
- //# sourceMappingURL=isValid.js.map
10
+ //# sourceMappingURL=isValid.js.map
@@ -14,4 +14,4 @@ const isNumber_1 = __importDefault(require("./isNumber")), isValidNumber = value
14
14
  isNumber_1.default)(value) && Number.isFinite(value);
15
15
 
16
16
  exports.default = isValidNumber;
17
- //# sourceMappingURL=isValidNumber.js.map
17
+ //# sourceMappingURL=isValidNumber.js.map
@@ -7,4 +7,4 @@ Object.defineProperty(exports, "__esModule", {
7
7
  const isValidUrl = value => new RegExp(/^(http(s)?:\/\/)\w+[^\s]+(\.[^\s]+){1,}$/).test(value);
8
8
 
9
9
  exports.isValidUrl = isValidUrl, exports.default = exports.isValidUrl;
10
- //# sourceMappingURL=isValidUrl.js.map
10
+ //# sourceMappingURL=isValidUrl.js.map
@@ -9,4 +9,4 @@ const lowerFirst = function(str) {
9
9
  };
10
10
 
11
11
  exports.default = lowerFirst;
12
- //# sourceMappingURL=lowerFirst.js.map
12
+ //# sourceMappingURL=lowerFirst.js.map
@@ -136,4 +136,4 @@ exports.AABBBounds = AABBBounds;
136
136
  class OBBBounds extends Bounds {}
137
137
 
138
138
  exports.OBBBounds = OBBBounds;
139
- //# sourceMappingURL=bounds.js.map
139
+ //# sourceMappingURL=bounds.js.map
@@ -111,4 +111,5 @@ class HashTable {
111
111
  toImmutableMap() {}
112
112
  }
113
113
 
114
- exports.HashTable = HashTable;
114
+ exports.HashTable = HashTable;
115
+ //# sourceMappingURL=hashTable.js.map
@@ -19,4 +19,4 @@ Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), __exportStar(require("./hashTable"), exports), __exportStar(require("./point"), exports),
21
21
  __exportStar(require("./bounds"), exports), __exportStar(require("./matrix"), exports);
22
- //# sourceMappingURL=index.js.map
22
+ //# sourceMappingURL=index.js.map
@@ -110,4 +110,4 @@ function normalTransform(out, origin, x, y, scaleX, scaleY, angle, rotateCenter)
110
110
  }
111
111
 
112
112
  exports.Matrix = Matrix, exports.normalTransform = normalTransform;
113
- //# sourceMappingURL=matrix.js.map
113
+ //# sourceMappingURL=matrix.js.map
@@ -78,4 +78,4 @@ class PolarPoint {
78
78
  }
79
79
 
80
80
  exports.PolarPoint = PolarPoint;
81
- //# sourceMappingURL=point.js.map
81
+ //# sourceMappingURL=point.js.map
@@ -1,4 +1,3 @@
1
1
  export function ascending(a, b) {
2
2
  return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
3
- }
4
- //# sourceMappingURL=ascending.js.map
3
+ }
@@ -1,3 +1,4 @@
1
1
  const getType = value => ({}.toString.call(value).replace(/^\[object /, "").replace(/]$/, ""));
2
2
 
3
- export default getType;
3
+ export default getType;
4
+ //# sourceMappingURL=getType.js.map
@@ -2,5 +2,4 @@ const isArrayLike = function(value) {
2
2
  return null !== value && "function" != typeof value && Number.isFinite(value.length);
3
3
  };
4
4
 
5
- export default isArrayLike;
6
- //# sourceMappingURL=isArrayLike.js.map
5
+ export default isArrayLike;
@@ -3,4 +3,5 @@ const isObject = value => {
3
3
  return null !== value && "object" === type || "function" === type;
4
4
  };
5
5
 
6
- export default isObject;
6
+ export default isObject;
7
+ //# sourceMappingURL=isObject.js.map
@@ -18,5 +18,4 @@ export function isShallowEqual(objA, objB) {
18
18
  let ret = !0;
19
19
  return Object.keys(objA).forEach((k => !!is(objA[k], objB[k]) || (ret = !1, ret))),
20
20
  ret;
21
- }
22
- //# sourceMappingURL=isShallowEqual.js.map
21
+ }
@@ -1,4 +1,4 @@
1
1
  const isUndefined = value => void 0 === value;
2
2
 
3
3
  export default isUndefined;
4
- //# sourceMappingURL=isUndefined.js.map
4
+ //# sourceMappingURL=isUndefined.js.map
@@ -1,4 +1,4 @@
1
1
  const isValid = value => null != value;
2
2
 
3
3
  export default isValid;
4
- //# sourceMappingURL=isValid.js.map
4
+ //# sourceMappingURL=isValid.js.map
@@ -3,4 +3,4 @@ import isNumber from "./isNumber";
3
3
  const isValidNumber = value => isNumber(value) && Number.isFinite(value);
4
4
 
5
5
  export default isValidNumber;
6
- //# sourceMappingURL=isValidNumber.js.map
6
+ //# sourceMappingURL=isValidNumber.js.map
@@ -1,4 +1,4 @@
1
1
  export const isValidUrl = value => new RegExp(/^(http(s)?:\/\/)\w+[^\s]+(\.[^\s]+){1,}$/).test(value);
2
2
 
3
3
  export default isValidUrl;
4
- //# sourceMappingURL=isValidUrl.js.map
4
+ //# sourceMappingURL=isValidUrl.js.map
@@ -3,4 +3,4 @@ const lowerFirst = function(str) {
3
3
  };
4
4
 
5
5
  export default lowerFirst;
6
- //# sourceMappingURL=lowerFirst.js.map
6
+ //# sourceMappingURL=lowerFirst.js.map
@@ -124,4 +124,4 @@ export class Bounds {
124
124
  export class AABBBounds extends Bounds {}
125
125
 
126
126
  export class OBBBounds extends Bounds {}
127
- //# sourceMappingURL=bounds.js.map
127
+ //# sourceMappingURL=bounds.js.map
@@ -101,4 +101,5 @@ export class HashTable {
101
101
  return returnArr;
102
102
  }
103
103
  toImmutableMap() {}
104
- }
104
+ }
105
+ //# sourceMappingURL=hashTable.js.map
@@ -5,4 +5,4 @@ export * from "./point";
5
5
  export * from "./bounds";
6
6
 
7
7
  export * from "./matrix";
8
- //# sourceMappingURL=index.js.map
8
+ //# sourceMappingURL=index.js.map
@@ -103,4 +103,4 @@ export function normalTransform(out, origin, x, y, scaleX, scaleY, angle, rotate
103
103
  out.e = oe + oa * rotateCenterX + oc * rotateCenterY - a1 * offsetX - c1 * offsetY,
104
104
  out.f = of + ob * rotateCenterX + od * rotateCenterY - b1 * offsetX - d1 * offsetY;
105
105
  }
106
- //# sourceMappingURL=matrix.js.map
106
+ //# sourceMappingURL=matrix.js.map
@@ -62,4 +62,4 @@ export class PolarPoint {
62
62
  return this.r = r, this.theta = theta, this;
63
63
  }
64
64
  }
65
- //# sourceMappingURL=point.js.map
65
+ //# sourceMappingURL=point.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vutils",
3
- "version": "0.16.17",
3
+ "version": "0.16.18",
4
4
  "main": "cjs/index.js",
5
5
  "module": "es/index.js",
6
6
  "types": "es/index.d.ts",