Socket
Socket
Sign inDemoInstall

snake-case

Package Overview
Dependencies
2
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

8

package.json
{
"name": "snake-case",
"version": "1.1.0",
"version": "1.1.1",
"description": "Snake case a string",

@@ -34,8 +34,8 @@ "main": "snake-case.js",

"istanbul": "^0.3.0",
"mocha": "^1.18.2",
"pre-commit": "0.0.9"
"mocha": "^2.1.0",
"pre-commit": "^1.0.1"
},
"dependencies": {
"sentence-case": "^1.1.1"
"sentence-case": "^1.1.2"
}
}
# Snake Case
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]

@@ -35,2 +36,4 @@ [![Test coverage][coveralls-image]][coveralls-url]

[npm-url]: https://npmjs.org/package/snake-case
[downloads-image]: https://img.shields.io/npm/dm/snake-case.svg?style=flat
[downloads-url]: https://npmjs.org/package/snake-case
[travis-image]: https://img.shields.io/travis/blakeembrey/snake-case.svg?style=flat

@@ -37,0 +40,0 @@ [travis-url]: https://travis-ci.org/blakeembrey/snake-case

@@ -11,3 +11,3 @@ var sentenceCase = require('sentence-case');

module.exports = function (str, locale) {
return sentenceCase(str, locale).replace(/ /g, '_');
return sentenceCase(str, locale, '_');
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc