New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cborg

Package Overview
Dependencies
Maintainers
1
Versions
79
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 1.9.2 to 1.9.3

5

cjs/lib/diagnostic.js

@@ -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 = [];

2

lib/diagnostic.js

@@ -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",

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