Socket
Socket
Sign inDemoInstall

roarr

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roarr - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

79

package.json

@@ -1,78 +0,1 @@

{
"author": {
"email": "gajus@gajus.com",
"name": "Gajus Kuizinas",
"url": "http://gajus.com"
},
"ava": {
"babel": "inherit",
"require": [
"babel-register"
]
},
"bin": "./dist/bin/index.js",
"dependencies": {
"boolean": "^0.1.3",
"chalk": "^2.1.0",
"prettyjson": "^1.2.1",
"split2": "^2.2.0",
"sprintf-js": "^1.1.1",
"ulid": "^1.0.0",
"yargs": "^9.0.1"
},
"description": "JSON logger for Node.js and browser.",
"devDependencies": {
"ava": "^0.22.0",
"babel-cli": "^6.26.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-transform-flow-comments": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
"coveralls": "^2.13.1",
"eslint": "^4.7.0",
"eslint-config-canonical": "^9.3.1",
"flow-bin": "^0.54.1",
"flow-copy-source": "^1.2.1",
"husky": "^0.14.3",
"nock": "^9.0.14",
"nyc": "^11.2.1",
"semantic-release": "^7.0.2",
"sinon": "^3.2.1"
},
"engines": {
"node": ">=8.0"
},
"keywords": [
"log",
"logger",
"json"
],
"main": "./dist/log.js",
"name": "roarr",
"nyc": {
"include": [
"src/**/*.js"
],
"instrument": false,
"reporter": [
"text-lcov"
],
"require": [
"babel-register"
],
"sourceMap": false
},
"repository": {
"type": "git",
"url": "git@github.com:gajus/roarr.git"
},
"scripts": {
"build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist",
"generate-types": "babel-node ./src/bin/generate-types.js",
"lint": "eslint ./src ./test && flow",
"test": "NODE_ENV=test ava --serial --verbose"
},
"version": "2.0.0"
}
{"author":{"email":"gajus@gajus.com","name":"Gajus Kuizinas","url":"http://gajus.com"},"ava":{"babel":"inherit","require":["babel-register"]},"bin":"./dist/bin/index.js","dependencies":{"boolean":"^0.1.3","chalk":"^2.3.0","prettyjson":"^1.2.1","split2":"^2.2.0","sprintf-js":"^1.1.1","ulid":"^2.2.1","yargs":"^10.0.3"},"description":"JSON logger for Node.js and browser.","devDependencies":{"ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-istanbul":"^4.1.5","babel-plugin-transform-flow-comments":"^6.22.0","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","coveralls":"^3.0.0","eslint":"^4.10.0","eslint-config-canonical":"^9.3.1","flow-bin":"^0.58.0","flow-copy-source":"^1.2.1","husky":"^0.14.3","nock":"^9.0.27","nyc":"^11.3.0","semantic-release":"^8.2.0","sinon":"^4.1.0"},"engines":{"node":">=8.0"},"keywords":["log","logger","json"],"main":"./dist/log.js","name":"roarr","nyc":{"include":["src/**/*.js"],"instrument":false,"reporter":["text-lcov"],"require":["babel-register"],"sourceMap":false},"repository":{"type":"git","url":"git@github.com:gajus/roarr.git"},"scripts":{"build":"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","generate-types":"babel-node ./src/bin/generate-types.js","lint":"eslint ./src ./test && flow","test":"NODE_ENV=test ava --serial --verbose"},"version":"2.0.1"}

11

README.md

@@ -180,3 +180,3 @@ # Roarr

```
```bash
ROARR_LOG=true node ./index.js | jq 'select(.context.logLevel > 40)'

@@ -186,2 +186,11 @@

Combine it with `roarr pretty-print` to pretty-print a subset of the logs:
```bash
ROARR_LOG=true node ./index.js | jq -cM 'select(.context.logLevel > 40)'
```
(Notice the use of `-cM` parameters to disable JSON colarization and formatting.)
## Log message format

@@ -188,0 +197,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