Socket
Socket
Sign inDemoInstall

camelify-recursive

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

5

index.js

@@ -34,5 +34,4 @@ var changeCase = require('change-case');

// Fix '_id' so it becomes '_ID' and later 'ID'
// Otherwise it'd be 'Id' which is poor
oldKeyName = oldKeyName.replace('_id','_ID')
// Fix 'id' so it becomes 'ID' - prevents 'Id' in output which is poor
oldKeyName = oldKeyName.replace('_id','_ID').replace(/^id$/,'ID')

@@ -39,0 +38,0 @@ var newKeyName = changeCase.camelCase(oldKeyName);

2

package.json
{
"name": "camelify-recursive",
"version": "2.0.0",
"version": "2.0.1",
"description": "Recursively convert an object's keys to camelCase",

@@ -5,0 +5,0 @@ "main": "index.js",

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