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

blockmap

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockmap - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1-flush-is-public-183b63608f893a8281d750823a0a233fb8351647

7

CHANGELOG.md

@@ -7,2 +7,9 @@ # Change Log

# v4.0.1
## (2020-03-31)
* Update generated docs [Alexis Svinartchouk]
* Update resin-lint [Alexis Svinartchouk]
* Transform._flush is public [Alexis Svinartchouk]
## 4.0.0 - 2019-04-04

@@ -9,0 +16,0 @@

2

js/blockmap.js

@@ -89,5 +89,5 @@ "use strict";

}
exports.BlockMap = BlockMap;
/** Supported .bmap format versions */
BlockMap.versions = ['1.2', '1.3', '1.4', '2.0'];
exports.BlockMap = BlockMap;
//# sourceMappingURL=blockmap.js.map

@@ -22,3 +22,3 @@ /**

constructor(buffer: Buffer, position: number);
readonly length: number;
get length(): number;
}

@@ -78,3 +78,3 @@ /**

*/
protected _flush(done: () => void): void;
_flush(done: () => void): void;
}

@@ -27,3 +27,4 @@ /**

static from(value: BlockMapOptionsRange): Range;
length: number;
get length(): number;
set length(value: number);
}

@@ -19,6 +19,7 @@ "use strict";

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -25,0 +26,0 @@ });

@@ -19,6 +19,7 @@ "use strict";

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -25,0 +26,0 @@ });

@@ -99,5 +99,3 @@ /**

const error = new ReadRangeError(
`Invalid checksum for range [${this.currentRange.startLBA},${
this.currentRange.endLBA
}], bytes ${this.currentRange.start}-${this.currentRange.end}`,
`Invalid checksum for range [${this.currentRange.startLBA},${this.currentRange.endLBA}], bytes ${this.currentRange.start}-${this.currentRange.end}`,
this.currentRange,

@@ -255,3 +253,3 @@ digest,

*/
protected _flush(done: () => void) {
public _flush(done: () => void) {
if (this._bytes) {

@@ -258,0 +256,0 @@ const chunk = Buffer.concat(this._chunks, this._bytes);

@@ -150,5 +150,3 @@ /**

const error = new ReadRangeError(
`Invalid checksum for range [${this.currentRange.startLBA},${
this.currentRange.endLBA
}], bytes ${this.currentRange.start}-${this.currentRange.end}`,
`Invalid checksum for range [${this.currentRange.startLBA},${this.currentRange.endLBA}], bytes ${this.currentRange.start}-${this.currentRange.end}`,
this.currentRange,

@@ -155,0 +153,0 @@ digest,

{
"name": "blockmap",
"version": "4.0.0",
"version": "4.0.1-flush-is-public-183b63608f893a8281d750823a0a233fb8351647",
"description": "Tizen's block map format",

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

"mocha": "^6.0.2",
"resin-lint": "^3.0.1",
"resin-lint": "^3.3.1",
"ts-node": "^8.0.3",

@@ -44,3 +44,3 @@ "typedoc": "^0.14.2",

"build": "tsc",
"prettier": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\" \"test/**/*.ts\" \"benchmark/**/*.ts\"",
"prettier": "resin-lint --typescript --fix benchmark lib test",
"lint": "resin-lint --typescript benchmark lib test",

@@ -47,0 +47,0 @@ "test": "mocha -r ts-node/register test/*.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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