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.7.4 to 1.7.5

7

esm/bufs.js

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

*/
import { Buffer } from "@xtuc/buffer";
/*
* Modules used
*/
"use strict";
/*

@@ -18,4 +13,2 @@ * Module variables

/** Pool of buffers, where `bufPool[x].length === x`. */
var bufPool = [];

@@ -22,0 +15,0 @@ /** Maximum length of kept temporary buffers. */

11

lib/bufs.js

@@ -13,5 +13,2 @@ "use strict";

exports.writeUInt64 = writeUInt64;
var _buffer = require("@xtuc/buffer");
// Copyright 2012 The Obvious Corporation.

@@ -24,6 +21,2 @@

/*
* Modules used
*/
"use strict";
/*
* Module variables

@@ -33,4 +26,2 @@ */

/** Pool of buffers, where `bufPool[x].length === x`. */
var bufPool = [];

@@ -113,3 +104,3 @@ /** Maximum length of kept temporary buffers. */

} else {
result = new _buffer.Buffer(length);
result = new Buffer(length);
}

@@ -116,0 +107,0 @@

3

package.json
{
"name": "@webassemblyjs/leb128",
"version": "1.7.4",
"version": "1.7.5",
"description": "LEB128 decoder and encoder",

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

"dependencies": {
"@xtuc/buffer": "^5.2.2",
"@xtuc/long": "4.2.1"

@@ -15,0 +14,0 @@ },

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