@vpmedia/simplify 1.55.0 โ†’ 1.56.0

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [1.56.0] - 2026-01-12
2
+
3
+ ### ๐Ÿ’ผ Other
4
+
5
+ - *(deps)* Bump dependency versions
6
+
7
+ ### ๐Ÿงช Testing
8
+
9
+ - Improve test coverage
10
+
11
+ ### โš™๏ธ Miscellaneous Tasks
12
+
13
+ - Release
14
+ - Fixed code review issues
15
+ - Fixed lint errors, improved test coverage
16
+ - *(release)* V1.56.0
1
17
  ## [1.55.0] - 2026-01-12
2
18
 
3
19
  ### ๐Ÿš€ Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/simplify",
3
- "version": "1.55.0",
3
+ "version": "1.56.0",
4
4
  "description": "@vpmedia/simplify",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -22,26 +22,26 @@
22
22
  "eventemitter3": "^5.0.1"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@sentry/browser": "^10.32.1"
25
+ "@sentry/browser": "^10.33.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@commitlint/cli": "^20.3.1",
29
29
  "@commitlint/config-conventional": "^20.3.1",
30
30
  "@eslint/js": "^9.39.2",
31
- "@types/node": "^25.0.5",
32
- "@vitest/coverage-v8": "^4.0.16",
31
+ "@types/node": "^25.0.6",
32
+ "@vitest/coverage-v8": "^4.0.17",
33
33
  "eslint": "^9.39.2",
34
34
  "eslint-plugin-jsdoc": "^62.0.0",
35
- "eslint-plugin-oxlint": "^1.38.0",
35
+ "eslint-plugin-oxlint": "^1.39.0",
36
36
  "eslint-plugin-unicorn": "^62.0.0",
37
37
  "globals": "^17.0.0",
38
38
  "jsdom": "^27.4.0",
39
- "oxlint": "^1.38.0",
39
+ "oxlint": "^1.39.0",
40
40
  "oxlint-tsgolint": "^0.11.0",
41
41
  "prettier": "^3.7.4",
42
42
  "typescript": "^5.9.3",
43
43
  "typescript-eslint": "^8.52.0",
44
- "vitest": "^4.0.16"
44
+ "vitest": "^4.0.17"
45
45
  },
46
46
  "browserslist": [
47
47
  "> 0.5%",
package/src/util/async.js CHANGED
@@ -15,6 +15,5 @@ export const delayPromise = (delayMS) =>
15
15
  */
16
16
  export const loadJSON = async (url) => {
17
17
  const response = await fetch(url);
18
- const json = await response.json();
19
- return JSON.stringify(json);
18
+ return await response.json();
20
19
  };
package/src/util/fetch.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable jsdoc/no-undefined-types */
1
2
  /* oxlint-disable no-await-in-loop */
2
3
 
3
4
  import {
@@ -84,4 +85,5 @@ export const fetchRetry = async (resource, fetchOptions, retryOptions) => {
84
85
  clearTimeout(timeoutId);
85
86
  }
86
87
  }
88
+ throw new Error('Fetch has failed');
87
89
  };
@@ -0,0 +1,9 @@
1
+ import { fetchRetry, FetchError } from './fetch.js';
2
+
3
+ describe('fetchRetry', () => {
4
+ test('core', () => {
5
+ expect(fetchRetry).toBeDefined();
6
+ expect(typeof fetchRetry).toBe('function');
7
+ expect(FetchError).toBeDefined();
8
+ });
9
+ });
@@ -67,7 +67,7 @@ export const subFloat = (a, b) => {
67
67
  * @returns {boolean} `true` is check success.
68
68
  * @private
69
69
  */
70
- export const isGt = (value, min) => value > min;
70
+ export const isGreater = (value, min) => value > min;
71
71
 
72
72
  /**
73
73
  * Value greater than check.
@@ -76,7 +76,7 @@ export const isGt = (value, min) => value > min;
76
76
  * @returns {boolean} `true` is check success.
77
77
  * @private
78
78
  */
79
- export const isGtOrEq = (value, min) => value >= min;
79
+ export const isGreaterOrEqual = (value, min) => value >= min;
80
80
 
81
81
  /**
82
82
  * Value less than check.
@@ -85,7 +85,7 @@ export const isGtOrEq = (value, min) => value >= min;
85
85
  * @returns {boolean} `true` is check success.
86
86
  * @private
87
87
  */
88
- export const isLe = (value, min) => value < min;
88
+ export const isLess = (value, min) => value < min;
89
89
 
90
90
  /**
91
91
  * Value less than check.
@@ -94,7 +94,7 @@ export const isLe = (value, min) => value < min;
94
94
  * @returns {boolean} `true` is check success.
95
95
  * @private
96
96
  */
97
- export const isLeOrEq = (value, min) => value <= min;
97
+ export const isLessOrEqual = (value, min) => value <= min;
98
98
 
99
99
  /**
100
100
  * Value greater than check.
@@ -113,4 +113,4 @@ export const isInRange = (value, min, max) => value >= min && value <= max;
113
113
  * @returns {boolean} `true` is check success.
114
114
  * @private
115
115
  */
116
- export const isEq = (value, expected) => value === expected;
116
+ export const isEqual = (value, expected) => value === expected;
@@ -3,12 +3,12 @@ import {
3
3
  fixFloat,
4
4
  fixFloatPrecision,
5
5
  getRandomInt,
6
- isEq,
7
- isGt,
8
- isGtOrEq,
6
+ isEqual,
7
+ isGreater,
8
+ isGreaterOrEqual,
9
9
  isInRange,
10
- isLe,
11
- isLeOrEq,
10
+ isLess,
11
+ isLessOrEqual,
12
12
  subFloat,
13
13
  deg2rad,
14
14
  } from './number.js';
@@ -80,19 +80,19 @@ test('subFloat()', () => {
80
80
 
81
81
  describe('number', () => {
82
82
  test('isEq', () => {
83
- expect(isEq(1, 0)).toBe(false);
84
- expect(isEq(1, 1)).toBe(true);
83
+ expect(isEqual(1, 0)).toBe(false);
84
+ expect(isEqual(1, 1)).toBe(true);
85
85
  });
86
86
 
87
87
  test('isGt', () => {
88
- expect(isGt(1, 0)).toBe(true);
89
- expect(isGt(1, 1)).toBe(false);
88
+ expect(isGreater(1, 0)).toBe(true);
89
+ expect(isGreater(1, 1)).toBe(false);
90
90
  });
91
91
 
92
92
  test('isGtOrEq', () => {
93
- expect(isGtOrEq(1, 0)).toBe(true);
94
- expect(isGtOrEq(1, 1)).toBe(true);
95
- expect(isGtOrEq(1, 2)).toBe(false);
93
+ expect(isGreaterOrEqual(1, 0)).toBe(true);
94
+ expect(isGreaterOrEqual(1, 1)).toBe(true);
95
+ expect(isGreaterOrEqual(1, 2)).toBe(false);
96
96
  });
97
97
 
98
98
  test('isGtOrEq', () => {
@@ -102,14 +102,14 @@ describe('number', () => {
102
102
  });
103
103
 
104
104
  test('isLe', () => {
105
- expect(isLe(1, 0)).toBe(false);
106
- expect(isLe(0, 0)).toBe(false);
107
- expect(isLe(0, 1)).toBe(true);
105
+ expect(isLess(1, 0)).toBe(false);
106
+ expect(isLess(0, 0)).toBe(false);
107
+ expect(isLess(0, 1)).toBe(true);
108
108
  });
109
109
 
110
110
  test('isLeOrEq', () => {
111
- expect(isLeOrEq(1, 0)).toBe(false);
112
- expect(isLeOrEq(0, 0)).toBe(true);
113
- expect(isLeOrEq(0, 1)).toBe(true);
111
+ expect(isLessOrEqual(1, 0)).toBe(false);
112
+ expect(isLessOrEqual(0, 0)).toBe(true);
113
+ expect(isLessOrEqual(0, 1)).toBe(true);
114
114
  });
115
115
  });
@@ -1,3 +1,5 @@
1
+ const PROHIBITED_KEYS = new Set(['__proto__', 'constructor', 'prototype']);
2
+
1
3
  /**
2
4
  * Purges object properties to free up memory.
3
5
  * @param {object} target - The target object.
@@ -26,15 +28,16 @@ export const deepMerge = (target, source) => {
26
28
  return target;
27
29
  }
28
30
  for (const key of Object.keys(source)) {
29
- if (key !== '__proto__' && key !== 'constructor') {
30
- if (typeof source[key] === 'object' && source[key] !== null) {
31
- if (!target[key] || typeof target[key] !== 'object') {
32
- target[key] = {};
33
- }
34
- deepMerge(target[key], source[key]);
35
- } else {
36
- target[key] = source[key];
31
+ if (PROHIBITED_KEYS.has(key)) {
32
+ throw new SyntaxError(`Security violation error. Cannot use "${key}" as object key.`);
33
+ }
34
+ if (typeof source[key] === 'object' && source[key] !== null) {
35
+ if (!target[key] || typeof target[key] !== 'object') {
36
+ target[key] = {};
37
37
  }
38
+ deepMerge(target[key], source[key]);
39
+ } else {
40
+ target[key] = source[key];
38
41
  }
39
42
  }
40
43
 
@@ -82,8 +85,8 @@ export const setObjValueByPath = (obj, path, value) => {
82
85
  }
83
86
  const keyParts = path.split('.');
84
87
  const [nextKey] = keyParts;
85
- if (nextKey === '__proto__') {
86
- throw new SyntaxError('Security violation error. Cannot use "__proto__" as parameter.');
88
+ if (PROHIBITED_KEYS.has(nextKey)) {
89
+ throw new SyntaxError(`Security violation error. Cannot use "${nextKey}" as parameter.`);
87
90
  }
88
91
  if (keyParts.length === 1) {
89
92
  obj[nextKey] = value;
@@ -1,3 +1,9 @@
1
+ /* eslint-disable jsdoc/check-tag-names, jsdoc/valid-types */
2
+
3
+ /**
4
+ * @vitest-environment-options { "url": "https://localhost/app/?language=en&token=123-456-รถรผรณ%24D" }
5
+ */
6
+
1
7
  import { getURLParam, sanitizeURLParam } from './query.js';
2
8
 
3
9
  describe('getURLParam', () => {
@@ -15,6 +21,15 @@ describe('getURLParam', () => {
15
21
  const result = getURLParam('key', 'default');
16
22
  expect(result).toBe('default');
17
23
  });
24
+
25
+ test('Handles valid url parameter sanitized', () => {
26
+ expect(getURLParam('language')).toBe('en');
27
+ expect(getURLParam('token')).toBe('123-456-D');
28
+ });
29
+
30
+ test('Handles valid url parameter unsanitized', () => {
31
+ expect(getURLParam('token', null, false)).toBe('123-456-รถรผรณ$D');
32
+ });
18
33
  });
19
34
 
20
35
  describe('sanitizeURLParam', () => {
@@ -44,4 +59,15 @@ describe('sanitizeURLParam', () => {
44
59
  test('Handles unicode characters', () => {
45
60
  expect(sanitizeURLParam('test_รครถรผ')).toBe('test_');
46
61
  });
62
+
63
+ test('Handles edge cases with various special characters', () => {
64
+ expect(sanitizeURLParam('test!!!@@@')).toBe('test');
65
+ expect(sanitizeURLParam('test_param-123')).toBe('test_param-123');
66
+ expect(sanitizeURLParam('test param')).toBe('testparam');
67
+ });
68
+
69
+ test('Handles very long parameter names', () => {
70
+ const longParam = 'a'.repeat(1000);
71
+ expect(typeof sanitizeURLParam(longParam)).toBe('string');
72
+ });
47
73
  });
@@ -1,7 +1,6 @@
1
- /* eslint-disable jsdoc/reject-any-type */
2
- /* eslint-disable jsdoc/no-undefined-types */
1
+ /* eslint-disable jsdoc/reject-any-type, jsdoc/no-undefined-types */
3
2
 
4
- import { isEq, isGt, isGtOrEq, isInRange, isLe, isLeOrEq } from './number.js';
3
+ import { isEqual, isGreater, isGreaterOrEqual, isInRange, isLess, isLessOrEqual } from './number.js';
5
4
 
6
5
  /**
7
6
  * Validates `value` as `boolean`.
@@ -196,35 +195,38 @@ export const refineValidator = (base, predicate, name = null) => {
196
195
  */
197
196
  export const isAnyOf = (a, b) => (value) => a(value) || b(value);
198
197
 
199
- export const isNumberGreater = (min) => refineValidator(isNumber, (value) => isGt(value, min));
200
- export const isNumberGreaterOrEqual = (min) => refineValidator(isNumber, (value) => isGtOrEq(value, min));
201
- export const isNumberLess = (min) => refineValidator(isNumber, (value) => isLe(value, min));
202
- export const isNumberLessOrEqual = (min) => refineValidator(isNumber, (value) => isLeOrEq(value, min));
198
+ export const isNumberGreater = (min) => refineValidator(isNumber, (value) => isGreater(value, min));
199
+ export const isNumberGreaterOrEqual = (min) => refineValidator(isNumber, (value) => isGreaterOrEqual(value, min));
200
+ export const isNumberLess = (min) => refineValidator(isNumber, (value) => isLess(value, min));
201
+ export const isNumberLessOrEqual = (min) => refineValidator(isNumber, (value) => isLessOrEqual(value, min));
203
202
  export const isNumberInRange = (min, max) => refineValidator(isNumber, (value) => isInRange(value, min, max));
204
- export const isNumberEqual = (expected) => refineValidator(isNumber, (value) => isEq(value, expected));
203
+ export const isNumberEqual = (expected) => refineValidator(isNumber, (value) => isEqual(value, expected));
205
204
 
206
- export const isIntegerGreater = (min) => refineValidator(isInteger, (value) => isGt(value, min));
207
- export const isIntegerGreaterOrEqual = (min) => refineValidator(isInteger, (value) => isGtOrEq(value, min));
208
- export const isIntegerLess = (min) => refineValidator(isInteger, (value) => isLe(value, min));
209
- export const isIntegerLessOrEqual = (min) => refineValidator(isInteger, (value) => isLeOrEq(value, min));
205
+ export const isIntegerGreater = (min) => refineValidator(isInteger, (value) => isGreater(value, min));
206
+ export const isIntegerGreaterOrEqual = (min) => refineValidator(isInteger, (value) => isGreaterOrEqual(value, min));
207
+ export const isIntegerLess = (min) => refineValidator(isInteger, (value) => isLess(value, min));
208
+ export const isIntegerLessOrEqual = (min) => refineValidator(isInteger, (value) => isLessOrEqual(value, min));
210
209
  export const isIntegerInRange = (min, max) => refineValidator(isInteger, (value) => isInRange(value, min, max));
211
- export const isIntegerEqual = (expected) => refineValidator(isNumber, (value) => isEq(value, expected));
210
+ export const isIntegerEqual = (expected) => refineValidator(isInteger, (value) => isEqual(value, expected));
212
211
 
213
- export const isStringLengthGreater = (min) => refineValidator(isString, (value) => isGt(value.length, min));
214
- export const isStringLengthGreaterOrEqual = (min) => refineValidator(isString, (value) => isGtOrEq(value.length, min));
215
- export const isStringLengthLess = (min) => refineValidator(isString, (value) => isLe(value.length, min));
216
- export const isStringLengthLessOrEqual = (min) => refineValidator(isString, (value) => isLeOrEq(value.length, min));
212
+ export const isStringLengthGreater = (min) => refineValidator(isString, (value) => isGreater(value.length, min));
213
+ export const isStringLengthGreaterOrEqual = (min) =>
214
+ refineValidator(isString, (value) => isGreaterOrEqual(value.length, min));
215
+ export const isStringLengthLess = (min) => refineValidator(isString, (value) => isLess(value.length, min));
216
+ export const isStringLengthLessOrEqual = (min) =>
217
+ refineValidator(isString, (value) => isLessOrEqual(value.length, min));
217
218
  export const isStringLengthInRange = (min, max) =>
218
219
  refineValidator(isString, (value) => isInRange(value.length, min, max));
219
- export const isStringLengthEqual = (expected) => refineValidator(isString, (value) => isEq(value.length, expected));
220
+ export const isStringLengthEqual = (expected) => refineValidator(isString, (value) => isEqual(value.length, expected));
220
221
 
221
- export const isArrayLengthGreater = (min) => refineValidator(isArray, (value) => isGt(value.length, min));
222
- export const isArrayLengthGreaterOrEqual = (min) => refineValidator(isArray, (value) => isGtOrEq(value.length, min));
223
- export const isArrayLengthLess = (min) => refineValidator(isArray, (value) => isLe(value.length, min));
224
- export const isArrayLengthLessOrEqual = (min) => refineValidator(isArray, (value) => isLeOrEq(value.length, min));
222
+ export const isArrayLengthGreater = (min) => refineValidator(isArray, (value) => isGreater(value.length, min));
223
+ export const isArrayLengthGreaterOrEqual = (min) =>
224
+ refineValidator(isArray, (value) => isGreaterOrEqual(value.length, min));
225
+ export const isArrayLengthLess = (min) => refineValidator(isArray, (value) => isLess(value.length, min));
226
+ export const isArrayLengthLessOrEqual = (min) => refineValidator(isArray, (value) => isLessOrEqual(value.length, min));
225
227
  export const isArrayLengthInRange = (min, max) =>
226
228
  refineValidator(isArray, (value) => isInRange(value.length, min, max));
227
- export const isArrayLengthEqual = (expected) => refineValidator(isArray, (value) => isEq(value.length, expected));
229
+ export const isArrayLengthEqual = (expected) => refineValidator(isArray, (value) => isEqual(value.length, expected));
228
230
 
229
231
  export class TypeCheckError extends TypeError {
230
232
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/util/async.js"],"names":[],"mappings":"AAKO,sCAHI,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAKtB;AAOG,8BAHI,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAM3B"}
1
+ {"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/util/async.js"],"names":[],"mappings":"AAKO,sCAHI,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAKtB;AAOG,8BAHI,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAK3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/util/fetch.js"],"names":[],"mappings":"AAcA,yBAA0B,CAAC,CAAC;AAE5B;IACE;;;;;;OAMG;IACH,qBALW,MAAM,YACN,MAAM,GAAG,GAAG,GAAG,OAAO,gBACtB,WAAW,YACX,QAAQ,EAQlB;IAHC,iCAAwB;IACxB,0BAAgC;IAChC,mBAAwB;CAE3B;AASM,qCALI,MAAM,GAAG,GAAG,GAAG,OAAO,gBACtB,WAAW,iBACX;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,GAC9E,OAAO,CAAC,QAAQ,CAAC,CAgD7B"}
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/util/fetch.js"],"names":[],"mappings":"AAeA,yBAA0B,CAAC,CAAC;AAE5B;IACE;;;;;;OAMG;IACH,qBALW,MAAM,YACN,MAAM,GAAG,GAAG,GAAG,OAAO,gBACtB,WAAW,YACX,QAAQ,EAQlB;IAHC,iCAAwB;IACxB,0BAAgC;IAChC,mBAAwB;CAE3B;AASM,qCALI,MAAM,GAAG,GAAG,GAAG,OAAO,gBACtB,WAAW,iBACX;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,GAC9E,OAAO,CAAC,QAAQ,CAAC,CAiD7B"}
@@ -4,10 +4,10 @@ export function fixFloatPrecision(value: number | string): number;
4
4
  export function fixFloat(value: number, p?: number): number;
5
5
  export function addFloat(a: number, b: number): number;
6
6
  export function subFloat(a: number, b: number): number;
7
- export function isGt(value: number, min: number): boolean;
8
- export function isGtOrEq(value: number, min: number): boolean;
9
- export function isLe(value: number, min: number): boolean;
10
- export function isLeOrEq(value: number, min: number): boolean;
7
+ export function isGreater(value: number, min: number): boolean;
8
+ export function isGreaterOrEqual(value: number, min: number): boolean;
9
+ export function isLess(value: number, min: number): boolean;
10
+ export function isLessOrEqual(value: number, min: number): boolean;
11
11
  export function isInRange(value: number, min: number, max: number): boolean;
12
- export function isEq(value: number, expected: number): boolean;
12
+ export function isEqual(value: number, expected: number): boolean;
13
13
  //# sourceMappingURL=number.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../src/util/number.js"],"names":[],"mappings":"AAKO,6BAHI,MAAM,GACJ,MAAM,CAEkC;AAQ9C,kCAJI,MAAM,OACN,MAAM,GACJ,MAAM,CAEwE;AAOpF,yCAHI,MAAM,GAAG,MAAM,GACb,MAAM,CAYlB;AAQM,gCAJI,MAAM,MACN,MAAM,GACJ,MAAM,CAE0D;AAQtE,4BAJI,MAAM,KACN,MAAM,GACJ,MAAM,CAKlB;AAQM,4BAJI,MAAM,KACN,MAAM,GACJ,MAAM,CAKlB;AASM,4BALI,MAAM,OACN,MAAM,GACJ,OAAO,CAG2B;AASxC,gCALI,MAAM,OACN,MAAM,GACJ,OAAO,CAGgC;AAS7C,4BALI,MAAM,OACN,MAAM,GACJ,OAAO,CAG2B;AASxC,gCALI,MAAM,OACN,MAAM,GACJ,OAAO,CAGgC;AAU7C,iCANI,MAAM,OACN,MAAM,OACN,MAAM,GACJ,OAAO,CAGsD;AASnE,4BALI,MAAM,YACN,MAAM,GACJ,OAAO,CAGuC"}
1
+ {"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../src/util/number.js"],"names":[],"mappings":"AAKO,6BAHI,MAAM,GACJ,MAAM,CAEkC;AAQ9C,kCAJI,MAAM,OACN,MAAM,GACJ,MAAM,CAEwE;AAOpF,yCAHI,MAAM,GAAG,MAAM,GACb,MAAM,CAYlB;AAQM,gCAJI,MAAM,MACN,MAAM,GACJ,MAAM,CAE0D;AAQtE,4BAJI,MAAM,KACN,MAAM,GACJ,MAAM,CAKlB;AAQM,4BAJI,MAAM,KACN,MAAM,GACJ,MAAM,CAKlB;AASM,iCALI,MAAM,OACN,MAAM,GACJ,OAAO,CAGgC;AAS7C,wCALI,MAAM,OACN,MAAM,GACJ,OAAO,CAGwC;AASrD,8BALI,MAAM,OACN,MAAM,GACJ,OAAO,CAG6B;AAS1C,qCALI,MAAM,OACN,MAAM,GACJ,OAAO,CAGqC;AAUlD,iCANI,MAAM,OACN,MAAM,OACN,MAAM,GACJ,OAAO,CAGsD;AASnE,+BALI,MAAM,YACN,MAAM,GACJ,OAAO,CAG0C"}
@@ -1 +1 @@
1
- {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/util/object.js"],"names":[],"mappings":"AAIO,oCAFI,MAAM,QAUhB;AAQM,kCAJI,MAAM,UACN,MAAM,GACJ,MAAM,CAuBlB;AAQM,wCAJI,MAAM,EAAE,QACR,MAAM,GACJ,MAAM,CAEgG;AAO5G,uCAJI,MAAM,QACN,MAAM,GACJ,MAAM,GAAG,IAAI,CAezB;AASM,uCALI,MAAM,QACN,MAAM,SACN,MAAM,GAAG,IAAI,GAAG,SAAS,QAqBnC"}
1
+ {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/util/object.js"],"names":[],"mappings":"AAMO,oCAFI,MAAM,QAUhB;AAQM,kCAJI,MAAM,UACN,MAAM,GACJ,MAAM,CAwBlB;AAQM,wCAJI,MAAM,EAAE,QACR,MAAM,GACJ,MAAM,CAEgG;AAO5G,uCAJI,MAAM,QACN,MAAM,GACJ,MAAM,GAAG,IAAI,CAezB;AASM,uCALI,MAAM,QACN,MAAM,SACN,MAAM,GAAG,IAAI,GAAG,SAAS,QAqBnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/util/validate.js"],"names":[],"mappings":"AAUO,iCAHI,OAAO,GACL,KAAK,IAAI,OAAO,CAEiC;AAOvD,kCAHI,OAAO,GACL,KAAK,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAEmB;AAOzD,gCAHI,OAAO,GACL,KAAK,IAAI,MAAM,CAE0D;AAO/E,wCAHI,OAAO,GACL,KAAK,IAAI,MAAM,CAE2C;AAOhE,2CAHI,OAAO,GACL,KAAK,IAAI,MAAM,CAE+C;AAOpE,iCAHI,OAAO,GACL,KAAK,IAAI,MAAM,CAEkD;AAOvE,yCAHI,OAAO,GACL,KAAK,IAAI,MAAM,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