drizzle-kit 0.28.1-44b6c8a → 0.28.1-7fe6033

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. package/api.js +128 -25
  2. package/api.mjs +128 -25
  3. package/bin.cjs +637 -42
  4. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -812,7 +812,7 @@ var require_lodash = __commonJS({
812
812
  var require_hanji = __commonJS({
813
813
  "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js"(exports2) {
814
814
  "use strict";
815
- var __awaiter2 = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
815
+ var __awaiter3 = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
816
816
  function adopt(value) {
817
817
  return value instanceof P ? value : new P(function(resolve2) {
818
818
  resolve2(value);
@@ -839,7 +839,7 @@ var require_hanji = __commonJS({
839
839
  step((generator = generator.apply(thisArg, _arguments || [])).next());
840
840
  });
841
841
  };
842
- var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
842
+ var __importDefault3 = exports2 && exports2.__importDefault || function(mod) {
843
843
  return mod && mod.__esModule ? mod : { "default": mod };
844
844
  };
845
845
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -847,7 +847,7 @@ var require_hanji = __commonJS({
847
847
  var readline_1 = require_readline();
848
848
  var sisteransi_1 = require_src();
849
849
  var utils_1 = require_utils();
850
- var lodash_throttle_1 = __importDefault2(require_lodash());
850
+ var lodash_throttle_1 = __importDefault3(require_lodash());
851
851
  var Prompt3 = class {
852
852
  constructor() {
853
853
  this.attachCallbacks = [];
@@ -1057,7 +1057,7 @@ var require_hanji = __commonJS({
1057
1057
  }
1058
1058
  exports2.render = render9;
1059
1059
  function renderWithTask6(view4, task) {
1060
- return __awaiter2(this, void 0, void 0, function* () {
1060
+ return __awaiter3(this, void 0, void 0, function* () {
1061
1061
  const terminal = new TaskTerminal(view4, process.stdout);
1062
1062
  terminal.requestLayout();
1063
1063
  const result = yield task;
@@ -12824,7 +12824,7 @@ var require_node2 = __commonJS({
12824
12824
  }
12825
12825
  return module22.exports;
12826
12826
  };
12827
- var __exportStar2 = (target, module22, desc) => {
12827
+ var __exportStar3 = (target, module22, desc) => {
12828
12828
  if (module22 && typeof module22 === "object" || typeof module22 === "function") {
12829
12829
  for (let key of __getOwnPropNames3(module22))
12830
12830
  if (!__hasOwnProp3.call(target, key) && key !== "default")
@@ -12833,7 +12833,7 @@ var require_node2 = __commonJS({
12833
12833
  return target;
12834
12834
  };
12835
12835
  var __toModule = (module22) => {
12836
- return __exportStar2(__markAsModule(__defProp3(module22 != null ? __create3(__getProtoOf3(module22)) : {}, "default", module22 && module22.__esModule && "default" in module22 ? { get: () => module22.default, enumerable: true } : { value: module22, enumerable: true })), module22);
12836
+ return __exportStar3(__markAsModule(__defProp3(module22 != null ? __create3(__getProtoOf3(module22)) : {}, "default", module22 && module22.__esModule && "default" in module22 ? { get: () => module22.default, enumerable: true } : { value: module22, enumerable: true })), module22);
12837
12837
  };
12838
12838
  var require_base64 = __commonJS3((exports3) => {
12839
12839
  var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
@@ -16864,8 +16864,8 @@ var require_node2 = __commonJS({
16864
16864
  });
16865
16865
  var require_tsconfig_loader = __commonJS3((exports3) => {
16866
16866
  "use strict";
16867
- var __assign2 = exports3 && exports3.__assign || function() {
16868
- __assign2 = Object.assign || function(t2) {
16867
+ var __assign3 = exports3 && exports3.__assign || function() {
16868
+ __assign3 = Object.assign || function(t2) {
16869
16869
  for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
16870
16870
  s2 = arguments[i2];
16871
16871
  for (var p2 in s2)
@@ -16874,7 +16874,7 @@ var require_node2 = __commonJS({
16874
16874
  }
16875
16875
  return t2;
16876
16876
  };
16877
- return __assign2.apply(this, arguments);
16877
+ return __assign3.apply(this, arguments);
16878
16878
  };
16879
16879
  Object.defineProperty(exports3, "__esModule", { value: true });
16880
16880
  exports3.loadTsconfig = exports3.walkForTsConfig = exports3.tsConfigLoader = void 0;
@@ -16991,7 +16991,7 @@ var require_node2 = __commonJS({
16991
16991
  function mergeTsconfigs(base, config) {
16992
16992
  base = base || {};
16993
16993
  config = config || {};
16994
- return __assign2(__assign2(__assign2({}, base), config), { compilerOptions: __assign2(__assign2({}, base.compilerOptions), config.compilerOptions) });
16994
+ return __assign3(__assign3(__assign3({}, base), config), { compilerOptions: __assign3(__assign3({}, base.compilerOptions), config.compilerOptions) });
16995
16995
  }
16996
16996
  });
16997
16997
  var require_config_loader = __commonJS3((exports3) => {
@@ -17264,7 +17264,7 @@ var require_node2 = __commonJS({
17264
17264
  });
17265
17265
  var require_register = __commonJS3((exports3) => {
17266
17266
  "use strict";
17267
- var __spreadArray2 = exports3 && exports3.__spreadArray || function(to, from, pack) {
17267
+ var __spreadArray3 = exports3 && exports3.__spreadArray || function(to, from, pack) {
17268
17268
  if (pack || arguments.length === 2)
17269
17269
  for (var i2 = 0, l = from.length, ar; i2 < l; i2++) {
17270
17270
  if (ar || !(i2 in from)) {
@@ -17354,7 +17354,7 @@ var require_node2 = __commonJS({
17354
17354
  if (!isCoreModule) {
17355
17355
  var found = matchPath(request);
17356
17356
  if (found) {
17357
- var modifiedArguments = __spreadArray2([found], [].slice.call(arguments, 1), true);
17357
+ var modifiedArguments = __spreadArray3([found], [].slice.call(arguments, 1), true);
17358
17358
  return originalResolveFilename.apply(this, modifiedArguments);
17359
17359
  }
17360
17360
  }
@@ -65379,7 +65379,7 @@ var require_dist_cjs35 = __commonJS({
65379
65379
  }
65380
65380
  });
65381
65381
 
65382
- // ../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
65382
+ // ../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
65383
65383
  var tslib_es6_exports = {};
65384
65384
  __export(tslib_es6_exports, {
65385
65385
  __addDisposableResource: () => __addDisposableResource,
@@ -65407,6 +65407,7 @@ __export(tslib_es6_exports, {
65407
65407
  __propKey: () => __propKey,
65408
65408
  __read: () => __read,
65409
65409
  __rest: () => __rest,
65410
+ __rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
65410
65411
  __runInitializers: () => __runInitializers,
65411
65412
  __setFunctionName: () => __setFunctionName,
65412
65413
  __spread: () => __spread,
@@ -65546,8 +65547,8 @@ function __generator(thisArg, body) {
65546
65547
  if (t2[0] & 1)
65547
65548
  throw t2[1];
65548
65549
  return t2[1];
65549
- }, trys: [], ops: [] }, f3, y, t2, g;
65550
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
65550
+ }, trys: [], ops: [] }, f3, y, t2, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
65551
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
65551
65552
  return this;
65552
65553
  }), g;
65553
65554
  function verb(n) {
@@ -65688,16 +65689,24 @@ function __asyncGenerator(thisArg, _arguments, generator) {
65688
65689
  if (!Symbol.asyncIterator)
65689
65690
  throw new TypeError("Symbol.asyncIterator is not defined.");
65690
65691
  var g = generator.apply(thisArg, _arguments || []), i2, q = [];
65691
- return i2 = {}, verb("next"), verb("throw"), verb("return"), i2[Symbol.asyncIterator] = function() {
65692
+ return i2 = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i2[Symbol.asyncIterator] = function() {
65692
65693
  return this;
65693
65694
  }, i2;
65694
- function verb(n) {
65695
- if (g[n])
65695
+ function awaitReturn(f3) {
65696
+ return function(v) {
65697
+ return Promise.resolve(v).then(f3, reject);
65698
+ };
65699
+ }
65700
+ function verb(n, f3) {
65701
+ if (g[n]) {
65696
65702
  i2[n] = function(v) {
65697
65703
  return new Promise(function(a, b) {
65698
65704
  q.push([n, v, a, b]) > 1 || resume(n, v);
65699
65705
  });
65700
65706
  };
65707
+ if (f3)
65708
+ i2[n] = f3(i2[n]);
65709
+ }
65701
65710
  }
65702
65711
  function resume(n, v) {
65703
65712
  try {
@@ -65766,9 +65775,9 @@ function __importStar(mod) {
65766
65775
  return mod;
65767
65776
  var result = {};
65768
65777
  if (mod != null) {
65769
- for (var k in mod)
65770
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
65771
- __createBinding(result, mod, k);
65778
+ for (var k = ownKeys(mod), i2 = 0; i2 < k.length; i2++)
65779
+ if (k[i2] !== "default")
65780
+ __createBinding(result, mod, k[i2]);
65772
65781
  }
65773
65782
  __setModuleDefault(result, mod);
65774
65783
  return result;
@@ -65801,7 +65810,7 @@ function __addDisposableResource(env3, value, async) {
65801
65810
  if (value !== null && value !== void 0) {
65802
65811
  if (typeof value !== "object" && typeof value !== "function")
65803
65812
  throw new TypeError("Object expected.");
65804
- var dispose;
65813
+ var dispose, inner;
65805
65814
  if (async) {
65806
65815
  if (!Symbol.asyncDispose)
65807
65816
  throw new TypeError("Symbol.asyncDispose is not defined.");
@@ -65811,9 +65820,19 @@ function __addDisposableResource(env3, value, async) {
65811
65820
  if (!Symbol.dispose)
65812
65821
  throw new TypeError("Symbol.dispose is not defined.");
65813
65822
  dispose = value[Symbol.dispose];
65823
+ if (async)
65824
+ inner = dispose;
65814
65825
  }
65815
65826
  if (typeof dispose !== "function")
65816
65827
  throw new TypeError("Object not disposable.");
65828
+ if (inner)
65829
+ dispose = function() {
65830
+ try {
65831
+ inner.call(this);
65832
+ } catch (e2) {
65833
+ return Promise.reject(e2);
65834
+ }
65835
+ };
65817
65836
  env3.stack.push({ value, dispose, async });
65818
65837
  } else if (async) {
65819
65838
  env3.stack.push({ async: true });
@@ -65825,28 +65844,43 @@ function __disposeResources(env3) {
65825
65844
  env3.error = env3.hasError ? new _SuppressedError(e2, env3.error, "An error was suppressed during disposal.") : e2;
65826
65845
  env3.hasError = true;
65827
65846
  }
65847
+ var r2, s2 = 0;
65828
65848
  function next() {
65829
- while (env3.stack.length) {
65830
- var rec = env3.stack.pop();
65849
+ while (r2 = env3.stack.pop()) {
65831
65850
  try {
65832
- var result = rec.dispose && rec.dispose.call(rec.value);
65833
- if (rec.async)
65834
- return Promise.resolve(result).then(next, function(e2) {
65835
- fail(e2);
65836
- return next();
65837
- });
65851
+ if (!r2.async && s2 === 1)
65852
+ return s2 = 0, env3.stack.push(r2), Promise.resolve().then(next);
65853
+ if (r2.dispose) {
65854
+ var result = r2.dispose.call(r2.value);
65855
+ if (r2.async)
65856
+ return s2 |= 2, Promise.resolve(result).then(next, function(e2) {
65857
+ fail(e2);
65858
+ return next();
65859
+ });
65860
+ } else
65861
+ s2 |= 1;
65838
65862
  } catch (e2) {
65839
65863
  fail(e2);
65840
65864
  }
65841
65865
  }
65866
+ if (s2 === 1)
65867
+ return env3.hasError ? Promise.reject(env3.error) : Promise.resolve();
65842
65868
  if (env3.hasError)
65843
65869
  throw env3.error;
65844
65870
  }
65845
65871
  return next();
65846
65872
  }
65847
- var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
65873
+ function __rewriteRelativeImportExtension(path5, preserveJsx) {
65874
+ if (typeof path5 === "string" && /^\.\.?\//.test(path5)) {
65875
+ return path5.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m2, tsx, d, ext2, cm) {
65876
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext2 || !cm) ? m2 : d + ext2 + "." + cm.toLowerCase() + "js";
65877
+ });
65878
+ }
65879
+ return path5;
65880
+ }
65881
+ var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
65848
65882
  var init_tslib_es6 = __esm({
65849
- "../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs"() {
65883
+ "../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"() {
65850
65884
  extendStatics = function(d, b) {
65851
65885
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
65852
65886
  d2.__proto__ = b2;
@@ -65858,7 +65892,7 @@ var init_tslib_es6 = __esm({
65858
65892
  return extendStatics(d, b);
65859
65893
  };
65860
65894
  __assign = function() {
65861
- __assign = Object.assign || function __assign2(t2) {
65895
+ __assign = Object.assign || function __assign3(t2) {
65862
65896
  for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
65863
65897
  s2 = arguments[i2];
65864
65898
  for (var p2 in s2)
@@ -65889,6 +65923,16 @@ var init_tslib_es6 = __esm({
65889
65923
  } : function(o, v) {
65890
65924
  o["default"] = v;
65891
65925
  };
65926
+ ownKeys = function(o) {
65927
+ ownKeys = Object.getOwnPropertyNames || function(o2) {
65928
+ var ar = [];
65929
+ for (var k in o2)
65930
+ if (Object.prototype.hasOwnProperty.call(o2, k))
65931
+ ar[ar.length] = k;
65932
+ return ar;
65933
+ };
65934
+ return ownKeys(o);
65935
+ };
65892
65936
  _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message) {
65893
65937
  var e2 = new Error(message);
65894
65938
  return e2.name = "SuppressedError", e2.error = error2, e2.suppressed = suppressed, e2;
@@ -65899,6 +65943,10 @@ var init_tslib_es6 = __esm({
65899
65943
  __rest,
65900
65944
  __decorate,
65901
65945
  __param,
65946
+ __esDecorate,
65947
+ __runInitializers,
65948
+ __propKey,
65949
+ __setFunctionName,
65902
65950
  __metadata,
65903
65951
  __awaiter,
65904
65952
  __generator,
@@ -65920,7 +65968,8 @@ var init_tslib_es6 = __esm({
65920
65968
  __classPrivateFieldSet: __classPrivateFieldSet2,
65921
65969
  __classPrivateFieldIn,
65922
65970
  __addDisposableResource,
65923
- __disposeResources
65971
+ __disposeResources,
65972
+ __rewriteRelativeImportExtension
65924
65973
  };
65925
65974
  }
65926
65975
  });
@@ -68690,6 +68739,552 @@ var require_httpAuthSchemeProvider = __commonJS({
68690
68739
  }
68691
68740
  });
68692
68741
 
68742
+ // ../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
68743
+ var tslib_es6_exports2 = {};
68744
+ __export(tslib_es6_exports2, {
68745
+ __addDisposableResource: () => __addDisposableResource2,
68746
+ __assign: () => __assign2,
68747
+ __asyncDelegator: () => __asyncDelegator2,
68748
+ __asyncGenerator: () => __asyncGenerator2,
68749
+ __asyncValues: () => __asyncValues2,
68750
+ __await: () => __await2,
68751
+ __awaiter: () => __awaiter2,
68752
+ __classPrivateFieldGet: () => __classPrivateFieldGet3,
68753
+ __classPrivateFieldIn: () => __classPrivateFieldIn2,
68754
+ __classPrivateFieldSet: () => __classPrivateFieldSet3,
68755
+ __createBinding: () => __createBinding2,
68756
+ __decorate: () => __decorate2,
68757
+ __disposeResources: () => __disposeResources2,
68758
+ __esDecorate: () => __esDecorate2,
68759
+ __exportStar: () => __exportStar2,
68760
+ __extends: () => __extends2,
68761
+ __generator: () => __generator2,
68762
+ __importDefault: () => __importDefault2,
68763
+ __importStar: () => __importStar2,
68764
+ __makeTemplateObject: () => __makeTemplateObject2,
68765
+ __metadata: () => __metadata2,
68766
+ __param: () => __param2,
68767
+ __propKey: () => __propKey2,
68768
+ __read: () => __read2,
68769
+ __rest: () => __rest2,
68770
+ __runInitializers: () => __runInitializers2,
68771
+ __setFunctionName: () => __setFunctionName2,
68772
+ __spread: () => __spread2,
68773
+ __spreadArray: () => __spreadArray2,
68774
+ __spreadArrays: () => __spreadArrays2,
68775
+ __values: () => __values2,
68776
+ default: () => tslib_es6_default2
68777
+ });
68778
+ function __extends2(d, b) {
68779
+ if (typeof b !== "function" && b !== null)
68780
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
68781
+ extendStatics2(d, b);
68782
+ function __() {
68783
+ this.constructor = d;
68784
+ }
68785
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
68786
+ }
68787
+ function __rest2(s2, e2) {
68788
+ var t2 = {};
68789
+ for (var p2 in s2)
68790
+ if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
68791
+ t2[p2] = s2[p2];
68792
+ if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
68793
+ for (var i2 = 0, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
68794
+ if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
68795
+ t2[p2[i2]] = s2[p2[i2]];
68796
+ }
68797
+ return t2;
68798
+ }
68799
+ function __decorate2(decorators, target, key, desc) {
68800
+ var c = arguments.length, r2 = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
68801
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
68802
+ r2 = Reflect.decorate(decorators, target, key, desc);
68803
+ else
68804
+ for (var i2 = decorators.length - 1; i2 >= 0; i2--)
68805
+ if (d = decorators[i2])
68806
+ r2 = (c < 3 ? d(r2) : c > 3 ? d(target, key, r2) : d(target, key)) || r2;
68807
+ return c > 3 && r2 && Object.defineProperty(target, key, r2), r2;
68808
+ }
68809
+ function __param2(paramIndex, decorator) {
68810
+ return function(target, key) {
68811
+ decorator(target, key, paramIndex);
68812
+ };
68813
+ }
68814
+ function __esDecorate2(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
68815
+ function accept(f3) {
68816
+ if (f3 !== void 0 && typeof f3 !== "function")
68817
+ throw new TypeError("Function expected");
68818
+ return f3;
68819
+ }
68820
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
68821
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
68822
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
68823
+ var _2, done = false;
68824
+ for (var i2 = decorators.length - 1; i2 >= 0; i2--) {
68825
+ var context = {};
68826
+ for (var p2 in contextIn)
68827
+ context[p2] = p2 === "access" ? {} : contextIn[p2];
68828
+ for (var p2 in contextIn.access)
68829
+ context.access[p2] = contextIn.access[p2];
68830
+ context.addInitializer = function(f3) {
68831
+ if (done)
68832
+ throw new TypeError("Cannot add initializers after decoration has completed");
68833
+ extraInitializers.push(accept(f3 || null));
68834
+ };
68835
+ var result = (0, decorators[i2])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
68836
+ if (kind === "accessor") {
68837
+ if (result === void 0)
68838
+ continue;
68839
+ if (result === null || typeof result !== "object")
68840
+ throw new TypeError("Object expected");
68841
+ if (_2 = accept(result.get))
68842
+ descriptor.get = _2;
68843
+ if (_2 = accept(result.set))
68844
+ descriptor.set = _2;
68845
+ if (_2 = accept(result.init))
68846
+ initializers.unshift(_2);
68847
+ } else if (_2 = accept(result)) {
68848
+ if (kind === "field")
68849
+ initializers.unshift(_2);
68850
+ else
68851
+ descriptor[key] = _2;
68852
+ }
68853
+ }
68854
+ if (target)
68855
+ Object.defineProperty(target, contextIn.name, descriptor);
68856
+ done = true;
68857
+ }
68858
+ function __runInitializers2(thisArg, initializers, value) {
68859
+ var useValue = arguments.length > 2;
68860
+ for (var i2 = 0; i2 < initializers.length; i2++) {
68861
+ value = useValue ? initializers[i2].call(thisArg, value) : initializers[i2].call(thisArg);
68862
+ }
68863
+ return useValue ? value : void 0;
68864
+ }
68865
+ function __propKey2(x2) {
68866
+ return typeof x2 === "symbol" ? x2 : "".concat(x2);
68867
+ }
68868
+ function __setFunctionName2(f3, name, prefix2) {
68869
+ if (typeof name === "symbol")
68870
+ name = name.description ? "[".concat(name.description, "]") : "";
68871
+ return Object.defineProperty(f3, "name", { configurable: true, value: prefix2 ? "".concat(prefix2, " ", name) : name });
68872
+ }
68873
+ function __metadata2(metadataKey, metadataValue) {
68874
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
68875
+ return Reflect.metadata(metadataKey, metadataValue);
68876
+ }
68877
+ function __awaiter2(thisArg, _arguments, P, generator) {
68878
+ function adopt(value) {
68879
+ return value instanceof P ? value : new P(function(resolve2) {
68880
+ resolve2(value);
68881
+ });
68882
+ }
68883
+ return new (P || (P = Promise))(function(resolve2, reject) {
68884
+ function fulfilled(value) {
68885
+ try {
68886
+ step(generator.next(value));
68887
+ } catch (e2) {
68888
+ reject(e2);
68889
+ }
68890
+ }
68891
+ function rejected(value) {
68892
+ try {
68893
+ step(generator["throw"](value));
68894
+ } catch (e2) {
68895
+ reject(e2);
68896
+ }
68897
+ }
68898
+ function step(result) {
68899
+ result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);
68900
+ }
68901
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
68902
+ });
68903
+ }
68904
+ function __generator2(thisArg, body) {
68905
+ var _2 = { label: 0, sent: function() {
68906
+ if (t2[0] & 1)
68907
+ throw t2[1];
68908
+ return t2[1];
68909
+ }, trys: [], ops: [] }, f3, y, t2, g;
68910
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
68911
+ return this;
68912
+ }), g;
68913
+ function verb(n) {
68914
+ return function(v) {
68915
+ return step([n, v]);
68916
+ };
68917
+ }
68918
+ function step(op) {
68919
+ if (f3)
68920
+ throw new TypeError("Generator is already executing.");
68921
+ while (g && (g = 0, op[0] && (_2 = 0)), _2)
68922
+ try {
68923
+ if (f3 = 1, y && (t2 = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t2 = y["return"]) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done)
68924
+ return t2;
68925
+ if (y = 0, t2)
68926
+ op = [op[0] & 2, t2.value];
68927
+ switch (op[0]) {
68928
+ case 0:
68929
+ case 1:
68930
+ t2 = op;
68931
+ break;
68932
+ case 4:
68933
+ _2.label++;
68934
+ return { value: op[1], done: false };
68935
+ case 5:
68936
+ _2.label++;
68937
+ y = op[1];
68938
+ op = [0];
68939
+ continue;
68940
+ case 7:
68941
+ op = _2.ops.pop();
68942
+ _2.trys.pop();
68943
+ continue;
68944
+ default:
68945
+ if (!(t2 = _2.trys, t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
68946
+ _2 = 0;
68947
+ continue;
68948
+ }
68949
+ if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
68950
+ _2.label = op[1];
68951
+ break;
68952
+ }
68953
+ if (op[0] === 6 && _2.label < t2[1]) {
68954
+ _2.label = t2[1];
68955
+ t2 = op;
68956
+ break;
68957
+ }
68958
+ if (t2 && _2.label < t2[2]) {
68959
+ _2.label = t2[2];
68960
+ _2.ops.push(op);
68961
+ break;
68962
+ }
68963
+ if (t2[2])
68964
+ _2.ops.pop();
68965
+ _2.trys.pop();
68966
+ continue;
68967
+ }
68968
+ op = body.call(thisArg, _2);
68969
+ } catch (e2) {
68970
+ op = [6, e2];
68971
+ y = 0;
68972
+ } finally {
68973
+ f3 = t2 = 0;
68974
+ }
68975
+ if (op[0] & 5)
68976
+ throw op[1];
68977
+ return { value: op[0] ? op[1] : void 0, done: true };
68978
+ }
68979
+ }
68980
+ function __exportStar2(m2, o) {
68981
+ for (var p2 in m2)
68982
+ if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(o, p2))
68983
+ __createBinding2(o, m2, p2);
68984
+ }
68985
+ function __values2(o) {
68986
+ var s2 = typeof Symbol === "function" && Symbol.iterator, m2 = s2 && o[s2], i2 = 0;
68987
+ if (m2)
68988
+ return m2.call(o);
68989
+ if (o && typeof o.length === "number")
68990
+ return {
68991
+ next: function() {
68992
+ if (o && i2 >= o.length)
68993
+ o = void 0;
68994
+ return { value: o && o[i2++], done: !o };
68995
+ }
68996
+ };
68997
+ throw new TypeError(s2 ? "Object is not iterable." : "Symbol.iterator is not defined.");
68998
+ }
68999
+ function __read2(o, n) {
69000
+ var m2 = typeof Symbol === "function" && o[Symbol.iterator];
69001
+ if (!m2)
69002
+ return o;
69003
+ var i2 = m2.call(o), r2, ar = [], e2;
69004
+ try {
69005
+ while ((n === void 0 || n-- > 0) && !(r2 = i2.next()).done)
69006
+ ar.push(r2.value);
69007
+ } catch (error2) {
69008
+ e2 = { error: error2 };
69009
+ } finally {
69010
+ try {
69011
+ if (r2 && !r2.done && (m2 = i2["return"]))
69012
+ m2.call(i2);
69013
+ } finally {
69014
+ if (e2)
69015
+ throw e2.error;
69016
+ }
69017
+ }
69018
+ return ar;
69019
+ }
69020
+ function __spread2() {
69021
+ for (var ar = [], i2 = 0; i2 < arguments.length; i2++)
69022
+ ar = ar.concat(__read2(arguments[i2]));
69023
+ return ar;
69024
+ }
69025
+ function __spreadArrays2() {
69026
+ for (var s2 = 0, i2 = 0, il = arguments.length; i2 < il; i2++)
69027
+ s2 += arguments[i2].length;
69028
+ for (var r2 = Array(s2), k = 0, i2 = 0; i2 < il; i2++)
69029
+ for (var a = arguments[i2], j = 0, jl = a.length; j < jl; j++, k++)
69030
+ r2[k] = a[j];
69031
+ return r2;
69032
+ }
69033
+ function __spreadArray2(to, from, pack) {
69034
+ if (pack || arguments.length === 2)
69035
+ for (var i2 = 0, l = from.length, ar; i2 < l; i2++) {
69036
+ if (ar || !(i2 in from)) {
69037
+ if (!ar)
69038
+ ar = Array.prototype.slice.call(from, 0, i2);
69039
+ ar[i2] = from[i2];
69040
+ }
69041
+ }
69042
+ return to.concat(ar || Array.prototype.slice.call(from));
69043
+ }
69044
+ function __await2(v) {
69045
+ return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
69046
+ }
69047
+ function __asyncGenerator2(thisArg, _arguments, generator) {
69048
+ if (!Symbol.asyncIterator)
69049
+ throw new TypeError("Symbol.asyncIterator is not defined.");
69050
+ var g = generator.apply(thisArg, _arguments || []), i2, q = [];
69051
+ return i2 = {}, verb("next"), verb("throw"), verb("return"), i2[Symbol.asyncIterator] = function() {
69052
+ return this;
69053
+ }, i2;
69054
+ function verb(n) {
69055
+ if (g[n])
69056
+ i2[n] = function(v) {
69057
+ return new Promise(function(a, b) {
69058
+ q.push([n, v, a, b]) > 1 || resume(n, v);
69059
+ });
69060
+ };
69061
+ }
69062
+ function resume(n, v) {
69063
+ try {
69064
+ step(g[n](v));
69065
+ } catch (e2) {
69066
+ settle(q[0][3], e2);
69067
+ }
69068
+ }
69069
+ function step(r2) {
69070
+ r2.value instanceof __await2 ? Promise.resolve(r2.value.v).then(fulfill, reject) : settle(q[0][2], r2);
69071
+ }
69072
+ function fulfill(value) {
69073
+ resume("next", value);
69074
+ }
69075
+ function reject(value) {
69076
+ resume("throw", value);
69077
+ }
69078
+ function settle(f3, v) {
69079
+ if (f3(v), q.shift(), q.length)
69080
+ resume(q[0][0], q[0][1]);
69081
+ }
69082
+ }
69083
+ function __asyncDelegator2(o) {
69084
+ var i2, p2;
69085
+ return i2 = {}, verb("next"), verb("throw", function(e2) {
69086
+ throw e2;
69087
+ }), verb("return"), i2[Symbol.iterator] = function() {
69088
+ return this;
69089
+ }, i2;
69090
+ function verb(n, f3) {
69091
+ i2[n] = o[n] ? function(v) {
69092
+ return (p2 = !p2) ? { value: __await2(o[n](v)), done: false } : f3 ? f3(v) : v;
69093
+ } : f3;
69094
+ }
69095
+ }
69096
+ function __asyncValues2(o) {
69097
+ if (!Symbol.asyncIterator)
69098
+ throw new TypeError("Symbol.asyncIterator is not defined.");
69099
+ var m2 = o[Symbol.asyncIterator], i2;
69100
+ return m2 ? m2.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i2 = {}, verb("next"), verb("throw"), verb("return"), i2[Symbol.asyncIterator] = function() {
69101
+ return this;
69102
+ }, i2);
69103
+ function verb(n) {
69104
+ i2[n] = o[n] && function(v) {
69105
+ return new Promise(function(resolve2, reject) {
69106
+ v = o[n](v), settle(resolve2, reject, v.done, v.value);
69107
+ });
69108
+ };
69109
+ }
69110
+ function settle(resolve2, reject, d, v) {
69111
+ Promise.resolve(v).then(function(v2) {
69112
+ resolve2({ value: v2, done: d });
69113
+ }, reject);
69114
+ }
69115
+ }
69116
+ function __makeTemplateObject2(cooked, raw2) {
69117
+ if (Object.defineProperty) {
69118
+ Object.defineProperty(cooked, "raw", { value: raw2 });
69119
+ } else {
69120
+ cooked.raw = raw2;
69121
+ }
69122
+ return cooked;
69123
+ }
69124
+ function __importStar2(mod) {
69125
+ if (mod && mod.__esModule)
69126
+ return mod;
69127
+ var result = {};
69128
+ if (mod != null) {
69129
+ for (var k in mod)
69130
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
69131
+ __createBinding2(result, mod, k);
69132
+ }
69133
+ __setModuleDefault2(result, mod);
69134
+ return result;
69135
+ }
69136
+ function __importDefault2(mod) {
69137
+ return mod && mod.__esModule ? mod : { default: mod };
69138
+ }
69139
+ function __classPrivateFieldGet3(receiver, state, kind, f3) {
69140
+ if (kind === "a" && !f3)
69141
+ throw new TypeError("Private accessor was defined without a getter");
69142
+ if (typeof state === "function" ? receiver !== state || !f3 : !state.has(receiver))
69143
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
69144
+ return kind === "m" ? f3 : kind === "a" ? f3.call(receiver) : f3 ? f3.value : state.get(receiver);
69145
+ }
69146
+ function __classPrivateFieldSet3(receiver, state, value, kind, f3) {
69147
+ if (kind === "m")
69148
+ throw new TypeError("Private method is not writable");
69149
+ if (kind === "a" && !f3)
69150
+ throw new TypeError("Private accessor was defined without a setter");
69151
+ if (typeof state === "function" ? receiver !== state || !f3 : !state.has(receiver))
69152
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
69153
+ return kind === "a" ? f3.call(receiver, value) : f3 ? f3.value = value : state.set(receiver, value), value;
69154
+ }
69155
+ function __classPrivateFieldIn2(state, receiver) {
69156
+ if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
69157
+ throw new TypeError("Cannot use 'in' operator on non-object");
69158
+ return typeof state === "function" ? receiver === state : state.has(receiver);
69159
+ }
69160
+ function __addDisposableResource2(env3, value, async) {
69161
+ if (value !== null && value !== void 0) {
69162
+ if (typeof value !== "object" && typeof value !== "function")
69163
+ throw new TypeError("Object expected.");
69164
+ var dispose;
69165
+ if (async) {
69166
+ if (!Symbol.asyncDispose)
69167
+ throw new TypeError("Symbol.asyncDispose is not defined.");
69168
+ dispose = value[Symbol.asyncDispose];
69169
+ }
69170
+ if (dispose === void 0) {
69171
+ if (!Symbol.dispose)
69172
+ throw new TypeError("Symbol.dispose is not defined.");
69173
+ dispose = value[Symbol.dispose];
69174
+ }
69175
+ if (typeof dispose !== "function")
69176
+ throw new TypeError("Object not disposable.");
69177
+ env3.stack.push({ value, dispose, async });
69178
+ } else if (async) {
69179
+ env3.stack.push({ async: true });
69180
+ }
69181
+ return value;
69182
+ }
69183
+ function __disposeResources2(env3) {
69184
+ function fail(e2) {
69185
+ env3.error = env3.hasError ? new _SuppressedError2(e2, env3.error, "An error was suppressed during disposal.") : e2;
69186
+ env3.hasError = true;
69187
+ }
69188
+ function next() {
69189
+ while (env3.stack.length) {
69190
+ var rec = env3.stack.pop();
69191
+ try {
69192
+ var result = rec.dispose && rec.dispose.call(rec.value);
69193
+ if (rec.async)
69194
+ return Promise.resolve(result).then(next, function(e2) {
69195
+ fail(e2);
69196
+ return next();
69197
+ });
69198
+ } catch (e2) {
69199
+ fail(e2);
69200
+ }
69201
+ }
69202
+ if (env3.hasError)
69203
+ throw env3.error;
69204
+ }
69205
+ return next();
69206
+ }
69207
+ var extendStatics2, __assign2, __createBinding2, __setModuleDefault2, _SuppressedError2, tslib_es6_default2;
69208
+ var init_tslib_es62 = __esm({
69209
+ "../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs"() {
69210
+ extendStatics2 = function(d, b) {
69211
+ extendStatics2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
69212
+ d2.__proto__ = b2;
69213
+ } || function(d2, b2) {
69214
+ for (var p2 in b2)
69215
+ if (Object.prototype.hasOwnProperty.call(b2, p2))
69216
+ d2[p2] = b2[p2];
69217
+ };
69218
+ return extendStatics2(d, b);
69219
+ };
69220
+ __assign2 = function() {
69221
+ __assign2 = Object.assign || function __assign3(t2) {
69222
+ for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
69223
+ s2 = arguments[i2];
69224
+ for (var p2 in s2)
69225
+ if (Object.prototype.hasOwnProperty.call(s2, p2))
69226
+ t2[p2] = s2[p2];
69227
+ }
69228
+ return t2;
69229
+ };
69230
+ return __assign2.apply(this, arguments);
69231
+ };
69232
+ __createBinding2 = Object.create ? function(o, m2, k, k2) {
69233
+ if (k2 === void 0)
69234
+ k2 = k;
69235
+ var desc = Object.getOwnPropertyDescriptor(m2, k);
69236
+ if (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) {
69237
+ desc = { enumerable: true, get: function() {
69238
+ return m2[k];
69239
+ } };
69240
+ }
69241
+ Object.defineProperty(o, k2, desc);
69242
+ } : function(o, m2, k, k2) {
69243
+ if (k2 === void 0)
69244
+ k2 = k;
69245
+ o[k2] = m2[k];
69246
+ };
69247
+ __setModuleDefault2 = Object.create ? function(o, v) {
69248
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
69249
+ } : function(o, v) {
69250
+ o["default"] = v;
69251
+ };
69252
+ _SuppressedError2 = typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message) {
69253
+ var e2 = new Error(message);
69254
+ return e2.name = "SuppressedError", e2.error = error2, e2.suppressed = suppressed, e2;
69255
+ };
69256
+ tslib_es6_default2 = {
69257
+ __extends: __extends2,
69258
+ __assign: __assign2,
69259
+ __rest: __rest2,
69260
+ __decorate: __decorate2,
69261
+ __param: __param2,
69262
+ __metadata: __metadata2,
69263
+ __awaiter: __awaiter2,
69264
+ __generator: __generator2,
69265
+ __createBinding: __createBinding2,
69266
+ __exportStar: __exportStar2,
69267
+ __values: __values2,
69268
+ __read: __read2,
69269
+ __spread: __spread2,
69270
+ __spreadArrays: __spreadArrays2,
69271
+ __spreadArray: __spreadArray2,
69272
+ __await: __await2,
69273
+ __asyncGenerator: __asyncGenerator2,
69274
+ __asyncDelegator: __asyncDelegator2,
69275
+ __asyncValues: __asyncValues2,
69276
+ __makeTemplateObject: __makeTemplateObject2,
69277
+ __importStar: __importStar2,
69278
+ __importDefault: __importDefault2,
69279
+ __classPrivateFieldGet: __classPrivateFieldGet3,
69280
+ __classPrivateFieldSet: __classPrivateFieldSet3,
69281
+ __classPrivateFieldIn: __classPrivateFieldIn2,
69282
+ __addDisposableResource: __addDisposableResource2,
69283
+ __disposeResources: __disposeResources2
69284
+ };
69285
+ }
69286
+ });
69287
+
68693
69288
  // ../node_modules/.pnpm/@aws-sdk+client-rds-data@3.583.0/node_modules/@aws-sdk/client-rds-data/package.json
68694
69289
  var require_package2 = __commonJS({
68695
69290
  "../node_modules/.pnpm/@aws-sdk+client-rds-data@3.583.0/node_modules/@aws-sdk/client-rds-data/package.json"(exports2, module2) {
@@ -74381,7 +74976,7 @@ var require_dist_cjs51 = __commonJS({
74381
74976
  var require_fromWebToken = __commonJS({
74382
74977
  "../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.577.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js"(exports2) {
74383
74978
  "use strict";
74384
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m2, k, k2) {
74979
+ var __createBinding3 = exports2 && exports2.__createBinding || (Object.create ? function(o, m2, k, k2) {
74385
74980
  if (k2 === void 0)
74386
74981
  k2 = k;
74387
74982
  var desc = Object.getOwnPropertyDescriptor(m2, k);
@@ -74396,21 +74991,21 @@ var require_fromWebToken = __commonJS({
74396
74991
  k2 = k;
74397
74992
  o[k2] = m2[k];
74398
74993
  });
74399
- var __setModuleDefault2 = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
74994
+ var __setModuleDefault3 = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
74400
74995
  Object.defineProperty(o, "default", { enumerable: true, value: v });
74401
74996
  } : function(o, v) {
74402
74997
  o["default"] = v;
74403
74998
  });
74404
- var __importStar2 = exports2 && exports2.__importStar || function(mod) {
74999
+ var __importStar3 = exports2 && exports2.__importStar || function(mod) {
74405
75000
  if (mod && mod.__esModule)
74406
75001
  return mod;
74407
75002
  var result = {};
74408
75003
  if (mod != null) {
74409
75004
  for (var k in mod)
74410
75005
  if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
74411
- __createBinding2(result, mod, k);
75006
+ __createBinding3(result, mod, k);
74412
75007
  }
74413
- __setModuleDefault2(result, mod);
75008
+ __setModuleDefault3(result, mod);
74414
75009
  return result;
74415
75010
  };
74416
75011
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -74421,7 +75016,7 @@ var require_fromWebToken = __commonJS({
74421
75016
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy: policy3, durationSeconds } = init2;
74422
75017
  let { roleAssumerWithWebIdentity } = init2;
74423
75018
  if (!roleAssumerWithWebIdentity) {
74424
- const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar2(require_dist_cjs50()));
75019
+ const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar3(require_dist_cjs50()));
74425
75020
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
74426
75021
  ...init2.clientConfig,
74427
75022
  credentialProviderLogger: init2.logger,
@@ -74883,7 +75478,7 @@ var require_runtimeConfig4 = __commonJS({
74883
75478
  "use strict";
74884
75479
  Object.defineProperty(exports2, "__esModule", { value: true });
74885
75480
  exports2.getRuntimeConfig = void 0;
74886
- var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
75481
+ var tslib_1 = (init_tslib_es62(), __toCommonJS(tslib_es6_exports2));
74887
75482
  var package_json_1 = tslib_1.__importDefault(require_package2());
74888
75483
  var core_1 = require_dist_cjs37();
74889
75484
  var credential_provider_node_1 = require_dist_cjs54();
@@ -89049,7 +89644,7 @@ init_utils2();
89049
89644
  var version2 = async () => {
89050
89645
  const { npmVersion } = await ormCoreVersions();
89051
89646
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
89052
- const envVersion = "0.28.1-44b6c8a";
89647
+ const envVersion = "0.28.1-7fe6033";
89053
89648
  const kitVersion = envVersion ? `v${envVersion}` : "--";
89054
89649
  const versions = `drizzle-kit: ${kitVersion}
89055
89650
  ${ormVersion}`;