Skip to content

Commit 8f5a681

Browse files
committed
update litefs-js
1 parent 282f32c commit 8f5a681

File tree

3 files changed

+8
-22
lines changed

3 files changed

+8
-22
lines changed

app/utils/litefs.server.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
// litefs-js should be used server-side only. It imports `fs` which results in Remix
22
// including a big polyfill. So we put the import in a `.server.ts` file to avoid that
33
// polyfill from being included. https://github.com/epicweb-dev/epic-stack/pull/331
4-
export {
5-
getInstanceInfo,
6-
getAllInstances,
7-
getInternalInstanceDomain,
8-
getInstanceInfoSync,
9-
} from 'litefs-js'
10-
export { ensurePrimary, ensureInstance } from 'litefs-js/remix.js'
4+
export * from 'litefs-js'
5+
export * from 'litefs-js/remix'

package-lock.json

Lines changed: 5 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"input-otp": "^1.4.2",
9090
"intl-parse-accept-language": "^1.0.0",
9191
"isbot": "^5.1.27",
92-
"litefs-js": "^1.1.2",
92+
"litefs-js": "^2.0.1",
9393
"lru-cache": "^11.1.0",
9494
"mime-types": "^3.0.1",
9595
"morgan": "^1.10.0",

0 commit comments

Comments
 (0)