@digipair/skill-imap 0.66.2 → 0.66.3

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 +10 -11
  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, nextMatch = nextMatch1, i = i1, {
23905
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
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, nextMatch = nextMatch1, i = i1, "continue";
23912
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "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, nextMatch = nextMatch1, i = i1, "continue";
23931
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "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, nextMatch = nextMatch1, i = i1, "continue";
23950
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23951
23951
  }
23952
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23952
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23953
23953
  v: nextMatch1
23954
23954
  };
23955
23955
  };
@@ -27879,12 +27879,12 @@ const applyTemplate = (value, context)=>{
27879
27879
  };
27880
27880
  const executePins = async (settingsOrigin, context = {})=>{
27881
27881
  var _settings_conditions, _settings_conditions1;
27882
- let settings = await preparePinsSettings(settingsOrigin, context);
27882
+ let settings = preparePinsSettings(settingsOrigin, context);
27883
27883
  const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
27884
27884
  const config = context.config || {};
27885
27885
  let version = (config.VERSIONS || {})[settings.library] || 'latest';
27886
27886
  if (alias) {
27887
- settings = await preparePinsSettings(_extends({}, settings, alias), {
27887
+ settings = preparePinsSettings(_extends({}, settings, alias), {
27888
27888
  settings: _extends({}, settings, {
27889
27889
  version,
27890
27890
  library: settings.library.substring(alias.name.length + 1)
@@ -27911,7 +27911,7 @@ const executePins = async (settingsOrigin, context = {})=>{
27911
27911
  parent: context.parent
27912
27912
  }
27913
27913
  });
27914
- const itemSettings = await preparePinsSettings(itemSettingsOrigin, itemContext);
27914
+ const itemSettings = preparePinsSettings(itemSettingsOrigin, itemContext);
27915
27915
  if (typeof ((_itemSettings_conditions = itemSettings.conditions) == null ? void 0 : _itemSettings_conditions.if) !== 'undefined' && !itemSettings.conditions.if) {
27916
27916
  continue;
27917
27917
  }
@@ -27940,7 +27940,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27940
27940
  };
27941
27941
  const executePinsList = async (pinsSettingsList, context)=>{
27942
27942
  let previous = {};
27943
- // parcourir tous les pins
27944
27943
  for(let i = 0; i < pinsSettingsList.length; i++){
27945
27944
  const settings = pinsSettingsList[i];
27946
27945
  try {
@@ -27960,14 +27959,14 @@ const executePinsList = async (pinsSettingsList, context)=>{
27960
27959
  }
27961
27960
  return previous;
27962
27961
  };
27963
- const preparePinsSettings = async (settings, context)=>{
27962
+ const preparePinsSettings = (settings, context)=>{
27964
27963
  const localContext = _extends({}, context, {
27965
27964
  variables: context.variables || {},
27966
27965
  conditions: context.conditions || {}
27967
27966
  });
27968
27967
  const conditions = {};
27969
27968
  for (const [key, value] of Object.entries(settings.conditions || {})){
27970
- conditions[key] = await applyTemplate(value, localContext);
27969
+ conditions[key] = applyTemplate(value, localContext);
27971
27970
  }
27972
27971
  const properties = {};
27973
27972
  for (const [key, value] of Object.entries(settings.properties || {})){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-imap",
3
- "version": "0.66.2",
3
+ "version": "0.66.3",
4
4
  "dependencies": {
5
5
  "imapflow": "^1.0.171",
6
6
  "jsdom": "^25.0.1"