Skip to content

Commit

Permalink
chore: fix the cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mabels committed Dec 16, 2024
1 parent 7ebdf48 commit bc9b739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cborg/bin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

import process from 'process'
import { decode, encode } from '../cborg.js'
import { decode, encode } from 'cborg'
import { tokensToDiagnostic, fromDiag } from './diagnostic.js'
import { fromHex as _fromHex, toHex } from 'cborg/utils'

Expand Down
3 changes: 1 addition & 2 deletions cborg/diagnostic.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Tokeniser } from './decode.js'
import { Type } from './token.js'
import { uintBoundaries, toHex, fromHex } from 'cborg/utils'
import { uintBoundaries, toHex, fromHex, Type } from 'cborg/utils'

const utf8Encoder = new TextEncoder()
const utf8Decoder = new TextDecoder()
Expand Down

0 comments on commit bc9b739

Please sign in to comment.