Comparing version 1.9.2 to 1.9.3
@@ -12,3 +12,6 @@ 'use strict'; | ||
function* tokensToDiagnostic(inp, width = 100) { | ||
const tokeniser = new decode.Tokeniser(inp, { retainStringBytes: true }); | ||
const tokeniser = new decode.Tokeniser(inp, { | ||
retainStringBytes: true, | ||
allowBigInt: true | ||
}); | ||
let pos = 0; | ||
@@ -15,0 +18,0 @@ const indent = []; |
@@ -10,3 +10,6 @@ import { Tokeniser } from './decode.js'; | ||
function* tokensToDiagnostic(inp, width = 100) { | ||
const tokeniser = new Tokeniser(inp, { retainStringBytes: true }); | ||
const tokeniser = new Tokeniser(inp, { | ||
retainStringBytes: true, | ||
allowBigInt: true | ||
}); | ||
let pos = 0; | ||
@@ -13,0 +16,0 @@ const indent = []; |
@@ -13,3 +13,3 @@ import { Tokeniser } from './decode.js' | ||
function * tokensToDiagnostic (inp, width = 100) { | ||
const tokeniser = new Tokeniser(inp, { retainStringBytes: true }) | ||
const tokeniser = new Tokeniser(inp, { retainStringBytes: true, allowBigInt: true }) | ||
let pos = 0 | ||
@@ -16,0 +16,0 @@ const indent = [] |
{ | ||
"name": "cborg", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "Fast CBOR with a focus on strictness", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/cborg.js", |
863948
26537