camel-case
Advanced tools
Comparing version 1.2.2 to 2.0.0
var upperCase = require('upper-case') | ||
var sentenceCase = require('sentence-case') | ||
var noCase = require('no-case') | ||
@@ -7,8 +7,8 @@ /** | ||
* | ||
* @param {String} string | ||
* @param {String} [locale] | ||
* @return {String} | ||
* @param {string} value | ||
* @param {string} [locale] | ||
* @return {string} | ||
*/ | ||
module.exports = function (string, locale, mergeNumbers) { | ||
var result = sentenceCase(string, locale) | ||
module.exports = function (value, locale, mergeNumbers) { | ||
var result = noCase(value, locale) | ||
@@ -15,0 +15,0 @@ // Replace periods between numeric entities with an underscore. |
{ | ||
"name": "camel-case", | ||
"version": "1.2.2", | ||
"version": "2.0.0", | ||
"description": "Camel case a string", | ||
@@ -14,3 +14,3 @@ "main": "camel-case.js", | ||
"lint": "standard", | ||
"test-std": "mocha -- -R spec --bail", | ||
"test-spec": "mocha -- -R spec --bail", | ||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail", | ||
@@ -51,9 +51,8 @@ "test": "npm run lint && npm run test-cov" | ||
"mocha": "^2.2.1", | ||
"pre-commit": "^1.0.6", | ||
"standard": "^3.3.0" | ||
}, | ||
"dependencies": { | ||
"sentence-case": "^1.1.1", | ||
"no-case": "^2.0.0", | ||
"upper-case": "^1.1.1" | ||
} | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
3
3000
4
1
0
+ Addedno-case@^2.0.0
+ Addedno-case@2.3.2(transitive)
- Removedsentence-case@^1.1.1
- Removedsentence-case@1.1.3(transitive)