@inditextech/weave-sdk 3.9.0 → 3.9.1

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/dist/sdk.js CHANGED
@@ -32,13 +32,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  }) : target, mod));
33
33
 
34
34
  //#endregion
35
- //#region node_modules/emittery/maps.js
35
+ //#region ../../node_modules/emittery/maps.js
36
36
  const anyMap = new WeakMap();
37
37
  const eventsMap = new WeakMap();
38
38
  const producersMap = new WeakMap();
39
39
 
40
40
  //#endregion
41
- //#region node_modules/emittery/index.js
41
+ //#region ../../node_modules/emittery/index.js
42
42
  const anyProducer = Symbol("anyProducer");
43
43
  const resolvedPromise = Promise.resolve();
44
44
  const listenerAdded = Symbol("listenerAdded");
@@ -442,11 +442,11 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
442
442
  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
443
443
  var undefined$1;
444
444
  /** Used as the semantic version number. */
445
- var VERSION = "4.17.21";
445
+ var VERSION = "4.18.1";
446
446
  /** Used as the size to enable large array optimizations. */
447
447
  var LARGE_ARRAY_SIZE$1 = 200;
448
448
  /** Error message constants. */
449
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT$2 = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
449
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT$2 = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
450
450
  /** Used to stand-in for `undefined` hash values. */
451
451
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
452
452
  /** Used as the maximum memoize cache size. */
@@ -1886,6 +1886,10 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
1886
1886
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
1887
1887
  * following template settings to use alternative delimiters.
1888
1888
  *
1889
+ * **Security:** See
1890
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
1891
+ * — `_.template` is insecure and will be removed in v5.
1892
+ *
1889
1893
  * @static
1890
1894
  * @memberOf _
1891
1895
  * @type {Object}
@@ -2288,7 +2292,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
2288
2292
  * @name has
2289
2293
  * @memberOf SetCache
2290
2294
  * @param {*} value The value to search for.
2291
- * @returns {number} Returns `true` if `value` is found, else `false`.
2295
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2292
2296
  */
2293
2297
  function setCacheHas(value) {
2294
2298
  return this.__data__.has(value);
@@ -3826,8 +3830,15 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
3826
3830
  */
3827
3831
  function baseUnset(object, path) {
3828
3832
  path = castPath(path, object);
3829
- object = parent(object, path);
3830
- return object == null || delete object[toKey(last(path))];
3833
+ var index = -1, length = path.length;
3834
+ if (!length) return true;
3835
+ while (++index < length) {
3836
+ var key = toKey(path[index]);
3837
+ if (key === "__proto__" && !hasOwnProperty$9.call(object, "__proto__")) return false;
3838
+ if ((key === "constructor" || key === "prototype") && index < length - 1) return false;
3839
+ }
3840
+ var obj = parent(object, path);
3841
+ return obj == null || delete obj[toKey(last(path))];
3831
3842
  }
3832
3843
  /**
3833
3844
  * The base implementation of `_.update`.
@@ -5731,7 +5742,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
5731
5742
  }
5732
5743
  /**
5733
5744
  * Creates an array with all falsey values removed. The values `false`, `null`,
5734
- * `0`, `""`, `undefined`, and `NaN` are falsey.
5745
+ * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
5735
5746
  *
5736
5747
  * @static
5737
5748
  * @memberOf _
@@ -6209,7 +6220,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
6209
6220
  var index = -1, length = pairs == null ? 0 : pairs.length, result$1 = {};
6210
6221
  while (++index < length) {
6211
6222
  var pair = pairs[index];
6212
- result$1[pair[0]] = pair[1];
6223
+ baseAssignValue$4(result$1, pair[0], pair[1]);
6213
6224
  }
6214
6225
  return result$1;
6215
6226
  }
@@ -12312,6 +12323,8 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12312
12323
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
12313
12324
  * floating-point values which can produce unexpected results.
12314
12325
  *
12326
+ * **Note:** If `lower` is greater than `upper`, the values are swapped.
12327
+ *
12315
12328
  * @static
12316
12329
  * @memberOf _
12317
12330
  * @since 0.7.0
@@ -12325,9 +12338,16 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12325
12338
  * _.random(0, 5);
12326
12339
  * // => an integer between 0 and 5
12327
12340
  *
12341
+ * // when lower is greater than upper the values are swapped
12342
+ * _.random(5, 0);
12343
+ * // => an integer between 0 and 5
12344
+ *
12328
12345
  * _.random(5);
12329
12346
  * // => also an integer between 0 and 5
12330
12347
  *
12348
+ * _.random(-5);
12349
+ * // => an integer between -5 and 0
12350
+ *
12331
12351
  * _.random(5, true);
12332
12352
  * // => a floating-point number between 0 and 5
12333
12353
  *
@@ -12860,6 +12880,10 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12860
12880
  * properties may be accessed as free variables in the template. If a setting
12861
12881
  * object is given, it takes precedence over `_.templateSettings` values.
12862
12882
  *
12883
+ * **Security:** `_.template` is insecure and should not be used. It will be
12884
+ * removed in Lodash v5. Avoid untrusted input. See
12885
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
12886
+ *
12863
12887
  * **Note:** In the development build `_.template` utilizes
12864
12888
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
12865
12889
  * for easier debugging.
@@ -12961,8 +12985,11 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12961
12985
  var settings = lodash.templateSettings;
12962
12986
  if (guard && isIterateeCall$2(string, options, guard)) options = undefined$1;
12963
12987
  string = toString(string);
12964
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
12965
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
12988
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
12989
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
12990
+ arrayEach(importsKeys, function(key) {
12991
+ if (reForbiddenIdentifierChars.test(key)) throw new Error$1(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
12992
+ });
12966
12993
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
12967
12994
  var reDelimiters = RegExp$1((options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$", "g");
12968
12995
  var sourceURL = "//# sourceURL=" + (hasOwnProperty$9.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
@@ -22014,7 +22041,7 @@ var WeaveRegisterManager = class {
22014
22041
 
22015
22042
  //#endregion
22016
22043
  //#region package.json
22017
- var version = "3.9.0";
22044
+ var version = "3.9.1";
22018
22045
 
22019
22046
  //#endregion
22020
22047
  //#region src/managers/setup.ts
package/dist/sdk.node.js CHANGED
@@ -32,13 +32,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  }) : target, mod));
33
33
 
34
34
  //#endregion
35
- //#region node_modules/emittery/maps.js
35
+ //#region ../../node_modules/emittery/maps.js
36
36
  const anyMap = new WeakMap();
37
37
  const eventsMap = new WeakMap();
38
38
  const producersMap = new WeakMap();
39
39
 
40
40
  //#endregion
41
- //#region node_modules/emittery/index.js
41
+ //#region ../../node_modules/emittery/index.js
42
42
  const anyProducer = Symbol("anyProducer");
43
43
  const resolvedPromise = Promise.resolve();
44
44
  const listenerAdded = Symbol("listenerAdded");
@@ -441,11 +441,11 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
441
441
  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
442
442
  var undefined$1;
443
443
  /** Used as the semantic version number. */
444
- var VERSION = "4.17.21";
444
+ var VERSION = "4.18.1";
445
445
  /** Used as the size to enable large array optimizations. */
446
446
  var LARGE_ARRAY_SIZE$1 = 200;
447
447
  /** Error message constants. */
448
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT$2 = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
448
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT$2 = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
449
449
  /** Used to stand-in for `undefined` hash values. */
450
450
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
451
451
  /** Used as the maximum memoize cache size. */
@@ -1885,6 +1885,10 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
1885
1885
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
1886
1886
  * following template settings to use alternative delimiters.
1887
1887
  *
1888
+ * **Security:** See
1889
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
1890
+ * — `_.template` is insecure and will be removed in v5.
1891
+ *
1888
1892
  * @static
1889
1893
  * @memberOf _
1890
1894
  * @type {Object}
@@ -2287,7 +2291,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
2287
2291
  * @name has
2288
2292
  * @memberOf SetCache
2289
2293
  * @param {*} value The value to search for.
2290
- * @returns {number} Returns `true` if `value` is found, else `false`.
2294
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2291
2295
  */
2292
2296
  function setCacheHas(value) {
2293
2297
  return this.__data__.has(value);
@@ -3825,8 +3829,15 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
3825
3829
  */
3826
3830
  function baseUnset(object, path) {
3827
3831
  path = castPath(path, object);
3828
- object = parent(object, path);
3829
- return object == null || delete object[toKey(last(path))];
3832
+ var index = -1, length = path.length;
3833
+ if (!length) return true;
3834
+ while (++index < length) {
3835
+ var key = toKey(path[index]);
3836
+ if (key === "__proto__" && !hasOwnProperty$9.call(object, "__proto__")) return false;
3837
+ if ((key === "constructor" || key === "prototype") && index < length - 1) return false;
3838
+ }
3839
+ var obj = parent(object, path);
3840
+ return obj == null || delete obj[toKey(last(path))];
3830
3841
  }
3831
3842
  /**
3832
3843
  * The base implementation of `_.update`.
@@ -5730,7 +5741,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
5730
5741
  }
5731
5742
  /**
5732
5743
  * Creates an array with all falsey values removed. The values `false`, `null`,
5733
- * `0`, `""`, `undefined`, and `NaN` are falsey.
5744
+ * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
5734
5745
  *
5735
5746
  * @static
5736
5747
  * @memberOf _
@@ -6208,7 +6219,7 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
6208
6219
  var index = -1, length = pairs == null ? 0 : pairs.length, result$1 = {};
6209
6220
  while (++index < length) {
6210
6221
  var pair = pairs[index];
6211
- result$1[pair[0]] = pair[1];
6222
+ baseAssignValue$4(result$1, pair[0], pair[1]);
6212
6223
  }
6213
6224
  return result$1;
6214
6225
  }
@@ -12311,6 +12322,8 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12311
12322
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
12312
12323
  * floating-point values which can produce unexpected results.
12313
12324
  *
12325
+ * **Note:** If `lower` is greater than `upper`, the values are swapped.
12326
+ *
12314
12327
  * @static
12315
12328
  * @memberOf _
12316
12329
  * @since 0.7.0
@@ -12324,9 +12337,16 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12324
12337
  * _.random(0, 5);
12325
12338
  * // => an integer between 0 and 5
12326
12339
  *
12340
+ * // when lower is greater than upper the values are swapped
12341
+ * _.random(5, 0);
12342
+ * // => an integer between 0 and 5
12343
+ *
12327
12344
  * _.random(5);
12328
12345
  * // => also an integer between 0 and 5
12329
12346
  *
12347
+ * _.random(-5);
12348
+ * // => an integer between -5 and 0
12349
+ *
12330
12350
  * _.random(5, true);
12331
12351
  * // => a floating-point number between 0 and 5
12332
12352
  *
@@ -12859,6 +12879,10 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12859
12879
  * properties may be accessed as free variables in the template. If a setting
12860
12880
  * object is given, it takes precedence over `_.templateSettings` values.
12861
12881
  *
12882
+ * **Security:** `_.template` is insecure and should not be used. It will be
12883
+ * removed in Lodash v5. Avoid untrusted input. See
12884
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
12885
+ *
12862
12886
  * **Note:** In the development build `_.template` utilizes
12863
12887
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
12864
12888
  * for easier debugging.
@@ -12960,8 +12984,11 @@ var require_lodash = __commonJS({ "../../node_modules/lodash/lodash.js"(exports,
12960
12984
  var settings = lodash.templateSettings;
12961
12985
  if (guard && isIterateeCall$2(string, options, guard)) options = undefined$1;
12962
12986
  string = toString(string);
12963
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
12964
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
12987
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
12988
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
12989
+ arrayEach(importsKeys, function(key) {
12990
+ if (reForbiddenIdentifierChars.test(key)) throw new Error$1(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
12991
+ });
12965
12992
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
12966
12993
  var reDelimiters = RegExp$1((options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$", "g");
12967
12994
  var sourceURL = "//# sourceURL=" + (hasOwnProperty$9.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
@@ -22013,7 +22040,7 @@ var WeaveRegisterManager = class {
22013
22040
 
22014
22041
  //#endregion
22015
22042
  //#region package.json
22016
- var version = "3.9.0";
22043
+ var version = "3.9.1";
22017
22044
 
22018
22045
  //#endregion
22019
22046
  //#region src/managers/setup.ts