@digipair/skill-html 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.
package/index.cjs.js CHANGED
@@ -23923,14 +23923,14 @@ function indent(str, spaces) {
23923
23923
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23924
23924
  // match is required
23925
23925
  if (!match) {
23926
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23926
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23927
23927
  v: nextMatch1
23928
23928
  };
23929
23929
  }
23930
23930
  var token = match.token, offset = match.offset;
23931
23931
  i1 += offset;
23932
23932
  if (token === " ") {
23933
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23933
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23934
23934
  }
23935
23935
  tokens1 = _to_consumable_array$1(tokens1).concat([
23936
23936
  token
@@ -23949,7 +23949,7 @@ function indent(str, spaces) {
23949
23949
  if (contextKeys.some(function(el) {
23950
23950
  return el.startsWith(name);
23951
23951
  })) {
23952
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23952
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23953
23953
  }
23954
23954
  if (dateTimeIdentifiers.some(function(el) {
23955
23955
  return el === name;
@@ -23968,9 +23968,9 @@ function indent(str, spaces) {
23968
23968
  if (dateTimeIdentifiers.some(function(el) {
23969
23969
  return el.startsWith(name);
23970
23970
  })) {
23971
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23971
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23972
23972
  }
23973
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23973
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23974
23974
  v: nextMatch1
23975
23975
  };
23976
23976
  };
@@ -27881,12 +27881,16 @@ const executePins = async (settingsOrigin, context = {})=>{
27881
27881
  var _settings_conditions, _settings_conditions1;
27882
27882
  let settings = await preparePinsSettings(settingsOrigin, context);
27883
27883
  const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
27884
+ const config = context.config || {};
27885
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
27884
27886
  if (alias) {
27885
27887
  settings = await preparePinsSettings(_extends({}, settings, alias), {
27886
27888
  settings: _extends({}, settings, {
27889
+ version,
27887
27890
  library: settings.library.substring(alias.name.length + 1)
27888
27891
  })
27889
27892
  });
27893
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
27890
27894
  }
27891
27895
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
27892
27896
  const results = [];
@@ -27927,8 +27931,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27927
27931
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
27928
27932
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
27929
27933
  }
27930
- const config = context.config || {};
27931
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
27932
27934
  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`));
27933
27935
  const pins = library == null ? void 0 : library[settings.element];
27934
27936
  if (!pins) {
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 i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23904
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23911
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23930
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23949
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23950
23950
  }
23951
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23951
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
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-html",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },