@abtnode/util
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17845
17
483