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

constant-case

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constant-case - npm Package Compare versions

Comparing version 1.1.2 to 2.0.0

10

constant-case.js

@@ -7,8 +7,8 @@ var upperCase = require('upper-case')

*
* @param {String} string
* @param {String} [locale]
* @return {String}
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (string, locale) {
return upperCase(snakeCase(string, locale), locale)
module.exports = function (value, locale) {
return upperCase(snakeCase(value, locale), locale)
}
{
"name": "constant-case",
"version": "1.1.2",
"version": "2.0.0",
"description": "Constant case a string",

@@ -38,11 +38,10 @@ "main": "constant-case.js",

"devDependencies": {
"istanbul": "^0.3.0",
"istanbul": "^0.4.3",
"mocha": "^2.2.1",
"pre-commit": "^1.0.6",
"standard": "^3.3.0"
"standard": "^7.1.2"
},
"dependencies": {
"snake-case": "^1.1.0",
"snake-case": "^2.1.0",
"upper-case": "^1.1.1"
}
}
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