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

cbor-x

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cbor-x - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

8

dist/index.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('fs')) :
typeof define === 'function' && define.amd ? define(['exports', 'fs'], factory) :
(global = global || self, factory(global.CBOR = {}, global.fs));
}(this, (function (exports, fs) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.CBOR = {}));
}(this, (function (exports) { 'use strict';

@@ -7,0 +7,0 @@ let decoder;

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

(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports,require("fs")):"function"==typeof define&&define.amd?define(["exports","fs"],b):(a=a||self,b(a.CBOR={},a.fs))})(this,function(a){'use strict';function b(){try{let a=c();if(B==A)// finished reading this source, cleanup references
(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):(a=a||self,b(a.CBOR={}))})(this,function(a){'use strict';function b(){try{let a=c();if(B==A)// finished reading this source, cleanup references
E=null,z=null,G&&(G=null);else if(B>A){// over read

@@ -3,0 +3,0 @@ let a=new Error("Unexpected end of CBOR data");throw a.incomplete=!0,a}else if(!Q)throw new Error("Data read, but end of buffer not reached");// else more to read, but we are reading sequentially, so don't clear source yet

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

import { write } from 'fs'
import { Decoder, mult10, Tag, typedArrays, addExtension as decodeAddExtension } from './decode.js'

@@ -3,0 +2,0 @@ let textEncoder

{
"name": "cbor-x",
"author": "Kris Zyp",
"version": "0.9.1",
"version": "0.9.2",
"description": "Ultra-fast CBOR implementation with tag extensions for records and structured cloning",

@@ -6,0 +6,0 @@ "license": "MIT",

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