Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cborg

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cborg - npm Package Compare versions

Comparing version 4.2.3 to 4.2.4

types/tsconfig.tsbuildinfo

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [4.2.4](https://github.com/rvagg/cborg/compare/v4.2.3...v4.2.4) (2024-09-25)
### Trivial Changes
* **deps-dev:** bump @types/node from 20.14.13 to 22.0.0 ([f4d71a8](https://github.com/rvagg/cborg/commit/f4d71a83c0221f7d57e45b59630f17305baf0020))
* **deps:** bump actions/setup-node from 4.0.3 to 4.0.4 ([9a0bfc4](https://github.com/rvagg/cborg/commit/9a0bfc4092d8d0d93a015d0e0686379f041d6379))
* update dependencies ([c75a059](https://github.com/rvagg/cborg/commit/c75a059ca4ced45e567fbb9b42649de61e0cce41))
## [4.2.3](https://github.com/rvagg/cborg/compare/v4.2.2...v4.2.3) (2024-07-10)

@@ -2,0 +10,0 @@

26

package.json
{
"name": "cborg",
"version": "4.2.3",
"version": "4.2.4",
"description": "Fast CBOR with a focus on strictness",

@@ -34,17 +34,17 @@ "main": "cborg.js",

"@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": "^20.10.8",
"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"
},

@@ -51,0 +51,0 @@ "exports": {

/**
* 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';

@@ -18,0 +18,0 @@ import { decodeFirst } from './lib/decode.js';

@@ -97,5 +97,5 @@ /**

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

@@ -55,5 +55,5 @@ /**

}
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

@@ -65,5 +65,5 @@ /**

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

@@ -42,6 +42,6 @@ /**

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

@@ -62,5 +62,5 @@ /**

}
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

@@ -62,5 +62,5 @@ /**

}
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

@@ -58,5 +58,5 @@ /**

}
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

@@ -53,9 +53,9 @@ /**

*/
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

@@ -1,4 +0,4 @@

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;
/**

@@ -5,0 +5,0 @@ * @implements {DecodeTokenizer}

/** @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;
/**

@@ -10,0 +10,0 @@ * @param {any} obj

@@ -1,3 +0,3 @@

export type DecodeOptions = import('../../interface').DecodeOptions;
export type DecodeTokenizer = import('../../interface').DecodeTokenizer;
export type DecodeOptions = import("../../interface").DecodeOptions;
export type DecodeTokenizer = import("../../interface").DecodeTokenizer;
/**

@@ -4,0 +4,0 @@ * @param {Uint8Array} data

@@ -1,4 +0,4 @@

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;
/**

@@ -5,0 +5,0 @@ * @param {any} data

@@ -10,4 +10,4 @@ /**

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

@@ -24,5 +24,5 @@ /**

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc