Comparing version 0.9.1 to 0.9.2
(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
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
9
1
429664
8554