@webassemblyjs/leb128
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -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" | ||
} |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
46163
1
+ Addedlong@git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69
- Removed@xtuc/long@4.2.1
- Removed@xtuc/long@4.2.1(transitive)