@jprochazk/cbor
Advanced tools
Comparing version 0.3.2 to 0.4.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package