diff --git a/package.json b/package.json index 6af8d9a..f141214 100644 --- a/package.json +++ b/package.json @@ -31,21 +31,21 @@ "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", - "@semantic-release/github": "^10.0.0", - "@semantic-release/npm": "^12.0.0", + "@semantic-release/github": "^11.0.0", + "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.1", - "@types/chai": "^4.3.11", - "@types/mocha": "^10.0.6", - "@types/node": "^22.0.0", - "c8": "^10.0.0", - "chai": "^5.0.0", + "@types/chai": "^5.0.0", + "@types/mocha": "^10.0.8", + "@types/node": "^22.7.0", + "c8": "^10.1.2", + "chai": "^5.1.1", "conventional-changelog-conventionalcommits": "^8.0.0", "ipld-garbage": "^5.0.0", - "mocha": "^10.2.0", - "polendina": "^3.2.1", - "semantic-release": "^24.0.0", - "standard": "^17.1.0", - "typescript": "^5.3.3" + "mocha": "^10.7.3", + "polendina": "^3.2.2", + "semantic-release": "^24.1.1", + "standard": "^17.1.2", + "typescript": "^5.6.2" }, "exports": { ".": { diff --git a/types/cborg.d.ts b/types/cborg.d.ts index 93b8775..7eed5db 100644 --- a/types/cborg.d.ts +++ b/types/cborg.d.ts @@ -1,19 +1,19 @@ /** * There was originally just `TypeEncoder` so don't break types by renaming or not exporting */ -export type TagDecoder = import('./interface').TagDecoder; +export type TagDecoder = import("./interface").TagDecoder; /** * Export the types that were present in the original manual cborg.d.ts */ -export type TypeEncoder = import('./interface').OptionalTypeEncoder; +export type TypeEncoder = import("./interface").OptionalTypeEncoder; /** * Export the types that were present in the original manual cborg.d.ts */ -export type DecodeOptions = import('./interface').DecodeOptions; +export type DecodeOptions = import("./interface").DecodeOptions; /** * Export the types that were present in the original manual cborg.d.ts */ -export type EncodeOptions = import('./interface').EncodeOptions; +export type EncodeOptions = import("./interface").EncodeOptions; import { decode } from './lib/decode.js'; import { decodeFirst } from './lib/decode.js'; import { Tokeniser } from './lib/decode.js'; diff --git a/types/lib/0uint.d.ts b/types/lib/0uint.d.ts index bea332b..fc6f833 100644 --- a/types/lib/0uint.d.ts +++ b/types/lib/0uint.d.ts @@ -94,7 +94,7 @@ export namespace encodeUintValue { function encodedSize(uint: number): number; } export const uintBoundaries: (number | bigint)[]; -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=0uint.d.ts.map \ No newline at end of file diff --git a/types/lib/0uint.d.ts.map b/types/lib/0uint.d.ts.map index 72d6cf9..646807d 100644 --- a/types/lib/0uint.d.ts.map +++ b/types/lib/0uint.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"0uint.d.ts","sourceRoot":"","sources":["../../lib/0uint.js"],"names":[],"mappings":"AAOA;;;GAGG;AAEH;;;;;GAKG;AACH,gCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,GAAC,MAAM,CAkBzB;AASD;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;GAGG;AACH,gCAHW,EAAE,SACF,KAAK,QAIf;;IAqDD;;;OAGG;IACH,2CAEC;IAsBD;;;;OAIG;IACH,yDAEC;;AAtFD;;;;GAIG;AACH,qCAJW,EAAE,SACF,MAAM,QACN,MAAM,GAAC,MAAM,QA8CvB;;IAUD;;;OAGG;IACH,2CAcC;;AApND,iDAA0F;iBAG7E,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file +{"version":3,"file":"0uint.d.ts","sourceRoot":"","sources":["../../lib/0uint.js"],"names":[],"mappings":"AAOA;;;GAGG;AAEH;;;;;GAKG;AACH,gCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,CASlB;AAED;;;;;GAKG;AACH,iCALW,UAAU,UACV,MAAM,WACN,aAAa,GACX,MAAM,GAAC,MAAM,CAkBzB;AASD;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;GAGG;AACH,gCAHW,EAAE,SACF,KAAK,QAIf;;IAqDD;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAIlB;IAsBD;;;;OAIG;IACH,6BAJW,KAAK,QACL,KAAK,GACH,MAAM,CAIlB;;AAtFD;;;;GAIG;AACH,qCAJW,EAAE,SACF,MAAM,QACN,MAAM,GAAC,MAAM,QA8CvB;;IAUD;;;OAGG;IACH,2BAHW,MAAM,GACJ,MAAM,CAgBlB;;AApND,iDAA0F;iBAG7E,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file diff --git a/types/lib/1negint.d.ts b/types/lib/1negint.d.ts index cee5e61..0d971b3 100644 --- a/types/lib/1negint.d.ts +++ b/types/lib/1negint.d.ts @@ -52,7 +52,7 @@ export namespace encodeNegint { */ function compareTokens(tok1: Token, tok2: Token): number; } -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=1negint.d.ts.map \ No newline at end of file diff --git a/types/lib/1negint.d.ts.map b/types/lib/1negint.d.ts.map index b32002d..c11cd5d 100644 --- a/types/lib/1negint.d.ts.map +++ b/types/lib/1negint.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"1negint.d.ts","sourceRoot":"","sources":["../../lib/1negint.js"],"names":[],"mappings":"AAMA;;;GAGG;AAEH;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAKD;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAcjB;AAED;;;GAGG;AACH,kCAHW,EAAE,SACF,KAAK,QAMf;;IAED;;;OAGG;IACH,2CAkBC;IAED;;;;OAIG;IACH,yDAGC;;iBAvGY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file +{"version":3,"file":"1negint.d.ts","sourceRoot":"","sources":["../../lib/1negint.js"],"names":[],"mappings":"AAMA;;;GAGG;AAEH;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAKD;;;;;;GAMG;AACH,qCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAcjB;AAED;;;GAGG;AACH,kCAHW,EAAE,SACF,KAAK,QAMf;;IAED;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAoBlB;IAED;;;;OAIG;IACH,6BAJW,KAAK,QACL,KAAK,GACH,MAAM,CAKlB;;iBAvGY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file diff --git a/types/lib/2bytes.d.ts b/types/lib/2bytes.d.ts index 9b4312e..79dc236 100644 --- a/types/lib/2bytes.d.ts +++ b/types/lib/2bytes.d.ts @@ -62,7 +62,7 @@ export namespace encodeBytes { * @returns {number} */ export function compareBytes(b1: Uint8Array, b2: Uint8Array): number; -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=2bytes.d.ts.map \ No newline at end of file diff --git a/types/lib/2bytes.d.ts.map b/types/lib/2bytes.d.ts.map index 7912700..f9edf2b 100644 --- a/types/lib/2bytes.d.ts.map +++ b/types/lib/2bytes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"2bytes.d.ts","sourceRoot":"","sources":["../../lib/2bytes.js"],"names":[],"mappings":"AAuBA;;;;;;GAMG;AACH,yCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAgBD;;;GAGG;AACH,iCAHW,EAAE,SACF,KAAK,QAMf;;IAED;;;OAGG;IACH,2CAGC;IAED;;;;OAIG;IACH,yDAEC;;AAED;;;;GAIG;AACH,iCAJW,UAAU,MACV,UAAU,GACR,MAAM,CAIlB;iBA9HY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file +{"version":3,"file":"2bytes.d.ts","sourceRoot":"","sources":["../../lib/2bytes.js"],"names":[],"mappings":"AAuBA;;;;;;GAMG;AACH,yCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAgBD;;;GAGG;AACH,iCAHW,EAAE,SACF,KAAK,QAMf;;IAED;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAKlB;IAED;;;;OAIG;IACH,6BAJW,KAAK,QACL,KAAK,GACH,MAAM,CAIlB;;AAED;;;;GAIG;AACH,iCAJW,UAAU,MACV,UAAU,GACR,MAAM,CAIlB;iBA9HY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file diff --git a/types/lib/3string.d.ts b/types/lib/3string.d.ts index eb7bb5e..31a65fd 100644 --- a/types/lib/3string.d.ts +++ b/types/lib/3string.d.ts @@ -39,8 +39,8 @@ export function decodeString32(data: Uint8Array, pos: number, _minor: number, op */ export function decodeString64(data: Uint8Array, pos: number, _minor: number, options: DecodeOptions): Token; export const encodeString: typeof encodeBytes; -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; import { encodeBytes } from './2bytes.js'; //# sourceMappingURL=3string.d.ts.map \ No newline at end of file diff --git a/types/lib/4array.d.ts b/types/lib/4array.d.ts index 25067e4..d5a3eb0 100644 --- a/types/lib/4array.d.ts +++ b/types/lib/4array.d.ts @@ -59,7 +59,7 @@ export namespace encodeArray { */ function encodedSize(token: Token): number; } -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=4array.d.ts.map \ No newline at end of file diff --git a/types/lib/4array.d.ts.map b/types/lib/4array.d.ts.map index 11d6b4f..7fc8c1a 100644 --- a/types/lib/4array.d.ts.map +++ b/types/lib/4array.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"4array.d.ts","sourceRoot":"","sources":["../../lib/4array.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAED;;;;;;GAMG;AACH,4CANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAED;;;GAGG;AACH,iCAHW,EAAE,SACF,KAAK,QAIf;;;IAMD;;;OAGG;IACH,2CAEC;;iBA3GY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file +{"version":3,"file":"4array.d.ts","sourceRoot":"","sources":["../../lib/4array.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAED;;;;;;GAMG;AACH,4CANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAED;;;GAGG;AACH,iCAHW,EAAE,SACF,KAAK,QAIf;;;IAMD;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAIlB;;iBA3GY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file diff --git a/types/lib/5map.d.ts b/types/lib/5map.d.ts index e1d8df0..3bd3b75 100644 --- a/types/lib/5map.d.ts +++ b/types/lib/5map.d.ts @@ -59,7 +59,7 @@ export namespace encodeMap { */ function encodedSize(token: Token): number; } -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=5map.d.ts.map \ No newline at end of file diff --git a/types/lib/5map.d.ts.map b/types/lib/5map.d.ts.map index bc8fae5..458e802 100644 --- a/types/lib/5map.d.ts.map +++ b/types/lib/5map.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"5map.d.ts","sourceRoot":"","sources":["../../lib/5map.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,uCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,iCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAED;;;;;;GAMG;AACH,0CANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAED;;;GAGG;AACH,+BAHW,EAAE,SACF,KAAK,QAIf;;;IAMD;;;OAGG;IACH,2CAEC;;iBA3GY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file +{"version":3,"file":"5map.d.ts","sourceRoot":"","sources":["../../lib/5map.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,uCANW,UAAU,OACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,iCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAGD;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAQjB;AAED;;;;;;GAMG;AACH,0CANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAED;;;GAGG;AACH,+BAHW,EAAE,SACF,KAAK,QAIf;;;IAMD;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAIlB;;iBA3GY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBANrB,YAAY"} \ No newline at end of file diff --git a/types/lib/6tag.d.ts b/types/lib/6tag.d.ts index 2ff2dce..546eddb 100644 --- a/types/lib/6tag.d.ts +++ b/types/lib/6tag.d.ts @@ -55,7 +55,7 @@ export namespace encodeTag { */ function encodedSize(token: Token): number; } -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=6tag.d.ts.map \ No newline at end of file diff --git a/types/lib/6tag.d.ts.map b/types/lib/6tag.d.ts.map index c4a67ba..b151188 100644 --- a/types/lib/6tag.d.ts.map +++ b/types/lib/6tag.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"6tag.d.ts","sourceRoot":"","sources":["../../lib/6tag.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH;;;;;;GAMG;AACH,wCANW,UAAU,QACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,iCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;GAGG;AACH,+BAHW,EAAE,SACF,KAAK,QAIf;;;IAID;;;OAGG;IACH,2CAEC;;iBA3EY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBALrB,YAAY"} \ No newline at end of file +{"version":3,"file":"6tag.d.ts","sourceRoot":"","sources":["../../lib/6tag.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH;;;;;;GAMG;AACH,wCANW,UAAU,QACV,MAAM,SACN,MAAM,YACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,iCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,kCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;GAGG;AACH,+BAHW,EAAE,SACF,KAAK,QAIf;;;IAID;;;OAGG;IACH,4BAHW,KAAK,GACH,MAAM,CAIlB;;iBA3EY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;sBALrB,YAAY"} \ No newline at end of file diff --git a/types/lib/7float.d.ts b/types/lib/7float.d.ts index 16eeb3c..22d6d3e 100644 --- a/types/lib/7float.d.ts +++ b/types/lib/7float.d.ts @@ -50,11 +50,11 @@ export namespace encodeFloat { * @param {EncodeOptions} options * @returns {number} */ - function encodedSize(token: Token, options: import("../interface").EncodeOptions): number; + function encodedSize(token: Token, options: EncodeOptions): number; let compareTokens: (tok1: Token, tok2: Token) => number; } -export type Bl = import('./bl.js').Bl; -export type DecodeOptions = import('../interface').DecodeOptions; -export type EncodeOptions = import('../interface').EncodeOptions; +export type Bl = import("./bl.js").Bl; +export type DecodeOptions = import("../interface").DecodeOptions; +export type EncodeOptions = import("../interface").EncodeOptions; import { Token } from './token.js'; //# sourceMappingURL=7float.d.ts.map \ No newline at end of file diff --git a/types/lib/7float.d.ts.map b/types/lib/7float.d.ts.map index a7f1d2b..7b41ed4 100644 --- a/types/lib/7float.d.ts.map +++ b/types/lib/7float.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"7float.d.ts","sourceRoot":"","sources":["../../lib/7float.js"],"names":[],"mappings":"AAkBA;;;;;;GAMG;AACH,uCANW,UAAU,QACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CASjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,QACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAoBD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;GAIG;AACH,iCAJW,EAAE,SACF,KAAK,WACL,aAAa,QAwCvB;;IAED;;;;OAIG;IACH,0FAoBC;;;iBAjKY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;4BACpC,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file +{"version":3,"file":"7float.d.ts","sourceRoot":"","sources":["../../lib/7float.js"],"names":[],"mappings":"AAkBA;;;;;;GAMG;AACH,uCANW,UAAU,QACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CASjB;AAED;;;;;;GAMG;AACH,mCANW,UAAU,QACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAOjB;AAoBD;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;;;GAMG;AACH,oCANW,UAAU,OACV,MAAM,UACN,MAAM,WACN,aAAa,GACX,KAAK,CAIjB;AAED;;;;GAIG;AACH,iCAJW,EAAE,SACF,KAAK,WACL,aAAa,QAwCvB;;IAED;;;;OAIG;IACH,4BAJW,KAAK,WACL,aAAa,GACX,MAAM,CAsBlB;;;iBAjKY,OAAO,SAAS,EAAE,EAAE;4BACpB,OAAO,cAAc,EAAE,aAAa;4BACpC,OAAO,cAAc,EAAE,aAAa;sBAPrB,YAAY"} \ No newline at end of file diff --git a/types/lib/decode.d.ts b/types/lib/decode.d.ts index daf03ce..bcbba51 100644 --- a/types/lib/decode.d.ts +++ b/types/lib/decode.d.ts @@ -1,6 +1,6 @@ -export type Token = import('./token.js').Token; -export type DecodeOptions = import('../interface').DecodeOptions; -export type DecodeTokenizer = import('../interface').DecodeTokenizer; +export type Token = import("./token.js").Token; +export type DecodeOptions = import("../interface").DecodeOptions; +export type DecodeTokenizer = import("../interface").DecodeTokenizer; /** * @implements {DecodeTokenizer} */ diff --git a/types/lib/decode.d.ts.map b/types/lib/decode.d.ts.map index 4ff768e..5d77f15 100644 --- a/types/lib/decode.d.ts.map +++ b/types/lib/decode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../lib/decode.js"],"names":[],"mappings":"oBAKa,OAAO,YAAY,EAAE,KAAK;4BAC1B,OAAO,cAAc,EAAE,aAAa;8BACpC,OAAO,cAAc,EAAE,eAAe;AAUnD;;GAEG;AACH;IACE;;;OAGG;IACH,kBAHW,UAAU,YACV,aAAa,EAMvB;IAHC,aAAa;IACb,iBAAgB;IAChB,8CAAsB;IAGxB,cAEC;IAED,gBAEC;IAED,mCAgBC;CACF;AA6ED;;;;GAIG;AACH,0CAJW,eAAe,WACf,aAAa,GACX,GAAG,6BAAW,CAoC1B;AAuBD;;;;GAIG;AACH,6BAJW,UAAU,+DAER,GAAG,CAQf;AAhCD;;;;GAIG;AACH,kCAJW,UAAU,+DAER,CAAC,GAAG,EAAE,UAAU,CAAC,CAgB7B;AAtID,mCAAiC;AADjC,kCAA+B"} \ No newline at end of file +{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../lib/decode.js"],"names":[],"mappings":"oBAKa,OAAO,YAAY,EAAE,KAAK;4BAC1B,OAAO,cAAc,EAAE,aAAa;8BACpC,OAAO,cAAc,EAAE,eAAe;AAUnD;;GAEG;AACH,kCAFgB,eAAe;IAG7B;;;OAGG;IACH,kBAHW,UAAU,YACV,aAAa,EAMvB;IAHC,aAAa;IACb,iBAAgB;IAChB,8CAAsB;IAGxB,cAEC;IAED,gBAEC;IAED,mCAgBC;CACF;AA6ED;;;;GAIG;AACH,0CAJW,eAAe,WACf,aAAa,GACX,GAAG,6BAAW,CAoC1B;AAuBD;;;;GAIG;AACH,6BAJW,UAAU,+DAER,GAAG,CAQf;AAhCD;;;;GAIG;AACH,kCAJW,UAAU,+DAER,CAAC,GAAG,EAAE,UAAU,CAAC,CAgB7B;AAtID,mCAAiC;AADjC,kCAA+B"} \ No newline at end of file diff --git a/types/lib/encode.d.ts b/types/lib/encode.d.ts index 234890c..1a9dfcf 100644 --- a/types/lib/encode.d.ts +++ b/types/lib/encode.d.ts @@ -1,11 +1,11 @@ /** @returns {TokenTypeEncoder[]} */ export function makeCborEncoders(): TokenTypeEncoder[]; -export type EncodeOptions = import('../interface').EncodeOptions; -export type OptionalTypeEncoder = import('../interface').OptionalTypeEncoder; -export type Reference = import('../interface').Reference; -export type StrictTypeEncoder = import('../interface').StrictTypeEncoder; -export type TokenTypeEncoder = import('../interface').TokenTypeEncoder; -export type TokenOrNestedTokens = import('../interface').TokenOrNestedTokens; +export type EncodeOptions = import("../interface").EncodeOptions; +export type OptionalTypeEncoder = import("../interface").OptionalTypeEncoder; +export type Reference = import("../interface").Reference; +export type StrictTypeEncoder = import("../interface").StrictTypeEncoder; +export type TokenTypeEncoder = import("../interface").TokenTypeEncoder; +export type TokenOrNestedTokens = import("../interface").TokenOrNestedTokens; /** * @param {any} obj * @param {EncodeOptions} [options] diff --git a/types/lib/encode.d.ts.map b/types/lib/encode.d.ts.map index 9aafff2..0ccfecf 100644 --- a/types/lib/encode.d.ts.map +++ b/types/lib/encode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../../lib/encode.js"],"names":[],"mappings":"AAgCA,oCAAoC;AACpC,oCADc,gBAAgB,EAAE,CAY/B;4BA3BY,OAAO,cAAc,EAAE,aAAa;kCACpC,OAAO,cAAc,EAAE,mBAAmB;wBAC1C,OAAO,cAAc,EAAE,SAAS;gCAChC,OAAO,cAAc,EAAE,iBAAiB;+BACxC,OAAO,cAAc,EAAE,gBAAgB;kCACvC,OAAO,cAAc,EAAE,mBAAmB;AAgQvD;;;;;GAKG;AACH,oCALW,GAAG,wHAGD,mBAAmB,CAgB/B;AA2JD;;;;GAIG;AACH,6BAJW,GAAG,+DAED,UAAU,CAKtB;AAvCD;;;;;GAKG;AACH,mCALW,GAAG,YACH,gBAAgB,EAAE,WAClB,aAAa,GACX,UAAU,CAyBtB;AAjZD,8BAA8B;AAC9B;IAyBE;;;;OAIG;IACH,0BAJW,SAAS,GAAC,SAAS,OACnB,MAAM,GAAC,GAAG,EAAE,GACV,SAAS,CAOrB;IAlCD;;;OAGG;IACH,iBAHW,MAAM,GAAC,GAAG,EAAE,UACZ,SAAS,GAAC,SAAS,EAK7B;IAFC,oBAAc;IACd,qDAAoB;IAGtB;;;OAGG;IACH,cAHW,MAAM,GAAC,GAAG,EAAE,GACV,OAAO,CAWnB;CAaF"} \ No newline at end of file +{"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../../lib/encode.js"],"names":[],"mappings":"AAgCA,oCAAoC;AACpC,oCADc,gBAAgB,EAAE,CAY/B;4BA3BY,OAAO,cAAc,EAAE,aAAa;kCACpC,OAAO,cAAc,EAAE,mBAAmB;wBAC1C,OAAO,cAAc,EAAE,SAAS;gCAChC,OAAO,cAAc,EAAE,iBAAiB;+BACxC,OAAO,cAAc,EAAE,gBAAgB;kCACvC,OAAO,cAAc,EAAE,mBAAmB;AAgQvD;;;;;GAKG;AACH,oCALW,GAAG,wHAGD,mBAAmB,CAgB/B;AA2JD;;;;GAIG;AACH,6BAJW,GAAG,+DAED,UAAU,CAKtB;AAvCD;;;;;GAKG;AACH,mCALW,GAAG,YACH,gBAAgB,EAAE,WAClB,aAAa,GACX,UAAU,CAyBtB;AAjZD,8BAA8B;AAC9B,4BADiB,SAAS;IA0BxB;;;;OAIG;IACH,0BAJW,SAAS,GAAC,SAAS,OACnB,MAAM,GAAC,GAAG,EAAE,GACV,SAAS,CAOrB;IAlCD;;;OAGG;IACH,iBAHW,MAAM,GAAC,GAAG,EAAE,UACZ,SAAS,GAAC,SAAS,EAK7B;IAFC,oBAAc;IACd,qDAAoB;IAGtB;;;OAGG;IACH,cAHW,MAAM,GAAC,GAAG,EAAE,GACV,OAAO,CAWnB;CAaF"} \ No newline at end of file diff --git a/types/lib/json/decode.d.ts b/types/lib/json/decode.d.ts index 2534dd9..a7d6220 100644 --- a/types/lib/json/decode.d.ts +++ b/types/lib/json/decode.d.ts @@ -1,5 +1,5 @@ -export type DecodeOptions = import('../../interface').DecodeOptions; -export type DecodeTokenizer = import('../../interface').DecodeTokenizer; +export type DecodeOptions = import("../../interface").DecodeOptions; +export type DecodeTokenizer = import("../../interface").DecodeTokenizer; /** * @param {Uint8Array} data * @param {DecodeOptions} [options] diff --git a/types/lib/json/decode.d.ts.map b/types/lib/json/decode.d.ts.map index f44b2cc..c93c4f3 100644 --- a/types/lib/json/decode.d.ts.map +++ b/types/lib/json/decode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../lib/json/decode.js"],"names":[],"mappings":"4BAMa,OAAO,iBAAiB,EAAE,aAAa;8BACvC,OAAO,iBAAiB,EAAE,eAAe;AAgbtD;;;;GAIG;AACH,6BAJW,UAAU,kEAER,GAAG,CAKf;AAED;;;;GAIG;AACH,kCAJW,UAAU,kEAER,CAAC,GAAG,EAAE,UAAU,CAAC,CAK7B;AApcD;;;GAGG;AAEH;;GAEG;AACH;IACE;;;OAGG;IACH,kBAHW,UAAU,YACV,aAAa,EASvB;IANC,aAAa;IACb,iBAAgB;IAChB,iDAAsB;IACtB,uBAAuB;IACvB,WADW,MAAM,EAAE,CACO;IAC1B,kBAAmB;IAGrB,cAEC;IAED;;OAEG;IACH,QAFa,OAAO,CAInB;IAED;;OAEG;IACH,MAFa,MAAM,CAIlB;IAED;;OAEG;IACH,eAFa,MAAM,CAIlB;IAED,uBAMC;IAED;;OAEG;IACH,YAFW,MAAM,EAAE,QAWlB;IAED,qBA+DC;IAED;;OAEG;IACH,eAFa,KAAK,CAkLjB;IAED;;OAEG;IACH,cAFa,KAAK,CAuCjB;IAED;;OAEG;IACH,QAFa,KAAK,CAyEjB;CACF;sBApb2B,aAAa"} \ No newline at end of file +{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../lib/json/decode.js"],"names":[],"mappings":"4BAMa,OAAO,iBAAiB,EAAE,aAAa;8BACvC,OAAO,iBAAiB,EAAE,eAAe;AAgbtD;;;;GAIG;AACH,6BAJW,UAAU,kEAER,GAAG,CAKf;AAED;;;;GAIG;AACH,kCAJW,UAAU,kEAER,CAAC,GAAG,EAAE,UAAU,CAAC,CAK7B;AApcD;;;GAGG;AAEH;;GAEG;AACH,kCAFgB,eAAe;IAG7B;;;OAGG;IACH,kBAHW,UAAU,YACV,aAAa,EASvB;IANC,aAAa;IACb,iBAAgB;IAChB,iDAAsB;IACtB,uBAAuB;IACvB,WADW,MAAM,EAAE,CACO;IAC1B,kBAAmB;IAGrB,cAEC;IAED;;OAEG;IACH,QAFa,OAAO,CAInB;IAED;;OAEG;IACH,MAFa,MAAM,CAIlB;IAED;;OAEG;IACH,eAFa,MAAM,CAIlB;IAED,uBAMC;IAED;;OAEG;IACH,YAFW,MAAM,EAAE,QAWlB;IAED,qBA+DC;IAED;;OAEG;IACH,eAFa,KAAK,CAkLjB;IAED;;OAEG;IACH,cAFa,KAAK,CAuCjB;IAED;;OAEG;IACH,QAFa,KAAK,CAyEjB;CACF;sBApb2B,aAAa"} \ No newline at end of file diff --git a/types/lib/json/encode.d.ts b/types/lib/json/encode.d.ts index 1feca14..563c7d7 100644 --- a/types/lib/json/encode.d.ts +++ b/types/lib/json/encode.d.ts @@ -1,6 +1,6 @@ -export type EncodeOptions = import('../../interface').EncodeOptions; -export type Token = import('../token').Token; -export type Bl = import('../bl').Bl; +export type EncodeOptions = import("../../interface").EncodeOptions; +export type Token = import("../token").Token; +export type Bl = import("../bl").Bl; /** * @param {any} data * @param {EncodeOptions} [options] diff --git a/types/lib/jump.d.ts b/types/lib/jump.d.ts index d9557d3..db5f4d9 100644 --- a/types/lib/jump.d.ts +++ b/types/lib/jump.d.ts @@ -7,6 +7,6 @@ export function quickEncodeToken(token: Token): Uint8Array | undefined; export const jump: ((data: Uint8Array, pos: number, minor: number, options?: DecodeOptions) => any)[]; /** @type {Token[]} */ export const quick: Token[]; -export type DecodeOptions = import('../interface').DecodeOptions; +export type DecodeOptions = import("../interface").DecodeOptions; import { Token } from './token.js'; //# sourceMappingURL=jump.d.ts.map \ No newline at end of file diff --git a/types/lib/jump.d.ts.map b/types/lib/jump.d.ts.map index 01b2adb..0f86159 100644 --- a/types/lib/jump.d.ts.map +++ b/types/lib/jump.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jump.d.ts","sourceRoot":"","sources":["../../lib/jump.js"],"names":[],"mappings":"AAkKA;;;GAGG;AACH,wCAHW,KAAK,GACH,UAAU,GAAC,SAAS,CA4ChC;AA/KD,6FAA6F;AAC7F,2BADkB,UAAU,OAAM,MAAM,SAAQ,MAAM,YAAW,aAAa,KAAK,GAAG,IAChE;AAuGtB,sBAAsB;AACtB,oBADW,KAAK,EAAE,CACK;4BA7HV,OAAO,cAAc,EAAE,aAAa;sBAbrB,YAAY"} \ No newline at end of file +{"version":3,"file":"jump.d.ts","sourceRoot":"","sources":["../../lib/jump.js"],"names":[],"mappings":"AAkKA;;;GAGG;AACH,wCAHW,KAAK,GACH,UAAU,GAAC,SAAS,CA4ChC;AA/KD,6FAA6F;AAC7F,mBADW,CAAC,CAAC,IAAI,EAAC,UAAU,EAAE,GAAG,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,EAAE,OAAO,CAAC,EAAC,aAAa,KAAK,GAAG,CAAC,EAAE,CACnE;AAuGtB,sBAAsB;AACtB,oBADW,KAAK,EAAE,CACK;4BA7HV,OAAO,cAAc,EAAE,aAAa;sBAbrB,YAAY"} \ No newline at end of file diff --git a/types/lib/length.d.ts b/types/lib/length.d.ts index 92524c6..a3f04bf 100644 --- a/types/lib/length.d.ts +++ b/types/lib/length.d.ts @@ -21,7 +21,7 @@ export function encodedLength(data: any, options?: import("../interface").Encode * @param {EncodeOptions} [options] */ export function tokensToLength(tokens: TokenOrNestedTokens, encoders?: import("../interface").TokenTypeEncoder[] | undefined, options?: import("../interface").EncodeOptions | undefined): number; -export type EncodeOptions = import('../interface').EncodeOptions; -export type TokenTypeEncoder = import('../interface').TokenTypeEncoder; -export type TokenOrNestedTokens = import('../interface').TokenOrNestedTokens; +export type EncodeOptions = import("../interface").EncodeOptions; +export type TokenTypeEncoder = import("../interface").TokenTypeEncoder; +export type TokenOrNestedTokens = import("../interface").TokenOrNestedTokens; //# sourceMappingURL=length.d.ts.map \ No newline at end of file