Skip to content

Commit 1cbfbdd

Browse files
committed
fix dependencies
1 parent 872fc55 commit 1cbfbdd

File tree

3 files changed

+23
-17
lines changed

3 files changed

+23
-17
lines changed

configure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const nanoid = require('nanoid');
1+
const nanoid = require('nanoid').nanoid;
22
const autoconf = require("@backkit/autoconf");
33

44
autoconf('koa')

package-lock.json

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

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@
2424
"koa": "^2.6.2",
2525
"koa-bodyparser": "^4.2.1",
2626
"koa-router": "^7.4.0",
27-
"koa-session": "^5.10.0"
28-
},
29-
"devDependencies": {
30-
"nanoid": "^2.0.0"
27+
"koa-session": "^5.10.0",
28+
"nanoid": "^3.3.6"
3129
},
3230
"publishConfig": {
3331
"access": "public"

0 commit comments

Comments
 (0)