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
770
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 1.0.20 to 1.0.21

lib/is_gitpod.js

15

lib/constants.js

@@ -39,2 +39,5 @@ module.exports = Object.freeze({

BLOCKLET_BUNDLE_FOLDER: '_blocklet',
BLOCKLET_BUNDLE_FILE: 'blocklet.zip',
BLOCKLET_ENTRY_FILE: 'blocklet.js',
BLOCKLET_META_FILE: 'blocklet.json',
DEFAULT_ROUTER_PROVIDER: 'none',

@@ -49,5 +52,15 @@ DOMAIN_FOR_IP_SITE: '',

BLOCKLET_COLORS: ['primary', 'secondary', 'error'],
BLOCKLET_MODES: Object.freeze({
PRODUCTION: 'production',
DEVELOPMENT: 'development',
}),
CONFIG_FILENAME: 'abtnode.yml',
CONFIG_FOLDER_NAME: '.abtnode',
MAX_UPLOAD_FILE_SIZE: 500, // 500M
MAX_UPLOAD_FILE_SIZE: 500, // unit: MB
NODE_MODES: Object.freeze({
PRODUCTION: 'production',
DEBUG: 'debug',
MAINTENANCE: 'maintenance',
IMMUTABLE: 'immutable',
}),
});

@@ -5,2 +5,3 @@ const pkg = require('../package.json');

const isDocker = require('./is_docker');
const isGitpod = require('./is_gitpod');
const checkDomainMatch = require('./check_domain_match');

@@ -20,2 +21,3 @@ const tryWithTimeout = require('./try_with_timeout');

isDocker,
isGitpod,
isValidPort,

@@ -22,0 +24,0 @@ normalizePathPrefix,

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

exposeServices: false,
scripts: false,
};

@@ -47,0 +48,0 @@

4

package.json

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

},
"version": "1.0.20",
"version": "1.0.21",
"description": "ArcBlock's JavaScript utility",

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

},
"gitHead": "a683d55c5145c94629091169b38f6c2fcb223dce"
"gitHead": "9acb5ff7583310b322a2e653155493343c59b183"
}
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