@micromag/core 0.3.81 → 0.3.86
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/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -1311,7 +1311,7 @@ var MediasParser = /*#__PURE__*/function () {
|
|
|
1311
1311
|
itemsField = _fieldDefinition$item === void 0 ? null : _fieldDefinition$item,
|
|
1312
1312
|
_fieldDefinition$sett = fieldDefinition.settings,
|
|
1313
1313
|
settings = _fieldDefinition$sett === void 0 ? [] : _fieldDefinition$sett;
|
|
1314
|
-
return [].concat(_toConsumableArray(patterns), _toConsumableArray(MediasParser.fieldIsMedia(fieldDefinition) ? [new RegExp("^".concat(path, "$"))] : []), _toConsumableArray(MediasParser.fieldIsFontFamily(fieldDefinition) ? [new RegExp("^".concat(path, "\\.media$"))] : []), _toConsumableArray(_this2.getMediaFieldsPattern(subFields, path)), _toConsumableArray(_this2.getMediaFieldsPattern(settings, path)), _toConsumableArray(itemsField !== null ? _this2.getMediaFieldsPattern([itemsField], "".concat(path, "\\.[0-9]+")) : []));
|
|
1314
|
+
return [].concat(_toConsumableArray(patterns), _toConsumableArray(MediasParser.fieldIsMedia(fieldDefinition) ? [new RegExp("^".concat(path, "$"))] : []), _toConsumableArray(MediasParser.fieldIsFontFamily(fieldDefinition) ? [new RegExp("^".concat(path, "\\.media$")), new RegExp("^".concat(path, "\\.variants\\.[0-9]+\\.media$"))] : []), _toConsumableArray(_this2.getMediaFieldsPattern(subFields, path)), _toConsumableArray(_this2.getMediaFieldsPattern(settings, path)), _toConsumableArray(itemsField !== null ? _this2.getMediaFieldsPattern([itemsField], "".concat(path, "\\.[0-9]+")) : []));
|
|
1315
1315
|
}, []);
|
|
1316
1316
|
}
|
|
1317
1317
|
}], [{
|
package/lib/index.js
CHANGED
|
@@ -1338,7 +1338,7 @@ var MediasParser = /*#__PURE__*/function () {
|
|
|
1338
1338
|
itemsField = _fieldDefinition$item === void 0 ? null : _fieldDefinition$item,
|
|
1339
1339
|
_fieldDefinition$sett = fieldDefinition.settings,
|
|
1340
1340
|
settings = _fieldDefinition$sett === void 0 ? [] : _fieldDefinition$sett;
|
|
1341
|
-
return [].concat(_toConsumableArray__default["default"](patterns), _toConsumableArray__default["default"](MediasParser.fieldIsMedia(fieldDefinition) ? [new RegExp("^".concat(path, "$"))] : []), _toConsumableArray__default["default"](MediasParser.fieldIsFontFamily(fieldDefinition) ? [new RegExp("^".concat(path, "\\.media$"))] : []), _toConsumableArray__default["default"](_this2.getMediaFieldsPattern(subFields, path)), _toConsumableArray__default["default"](_this2.getMediaFieldsPattern(settings, path)), _toConsumableArray__default["default"](itemsField !== null ? _this2.getMediaFieldsPattern([itemsField], "".concat(path, "\\.[0-9]+")) : []));
|
|
1341
|
+
return [].concat(_toConsumableArray__default["default"](patterns), _toConsumableArray__default["default"](MediasParser.fieldIsMedia(fieldDefinition) ? [new RegExp("^".concat(path, "$"))] : []), _toConsumableArray__default["default"](MediasParser.fieldIsFontFamily(fieldDefinition) ? [new RegExp("^".concat(path, "\\.media$")), new RegExp("^".concat(path, "\\.variants\\.[0-9]+\\.media$"))] : []), _toConsumableArray__default["default"](_this2.getMediaFieldsPattern(subFields, path)), _toConsumableArray__default["default"](_this2.getMediaFieldsPattern(settings, path)), _toConsumableArray__default["default"](itemsField !== null ? _this2.getMediaFieldsPattern([itemsField], "".concat(path, "\\.[0-9]+")) : []));
|
|
1342
1342
|
}, []);
|
|
1343
1343
|
}
|
|
1344
1344
|
}], [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.86",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"publishConfig": {
|
|
133
133
|
"access": "public"
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "063af274982885b7696d265e6567ab8d44c8b9ad"
|
|
136
136
|
}
|