Socket
Socket
Sign inDemoInstall

hewer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hewer - npm Package Compare versions

Comparing version 0.3.0-2 to 0.3.0-3

10

package.json
{
"name": "hewer",
"version": "0.3.0-2",
"version": "0.3.0-3",
"description": "A small and flexible logging library",

@@ -8,6 +8,6 @@ "repository": "https://github.com/matchs/hewer",

"scripts": {
"test": "./node_modules/mocha/bin/mocha"
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec && ./node_modules/.bin/codecov"
},
"engines" : {
"node" : ">=4.4.2"
"engines": {
"node": ">=4.4.2"
},

@@ -22,2 +22,4 @@ "keywords": [

"devDependencies": {
"codecov": "^1.0.1",
"istanbul": "^0.4.3",
"mocha": "^2.4.5",

@@ -24,0 +26,0 @@ "mocha-sinon": "^1.1.5",

1

README.md
# Hewer
[![wercker status](https://app.wercker.com/status/1530b3086576b34687fb4819b7a4ff4a/s "wercker status")](https://app.wercker.com/project/bykey/1530b3086576b34687fb4819b7a4ff4a)
[![codecov.io](https://codecov.io/github/matchs/hewer/coverage.svg?branch=master)](https://codecov.io/github/matchs/hewer?branch=master)

@@ -4,0 +5,0 @@ [https://www.npmjs.com/package/hewer](https://www.npmjs.com/package/hewer "Hewer npm registry")

@@ -12,3 +12,10 @@ var assert = require('assert');

});
describe('Testing PatternFilter', function() {
var filter = new filters.PatternFilter(/filtered/gmi, '[REDACTED]')
var inputStr = "Some string that should be filtered"
it("Should filter the word 'filtered'", function() {
assert.equal(filter.apply(inputStr), "Some string that should be [REDACTED]");
});
});

Sorry, the diff of this file is not supported yet

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