@wix/bex-utils 2.94.0 → 2.96.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.
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.53.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.52.0...@wix/bex-bundled-mini-essentials@2.53.0) (2026-04-28)
7
+
8
+ **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
9
+
10
+ # [2.52.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.51.0...@wix/bex-bundled-mini-essentials@2.52.0) (2026-04-28)
11
+
12
+ **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
13
+
6
14
  # [2.51.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.50.0...@wix/bex-bundled-mini-essentials@2.51.0) (2026-04-20)
7
15
 
8
16
  **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
@@ -39,9 +39,9 @@ var require_lodash = __commonJS({
39
39
  "use strict";
40
40
  (function() {
41
41
  var undefined2;
42
- var VERSION = "4.17.23";
42
+ var VERSION = "4.18.1";
43
43
  var LARGE_ARRAY_SIZE = 200;
44
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
44
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "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`";
45
45
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
46
46
  var MAX_MEMOIZE_SIZE = 500;
47
47
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -1971,19 +1971,12 @@ var require_lodash = __commonJS({
1971
1971
  if (!length) {
1972
1972
  return true;
1973
1973
  }
1974
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
1975
1974
  while (++index < length) {
1976
- var key = path[index];
1977
- if (typeof key !== "string") {
1978
- continue;
1979
- }
1975
+ var key = toKey(path[index]);
1980
1976
  if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
1981
1977
  return false;
1982
1978
  }
1983
- if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
1984
- if (isRootPrimitive && index === 0) {
1985
- continue;
1986
- }
1979
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
1987
1980
  return false;
1988
1981
  }
1989
1982
  }
@@ -3315,7 +3308,7 @@ var require_lodash = __commonJS({
3315
3308
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
3316
3309
  while (++index < length) {
3317
3310
  var pair = pairs[index];
3318
- result2[pair[0]] = pair[1];
3311
+ baseAssignValue(result2, pair[0], pair[1]);
3319
3312
  }
3320
3313
  return result2;
3321
3314
  }
@@ -4699,8 +4692,13 @@ var require_lodash = __commonJS({
4699
4692
  options = undefined2;
4700
4693
  }
4701
4694
  string = toString(string);
4702
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
4703
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4695
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
4696
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4697
+ arrayEach(importsKeys, function(key) {
4698
+ if (reForbiddenIdentifierChars.test(key)) {
4699
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4700
+ }
4701
+ });
4704
4702
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
4705
4703
  var reDelimiters = RegExp2(
4706
4704
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",