@bigbinary/neeto-commons-frontend 4.13.95 → 4.13.97

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 (83) hide show
  1. package/configs/esbuild/index.js +4 -0
  2. package/configs/esbuild/plugins/packageTranslations.js +16 -0
  3. package/configs/esbuild/plugins/preval.js +16 -6
  4. package/configs/esbuild/plugins/reactGiphy.js +1 -0
  5. package/configs/scripts/buildTranslationImports.js +21 -0
  6. package/configs/scripts/getEnglishTranslation.js +11 -0
  7. package/configs/utils/packageTranslations.js +90 -0
  8. package/configs/vite/index.js +5 -0
  9. package/configs/vite/plugins/packageTranslations.js +14 -0
  10. package/configs/vite/plugins/preval.js +17 -11
  11. package/dist/cjs/initializers/i18n.js +120 -183
  12. package/dist/cjs/initializers/i18n.js.map +1 -1
  13. package/dist/cjs/initializers/index.js +43 -19
  14. package/dist/cjs/initializers/index.js.map +1 -1
  15. package/dist/cjs/{lodash-yQg9l0eZ.js → lodash-CAzW54WT.js} +44 -5
  16. package/dist/cjs/lodash-CAzW54WT.js.map +1 -0
  17. package/dist/cjs/react-utils/index.js +1 -1
  18. package/dist/cjs/react-utils/mount/mount.js +68 -69
  19. package/dist/cjs/react-utils/mount/mount.js.map +1 -1
  20. package/dist/cjs/react-utils/useLocalStorage/index.js +1 -1
  21. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  22. package/dist/cjs/utils/captureAnalyticsEvent.js +1 -1
  23. package/dist/cjs/utils/captureAnalyticsPageView.js +1 -1
  24. package/dist/cjs/utils/index.js +1 -1
  25. package/dist/cjs/utils/timezonePlugin.js +2 -0
  26. package/dist/cjs/utils/timezonePlugin.js.map +1 -1
  27. package/dist/initializers/i18n.js +120 -183
  28. package/dist/initializers/i18n.js.map +1 -1
  29. package/dist/initializers/index.js +43 -19
  30. package/dist/initializers/index.js.map +1 -1
  31. package/dist/{lodash-M8VRFvKw.js → lodash-BE1wh9Io.js} +44 -5
  32. package/dist/lodash-BE1wh9Io.js.map +1 -0
  33. package/dist/react-utils/index.js +1 -1
  34. package/dist/react-utils/mount/mount.js +68 -69
  35. package/dist/react-utils/mount/mount.js.map +1 -1
  36. package/dist/react-utils/useLocalStorage/index.js +1 -1
  37. package/dist/react-utils/useLocalStorage/useLocalStorage.js +1 -1
  38. package/dist/utils/captureAnalyticsEvent.js +1 -1
  39. package/dist/utils/captureAnalyticsPageView.js +1 -1
  40. package/dist/utils/index.js +1 -1
  41. package/dist/utils/timezonePlugin.js +2 -0
  42. package/dist/utils/timezonePlugin.js.map +1 -1
  43. package/initializers.d.ts +1 -1
  44. package/package.json +6 -4
  45. package/react-utils.d.ts +3 -3
  46. package/src/translations/ar.json +111 -0
  47. package/src/translations/bg.json +111 -0
  48. package/src/translations/ca.json +111 -0
  49. package/src/translations/cs.json +111 -0
  50. package/src/translations/da.json +111 -0
  51. package/src/translations/de.json +111 -0
  52. package/src/translations/en.json +111 -0
  53. package/src/translations/es-MX.json +111 -0
  54. package/src/translations/es.json +111 -0
  55. package/src/translations/et.json +111 -0
  56. package/src/translations/fi.json +111 -0
  57. package/src/translations/fil.json +111 -0
  58. package/src/translations/fr.json +111 -0
  59. package/src/translations/he.json +111 -0
  60. package/src/translations/hi.json +111 -0
  61. package/src/translations/hr.json +111 -0
  62. package/src/translations/id.json +111 -0
  63. package/src/translations/it.json +111 -0
  64. package/src/translations/ja.json +111 -0
  65. package/src/translations/ko.json +111 -0
  66. package/src/translations/nl.json +111 -0
  67. package/src/translations/pl.json +111 -0
  68. package/src/translations/pt-BR.json +111 -0
  69. package/src/translations/pt.json +111 -0
  70. package/src/translations/ro.json +111 -0
  71. package/src/translations/ru.json +111 -0
  72. package/src/translations/sk.json +111 -0
  73. package/src/translations/sl.json +111 -0
  74. package/src/translations/sv.json +111 -0
  75. package/src/translations/th.json +111 -0
  76. package/src/translations/tr.json +111 -0
  77. package/src/translations/uk.json +111 -0
  78. package/src/translations/vi.json +111 -0
  79. package/src/translations/zh-CN.json +111 -0
  80. package/src/translations/zh-TW.json +111 -0
  81. package/configs/scripts/getPkgTranslations.js +0 -45
  82. package/dist/cjs/lodash-yQg9l0eZ.js.map +0 -1
  83. package/dist/lodash-M8VRFvKw.js.map +0 -1
@@ -19,7 +19,7 @@ lodash.exports;
19
19
  var undefined$1;
20
20
 
21
21
  /** Used as the semantic version number. */
22
- var VERSION = '4.17.21';
22
+ var VERSION = '4.17.23';
23
23
 
24
24
  /** Used as the size to enable large array optimizations. */
25
25
  var LARGE_ARRAY_SIZE = 200;
@@ -3773,7 +3773,7 @@ lodash.exports;
3773
3773
  if (isArray(iteratee)) {
3774
3774
  return function(value) {
3775
3775
  return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
3776
- }
3776
+ };
3777
3777
  }
3778
3778
  return iteratee;
3779
3779
  });
@@ -4377,8 +4377,47 @@ lodash.exports;
4377
4377
  */
4378
4378
  function baseUnset(object, path) {
4379
4379
  path = castPath(path, object);
4380
- object = parent(object, path);
4381
- return object == null || delete object[toKey(last(path))];
4380
+
4381
+ // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4382
+ var index = -1,
4383
+ length = path.length;
4384
+
4385
+ if (!length) {
4386
+ return true;
4387
+ }
4388
+
4389
+ var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
4390
+
4391
+ while (++index < length) {
4392
+ var key = path[index];
4393
+
4394
+ // skip non-string keys (e.g., Symbols, numbers)
4395
+ if (typeof key !== 'string') {
4396
+ continue;
4397
+ }
4398
+
4399
+ // Always block "__proto__" anywhere in the path if it's not expected
4400
+ if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
4401
+ return false;
4402
+ }
4403
+
4404
+ // Block "constructor.prototype" chains
4405
+ if (key === 'constructor' &&
4406
+ (index + 1) < length &&
4407
+ typeof path[index + 1] === 'string' &&
4408
+ path[index + 1] === 'prototype') {
4409
+
4410
+ // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
4411
+ if (isRootPrimitive && index === 0) {
4412
+ continue;
4413
+ }
4414
+
4415
+ return false;
4416
+ }
4417
+ }
4418
+
4419
+ var obj = parent(object, path);
4420
+ return obj == null || delete obj[toKey(last(path))];
4382
4421
  }
4383
4422
 
4384
4423
  /**
@@ -17205,4 +17244,4 @@ lodash.exports;
17205
17244
  var lodashExports = lodash.exports;
17206
17245
 
17207
17246
  export { lodashExports as l };
17208
- //# sourceMappingURL=lodash-M8VRFvKw.js.map
17247
+ //# sourceMappingURL=lodash-BE1wh9Io.js.map