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

bc2

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bc2 - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

13

libs/Utils.js

@@ -193,4 +193,9 @@ const os = require('os');

static readProcess({ PID, PIDFolder }) {
const PFile = path.resolve(PIDFolder, `${PID}.toml`);
return new Promise((resolve, reject) => {
return this.readPackageInfo()
.then(packageInfo => {
const PIDFolder = path.resolve(os.homedir(), packageInfo.name, 'PIDs');
const PFile = path.resolve(PIDFolder, `${PID}.toml`);
return Promise.resolve(PFile);
})
.then((PFile) => new Promise((resolve, reject) => {
fs.readFile(PFile, (e, d) => {

@@ -215,3 +220,3 @@ if(e) {

});
});
}));
}

@@ -248,3 +253,3 @@

.then(packageInfo => {
const fPID = path.resolve(os.homedir(), packageInfo.name, 'PIDs', `${PID}.log`);
const fPID = path.resolve(os.homedir(), packageInfo.name, 'PIDs', `${PID}.toml`);
return new Promise((resolve, reject) => {

@@ -251,0 +256,0 @@ if(pause) {

{
"name": "bc2",
"version": "0.2.4",
"version": "0.2.5",
"description": "Blockchain Data Collector",

@@ -5,0 +5,0 @@ "main": "bin/start.js",

@@ -8,2 +8,5 @@ # BlockScanner

```
```shell
sudo npm install bc2 -g --unsafe-perm
```

@@ -10,0 +13,0 @@ ## Setup Config

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