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

@jprochazk/cbor

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jprochazk/cbor - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

2

dist/index.cjs.js

@@ -908,3 +908,3 @@ 'use strict';

*/
CBOR.encodeInto = function (data, buffer, allowErrors) {
CBOR.encodeInto = function (buffer, data, allowErrors) {
if (allowErrors === void 0) { allowErrors = false; }

@@ -911,0 +911,0 @@ return encode(data, allowErrors, buffer);

@@ -26,3 +26,3 @@ export default class CBOR {

*/
static encodeInto(data: any, buffer: ArrayBuffer, allowErrors?: boolean): ArrayBuffer | null;
static encodeInto(buffer: ArrayBuffer, data: any, allowErrors?: boolean): ArrayBuffer | null;
}

@@ -906,3 +906,3 @@ /*! *****************************************************************************

*/
CBOR.encodeInto = function (data, buffer, allowErrors) {
CBOR.encodeInto = function (buffer, data, allowErrors) {
if (allowErrors === void 0) { allowErrors = false; }

@@ -909,0 +909,0 @@ return encode(data, allowErrors, buffer);

@@ -912,3 +912,3 @@ (function (global, factory) {

*/
CBOR.encodeInto = function (data, buffer, allowErrors) {
CBOR.encodeInto = function (buffer, data, allowErrors) {
if (allowErrors === void 0) { allowErrors = false; }

@@ -915,0 +915,0 @@ return encode(data, allowErrors, buffer);

{
"name": "@jprochazk/cbor",
"version": "0.3.2",
"version": "0.4.0",
"description": "Partial implementation of RFC 7049 (CBOR)",

@@ -5,0 +5,0 @@ "author": "Jan Procházka",

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