@digipair/skill-vespa 0.61.0 → 0.63.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.esm.js +9 -7
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -71940,14 +71940,14 @@ function indent(str, spaces) {
|
|
71940
71940
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
71941
71941
|
// match is required
|
71942
71942
|
if (!match) {
|
71943
|
-
return
|
71943
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
71944
71944
|
v: nextMatch1
|
71945
71945
|
};
|
71946
71946
|
}
|
71947
71947
|
var token = match.token, offset = match.offset;
|
71948
71948
|
i1 += offset;
|
71949
71949
|
if (token === " ") {
|
71950
|
-
return
|
71950
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
71951
71951
|
}
|
71952
71952
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
71953
71953
|
token
|
@@ -71966,7 +71966,7 @@ function indent(str, spaces) {
|
|
71966
71966
|
if (contextKeys.some(function(el) {
|
71967
71967
|
return el.startsWith(name);
|
71968
71968
|
})) {
|
71969
|
-
return
|
71969
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
71970
71970
|
}
|
71971
71971
|
if (dateTimeIdentifiers.some(function(el) {
|
71972
71972
|
return el === name;
|
@@ -71985,9 +71985,9 @@ function indent(str, spaces) {
|
|
71985
71985
|
if (dateTimeIdentifiers.some(function(el) {
|
71986
71986
|
return el.startsWith(name);
|
71987
71987
|
})) {
|
71988
|
-
return
|
71988
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
71989
71989
|
}
|
71990
|
-
return
|
71990
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
71991
71991
|
v: nextMatch1
|
71992
71992
|
};
|
71993
71993
|
};
|
@@ -75898,12 +75898,16 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
75898
75898
|
var _settings_conditions, _settings_conditions1;
|
75899
75899
|
let settings = await preparePinsSettings(settingsOrigin, context);
|
75900
75900
|
const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
|
75901
|
+
const config = context.config || {};
|
75902
|
+
let version = (config.VERSIONS || {})[settings.library] || 'latest';
|
75901
75903
|
if (alias) {
|
75902
75904
|
settings = await preparePinsSettings(_extends({}, settings, alias), {
|
75903
75905
|
settings: _extends({}, settings, {
|
75906
|
+
version,
|
75904
75907
|
library: settings.library.substring(alias.name.length + 1)
|
75905
75908
|
})
|
75906
75909
|
});
|
75910
|
+
version = (config.VERSIONS || {})[settings.library] || 'latest';
|
75907
75911
|
}
|
75908
75912
|
if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
|
75909
75913
|
const results = [];
|
@@ -75944,8 +75948,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
75944
75948
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
75945
75949
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
75946
75950
|
}
|
75947
|
-
const config = context.config || {};
|
75948
|
-
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
75949
75951
|
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`));
|
75950
75952
|
const pins = library == null ? void 0 : library[settings.element];
|
75951
75953
|
if (!pins) {
|