drizzle-kit 1.0.0-beta.3-bd5bd2b → 1.0.0-beta.3-a8902bc

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/bin.cjs +7 -1
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -181882,7 +181882,7 @@ var push = command({
181882
181882
  ...optionsFilters,
181883
181883
  ...optionsDatabaseCredentials,
181884
181884
  verbose: boolean().desc("Print all statements for each push").default(false),
181885
- strict: boolean().desc("Always ask for confirmation").default(false),
181885
+ strict: boolean().desc("Always ask for confirmation"),
181886
181886
  force: boolean().desc(
181887
181887
  "Auto-approve all data loss statements. Note: Data loss statements may truncate your tables and data"
181888
181888
  ).default(false),
@@ -181912,6 +181912,12 @@ var push = command({
181912
181912
  "tlsSecurity"
181913
181913
  ]
181914
181914
  );
181915
+ if (typeof opts.strict !== "undefined") {
181916
+ console.log(withStyle.fullWarning(
181917
+ "\u26A0\uFE0F Deprecated: Do not use 'strict' flag. Use 'explain' instead"
181918
+ ));
181919
+ process.exit(1);
181920
+ }
181915
181921
  return preparePushConfig(opts, from);
181916
181922
  },
181917
181923
  handler: async (config) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "1.0.0-beta.3-bd5bd2b",
3
+ "version": "1.0.0-beta.3-a8902bc",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",