@digipair/skill-web 0.61.0 → 0.62.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.
Files changed (2) hide show
  1. package/index.esm.js +9 -7
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23901,14 +23901,14 @@ function indent(str, spaces) {
23901
23901
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23902
23902
  // match is required
23903
23903
  if (!match) {
23904
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23904
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23905
23905
  v: nextMatch1
23906
23906
  };
23907
23907
  }
23908
23908
  var token = match.token, offset = match.offset;
23909
23909
  i1 += offset;
23910
23910
  if (token === " ") {
23911
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23911
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23912
23912
  }
23913
23913
  tokens1 = _to_consumable_array$1(tokens1).concat([
23914
23914
  token
@@ -23927,7 +23927,7 @@ function indent(str, spaces) {
23927
23927
  if (contextKeys.some(function(el) {
23928
23928
  return el.startsWith(name);
23929
23929
  })) {
23930
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23930
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23931
23931
  }
23932
23932
  if (dateTimeIdentifiers.some(function(el) {
23933
23933
  return el === name;
@@ -23946,9 +23946,9 @@ function indent(str, spaces) {
23946
23946
  if (dateTimeIdentifiers.some(function(el) {
23947
23947
  return el.startsWith(name);
23948
23948
  })) {
23949
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23949
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23950
23950
  }
23951
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23951
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23952
23952
  v: nextMatch1
23953
23953
  };
23954
23954
  };
@@ -27859,12 +27859,16 @@ const executePins = async (settingsOrigin, context = {})=>{
27859
27859
  var _settings_conditions, _settings_conditions1;
27860
27860
  let settings = await preparePinsSettings(settingsOrigin, context);
27861
27861
  const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
27862
+ const config = context.config || {};
27863
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
27862
27864
  if (alias) {
27863
27865
  settings = await preparePinsSettings(_extends({}, settings, alias), {
27864
27866
  settings: _extends({}, settings, {
27867
+ version,
27865
27868
  library: settings.library.substring(alias.name.length + 1)
27866
27869
  })
27867
27870
  });
27871
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
27868
27872
  }
27869
27873
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
27870
27874
  const results = [];
@@ -27905,8 +27909,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27905
27909
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
27906
27910
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
27907
27911
  }
27908
- const config = context.config || {};
27909
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
27910
27912
  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`));
27911
27913
  const pins = library == null ? void 0 : library[settings.element];
27912
27914
  if (!pins) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },