drizzle-kit 0.21.0-178d0dc → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/bin.cjs +57 -57
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -109854,10 +109854,10 @@ var init_dist2 = __esm({
109854
109854
  }
109855
109855
  });
109856
109856
 
109857
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/url.js
109857
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/url.js
109858
109858
  var splitPath, splitRoutingPath, extractGroupsFromPath, replaceGroupMarks, patternCache, getPattern, getPath, getQueryStrings, getPathNoStrict, mergePath, checkOptionalParameter, _decodeURI, _getQueryParam, getQueryParam, getQueryParams, decodeURIComponent_;
109859
109859
  var init_url = __esm({
109860
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/url.js"() {
109860
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/url.js"() {
109861
109861
  splitPath = (path5) => {
109862
109862
  const paths = path5.split("/");
109863
109863
  if (paths[0] === "") {
@@ -110052,10 +110052,10 @@ var init_url = __esm({
110052
110052
  }
110053
110053
  });
110054
110054
 
110055
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/cookie.js
110055
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/cookie.js
110056
110056
  var validCookieNameRegEx, validCookieValueRegEx, parse4;
110057
110057
  var init_cookie = __esm({
110058
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/cookie.js"() {
110058
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/cookie.js"() {
110059
110059
  init_url();
110060
110060
  validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
110061
110061
  validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
@@ -110084,10 +110084,10 @@ var init_cookie = __esm({
110084
110084
  }
110085
110085
  });
110086
110086
 
110087
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/helper/cookie/index.js
110087
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/helper/cookie/index.js
110088
110088
  var getCookie;
110089
110089
  var init_cookie2 = __esm({
110090
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/helper/cookie/index.js"() {
110090
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/helper/cookie/index.js"() {
110091
110091
  init_cookie();
110092
110092
  getCookie = (c, key, prefix) => {
110093
110093
  const cookie = c.req.raw.headers.get("Cookie");
@@ -110113,10 +110113,10 @@ var init_cookie2 = __esm({
110113
110113
  }
110114
110114
  });
110115
110115
 
110116
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/http-exception.js
110116
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/http-exception.js
110117
110117
  var HTTPException;
110118
110118
  var init_http_exception = __esm({
110119
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/http-exception.js"() {
110119
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/http-exception.js"() {
110120
110120
  HTTPException = class extends Error {
110121
110121
  res;
110122
110122
  status;
@@ -110137,16 +110137,16 @@ var init_http_exception = __esm({
110137
110137
  }
110138
110138
  });
110139
110139
 
110140
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/crypto.js
110140
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/crypto.js
110141
110141
  var init_crypto = __esm({
110142
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/crypto.js"() {
110142
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/crypto.js"() {
110143
110143
  }
110144
110144
  });
110145
110145
 
110146
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/buffer.js
110146
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/buffer.js
110147
110147
  var bufferToFormData;
110148
110148
  var init_buffer = __esm({
110149
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/buffer.js"() {
110149
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/buffer.js"() {
110150
110150
  init_crypto();
110151
110151
  bufferToFormData = (arrayBuffer, contentType) => {
110152
110152
  const response = new Response(arrayBuffer, {
@@ -110159,10 +110159,10 @@ var init_buffer = __esm({
110159
110159
  }
110160
110160
  });
110161
110161
 
110162
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/validator/validator.js
110162
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/validator/validator.js
110163
110163
  var validator;
110164
110164
  var init_validator = __esm({
110165
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/validator/validator.js"() {
110165
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/validator/validator.js"() {
110166
110166
  init_cookie2();
110167
110167
  init_http_exception();
110168
110168
  init_buffer();
@@ -110172,7 +110172,7 @@ var init_validator = __esm({
110172
110172
  const contentType = c.req.header("Content-Type");
110173
110173
  switch (target) {
110174
110174
  case "json":
110175
- if (!contentType || !contentType.startsWith("application/json")) {
110175
+ if (!contentType || !/^application\/([a-z-]+\+)?json/.test(contentType)) {
110176
110176
  const message = `Invalid HTTP header: Content-Type=${contentType}`;
110177
110177
  throw new HTTPException(400, { message });
110178
110178
  }
@@ -110244,17 +110244,17 @@ var init_validator = __esm({
110244
110244
  }
110245
110245
  });
110246
110246
 
110247
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/validator/index.js
110247
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/validator/index.js
110248
110248
  var init_validator2 = __esm({
110249
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/validator/index.js"() {
110249
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/validator/index.js"() {
110250
110250
  init_validator();
110251
110251
  }
110252
110252
  });
110253
110253
 
110254
- // node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.3.3_zod@3.23.8/node_modules/@hono/zod-validator/dist/esm/index.js
110254
+ // node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.3.4_zod@3.23.8/node_modules/@hono/zod-validator/dist/esm/index.js
110255
110255
  var zValidator;
110256
110256
  var init_esm = __esm({
110257
- "node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.3.3_zod@3.23.8/node_modules/@hono/zod-validator/dist/esm/index.js"() {
110257
+ "node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.3.4_zod@3.23.8/node_modules/@hono/zod-validator/dist/esm/index.js"() {
110258
110258
  init_validator2();
110259
110259
  zValidator = (target, schema5, hook2) => (
110260
110260
  // @ts-expect-error not typed well
@@ -110281,10 +110281,10 @@ var init_esm = __esm({
110281
110281
  }
110282
110282
  });
110283
110283
 
110284
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/html.js
110284
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/html.js
110285
110285
  var HtmlEscapedCallbackPhase, raw, resolveCallback;
110286
110286
  var init_html = __esm({
110287
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/html.js"() {
110287
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/html.js"() {
110288
110288
  HtmlEscapedCallbackPhase = {
110289
110289
  Stringify: 1,
110290
110290
  BeforeStream: 2,
@@ -110320,10 +110320,10 @@ var init_html = __esm({
110320
110320
  }
110321
110321
  });
110322
110322
 
110323
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/context.js
110323
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/context.js
110324
110324
  var TEXT_PLAIN, setHeaders, Context;
110325
110325
  var init_context = __esm({
110326
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/context.js"() {
110326
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/context.js"() {
110327
110327
  init_html();
110328
110328
  TEXT_PLAIN = "text/plain; charset=UTF-8";
110329
110329
  setHeaders = (headers, map = {}) => {
@@ -110543,10 +110543,10 @@ var init_context = __esm({
110543
110543
  }
110544
110544
  });
110545
110545
 
110546
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/compose.js
110546
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/compose.js
110547
110547
  var compose;
110548
110548
  var init_compose = __esm({
110549
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/compose.js"() {
110549
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/compose.js"() {
110550
110550
  init_context();
110551
110551
  compose = (middleware, onError, onNotFound) => {
110552
110552
  return (context, next) => {
@@ -110597,7 +110597,7 @@ var init_compose = __esm({
110597
110597
  }
110598
110598
  });
110599
110599
 
110600
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/body.js
110600
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/body.js
110601
110601
  async function parseFormData(request, options) {
110602
110602
  const formData = await request.formData();
110603
110603
  if (formData) {
@@ -110619,7 +110619,7 @@ function convertFormDataToBodyData(formData, options) {
110619
110619
  }
110620
110620
  var parseBody, handleParsingAllValues;
110621
110621
  var init_body = __esm({
110622
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/utils/body.js"() {
110622
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/utils/body.js"() {
110623
110623
  init_request();
110624
110624
  parseBody = async (request, options = { all: false }) => {
110625
110625
  const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
@@ -110643,10 +110643,10 @@ var init_body = __esm({
110643
110643
  }
110644
110644
  });
110645
110645
 
110646
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/request.js
110646
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/request.js
110647
110647
  var HonoRequest;
110648
110648
  var init_request = __esm({
110649
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/request.js"() {
110649
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/request.js"() {
110650
110650
  init_body();
110651
110651
  init_url();
110652
110652
  HonoRequest = class {
@@ -110767,10 +110767,10 @@ var init_request = __esm({
110767
110767
  }
110768
110768
  });
110769
110769
 
110770
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router.js
110770
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router.js
110771
110771
  var METHOD_NAME_ALL, METHOD_NAME_ALL_LOWERCASE, METHODS, MESSAGE_MATCHER_IS_ALREADY_BUILT, UnsupportedPathError;
110772
110772
  var init_router = __esm({
110773
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router.js"() {
110773
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router.js"() {
110774
110774
  METHOD_NAME_ALL = "ALL";
110775
110775
  METHOD_NAME_ALL_LOWERCASE = "all";
110776
110776
  METHODS = ["get", "post", "put", "delete", "options", "patch"];
@@ -110780,14 +110780,14 @@ var init_router = __esm({
110780
110780
  }
110781
110781
  });
110782
110782
 
110783
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/hono-base.js
110783
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/hono-base.js
110784
110784
  function defineDynamicClass() {
110785
110785
  return class {
110786
110786
  };
110787
110787
  }
110788
110788
  var COMPOSED_HANDLER, notFoundHandler, errorHandler, Hono;
110789
110789
  var init_hono_base = __esm({
110790
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/hono-base.js"() {
110790
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/hono-base.js"() {
110791
110791
  init_compose();
110792
110792
  init_context();
110793
110793
  init_http_exception();
@@ -111006,7 +111006,7 @@ var init_hono_base = __esm({
111006
111006
  }
111007
111007
  });
111008
111008
 
111009
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/node.js
111009
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/node.js
111010
111010
  function compareKey(a3, b4) {
111011
111011
  if (a3.length === 1) {
111012
111012
  return b4.length === 1 ? a3 < b4 ? -1 : 1 : -1;
@@ -111028,7 +111028,7 @@ function compareKey(a3, b4) {
111028
111028
  }
111029
111029
  var LABEL_REG_EXP_STR, ONLY_WILDCARD_REG_EXP_STR, TAIL_WILDCARD_REG_EXP_STR, PATH_ERROR, regExpMetaChars, Node;
111030
111030
  var init_node = __esm({
111031
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/node.js"() {
111031
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/node.js"() {
111032
111032
  LABEL_REG_EXP_STR = "[^/]+";
111033
111033
  ONLY_WILDCARD_REG_EXP_STR = ".*";
111034
111034
  TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
@@ -111116,10 +111116,10 @@ var init_node = __esm({
111116
111116
  }
111117
111117
  });
111118
111118
 
111119
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/trie.js
111119
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/trie.js
111120
111120
  var Trie;
111121
111121
  var init_trie = __esm({
111122
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/trie.js"() {
111122
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/trie.js"() {
111123
111123
  init_node();
111124
111124
  Trie = class {
111125
111125
  context = { varIndex: 0 };
@@ -111178,7 +111178,7 @@ var init_trie = __esm({
111178
111178
  }
111179
111179
  });
111180
111180
 
111181
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/router.js
111181
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/router.js
111182
111182
  function buildWildcardRegExp(path5) {
111183
111183
  return wildcardRegExpCache[path5] ??= new RegExp(
111184
111184
  path5 === "*" ? "" : `^${path5.replace(
@@ -111261,7 +111261,7 @@ function findMiddleware(middleware, path5) {
111261
111261
  }
111262
111262
  var emptyParam, nullMatcher, wildcardRegExpCache, RegExpRouter;
111263
111263
  var init_router2 = __esm({
111264
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/router.js"() {
111264
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/router.js"() {
111265
111265
  init_router();
111266
111266
  init_url();
111267
111267
  init_node();
@@ -111383,17 +111383,17 @@ var init_router2 = __esm({
111383
111383
  }
111384
111384
  });
111385
111385
 
111386
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/index.js
111386
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/index.js
111387
111387
  var init_reg_exp_router = __esm({
111388
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/reg-exp-router/index.js"() {
111388
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/reg-exp-router/index.js"() {
111389
111389
  init_router2();
111390
111390
  }
111391
111391
  });
111392
111392
 
111393
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/smart-router/router.js
111393
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/smart-router/router.js
111394
111394
  var SmartRouter;
111395
111395
  var init_router3 = __esm({
111396
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/smart-router/router.js"() {
111396
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/smart-router/router.js"() {
111397
111397
  init_router();
111398
111398
  SmartRouter = class {
111399
111399
  name = "SmartRouter";
@@ -111450,17 +111450,17 @@ var init_router3 = __esm({
111450
111450
  }
111451
111451
  });
111452
111452
 
111453
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/smart-router/index.js
111453
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/smart-router/index.js
111454
111454
  var init_smart_router = __esm({
111455
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/smart-router/index.js"() {
111455
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/smart-router/index.js"() {
111456
111456
  init_router3();
111457
111457
  }
111458
111458
  });
111459
111459
 
111460
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/node.js
111460
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/node.js
111461
111461
  var Node2;
111462
111462
  var init_node2 = __esm({
111463
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/node.js"() {
111463
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/node.js"() {
111464
111464
  init_router();
111465
111465
  init_url();
111466
111466
  Node2 = class {
@@ -111612,10 +111612,10 @@ var init_node2 = __esm({
111612
111612
  }
111613
111613
  });
111614
111614
 
111615
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/router.js
111615
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/router.js
111616
111616
  var TrieRouter;
111617
111617
  var init_router4 = __esm({
111618
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/router.js"() {
111618
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/router.js"() {
111619
111619
  init_url();
111620
111620
  init_node2();
111621
111621
  TrieRouter = class {
@@ -111641,17 +111641,17 @@ var init_router4 = __esm({
111641
111641
  }
111642
111642
  });
111643
111643
 
111644
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/index.js
111644
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/index.js
111645
111645
  var init_trie_router = __esm({
111646
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/router/trie-router/index.js"() {
111646
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/router/trie-router/index.js"() {
111647
111647
  init_router4();
111648
111648
  }
111649
111649
  });
111650
111650
 
111651
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/hono.js
111651
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/hono.js
111652
111652
  var Hono2;
111653
111653
  var init_hono = __esm({
111654
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/hono.js"() {
111654
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/hono.js"() {
111655
111655
  init_hono_base();
111656
111656
  init_reg_exp_router();
111657
111657
  init_smart_router();
@@ -111667,17 +111667,17 @@ var init_hono = __esm({
111667
111667
  }
111668
111668
  });
111669
111669
 
111670
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/index.js
111670
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/index.js
111671
111671
  var init_dist3 = __esm({
111672
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/index.js"() {
111672
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/index.js"() {
111673
111673
  init_hono();
111674
111674
  }
111675
111675
  });
111676
111676
 
111677
- // node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/middleware/cors/index.js
111677
+ // node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/middleware/cors/index.js
111678
111678
  var cors;
111679
111679
  var init_cors = __esm({
111680
- "node_modules/.pnpm/hono@4.3.3/node_modules/hono/dist/middleware/cors/index.js"() {
111680
+ "node_modules/.pnpm/hono@4.3.4/node_modules/hono/dist/middleware/cors/index.js"() {
111681
111681
  cors = (options) => {
111682
111682
  const defaults3 = {
111683
111683
  origin: "*",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.21.0-178d0dc",
3
+ "version": "0.21.0",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",