cborg 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cborg",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "Fast CBOR with a focus on strictness",
5
5
  "main": "./cjs/cborg.js",
6
6
  "bin": {
@@ -39,7 +39,7 @@
39
39
  "mocha": "^10.0.0",
40
40
  "polendina": "~3.1.0",
41
41
  "standard": "^17.0.0",
42
- "typescript": "~4.6.2"
42
+ "typescript": "~4.7.2"
43
43
  },
44
44
  "exports": {
45
45
  ".": {
@@ -1,3 +1,3 @@
1
- declare var _default: true;
1
+ declare const _default: true;
2
2
  export default _default;
3
3
  //# sourceMappingURL=bin.d.ts.map
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export function quickEncodeToken(token: Token): Uint8Array | undefined;
6
6
  /** @type {((data:Uint8Array, pos:number, minor:number, options?:DecodeOptions) => any)[]} */
7
- export const jump: ((data: Uint8Array, pos: number, minor: number, options?: import("../interface").DecodeOptions | undefined) => any)[];
7
+ export const jump: ((data: Uint8Array, pos: number, minor: number, options?: DecodeOptions) => any)[];
8
8
  /** @type {Token[]} */
9
9
  export const quick: Token[];
10
10
  export type DecodeOptions = import('../interface').DecodeOptions;
@@ -1 +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,iEAA6B,GAAG,IAChE;AAuGtB,sBAAsB;AACtB,oBADW,KAAK,EAAE,CACK;4BA7HV,OAAO,cAAc,EAAE,aAAa"}
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"}