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

cbor2

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cbor2 - npm Package Compare versions

Comparing version 1.5.3 to 1.6.0

lib/version.d.ts

1

lib/index.d.ts
import { D as DecodeOptions } from './options-9LXHZwyR.js';
export { C as CommentOptions, b as DecodeStreamOptions, c as DecodeValue, a as Decodeable, g as DiagnosticSizes, E as EncodeOptions, M as MtAiValue, P as Parent, d as ParentConstructor, e as RequiredCommentOptions, R as RequiredDecodeOptions, f as RequiredEncodeOptions, h as Simple, S as Sliceable, T as TagNumber, i as TaggedValue, j as ToCBOR, k as Writer, W as WriterOptions } from './options-9LXHZwyR.js';
export { version } from './version.js';
export { DecodeStream, ValueGenerator } from './decodeStream.js';

@@ -4,0 +5,0 @@ export { decode } from './decoder.js';

2

lib/index.js

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

import"./types.js";import{CBORcontainer as e}from"./container.js";import{DiagnosticSizes as i}from"./options.js";import{decode as s}from"./decoder.js";import{diagnose as O}from"./diagnostic.js";import{comment as u}from"./comment.js";import{cdeEncodeOptions as l,defaultEncodeOptions as D,dcborEncodeOptions as g,encode as E,encodedNumber as b}from"./encoder.js";import{Simple as C}from"./simple.js";import{Tag as T}from"./tag.js";import{saveEncoded as j,saveEncodedLength as q,unbox as y,getEncoded as v}from"./box.js";const{cdeDecodeOptions:r,dcborDecodeOptions:n,defaultDecodeOptions:d}=e;export{i as DiagnosticSizes,C as Simple,T as Tag,r as cdeDecodeOptions,l as cdeEncodeOptions,u as comment,n as dcborDecodeOptions,g as dcborEncodeOptions,s as decode,d as defaultDecodeOptions,D as defaultEncodeOptions,O as diagnose,E as encode,b as encodedNumber,v as getEncoded,j as saveEncoded,q as saveEncodedLength,y as unbox};
import"./types.js";import{version as c}from"./version.js";import{CBORcontainer as e}from"./container.js";import{DiagnosticSizes as s}from"./options.js";import{decode as O}from"./decoder.js";import{diagnose as x}from"./diagnostic.js";import{comment as l}from"./comment.js";import{cdeEncodeOptions as g,defaultEncodeOptions as E,dcborEncodeOptions as b,encode as S,encodedNumber as C}from"./encoder.js";import{Simple as T}from"./simple.js";import{Tag as j}from"./tag.js";import{saveEncoded as v,saveEncodedLength as y,unbox as B,getEncoded as N}from"./box.js";const{cdeDecodeOptions:r,dcborDecodeOptions:n,defaultDecodeOptions:d}=e;export{s as DiagnosticSizes,T as Simple,j as Tag,r as cdeDecodeOptions,g as cdeEncodeOptions,l as comment,n as dcborDecodeOptions,b as dcborEncodeOptions,O as decode,d as defaultDecodeOptions,E as defaultEncodeOptions,x as diagnose,S as encode,C as encodedNumber,N as getEncoded,v as saveEncoded,y as saveEncodedLength,B as unbox,c as version};
{
"name": "cbor2",
"version": "1.5.3",
"version": "1.6.0",
"description": "Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC8949).",

@@ -21,7 +21,7 @@ "exports": {

"type": "git",
"url": "http://github.com/hildjj/cbor2.git"
"url": "git+ssh://git@github.com/hildjj/cbor2.git"
},
"homepage": "https://github.com/hildjj/cbor2",
"scripts": {
"clean": "rimraf lib coverage docs",
"clean": "rimraf lib coverage docs src/version.ts",
"docs": "typedoc && cd web && npm run build",

@@ -35,6 +35,7 @@ "lint": "eslint .",

"test:web": "cd web && npm test",
"build": "tsup",
"build": "npm run ver && tsup",
"build:sourcemap": "npm run build -- --sourcemap inline",
"watch": "tsup --sourcemap inline --watch src/ --watch test/ --onSuccess 'npm run test:noBuild'",
"ci": "npm run clean && npm run build:sourcemap && npm run lint && npm run test:noBuild"
"ci": "npm run clean && npm run build:sourcemap && npm run lint && npm run test:noBuild",
"ver": "package-extract -st -o src/version.ts"
},

@@ -59,2 +60,3 @@ "keywords": [

"eslint-plugin-markdown": "5.1.0",
"package-extract": "2.0.2",
"rimraf": "^6.0.1",

@@ -65,12 +67,2 @@ "tsup": "8.2.4",

},
"overrides": {
"@typescript-eslint/utils": "8.0.0-alpha.44",
"@typescript-eslint/parser": "8.0.0-alpha.44"
},
"pnpm": {
"overrides": {
"@typescript-eslint/utils": "8.0.0-alpha.44",
"@typescript-eslint/parser": "8.0.0-alpha.44"
}
},
"packageManager": "pnpm@9.9.0",

@@ -77,0 +69,0 @@ "engines": {

@@ -14,2 +14,7 @@ # cbor2

## Start playing with cbor2 now
Visit the web [playground](https://hildjj.github.io/cbor2/playground/) for an
interactive view of how the library works.
## Supported Node.js versions

@@ -16,0 +21,0 @@

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