@wix/patterns-fields-utils 1.13.0 → 1.14.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,10 @@
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
+ # [1.13.0](https://github.com/wix-private/cairo/compare/@wix/patterns-fields-bundled-cm-media-utils@1.12.0...@wix/patterns-fields-bundled-cm-media-utils@1.13.0) (2026-04-28)
7
+
8
+ **Note:** Version bump only for package @wix/patterns-fields-bundled-cm-media-utils
9
+
6
10
  # [1.12.0](https://github.com/wix-private/cairo/compare/@wix/patterns-fields-bundled-cm-media-utils@1.11.0...@wix/patterns-fields-bundled-cm-media-utils@1.12.0) (2026-04-28)
7
11
 
8
12
  **Note:** Version bump only for package @wix/patterns-fields-bundled-cm-media-utils
@@ -46,9 +46,9 @@ var require_lodash = __commonJS({
46
46
  init_define_process_env();
47
47
  (function() {
48
48
  var undefined2;
49
- var VERSION = "4.17.23";
49
+ var VERSION = "4.18.1";
50
50
  var LARGE_ARRAY_SIZE = 200;
51
- 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`";
51
+ 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`";
52
52
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
53
53
  var MAX_MEMOIZE_SIZE = 500;
54
54
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -1978,19 +1978,12 @@ var require_lodash = __commonJS({
1978
1978
  if (!length) {
1979
1979
  return true;
1980
1980
  }
1981
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
1982
1981
  while (++index < length) {
1983
- var key = path[index];
1984
- if (typeof key !== "string") {
1985
- continue;
1986
- }
1982
+ var key = toKey(path[index]);
1987
1983
  if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
1988
1984
  return false;
1989
1985
  }
1990
- if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
1991
- if (isRootPrimitive && index === 0) {
1992
- continue;
1993
- }
1986
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
1994
1987
  return false;
1995
1988
  }
1996
1989
  }
@@ -3322,7 +3315,7 @@ var require_lodash = __commonJS({
3322
3315
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
3323
3316
  while (++index < length) {
3324
3317
  var pair = pairs[index];
3325
- result2[pair[0]] = pair[1];
3318
+ baseAssignValue(result2, pair[0], pair[1]);
3326
3319
  }
3327
3320
  return result2;
3328
3321
  }
@@ -4706,8 +4699,13 @@ var require_lodash = __commonJS({
4706
4699
  options = undefined2;
4707
4700
  }
4708
4701
  string = toString(string);
4709
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
4710
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4702
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
4703
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4704
+ arrayEach(importsKeys, function(key) {
4705
+ if (reForbiddenIdentifierChars.test(key)) {
4706
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4707
+ }
4708
+ });
4711
4709
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
4712
4710
  var reDelimiters = RegExp2(
4713
4711
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",