@digipair/skill-dsp 0.31.4 → 0.32.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.
- package/index.cjs.js +2 -1
- package/index.esm.js +7 -6
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -27438,7 +27438,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27438
27438
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
27439
27439
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
|
27440
27440
|
}
|
|
27441
|
-
const
|
|
27441
|
+
const config = context.config || {};
|
|
27442
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27442
27443
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(isRemoteVersion.test(version) ? `${version}` : `${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
|
27443
27444
|
const pins = library == null ? void 0 : library[settings.element];
|
|
27444
27445
|
if (!pins) {
|
package/index.esm.js
CHANGED
|
@@ -23499,14 +23499,14 @@ function indent(str, spaces) {
|
|
|
23499
23499
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23500
23500
|
// match is required
|
|
23501
23501
|
if (!match) {
|
|
23502
|
-
return
|
|
23502
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
23503
23503
|
v: nextMatch1
|
|
23504
23504
|
};
|
|
23505
23505
|
}
|
|
23506
23506
|
var token = match.token, offset = match.offset;
|
|
23507
23507
|
i1 += offset;
|
|
23508
23508
|
if (token === " ") {
|
|
23509
|
-
return
|
|
23509
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23510
23510
|
}
|
|
23511
23511
|
tokens1 = _to_consumable_array$6(tokens1).concat([
|
|
23512
23512
|
token
|
|
@@ -23525,7 +23525,7 @@ function indent(str, spaces) {
|
|
|
23525
23525
|
if (contextKeys.some(function(el) {
|
|
23526
23526
|
return el.startsWith(name);
|
|
23527
23527
|
})) {
|
|
23528
|
-
return
|
|
23528
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23529
23529
|
}
|
|
23530
23530
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23531
23531
|
return el === name;
|
|
@@ -23544,9 +23544,9 @@ function indent(str, spaces) {
|
|
|
23544
23544
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23545
23545
|
return el.startsWith(name);
|
|
23546
23546
|
})) {
|
|
23547
|
-
return
|
|
23547
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23548
23548
|
}
|
|
23549
|
-
return
|
|
23549
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
23550
23550
|
v: nextMatch1
|
|
23551
23551
|
};
|
|
23552
23552
|
};
|
|
@@ -27412,7 +27412,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27412
27412
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
27413
27413
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
|
27414
27414
|
}
|
|
27415
|
-
const
|
|
27415
|
+
const config = context.config || {};
|
|
27416
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27416
27417
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await import(isRemoteVersion.test(version) ? `${version}` : `${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
|
27417
27418
|
const pins = library == null ? void 0 : library[settings.element];
|
|
27418
27419
|
if (!pins) {
|