Comparing version 1.1.1 to 1.2.0
@@ -7,2 +7,3 @@ 'use strict' | ||
/^pw$/, | ||
/^pass$/i, | ||
/secret/i, | ||
@@ -9,0 +10,0 @@ /token/i, |
{ | ||
"name": "is-secret", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "A distributed maintained collection of patterns that indicate that something probably is secret", | ||
"main": "index.js", | ||
"devDependencies": { | ||
"standard": "^8.6.0", | ||
"tape": "^4.6.3" | ||
"standard": "^12.0.1", | ||
"tape": "^4.9.1" | ||
}, | ||
@@ -31,5 +31,5 @@ "scripts": { | ||
"coordinates": [ | ||
55.6794118, | ||
12.5807414 | ||
55.778272, | ||
12.593061 | ||
] | ||
} |
@@ -11,2 +11,3 @@ # is-secret | ||
[![npm](https://img.shields.io/npm/v/is-secret.svg)](https://www.npmjs.com/package/is-secret) | ||
[![Build status](https://travis-ci.org/watson/is-secret.svg?branch=master)](https://travis-ci.org/watson/is-secret) | ||
@@ -67,2 +68,2 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) | ||
MIT | ||
[MIT](LICENSE) |
@@ -7,2 +7,3 @@ 'use strict' | ||
test('isSecret.key true', function (t) { | ||
t.equal(isSecret.key('pass'), true) | ||
t.equal(isSecret.key('password'), true) | ||
@@ -17,2 +18,3 @@ t.equal(isSecret.key('api-key'), true) | ||
test('isSecret.key false', function (t) { | ||
t.equal(isSecret.key('passport'), false) | ||
t.equal(isSecret.key('copenhagen'), false) | ||
@@ -19,0 +21,0 @@ t.equal(isSecret.key('api*key'), false) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5062
56
68
6