Socket
Socket
Sign inDemoInstall

@webassemblyjs/leb128

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webassemblyjs/leb128 - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

6

esm/leb.js

@@ -12,3 +12,3 @@ // Copyright 2012 The Obvious Corporation.

import Long from "@xtuc/long";
import Long from "long";
import * as bits from "./bits";

@@ -137,4 +137,4 @@ import * as bufs from "./bufs";

if (index + result > encodedBuffer.length) {
throw new Error("integer representation too long");
if (index + result > encodedBuffer.length) {// FIXME(sven): seems to cause false positives
// throw new Error("integer representation too long");
}

@@ -141,0 +141,0 @@

@@ -17,3 +17,3 @@ // Copyright 2012 The Obvious Corporation.

var _long = _interopRequireDefault(require("@xtuc/long"));
var _long = _interopRequireDefault(require("long"));

@@ -148,4 +148,4 @@ var bits = _interopRequireWildcard(require("./bits"));

if (index + result > encodedBuffer.length) {
throw new Error("integer representation too long");
if (index + result > encodedBuffer.length) {// FIXME(sven): seems to cause false positives
// throw new Error("integer representation too long");
}

@@ -152,0 +152,0 @@

{
"name": "@webassemblyjs/leb128",
"version": "1.8.1",
"version": "1.8.2",
"description": "LEB128 decoder and encoder",

@@ -12,3 +12,3 @@ "license": "MIT",

"dependencies": {
"@xtuc/long": "4.2.1"
"long": "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69"
},

@@ -18,3 +18,3 @@ "publishConfig": {

},
"gitHead": "a2f42245e9b597e3541e0f697253449d60fc4d79"
"gitHead": "02af462b507aa7a24f5d3201178434b181bcdabb"
}
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