Skip to content

Commit

Permalink
fix(adapters): fix missing extension for imported path
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 27, 2024
1 parent 205448a commit 26381a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/orm/adapters/src/adapters/FileSyncAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {nameOf} from "@tsed/core";
import {Configuration, Injectable, Opts, ProviderScope, Scope} from "@tsed/di";
import fs from "fs-extra";
import low from "lowdb";
import FileSync from "lowdb/adapters/FileSync";
import FileSync from "lowdb/adapters/FileSync.js";
import {dirname} from "path";
import {AdapterConstructorOptions} from "../domain/Adapter.js";
import {AdapterModel, LowDbAdapter} from "./LowDbAdapter.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/orm/adapters/src/adapters/LowDbAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {cleanObject} from "@tsed/core";
import isMatch from "lodash/isMatch";
import isMatch from "lodash/isMatch.js";
import low from "lowdb";
import {v4 as uuid} from "uuid";
import {Adapter} from "../domain/Adapter.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/orm/adapters/src/adapters/MemoryAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Configuration, Injectable, Opts, ProviderScope, Scope} from "@tsed/di";
import low from "lowdb";
import Memory from "lowdb/adapters/Memory";
import Memory from "lowdb/adapters/Memory.js";
import {AdapterModel, LowDbAdapter} from "./LowDbAdapter.js";

@Injectable()
Expand Down

0 comments on commit 26381a3

Please sign in to comment.