@digipair/skill-llm 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.cjs2.js +2 -1
- package/index.esm2.js +7 -6
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
@@ -27422,7 +27422,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27422
27422
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
27423
27423
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
27424
27424
|
}
|
27425
|
-
const
|
27425
|
+
const config = context.config || {};
|
27426
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
27426
27427
|
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`));
|
27427
27428
|
const pins = library == null ? void 0 : library[settings.element];
|
27428
27429
|
if (!pins) {
|
package/index.esm2.js
CHANGED
@@ -23489,14 +23489,14 @@ function indent(str, spaces) {
|
|
23489
23489
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23490
23490
|
// match is required
|
23491
23491
|
if (!match) {
|
23492
|
-
return
|
23492
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
23493
23493
|
v: nextMatch1
|
23494
23494
|
};
|
23495
23495
|
}
|
23496
23496
|
var token = match.token, offset = match.offset;
|
23497
23497
|
i1 += offset;
|
23498
23498
|
if (token === " ") {
|
23499
|
-
return
|
23499
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23500
23500
|
}
|
23501
23501
|
tokens1 = _to_consumable_array$y(tokens1).concat([
|
23502
23502
|
token
|
@@ -23515,7 +23515,7 @@ function indent(str, spaces) {
|
|
23515
23515
|
if (contextKeys.some(function(el) {
|
23516
23516
|
return el.startsWith(name);
|
23517
23517
|
})) {
|
23518
|
-
return
|
23518
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23519
23519
|
}
|
23520
23520
|
if (dateTimeIdentifiers.some(function(el) {
|
23521
23521
|
return el === name;
|
@@ -23534,9 +23534,9 @@ function indent(str, spaces) {
|
|
23534
23534
|
if (dateTimeIdentifiers.some(function(el) {
|
23535
23535
|
return el.startsWith(name);
|
23536
23536
|
})) {
|
23537
|
-
return
|
23537
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
23538
23538
|
}
|
23539
|
-
return
|
23539
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
23540
23540
|
v: nextMatch1
|
23541
23541
|
};
|
23542
23542
|
};
|
@@ -27402,7 +27402,8 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27402
27402
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
27403
27403
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
27404
27404
|
}
|
27405
|
-
const
|
27405
|
+
const config = context.config || {};
|
27406
|
+
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
27406
27407
|
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`));
|
27407
27408
|
const pins = library == null ? void 0 : library[settings.element];
|
27408
27409
|
if (!pins) {
|