uppercamelcase
Advanced tools
Comparing version 2.0.0 to 3.0.0
'use strict'; | ||
var camelCase = require('camelcase'); | ||
const camelCase = require('camelcase'); | ||
module.exports = function () { | ||
var cased = camelCase.apply(camelCase, arguments); | ||
const cased = camelCase.apply(camelCase, arguments); | ||
return cased.charAt(0).toUpperCase() + cased.slice(1); | ||
}; |
{ | ||
"name": "uppercamelcase", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Convert a dash/dot/underscore/space separated string to UpperCamelCase", | ||
@@ -12,3 +12,3 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=0.10" | ||
"node": ">=4" | ||
}, | ||
@@ -29,8 +29,8 @@ "scripts": { | ||
"dependencies": { | ||
"camelcase": "^3.0.0" | ||
"camelcase": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.17.0", | ||
"xo": "^0.16.0" | ||
"ava": "*", | ||
"xo": "*" | ||
} | ||
} |
@@ -16,3 +16,3 @@ # UpperCamelCase [![Build Status](https://travis-ci.org/SamVerschueren/uppercamelcase.svg?branch=master)](https://travis-ci.org/SamVerschueren/uppercamelcase) | ||
```js | ||
var upperCamelCase = require('uppercamelcase'); | ||
const upperCamelCase = require('uppercamelcase'); | ||
@@ -19,0 +19,0 @@ upperCamelCase('foo-bar'); |
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
2868
+ Addedcamelcase@4.1.0(transitive)
- Removedcamelcase@3.0.0(transitive)
Updatedcamelcase@^4.1.0