Skip to content

Commit

Permalink
chore: update yaml to v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jan 8, 2025
1 parent 4424de7 commit bc6964c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "zx/index",
"path": "build/*.{js,cjs}",
"limit": "808 kB",
"limit": "809 kB",
"brotli": false,
"gzip": false
},
Expand All @@ -23,14 +23,14 @@
{
"name": "vendor",
"path": "build/vendor-*",
"limit": "763 kB",
"limit": "765 kB",
"brotli": false,
"gzip": false
},
{
"name": "all",
"path": "build/*",
"limit": "846 kB",
"limit": "847 kB",
"brotli": false,
"gzip": false
}
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"typescript": "^5.7.2",
"vitepress": "^1.5.0",
"which": "^5.0.0",
"yaml": "~2.5.1",
"yaml": "~2.7.0",
"zurk": "^0.10.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function main() {
await scriptFromHttp(firstArg, argv.ext)
return
}
const filepath = firstArg.startsWith('file://')
const filepath = firstArg.startsWith('file:')
? url.fileURLToPath(firstArg)
: path.resolve(firstArg)
await importPath(filepath)
Expand Down

0 comments on commit bc6964c

Please sign in to comment.