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

flipjs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flipjs - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

.eslintrc

22

package.json
{
"name": "flipjs",
"version": "1.0.4",
"version": "1.0.5",
"description": "flipjs javascript utility library",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"commit": "git-cz",
"test": "mocha",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},

@@ -18,3 +20,15 @@ "repository": {

},
"homepage": "https://github.com/flipjs/flipjs"
}
"homepage": "https://github.com/flipjs/flipjs",
"devDependencies": {
"chai": "3.5.0",
"commitizen": "2.7.3",
"cz-conventional-changelog": "1.1.5",
"mocha": "2.4.5",
"semantic-release": "^4.3.5"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}

5

src/index.js

@@ -5,3 +5,3 @@ module.exports = {

capitalize: capitalize,
iSFound: iSFound
isFound: isFound
}

@@ -25,6 +25,7 @@

function capitalize (string) {
if (!string) return ''
return string.charAt(0).toUpperCase() + string.slice(1)
}
function iSFound (obj, searchString) {
function isFound (obj, searchString) {
return Object.keys(obj).some((item) => {

@@ -31,0 +32,0 @@ if (obj[item]) {

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