apiconnect-cli-logger
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -1,4 +0,14 @@ | ||
2016-07-19, Version 1.1.1 | ||
2016-08-22, Version 1.2.0 | ||
========================= | ||
* Use spec reporter for tests. (Ying Lu) | ||
* Publish to CI registry using travis (Krishna Raman) | ||
* Remove hard coded config directory (Bosco Li) | ||
2016-07-18, Version 1.1.1 | ||
========================= | ||
* Update engines to node >=0.12. (Rick Curtis) | ||
@@ -5,0 +15,0 @@ |
@@ -16,3 +16,4 @@ // Copyright IBM Corp. 2016. All Rights Reserved. | ||
var configDir = process.env.APIC_CONFIG_PATH || path.resolve(osenv.home(), '.apiconnect'); | ||
var dirName = process.env.APIC_CLI_CONFIG_DIR || '.apiconnect'; | ||
var configDir = process.env.APIC_CONFIG_PATH || path.resolve(osenv.home(), dirName); | ||
mkdirp.sync(configDir); | ||
@@ -23,6 +24,6 @@ | ||
var rotStream = require('logrotate-stream'); | ||
var fileName = process.env.APIC_CLI_LOG_FILE || 'apic.log'; | ||
// default file logger config | ||
var defaultFileLoggerCfg = { | ||
file: path.join(configDir, 'apic.log'), | ||
file: path.join(configDir, fileName), | ||
size: '50M', | ||
@@ -29,0 +30,0 @@ keep: 10, |
{ | ||
"name": "apiconnect-cli-logger", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Common logger for API Connect Toolkit CLI", | ||
@@ -8,3 +8,3 @@ "main": "logger.js", | ||
"pretest": "eslint --ignore-path .gitignore .", | ||
"test": "tap --bail --timeout=1000 ./test/test-*" | ||
"test": "tap --bail --timeout=1000 --reporter=spec ./test/test-*" | ||
}, | ||
@@ -11,0 +11,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
12498016
339
26
1