drizzle-kit 0.18.1-c536fbe → 0.18.1-c8247c5

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.
Files changed (2) hide show
  1. package/index.cjs +9 -15
  2. package/package.json +1 -1
package/index.cjs CHANGED
@@ -46419,22 +46419,16 @@ var assertPackages = async (...pkgs) => {
46419
46419
  };
46420
46420
  var requiredApiVersion = 4;
46421
46421
  var assertOrmCoreVersion = async () => {
46422
- try {
46423
- const { compatibilityVersion } = await import("drizzle-orm/version");
46424
- if (compatibilityVersion && compatibilityVersion === requiredApiVersion)
46425
- return;
46426
- if (!compatibilityVersion || compatibilityVersion < requiredApiVersion) {
46427
- console.log(
46428
- "This version of drizzle-kit requires newer version of drizzle-orm\nPlease update drizzle-orm package to the latest version \u{1F44D}"
46429
- );
46430
- } else {
46431
- console.log(
46432
- "This version of drizzle-kit is outdated\nPlease update drizzle-kit package to the latest version \u{1F44D}"
46433
- );
46434
- }
46435
- } catch (e) {
46422
+ const { compatibilityVersion } = await import("drizzle-orm/version");
46423
+ if (compatibilityVersion && compatibilityVersion === requiredApiVersion)
46424
+ return;
46425
+ if (!compatibilityVersion || compatibilityVersion < requiredApiVersion) {
46426
+ console.log(
46427
+ "This version of drizzle-kit requires newer version of drizzle-orm\nPlease update drizzle-orm package to the latest version \u{1F44D}"
46428
+ );
46429
+ } else {
46436
46430
  console.log(
46437
- "Please install latest version of drizzle-orm"
46431
+ "This version of drizzle-kit is outdated\nPlease update drizzle-kit package to the latest version \u{1F44D}"
46438
46432
  );
46439
46433
  }
46440
46434
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.18.1-c536fbe",
3
+ "version": "0.18.1-c8247c5",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",