drizzle-kit 0.12.5 → 0.12.6

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.js +2 -2
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -18219,8 +18219,8 @@ var prepareFromMySqlImports = (imports) => {
18219
18219
  // src/serializer/index.ts
18220
18220
  var import_path = __toESM(require("path"));
18221
18221
  var serialize = (path3, dialect3 = "pg") => {
18222
- const fileName = import_fs.default.lstatSync(path3).isDirectory() ? null : import_path.default.join(path3);
18223
- const filenames = fileName ? [fileName] : import_fs.default.readdirSync(path3).map((it) => import_path.default.join(path3, it));
18222
+ const fileName = import_fs.default.lstatSync(path3).isDirectory() ? null : import_path.default.resolve(path3);
18223
+ const filenames = fileName ? [fileName] : import_fs.default.readdirSync(path3).map((it) => import_path.default.join(import_path.default.resolve(path3), it));
18224
18224
  const { unregister } = (0, import_node.register)({
18225
18225
  target: "node10.4",
18226
18226
  loader: "ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "repository": "https://github.com/lambda-direct/drizzle-kit",
5
5
  "author": "Alex Blokh <aleksandrblokh@gmail.com>",
6
6
  "license": "MIT",
@@ -8,6 +8,7 @@
8
8
  "drizzle-kit": "./index.js"
9
9
  },
10
10
  "dependencies": {
11
+ "@ungap/structured-clone": "^1.0.1",
11
12
  "chalk": "^5.0.1",
12
13
  "commander": "^9.4.0",
13
14
  "hanji": "^0.0.3",