Skip to content

Commit

Permalink
Merge pull request #1887 from nellh/deno-deps-update
Browse files Browse the repository at this point in the history
Update Deno dependencies
  • Loading branch information
rwblair authored Feb 1, 2024
2 parents 37b8a49 + c2343f2 commit 96dc8b5
Show file tree
Hide file tree
Showing 10 changed files with 379 additions and 18 deletions.
8 changes: 8 additions & 0 deletions bids-validator/deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"imports": {
"std/": "https://deno.land/[email protected]/"
},
"tasks": {
"test": "deno test -A src/tests/"
}
}
353 changes: 353 additions & 0 deletions bids-validator/deno.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bids-validator/src/deps/asserts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export {
assertObjectMatch,
assertExists,
assertRejects,
} from 'https://deno.land/std@0.177.0/testing/asserts.ts'
} from 'std/testing/asserts.ts'
4 changes: 2 additions & 2 deletions bids-validator/src/deps/cliffy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export {
Cell,
Row,
Table,
} from 'https://deno.land/x/cliffy@v0.25.7/table/mod.ts'
} from 'https://deno.land/x/cliffy@v1.0.0-rc.3/table/mod.ts'
export {
Command,
EnumType,
} from 'https://deno.land/x/cliffy@v0.25.7/command/mod.ts'
} from 'https://deno.land/x/cliffy@v1.0.0-rc.3/command/mod.ts'
2 changes: 1 addition & 1 deletion bids-validator/src/deps/fmt.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as colors from 'https://deno.land/std@0.177.0/fmt/colors.ts'
export * as colors from 'std/fmt/colors.ts'
2 changes: 1 addition & 1 deletion bids-validator/src/deps/fs.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { walk } from 'https://deno.land/std@0.177.0/fs/walk.ts'
export { walk } from 'std/fs/walk.ts'
16 changes: 8 additions & 8 deletions bids-validator/src/deps/logger.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export {
Logger,
LogLevels,
error,
critical,
debug,
error,
getLogger,
info,
Logger,
LogLevels,
setup,
warning,
handlers,
getLogger,
} from 'https://deno.land/[email protected]/log/mod.ts'
export { LogLevelNames } from 'https://deno.land/[email protected]/log/levels.ts'
export type { LevelName } from 'https://deno.land/[email protected]/log/mod.ts'
} from "std/log/mod.ts"
export { ConsoleHandler } from "std/log/console_handler.ts"
export { LogLevelNames } from "std/log/levels.ts"
export type { LevelName } from "std/log/mod.ts"
4 changes: 2 additions & 2 deletions bids-validator/src/deps/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export {
extname,
fromFileUrl,
parse,
} from 'https://deno.land/std@0.177.0/path/mod.ts'
export { SEP } from 'https://deno.land/std@0.177.0/path/separator.ts'
} from 'std/path/mod.ts'
export { SEP } from 'std/path/separator.ts'
2 changes: 1 addition & 1 deletion bids-validator/src/deps/stream.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {
readAll,
readerFromStreamReader,
} from 'https://deno.land/std@0.177.0/streams/mod.ts'
} from 'std/streams/mod.ts'
4 changes: 2 additions & 2 deletions bids-validator/src/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
setup,
handlers,
ConsoleHandler,
LevelName,
getLogger,
Logger,
Expand All @@ -12,7 +12,7 @@ import {
export function setupLogging(level: LevelName) {
setup({
handlers: {
console: new handlers.ConsoleHandler(level),
console: new ConsoleHandler(level),
},

loggers: {
Expand Down

0 comments on commit 96dc8b5

Please sign in to comment.