@bigbinary/neeto-commons-frontend 4.13.123 → 4.13.125

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.
Files changed (45) hide show
  1. package/configs/utils.js +19 -0
  2. package/dist/.ready +1 -1
  3. package/dist/cjs/{lodash-D5cnLa2T.js → lodash-Dn9Lp_19.js} +39 -28
  4. package/dist/cjs/lodash-Dn9Lp_19.js.map +1 -0
  5. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  6. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  7. package/dist/cjs/react-utils/index.js +1 -1
  8. package/dist/cjs/react-utils/useLocalStorage/index.js +1 -1
  9. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  10. package/dist/cjs/utils/captureAnalyticsEvent.js +1 -1
  11. package/dist/cjs/utils/captureAnalyticsPageView.js +1 -1
  12. package/dist/cjs/utils/index.js +1 -1
  13. package/dist/cjs/v2/initializers/axiosInitializer/index.js +4 -10
  14. package/dist/cjs/v2/initializers/axiosInitializer/index.js.map +1 -1
  15. package/dist/cjs/v2/react-utils/index.js +1 -1
  16. package/dist/cjs/v2/react-utils/useLocalStorage/index.js +1 -1
  17. package/dist/cjs/v2/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  18. package/dist/cjs/v2/utils/captureAnalyticsEvent.js +1 -1
  19. package/dist/cjs/v2/utils/captureAnalyticsPageView.js +1 -1
  20. package/dist/cjs/v2/utils/general.js +3 -7
  21. package/dist/cjs/v2/utils/general.js.map +1 -1
  22. package/dist/cjs/v2/utils/index.js +1 -1
  23. package/dist/{lodash-DUiF2pG-.js → lodash-BmsmkciF.js} +39 -28
  24. package/dist/lodash-BmsmkciF.js.map +1 -0
  25. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  26. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  27. package/dist/react-utils/index.js +1 -1
  28. package/dist/react-utils/useLocalStorage/index.js +1 -1
  29. package/dist/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  30. package/dist/utils/captureAnalyticsEvent.js +1 -1
  31. package/dist/utils/captureAnalyticsPageView.js +1 -1
  32. package/dist/utils/index.js +1 -1
  33. package/dist/v2/initializers/axiosInitializer/index.js +4 -10
  34. package/dist/v2/initializers/axiosInitializer/index.js.map +1 -1
  35. package/dist/v2/react-utils/index.js +1 -1
  36. package/dist/v2/react-utils/useLocalStorage/index.js +1 -1
  37. package/dist/v2/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  38. package/dist/v2/utils/captureAnalyticsEvent.js +1 -1
  39. package/dist/v2/utils/captureAnalyticsPageView.js +1 -1
  40. package/dist/v2/utils/general.js +3 -7
  41. package/dist/v2/utils/general.js.map +1 -1
  42. package/dist/v2/utils/index.js +1 -1
  43. package/package.json +3 -3
  44. package/dist/cjs/lodash-D5cnLa2T.js.map +0 -1
  45. package/dist/lodash-DUiF2pG-.js.map +0 -1
package/configs/utils.js CHANGED
@@ -66,6 +66,25 @@ const generateTransformer = (packageName, aliasName) => {
66
66
  transform: `${packageName}/\${member}`,
67
67
  preventFullImport: false,
68
68
  },
69
+ // v2 (neeto-atoms migration)
70
+ [`${packageName}/v2`]: {
71
+ transform: createImportTransformer(`${packageName}/v2`),
72
+ preventFullImport: true,
73
+ skipDefaultConversion: true,
74
+ },
75
+ [`${aliasName}/v2`]: {
76
+ transform: createImportTransformer(`${aliasName}/v2`),
77
+ preventFullImport: true,
78
+ skipDefaultConversion: true,
79
+ },
80
+ [`${aliasName}/v2/([A-Z][a-zA-Z]+)$`]: {
81
+ transform: `${aliasName}/v2/\${member}`,
82
+ preventFullImport: false,
83
+ },
84
+ [`${packageName}/v2/([A-Z][a-zA-Z]+)$`]: {
85
+ transform: `${packageName}/v2/\${member}`,
86
+ preventFullImport: false,
87
+ },
69
88
  };
70
89
  };
71
90
 
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-04-20T17:17:31.681Z
1
+ Built at 2026-05-05T03:19:32.284Z
@@ -21,7 +21,7 @@ lodash.exports;
21
21
  var undefined$1;
22
22
 
23
23
  /** Used as the semantic version number. */
24
- var VERSION = '4.17.23';
24
+ var VERSION = '4.18.1';
25
25
 
26
26
  /** Used as the size to enable large array optimizations. */
27
27
  var LARGE_ARRAY_SIZE = 200;
@@ -29,7 +29,8 @@ lodash.exports;
29
29
  /** Error message constants. */
30
30
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
31
31
  FUNC_ERROR_TEXT = 'Expected a function',
32
- INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
32
+ INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
33
+ INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
33
34
 
34
35
  /** Used to stand-in for `undefined` hash values. */
35
36
  var HASH_UNDEFINED = '__lodash_hash_undefined__';
@@ -1761,6 +1762,10 @@ lodash.exports;
1761
1762
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
1762
1763
  * following template settings to use alternative delimiters.
1763
1764
  *
1765
+ * **Security:** See
1766
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
1767
+ * — `_.template` is insecure and will be removed in v5.
1768
+ *
1764
1769
  * @static
1765
1770
  * @memberOf _
1766
1771
  * @type {Object}
@@ -2309,7 +2314,7 @@ lodash.exports;
2309
2314
  * @name has
2310
2315
  * @memberOf SetCache
2311
2316
  * @param {*} value The value to search for.
2312
- * @returns {number} Returns `true` if `value` is found, else `false`.
2317
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2313
2318
  */
2314
2319
  function setCacheHas(value) {
2315
2320
  return this.__data__.has(value);
@@ -4380,7 +4385,9 @@ lodash.exports;
4380
4385
  function baseUnset(object, path) {
4381
4386
  path = castPath(path, object);
4382
4387
 
4383
- // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4388
+ // Prevent prototype pollution:
4389
+ // https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4390
+ // https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
4384
4391
  var index = -1,
4385
4392
  length = path.length;
4386
4393
 
@@ -4388,32 +4395,17 @@ lodash.exports;
4388
4395
  return true;
4389
4396
  }
4390
4397
 
4391
- var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
4392
-
4393
4398
  while (++index < length) {
4394
- var key = path[index];
4395
-
4396
- // skip non-string keys (e.g., Symbols, numbers)
4397
- if (typeof key !== 'string') {
4398
- continue;
4399
- }
4399
+ var key = toKey(path[index]);
4400
4400
 
4401
4401
  // Always block "__proto__" anywhere in the path if it's not expected
4402
4402
  if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
4403
4403
  return false;
4404
4404
  }
4405
4405
 
4406
- // Block "constructor.prototype" chains
4407
- if (key === 'constructor' &&
4408
- (index + 1) < length &&
4409
- typeof path[index + 1] === 'string' &&
4410
- path[index + 1] === 'prototype') {
4411
-
4412
- // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
4413
- if (isRootPrimitive && index === 0) {
4414
- continue;
4415
- }
4416
-
4406
+ // Block constructor/prototype as non-terminal traversal keys to prevent
4407
+ // escaping the object graph into built-in constructors and prototypes.
4408
+ if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
4417
4409
  return false;
4418
4410
  }
4419
4411
  }
@@ -6970,7 +6962,7 @@ lodash.exports;
6970
6962
 
6971
6963
  /**
6972
6964
  * Creates an array with all falsey values removed. The values `false`, `null`,
6973
- * `0`, `""`, `undefined`, and `NaN` are falsey.
6965
+ * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
6974
6966
  *
6975
6967
  * @static
6976
6968
  * @memberOf _
@@ -7509,7 +7501,7 @@ lodash.exports;
7509
7501
 
7510
7502
  while (++index < length) {
7511
7503
  var pair = pairs[index];
7512
- result[pair[0]] = pair[1];
7504
+ baseAssignValue(result, pair[0], pair[1]);
7513
7505
  }
7514
7506
  return result;
7515
7507
  }
@@ -14169,6 +14161,8 @@ lodash.exports;
14169
14161
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
14170
14162
  * floating-point values which can produce unexpected results.
14171
14163
  *
14164
+ * **Note:** If `lower` is greater than `upper`, the values are swapped.
14165
+ *
14172
14166
  * @static
14173
14167
  * @memberOf _
14174
14168
  * @since 0.7.0
@@ -14182,9 +14176,16 @@ lodash.exports;
14182
14176
  * _.random(0, 5);
14183
14177
  * // => an integer between 0 and 5
14184
14178
  *
14179
+ * // when lower is greater than upper the values are swapped
14180
+ * _.random(5, 0);
14181
+ * // => an integer between 0 and 5
14182
+ *
14185
14183
  * _.random(5);
14186
14184
  * // => also an integer between 0 and 5
14187
14185
  *
14186
+ * _.random(-5);
14187
+ * // => an integer between -5 and 0
14188
+ *
14188
14189
  * _.random(5, true);
14189
14190
  * // => a floating-point number between 0 and 5
14190
14191
  *
@@ -14786,6 +14787,10 @@ lodash.exports;
14786
14787
  * properties may be accessed as free variables in the template. If a setting
14787
14788
  * object is given, it takes precedence over `_.templateSettings` values.
14788
14789
  *
14790
+ * **Security:** `_.template` is insecure and should not be used. It will be
14791
+ * removed in Lodash v5. Avoid untrusted input. See
14792
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
14793
+ *
14789
14794
  * **Note:** In the development build `_.template` utilizes
14790
14795
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
14791
14796
  * for easier debugging.
@@ -14893,12 +14898,18 @@ lodash.exports;
14893
14898
  options = undefined$1;
14894
14899
  }
14895
14900
  string = toString(string);
14896
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
14901
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
14897
14902
 
14898
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14903
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14899
14904
  importsKeys = keys(imports),
14900
14905
  importsValues = baseValues(imports, importsKeys);
14901
14906
 
14907
+ arrayEach(importsKeys, function(key) {
14908
+ if (reForbiddenIdentifierChars.test(key)) {
14909
+ throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
14910
+ }
14911
+ });
14912
+
14902
14913
  var isEscaping,
14903
14914
  isEvaluating,
14904
14915
  index = 0,
@@ -17246,4 +17257,4 @@ lodash.exports;
17246
17257
  var lodashExports = lodash.exports;
17247
17258
 
17248
17259
  exports.lodashExports = lodashExports;
17249
- //# sourceMappingURL=lodash-D5cnLa2T.js.map
17260
+ //# sourceMappingURL=lodash-Dn9Lp_19.js.map