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

is-secret

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-secret - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

1

index.js

@@ -7,2 +7,3 @@ 'use strict'

/^pw$/,
/^pass$/i,
/secret/i,

@@ -9,0 +10,0 @@ /token/i,

10

package.json
{
"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

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