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

ebml

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebml - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

lib/ebml/tools.js

@@ -17,3 +17,3 @@ var tools = {

var value = buffer[start] & (1 << (8 - length)) - 1;
for (i = 1; i < length; i++) {
for (var i = 1; i < length; i++) {
if (i === 7) {

@@ -46,3 +46,3 @@ if (value >= Math.pow(2, 53 - 8) && buffer[start + 7] > 0) {

var buffer = new Buffer(length);
for (i = 1; i <= length; i++) {
for (var i = 1; i <= length; i++) {
var b = value & 0xFF;

@@ -49,0 +49,0 @@ buffer[length - i] = b;

{
"name": "ebml",
"version": "2.2.0",
"version": "2.2.1",
"description": "ebml parser",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ # EBML [![Build Status](https://travis-ci.org/themasch/node-ebml.png?branch=master)](https://travis-ci.org/themasch/node-ebml) [![NPM](https://nodei.co/npm/ebml.png?compact=true)](https://www.npmjs.com/package/ebml)

```
npm install ebml
npm install ebml --save
```

@@ -16,7 +16,7 @@

```
var ebml = require('./index.js');
var fs = require('fs');
```js
const ebml = require('./index.js');
const fs = require('fs');
var decoder = new ebml.Decoder();
const decoder = new ebml.Decoder();

@@ -23,0 +23,0 @@ decoder.on('data', function(chunk) {

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