drizzle-kit 1.0.0-beta.1-c569775 → 1.0.0-beta.1-fd8bfcc
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/api.js +6 -4
- package/api.mjs +6 -4
- package/bin.cjs +1 -1
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -32836,9 +32836,9 @@ var init_common3 = __esm({
|
|
|
32836
32836
|
function hexToText(hexString) {
|
|
32837
32837
|
let result = "";
|
|
32838
32838
|
for (let i = 0; i < hexString.length; i += 2) {
|
|
32839
|
-
const hexPair = hexString.
|
|
32840
|
-
const decimalValue = parseInt(hexPair, 16);
|
|
32841
|
-
result += String.
|
|
32839
|
+
const hexPair = hexString.slice(i, i + 2);
|
|
32840
|
+
const decimalValue = Number.parseInt(hexPair, 16);
|
|
32841
|
+
result += String.fromCodePoint(decimalValue);
|
|
32842
32842
|
}
|
|
32843
32843
|
return result;
|
|
32844
32844
|
}
|
|
@@ -37987,7 +37987,9 @@ var init_custom3 = __esm({
|
|
|
37987
37987
|
const type = parenPos + 1 ? rawType.slice(0, parenPos) : rawType;
|
|
37988
37988
|
switch (type) {
|
|
37989
37989
|
case "binary":
|
|
37990
|
-
case "varbinary":
|
|
37990
|
+
case "varbinary": {
|
|
37991
|
+
return sql2`hex(${identifier})`;
|
|
37992
|
+
}
|
|
37991
37993
|
case "time":
|
|
37992
37994
|
case "datetime":
|
|
37993
37995
|
case "decimal":
|
package/api.mjs
CHANGED
|
@@ -32841,9 +32841,9 @@ var init_common3 = __esm({
|
|
|
32841
32841
|
function hexToText(hexString) {
|
|
32842
32842
|
let result = "";
|
|
32843
32843
|
for (let i = 0; i < hexString.length; i += 2) {
|
|
32844
|
-
const hexPair = hexString.
|
|
32845
|
-
const decimalValue = parseInt(hexPair, 16);
|
|
32846
|
-
result += String.
|
|
32844
|
+
const hexPair = hexString.slice(i, i + 2);
|
|
32845
|
+
const decimalValue = Number.parseInt(hexPair, 16);
|
|
32846
|
+
result += String.fromCodePoint(decimalValue);
|
|
32847
32847
|
}
|
|
32848
32848
|
return result;
|
|
32849
32849
|
}
|
|
@@ -37992,7 +37992,9 @@ var init_custom3 = __esm({
|
|
|
37992
37992
|
const type = parenPos + 1 ? rawType.slice(0, parenPos) : rawType;
|
|
37993
37993
|
switch (type) {
|
|
37994
37994
|
case "binary":
|
|
37995
|
-
case "varbinary":
|
|
37995
|
+
case "varbinary": {
|
|
37996
|
+
return sql2`hex(${identifier})`;
|
|
37997
|
+
}
|
|
37996
37998
|
case "time":
|
|
37997
37999
|
case "datetime":
|
|
37998
38000
|
case "decimal":
|
package/bin.cjs
CHANGED
|
@@ -93920,7 +93920,7 @@ init_utils5();
|
|
|
93920
93920
|
var version2 = async () => {
|
|
93921
93921
|
const { npmVersion } = await ormCoreVersions();
|
|
93922
93922
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
|
93923
|
-
const envVersion = "1.0.0-beta.1-
|
|
93923
|
+
const envVersion = "1.0.0-beta.1-fd8bfcc";
|
|
93924
93924
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
|
93925
93925
|
const versions = `drizzle-kit: ${kitVersion}
|
|
93926
93926
|
${ormVersion}`;
|