New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kenjiuno/msgreader

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kenjiuno/msgreader - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

14

lib/Burner.js

@@ -86,7 +86,7 @@ "use strict";

key: "finalize",
value: function finalize(boundary) {
value: function finalize(boundary, value) {
var num = (boundary - this.sectors.length % boundary) % boundary;
for (; num >= 1; num -= 1) {
this.sectors.push(-1);
this.sectors.push(value);
}

@@ -165,4 +165,4 @@

var firstMiniFatSector = this.fat.allocate(RoundUpto512(4 * this.miniFat.count()) / 512);
var numMiniFatSectors = this.fat.count() - firstMiniFatSector;
var numMiniFatSectors = RoundUpto512(4 * this.miniFat.count()) / 512;
var firstMiniFatSector = numMiniFatSectors !== 0 ? this.fat.allocate(numMiniFatSectors) : -2;
var bytesMiniFat = 64 * this.miniFat.count();

@@ -178,3 +178,3 @@ var firstMiniDataSector = this.fat.allocate(RoundUpto512(bytesMiniFat) / 512);

ds.dynamicSize = false;
this.miniFat.finalize(512 / 4);
this.miniFat.finalize(512 / 4, -1);
var difat1 = [];

@@ -249,4 +249,5 @@ var difat2 = [];

var length = _x2 === 0 ? bytesMiniFat : liteEnt.entry.length;
var firstSector = length !== 0 ? liteEnt.firstSector : liteEnt.entry.type === _Reader.TypeEnum.DIRECTORY ? 0 : -2;
ds.seek(pos + 0x74);
ds.writeInt32(liteEnt.firstSector);
ds.writeInt32(firstSector);
ds.writeInt32(length);

@@ -299,2 +300,3 @@ }

this.fat.finalize(512 / 4, -1);
ds.seek(512 * (1 + firstFatSector));

@@ -301,0 +303,0 @@ ds.writeInt32Array(this.fat.sectors); // difat

{
"name": "@kenjiuno/msgreader",
"version": "1.6.2",
"version": "1.6.3",
"description": "",

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

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