@digipair/skill-canvas 0.31.3 → 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 +7 -6
- package/index.esm.js +7 -6
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -23513,14 +23513,14 @@ function indent(str, spaces) {
|
|
23513
23513
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23514
23514
|
// match is required
|
23515
23515
|
if (!match) {
|
23516
|
-
return
|
23516
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23517
23517
|
v: nextMatch1
|
23518
23518
|
};
|
23519
23519
|
}
|
23520
23520
|
var token = match.token, offset = match.offset;
|
23521
23521
|
i1 += offset;
|
23522
23522
|
if (token === " ") {
|
23523
|
-
return
|
23523
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23524
23524
|
}
|
23525
23525
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23526
23526
|
token
|
@@ -23539,7 +23539,7 @@ function indent(str, spaces) {
|
|
23539
23539
|
if (contextKeys.some(function(el) {
|
23540
23540
|
return el.startsWith(name);
|
23541
23541
|
})) {
|
23542
|
-
return
|
23542
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23543
23543
|
}
|
23544
23544
|
if (dateTimeIdentifiers.some(function(el) {
|
23545
23545
|
return el === name;
|
@@ -23558,9 +23558,9 @@ function indent(str, spaces) {
|
|
23558
23558
|
if (dateTimeIdentifiers.some(function(el) {
|
23559
23559
|
return el.startsWith(name);
|
23560
23560
|
})) {
|
23561
|
-
return
|
23561
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23562
23562
|
}
|
23563
|
-
return
|
23563
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23564
23564
|
v: nextMatch1
|
23565
23565
|
};
|
23566
23566
|
};
|
@@ -27426,7 +27426,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27426
27426
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
27427
27427
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
27428
27428
|
}
|
27429
|
-
const
|
27429
|
+
const config = context.config || {};
|
27430
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
27430
27431
|
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`));
|
27431
27432
|
const pins = library == null ? void 0 : library[settings.element];
|
27432
27433
|
if (!pins) {
|
package/index.esm.js
CHANGED
@@ -23491,14 +23491,14 @@ function indent(str, spaces) {
|
|
23491
23491
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23492
23492
|
// match is required
|
23493
23493
|
if (!match) {
|
23494
|
-
return
|
23494
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
23495
23495
|
v: nextMatch1
|
23496
23496
|
};
|
23497
23497
|
}
|
23498
23498
|
var token = match.token, offset = match.offset;
|
23499
23499
|
i1 += offset;
|
23500
23500
|
if (token === " ") {
|
23501
|
-
return
|
23501
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23502
23502
|
}
|
23503
23503
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23504
23504
|
token
|
@@ -23517,7 +23517,7 @@ function indent(str, spaces) {
|
|
23517
23517
|
if (contextKeys.some(function(el) {
|
23518
23518
|
return el.startsWith(name);
|
23519
23519
|
})) {
|
23520
|
-
return
|
23520
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23521
23521
|
}
|
23522
23522
|
if (dateTimeIdentifiers.some(function(el) {
|
23523
23523
|
return el === name;
|
@@ -23536,9 +23536,9 @@ function indent(str, spaces) {
|
|
23536
23536
|
if (dateTimeIdentifiers.some(function(el) {
|
23537
23537
|
return el.startsWith(name);
|
23538
23538
|
})) {
|
23539
|
-
return
|
23539
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23540
23540
|
}
|
23541
|
-
return
|
23541
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
23542
23542
|
v: nextMatch1
|
23543
23543
|
};
|
23544
23544
|
};
|
@@ -27404,7 +27404,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27404
27404
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
27405
27405
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
27406
27406
|
}
|
27407
|
-
const
|
27407
|
+
const config = context.config || {};
|
27408
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
27408
27409
|
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`));
|
27409
27410
|
const pins = library == null ? void 0 : library[settings.element];
|
27410
27411
|
if (!pins) {
|