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