Skip to content

Commit 00b4217

Browse files
committed
chore: update dependencies
1 parent 3484326 commit 00b4217

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -35,49 +35,49 @@
3535
},
3636
"devDependencies": {
3737
"@adonisjs/application": "8.1.0",
38-
"@adonisjs/eslint-config": "^1.2.1",
39-
"@adonisjs/prettier-config": "^1.2.1",
40-
"@adonisjs/tsconfig": "^1.2.1",
41-
"@commitlint/cli": "^18.5.0",
42-
"@commitlint/config-conventional": "^18.5.0",
38+
"@adonisjs/eslint-config": "^1.3.0",
39+
"@adonisjs/prettier-config": "^1.3.0",
40+
"@adonisjs/tsconfig": "^1.3.0",
41+
"@commitlint/cli": "^19.2.1",
42+
"@commitlint/config-conventional": "^19.1.0",
4343
"@japa/assert": "^2.1.0",
4444
"@japa/file-system": "^2.2.0",
45-
"@japa/runner": "^3.1.1",
45+
"@japa/runner": "^3.1.2",
4646
"@japa/snapshot": "^2.0.4",
47-
"@swc/core": "^1.3.105",
48-
"@types/node": "^20.11.5",
47+
"@swc/core": "^1.4.11",
48+
"@types/node": "^20.12.2",
4949
"@types/picomatch": "^2.3.3",
5050
"@types/pretty-hrtime": "^1.0.3",
5151
"c8": "^9.1.0",
5252
"cross-env": "^7.0.3",
53-
"del-cli": "^5.0.0",
54-
"eslint": "^8.56.0",
53+
"del-cli": "^5.1.0",
54+
"eslint": "^8.57.0",
5555
"github-label-sync": "^2.3.1",
56-
"husky": "^8.0.3",
57-
"np": "^9.2.0",
58-
"p-event": "^6.0.0",
59-
"prettier": "^3.2.4",
56+
"husky": "^9.0.11",
57+
"np": "^10.0.2",
58+
"p-event": "^6.0.1",
59+
"prettier": "^3.2.5",
6060
"ts-node": "^10.9.2",
61-
"tsup": "^8.0.1",
62-
"typescript": "^5.3.3"
61+
"tsup": "^8.0.2",
62+
"typescript": "^5.4.3"
6363
},
6464
"dependencies": {
65-
"@adonisjs/env": "^5.0.1",
66-
"@antfu/install-pkg": "^0.3.1",
67-
"@poppinss/chokidar-ts": "^4.1.3",
68-
"@poppinss/cliui": "^6.3.0",
69-
"@poppinss/hooks": "^7.2.2",
70-
"@poppinss/utils": "^6.7.2",
71-
"cpy": "^11.0.0",
65+
"@adonisjs/env": "^6.0.0",
66+
"@antfu/install-pkg": "^0.3.2",
67+
"@poppinss/chokidar-ts": "^4.1.4",
68+
"@poppinss/cliui": "^6.4.1",
69+
"@poppinss/hooks": "^7.2.3",
70+
"@poppinss/utils": "^6.7.3",
71+
"cpy": "^11.0.1",
7272
"dedent": "^1.5.1",
7373
"execa": "^8.0.1",
7474
"fast-glob": "^3.3.2",
75-
"get-port": "^7.0.0",
75+
"get-port": "^7.1.0",
7676
"junk": "^4.0.1",
77-
"picomatch": "^3.0.1",
77+
"picomatch": "^4.0.2",
7878
"pretty-hrtime": "^1.0.3",
7979
"slash": "^5.1.0",
80-
"ts-morph": "^21.0.1"
80+
"ts-morph": "^22.0.0"
8181
},
8282
"peerDependencies": {
8383
"typescript": "^4.0.0 || ^5.0.0"

src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export async function getPort(cwd: URL): Promise<number> {
159159
*/
160160
const files = await new EnvLoader(cwd).load()
161161
for (let file of files) {
162-
const envVariables = new EnvParser(file.contents).parse()
162+
const envVariables = await new EnvParser(file.contents).parse()
163163
if (envVariables.PORT) {
164164
return getRandomPort({ port: Number(envVariables.PORT) })
165165
}

0 commit comments

Comments
 (0)