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

partitioninfo

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partitioninfo - npm Package Compare versions

Comparing version 5.3.5-nothing-43eb761b4b360dfe38202c5f6b9dcf09137da927 to 5.3.5-nothing-77f79bad30e70dd2c4ae0a5ccc92546be27014c8

4

build/partitioninfo.js

@@ -46,3 +46,3 @@ "use strict";

function getPartitionsFromMBRBuf(buf) {
return new MBR(buf).partitions.filter(p => p.type);
return new MBR(buf).partitions.filter((p) => p.type);
}

@@ -167,3 +167,3 @@ function readFromDisk(disk, offset, size) {

}
const extended = info.partitions.find(p => MBR.Partition.isExtended(p.type));
const extended = info.partitions.find((p) => MBR.Partition.isExtended(p.type));
if (!extended) {

@@ -170,0 +170,0 @@ throw new PartitionNotFound(partitionNumber);

@@ -10,3 +10,7 @@ # Change Log

* Nothing [Alexis Svinartchouk]
* Run travis tests with node 10 and 12 [Alexis Svinartchouk]
* Remove appveyor link [Alexis Svinartchouk]
* Remove gitter link [Alexis Svinartchouk]
* Rename resin -> balena [Alexis Svinartchouk]
* Update resin-lint to @balena/lint [Alexis Svinartchouk]
* Fix GPT detection when the protective MBR has more than one partition [Alexis Svinartchouk]

@@ -13,0 +17,0 @@ * Add @types/bluebird to dev dependencies [Alexis Svinartchouk]

{
"name": "partitioninfo",
"version": "5.3.5-nothing-43eb761b4b360dfe38202c5f6b9dcf09137da927",
"version": "5.3.5-nothing-77f79bad30e70dd2c4ae0a5ccc92546be27014c8",
"description": "Get information about a partition from an image file",
"main": "build/partitioninfo.js",
"homepage": "https://github.com/resin-io-modules/partitioninfo",
"homepage": "https://github.com/balena-io-modules/partitioninfo",
"repository": {
"type": "git",
"url": "git://github.com/resin-io-modules/partitioninfo.git"
"url": "git://github.com/balena-io-modules/partitioninfo.git"
},

@@ -29,4 +29,4 @@ "keywords": [

"scripts": {
"lint": "resin-lint --typescript lib tests typings",
"prettier": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\" \"typings/**/*.ts\" \"tests/**/*.ts\"",
"lint": "balena-lint --typescript lib tests typings",
"prettier": "balena-lint --fix --typescript lib tests typings",
"build": "tsc",

@@ -37,9 +37,10 @@ "test": "npm run lint && npm run build && mocha -r ts-node/register tests/**/*.spec.ts",

},
"author": "Juan Cruz Viotti <juan@resin.io>",
"author": "Juan Cruz Viotti <juan@balena.io>",
"contributors": [
"Alexis Svinartchouk <alexis@resin.io>",
"Juan Cruz Viotti <juan@resin.io>"
"Alexis Svinartchouk <alexis@balena.io>",
"Juan Cruz Viotti <juan@balena.io>"
],
"license": "MIT",
"devDependencies": {
"@balena/lint": "^5.1.0",
"@types/bluebird": "^3.5.32",

@@ -51,3 +52,2 @@ "@types/chai": "^4.1.7",

"mocha": "^5.2.0",
"resin-lint": "^3.0.1",
"ts-node": "^7.0.1",

@@ -54,0 +54,0 @@ "typescript": "^3.2.2"

@@ -7,6 +7,4 @@ partitioninfo

[![npm version](https://badge.fury.io/js/partitioninfo.svg)](http://badge.fury.io/js/partitioninfo)
[![dependencies](https://david-dm.org/resin-io-modules/partitioninfo.svg)](https://david-dm.org/resin-io-modules/partitioninfo.svg)
[![Build Status](https://travis-ci.org/resin-io-modules/partitioninfo.svg?branch=master)](https://travis-ci.org/resin-io-modules/partitioninfo)
[![Build status](https://ci.appveyor.com/api/projects/status/udif66t2rsxb43xt/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/partitioninfo/branch/master)
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)
[![dependencies](https://david-dm.org/balena-io-modules/partitioninfo.svg)](https://david-dm.org/balena-io-modules/partitioninfo.svg)
[![Build Status](https://travis-ci.org/balena-io-modules/partitioninfo.svg?branch=master)](https://travis-ci.org/balena-io-modules/partitioninfo)

@@ -101,3 +99,3 @@ Installation

If you're having any problem, please [raise an issue](https://github.com/resin-io-modules/partitioninfo/issues/new) on GitHub and the Resin.io team will be happy to help.
If you're having any problem, please [raise an issue](https://github.com/balena-io-modules/partitioninfo/issues/new) on GitHub and the Resin.io team will be happy to help.

@@ -116,6 +114,6 @@ Tests

- Issue Tracker: [github.com/resin-io-modules/partitioninfo/issues](https://github.com/resin-io-modules/partitioninfo/issues)
- Source Code: [github.com/resin-io-modules/partitioninfo](https://github.com/resin-io-modules/partitioninfo)
- Issue Tracker: [github.com/balena-io-modules/partitioninfo/issues](https://github.com/balena-io-modules/partitioninfo/issues)
- Source Code: [github.com/balena-io-modules/partitioninfo](https://github.com/balena-io-modules/partitioninfo)
Before submitting a PR, please make sure that you include tests, and that resin-lint runs without any warning:
Before submitting a PR, please make sure that you include tests, and that balena-lint runs without any warning:

@@ -122,0 +120,0 @@ ```sh

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