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

@abtnode/util

Package Overview
Dependencies
Maintainers
3
Versions
773
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abtnode/util - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1-beta.1

lib/is_docker.js

2

lib/index.js
const pkg = require('../package.json');
const readBlockletConfig = require('./read_blocklet_config');
const normalizePathPrefix = require('./normalize_path_prefix');
const isDocker = require('./is_docker');
module.exports = {
isDocker,
isValidPort: (port) => Number.isSafeInteger(port) && port >= 0 && port <= 65535,

@@ -7,0 +9,0 @@ normalizePathPrefix,

@@ -51,2 +51,3 @@ const fs = require('fs');

logoUrl: false,
logo: false,
author: false,

@@ -53,0 +54,0 @@ charging: false,

8

package.json

@@ -6,3 +6,3 @@ {

},
"version": "0.9.0",
"version": "0.9.1-beta.1",
"description": "ArcBlock's JavaScript utility",

@@ -25,2 +25,3 @@ "main": "lib/index.js",

"debug": "^4.1.1",
"is-docker": "^2.1.1",
"lodash": "^4.17.15",

@@ -31,5 +32,4 @@ "nedb": "^1.8.0"

"eslint": "7.5.0",
"jest": "^26.1.0"
},
"gitHead": "da5c07c2092b46d3e7aacd25f13ffda7a09d0417"
"jest": "^25.2.7"
}
}
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