@digipair/skill-mongodb 0.13.1 → 0.13.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.
package/index.cjs.js CHANGED
@@ -23580,14 +23580,14 @@ function indent(str, spaces) {
23580
23580
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23581
23581
  // match is required
23582
23582
  if (!match) {
23583
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23583
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23584
23584
  v: nextMatch1
23585
23585
  };
23586
23586
  }
23587
23587
  var token = match.token, offset = match.offset;
23588
23588
  i1 += offset;
23589
23589
  if (token === " ") {
23590
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23590
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23591
23591
  }
23592
23592
  tokens1 = _to_consumable_array$a(tokens1).concat([
23593
23593
  token
@@ -23606,7 +23606,7 @@ function indent(str, spaces) {
23606
23606
  if (contextKeys.some(function(el) {
23607
23607
  return el.startsWith(name);
23608
23608
  })) {
23609
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23609
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23610
23610
  }
23611
23611
  if (dateTimeIdentifiers.some(function(el) {
23612
23612
  return el === name;
@@ -23625,9 +23625,9 @@ function indent(str, spaces) {
23625
23625
  if (dateTimeIdentifiers.some(function(el) {
23626
23626
  return el.startsWith(name);
23627
23627
  })) {
23628
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23628
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23629
23629
  }
23630
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23630
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23631
23631
  v: nextMatch1
23632
23632
  };
23633
23633
  };
@@ -154342,8 +154342,8 @@ Object.defineProperty(exports, "MongoClientAuthProviders", {
154342
154342
 
154343
154343
  let MongoDBService = class MongoDBService {
154344
154344
  async database(params, _pins, context) {
154345
- var _context_private_MONGODB_URL, _ref, _context_private_MONGODB_DATABASE, _ref1;
154346
- const { url = (_ref = (_context_private_MONGODB_URL = context.private.MONGODB_URL) != null ? _context_private_MONGODB_URL : params == null ? void 0 : params.MONGODB_URL) != null ? _ref : process.env['MONGODB_URL'], database = (_ref1 = (_context_private_MONGODB_DATABASE = context.private.MONGODB_DATABASE) != null ? _context_private_MONGODB_DATABASE : params == null ? void 0 : params.MONGODB_DATABASE) != null ? _ref1 : process.env['MONGODB_DATABASE'] } = params;
154345
+ var _context_privates_MONGODB_URL, _ref, _context_privates_MONGODB_DATABASE, _ref1;
154346
+ const { url = (_ref = (_context_privates_MONGODB_URL = context.privates.MONGODB_URL) != null ? _context_privates_MONGODB_URL : params == null ? void 0 : params.MONGODB_URL) != null ? _ref : process.env['MONGODB_URL'], database = (_ref1 = (_context_privates_MONGODB_DATABASE = context.privates.MONGODB_DATABASE) != null ? _context_privates_MONGODB_DATABASE : params == null ? void 0 : params.MONGODB_DATABASE) != null ? _ref1 : process.env['MONGODB_DATABASE'] } = params;
154347
154347
  const client = new lib$2.MongoClient(url);
154348
154348
  await client.connect();
154349
154349
  return {
package/index.esm.js CHANGED
@@ -23530,14 +23530,14 @@ function indent(str, spaces) {
23530
23530
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23531
23531
  // match is required
23532
23532
  if (!match) {
23533
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23533
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23534
23534
  v: nextMatch1
23535
23535
  };
23536
23536
  }
23537
23537
  var token = match.token, offset = match.offset;
23538
23538
  i1 += offset;
23539
23539
  if (token === " ") {
23540
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23540
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23541
23541
  }
23542
23542
  tokens1 = _to_consumable_array$a(tokens1).concat([
23543
23543
  token
@@ -23556,7 +23556,7 @@ function indent(str, spaces) {
23556
23556
  if (contextKeys.some(function(el) {
23557
23557
  return el.startsWith(name);
23558
23558
  })) {
23559
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23559
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23560
23560
  }
23561
23561
  if (dateTimeIdentifiers.some(function(el) {
23562
23562
  return el === name;
@@ -23575,9 +23575,9 @@ function indent(str, spaces) {
23575
23575
  if (dateTimeIdentifiers.some(function(el) {
23576
23576
  return el.startsWith(name);
23577
23577
  })) {
23578
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23578
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23579
23579
  }
23580
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23580
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23581
23581
  v: nextMatch1
23582
23582
  };
23583
23583
  };
@@ -154292,8 +154292,8 @@ Object.defineProperty(exports, "MongoClientAuthProviders", {
154292
154292
 
154293
154293
  let MongoDBService = class MongoDBService {
154294
154294
  async database(params, _pins, context) {
154295
- var _context_private_MONGODB_URL, _ref, _context_private_MONGODB_DATABASE, _ref1;
154296
- const { url = (_ref = (_context_private_MONGODB_URL = context.private.MONGODB_URL) != null ? _context_private_MONGODB_URL : params == null ? void 0 : params.MONGODB_URL) != null ? _ref : process.env['MONGODB_URL'], database = (_ref1 = (_context_private_MONGODB_DATABASE = context.private.MONGODB_DATABASE) != null ? _context_private_MONGODB_DATABASE : params == null ? void 0 : params.MONGODB_DATABASE) != null ? _ref1 : process.env['MONGODB_DATABASE'] } = params;
154295
+ var _context_privates_MONGODB_URL, _ref, _context_privates_MONGODB_DATABASE, _ref1;
154296
+ const { url = (_ref = (_context_privates_MONGODB_URL = context.privates.MONGODB_URL) != null ? _context_privates_MONGODB_URL : params == null ? void 0 : params.MONGODB_URL) != null ? _ref : process.env['MONGODB_URL'], database = (_ref1 = (_context_privates_MONGODB_DATABASE = context.privates.MONGODB_DATABASE) != null ? _context_privates_MONGODB_DATABASE : params == null ? void 0 : params.MONGODB_DATABASE) != null ? _ref1 : process.env['MONGODB_DATABASE'] } = params;
154297
154297
  const client = new lib$2.MongoClient(url);
154298
154298
  await client.connect();
154299
154299
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-mongodb",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"