drizzle-kit 0.23.2-e9a7a6c → 0.23.2

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 +5 -5
  2. package/api.mjs +5 -5
  3. package/bin.cjs +1 -1
  4. package/package.json +1 -1
package/api.js CHANGED
@@ -18100,7 +18100,7 @@ var version;
18100
18100
  var init_version = __esm({
18101
18101
  "../drizzle-orm/dist/version.js"() {
18102
18102
  "use strict";
18103
- version = "0.32.1";
18103
+ version = "0.32.2";
18104
18104
  }
18105
18105
  });
18106
18106
 
@@ -18322,7 +18322,7 @@ var init_sql = __esm({
18322
18322
  if (inlineParams) {
18323
18323
  return { sql: this.mapInlineParam(mappedValue, config), params: [] };
18324
18324
  }
18325
- let typings;
18325
+ let typings = ["none"];
18326
18326
  if (prepareTyping) {
18327
18327
  typings = [prepareTyping(chunk.encoder)];
18328
18328
  }
@@ -18364,7 +18364,7 @@ var init_sql = __esm({
18364
18364
  if (inlineParams) {
18365
18365
  return { sql: this.mapInlineParam(chunk, config), params: [] };
18366
18366
  }
18367
- return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
18367
+ return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
18368
18368
  }));
18369
18369
  }
18370
18370
  mapInlineParam(chunk, { escapeString }) {
@@ -33139,7 +33139,7 @@ var init_session3 = __esm({
33139
33139
  if (config.isolationLevel) {
33140
33140
  parts.push(`isolation level ${config.isolationLevel}`);
33141
33141
  }
33142
- return parts.length ? sql.join(["set transaction ", parts.join(" ")]) : void 0;
33142
+ return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
33143
33143
  }
33144
33144
  getStartTransactionSQL(config) {
33145
33145
  const parts = [];
@@ -33149,7 +33149,7 @@ var init_session3 = __esm({
33149
33149
  if (config.accessMode) {
33150
33150
  parts.push(config.accessMode);
33151
33151
  }
33152
- return parts.length ? sql.join(["start transaction ", parts.join(" ")]) : void 0;
33152
+ return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
33153
33153
  }
33154
33154
  };
33155
33155
  __publicField(MySqlSession, _a318, "MySqlSession");
package/api.mjs CHANGED
@@ -18105,7 +18105,7 @@ var version;
18105
18105
  var init_version = __esm({
18106
18106
  "../drizzle-orm/dist/version.js"() {
18107
18107
  "use strict";
18108
- version = "0.32.1";
18108
+ version = "0.32.2";
18109
18109
  }
18110
18110
  });
18111
18111
 
@@ -18327,7 +18327,7 @@ var init_sql = __esm({
18327
18327
  if (inlineParams) {
18328
18328
  return { sql: this.mapInlineParam(mappedValue, config), params: [] };
18329
18329
  }
18330
- let typings;
18330
+ let typings = ["none"];
18331
18331
  if (prepareTyping) {
18332
18332
  typings = [prepareTyping(chunk.encoder)];
18333
18333
  }
@@ -18369,7 +18369,7 @@ var init_sql = __esm({
18369
18369
  if (inlineParams) {
18370
18370
  return { sql: this.mapInlineParam(chunk, config), params: [] };
18371
18371
  }
18372
- return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
18372
+ return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
18373
18373
  }));
18374
18374
  }
18375
18375
  mapInlineParam(chunk, { escapeString }) {
@@ -33144,7 +33144,7 @@ var init_session3 = __esm({
33144
33144
  if (config.isolationLevel) {
33145
33145
  parts.push(`isolation level ${config.isolationLevel}`);
33146
33146
  }
33147
- return parts.length ? sql.join(["set transaction ", parts.join(" ")]) : void 0;
33147
+ return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
33148
33148
  }
33149
33149
  getStartTransactionSQL(config) {
33150
33150
  const parts = [];
@@ -33154,7 +33154,7 @@ var init_session3 = __esm({
33154
33154
  if (config.accessMode) {
33155
33155
  parts.push(config.accessMode);
33156
33156
  }
33157
- return parts.length ? sql.join(["start transaction ", parts.join(" ")]) : void 0;
33157
+ return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
33158
33158
  }
33159
33159
  };
33160
33160
  __publicField(MySqlSession, _a318, "MySqlSession");
package/bin.cjs CHANGED
@@ -83369,7 +83369,7 @@ init_utils2();
83369
83369
  var version2 = async () => {
83370
83370
  const { npmVersion } = await ormCoreVersions();
83371
83371
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
83372
- const envVersion = "0.23.2-e9a7a6c";
83372
+ const envVersion = "0.23.2";
83373
83373
  const kitVersion = envVersion ? `v${envVersion}` : "--";
83374
83374
  const versions = `drizzle-kit: ${kitVersion}
83375
83375
  ${ormVersion}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.23.2-e9a7a6c",
3
+ "version": "0.23.2",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",