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

fh-logger

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-logger - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

LICENSE

20

Gruntfile.js

@@ -0,7 +1,20 @@

/*
JBoss, Home of Professional Open Source
Copyright Red Hat, Inc., and individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
module.exports = function(grunt) {
'use strict';
grunt.initConfig({
// These are the properties that grunt-fh-build will use
//unit: '<%= _test_runner %> <%= _unit_args %>',
//unit_cover: 'istanbul cover --dir cov-unit <%= _test_runner %> -- <%= _unit_args %>',
mochaTest: {

@@ -13,4 +26,3 @@ all: ['./test/*.js']

grunt.loadNpmTasks('grunt-fh-build');
grunt.registerTask('default', ['fh:default']);
grunt.registerTask('default', ['mochaTest', 'fh:default']);
};

@@ -0,1 +1,17 @@

/*
JBoss, Home of Professional Open Source
Copyright Red Hat, Inc., and individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var bunyan = require('bunyan');

@@ -2,0 +18,0 @@ var cluster = require('cluster');

7

package.json
{
"name": "fh-logger",
"description": "Enables a simple way of configuring and creating loggers, configured with request serializers, including clustering information.",
"version": "0.1.0",
"version": "0.2.0",
"repository": {

@@ -9,3 +9,4 @@ "type": "git",

},
"author": "FeedHenry",
"author": "Red Hat",
"license": "Apache-2.0",
"main": "./lib/fh_logger.js",

@@ -20,3 +21,3 @@ "engines": {

"grunt": "^0.4.5",
"grunt-fh-build": "^0.0.14",
"grunt-fh-build": "^0.3.1",
"chai": "^3.3.0",

@@ -23,0 +24,0 @@ "mocha": "2.3.1",

@@ -55,17 +55,5 @@ ## fh-logger

```shell
grunt fh:unit
grunt mochaTest
```
To run all tests in a test file:
```shell
whiskey --real-time --report-timing --failfast --tests test.test_fh_logger.*
```
To run a single test method:
```shell
whiskey --real-time --report-timing --failfast --tests test.test_fh_logger.test_createLogger_stream_process_stdout
```

@@ -0,1 +1,17 @@

/*
JBoss, Home of Professional Open Source
Copyright Red Hat, Inc., and individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var fh_logger = require('../lib/fh_logger.js');

@@ -2,0 +18,0 @@ var expect = require('chai').expect

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