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

@ui5/logger

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/logger - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

19

CHANGELOG.md

@@ -5,6 +5,20 @@ # Changelog

A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v0.2.1...HEAD).
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v0.2.2...HEAD).
<a name="v0.2.2"></a>
## [v0.2.2] - 2018-11-15
### Features
- Add UI5_LOG_LVL environment variable [`c3e65c4`](https://github.com/SAP/ui5-logger/commit/c3e65c444045832773e4dc43ffa2baf903a27e52)
### Internal Changes
- **ESLint:** Allow strings to use backticks [`737ca15`](https://github.com/SAP/ui5-logger/commit/737ca153ce44625bdb13c8033c1d5c6f48ce7099)
- **Git:** Apply lf line-ending to all files [`2e0b5d2`](https://github.com/SAP/ui5-logger/commit/2e0b5d2129aa216e1a400bcff8ca846560818d97)
- **GitHub:** Add PULL_REQUEST_TEMPLATE [`b2fbede`](https://github.com/SAP/ui5-logger/commit/b2fbedeca713407b84192f4c6f6ab242b3edd8f4)
- **GitHub ISSUE_TEMPLATE:** Request UI5 module version info [`0c22afe`](https://github.com/SAP/ui5-logger/commit/0c22afe9b2774498f012ae383a7937c7fb1d0e04)
- **Travis:** Activate Windows and Mac builds [`074c3b9`](https://github.com/SAP/ui5-logger/commit/074c3b94d16e6bf7c24d1151bc7065633059c79f)
- **package.json scripts:** Update verbose logging params [`66a44f6`](https://github.com/SAP/ui5-logger/commit/66a44f6358c197a09f1878c9ac39979eaaade451)
<a name="v0.2.1"></a>
## [v0.2.1] - 2018-10-18
## [v0.2.1] - 2018-10-29
### Internal Changes

@@ -50,4 +64,5 @@ - Reduce log progress text [`826f6c3`](https://github.com/SAP/ui5-logger/commit/826f6c386429beec2497be62cbe54a4fe88e7ab3)

[v0.2.2]: https://github.com/SAP/ui5-logger/compare/v0.2.1...v0.2.2
[v0.2.1]: https://github.com/SAP/ui5-logger/compare/v0.2.0...v0.2.1
[v0.2.0]: https://github.com/SAP/ui5-logger/compare/v0.1.0...v0.2.0
[v0.1.0]: https://github.com/SAP/ui5-logger/compare/v0.0.1...v0.1.0
const npmlog = require("npmlog");
npmlog.level = "info"; // Our default
if (process.env.UI5_LOG_LVL) {
const levels = ["silly", "verbose", "info", "warn", "error"];
const logLvl = process.env.UI5_LOG_LVL;
if (!levels.includes(logLvl)) {
throw new Error(`UI5 Logger: Environment variable UI5_LOG_LVL is set to an unkown log level "${logLvl}". ` +
`Valid levels are ${levels.join(", ")}`);
}
npmlog.level = logLvl;
} else {
npmlog.level = "info"; // Our default
}
npmlog.enableUnicode();

@@ -4,0 +16,0 @@

14

package.json
{
"name": "@ui5/logger",
"version": "0.2.1",
"version": "0.2.2",
"description": "UI5 Build and Development Tooling - Internal Logger",

@@ -24,6 +24,6 @@ "author": "SAP SE (https://www.sap.com)",

"unit": "rimraf test/tmp && ava",
"unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
"unit-watch": "rimraf test/tmp && ava --watch",
"unit-nyan": "npm run unit -- --tap | tnyan",
"unit-debug": "rimraf test/tmp && cross-env DEBUG=*,-babel,-ava ava",
"unit-inspect": "cross-env DEBUG=*,-babel,-ava node --inspect-brk node_modules/ava/profile.js",
"unit-inspect": "cross-env UI5_LOG_LVL=verbose node --inspect-brk node_modules/ava/profile.js",
"coverage": "nyc npm run unit",

@@ -102,7 +102,7 @@ "jsdoc": "npm run jsdoc-generate && opn jsdocs/index.html",

"docdash": "^1.0.0",
"eslint": "^5.0.1",
"eslint-config-google": "^0.10.0",
"eslint": "^5.9.0",
"eslint-config-google": "^0.11.0",
"jsdoc": "^3.5.5",
"nyc": "^13.0.1",
"opn-cli": "^3.1.0",
"nyc": "^13.1.0",
"opn-cli": "^4.0.0",
"rimraf": "^2.6.2",

@@ -109,0 +109,0 @@ "tap-nyan": "^1.1.0"

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