@digipair/skill-mongodb 0.61.0 → 0.63.1

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
@@ -23941,14 +23941,14 @@ function indent(str, spaces) {
23941
23941
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23942
23942
  // match is required
23943
23943
  if (!match) {
23944
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23944
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23945
23945
  v: nextMatch1
23946
23946
  };
23947
23947
  }
23948
23948
  var token = match.token, offset = match.offset;
23949
23949
  i1 += offset;
23950
23950
  if (token === " ") {
23951
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23951
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23952
23952
  }
23953
23953
  tokens1 = _to_consumable_array$a(tokens1).concat([
23954
23954
  token
@@ -23967,7 +23967,7 @@ function indent(str, spaces) {
23967
23967
  if (contextKeys.some(function(el) {
23968
23968
  return el.startsWith(name);
23969
23969
  })) {
23970
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23970
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23971
23971
  }
23972
23972
  if (dateTimeIdentifiers.some(function(el) {
23973
23973
  return el === name;
@@ -23986,9 +23986,9 @@ function indent(str, spaces) {
23986
23986
  if (dateTimeIdentifiers.some(function(el) {
23987
23987
  return el.startsWith(name);
23988
23988
  })) {
23989
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23989
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23990
23990
  }
23991
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23991
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23992
23992
  v: nextMatch1
23993
23993
  };
23994
23994
  };
@@ -27899,12 +27899,16 @@ const executePins = async (settingsOrigin, context = {})=>{
27899
27899
  var _settings_conditions, _settings_conditions1;
27900
27900
  let settings = await preparePinsSettings(settingsOrigin, context);
27901
27901
  const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
27902
+ const config = context.config || {};
27903
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
27902
27904
  if (alias) {
27903
27905
  settings = await preparePinsSettings(_extends$1({}, settings, alias), {
27904
27906
  settings: _extends$1({}, settings, {
27907
+ version,
27905
27908
  library: settings.library.substring(alias.name.length + 1)
27906
27909
  })
27907
27910
  });
27911
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
27908
27912
  }
27909
27913
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
27910
27914
  const results = [];
@@ -27945,8 +27949,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27945
27949
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
27946
27950
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
27947
27951
  }
27948
- const config = context.config || {};
27949
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
27950
27952
  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`));
27951
27953
  const pins = library == null ? void 0 : library[settings.element];
27952
27954
  if (!pins) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-mongodb",
3
- "version": "0.61.0",
3
+ "version": "0.63.1",
4
4
  "dependencies": {
5
5
  "mongodb": "^6.10.0"
6
6
  },