Socket
Socket
Sign inDemoInstall

change-case

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

change-case - npm Package Compare versions

Comparing version 5.4.2 to 5.4.3

4

dist/keys.js

@@ -8,3 +8,3 @@ import * as changeCase from "./index.js";

if (Array.isArray(object)) {
return object.map((item) => changeKeys(item, depth - 1));
return object.map((item) => changeKeys(item, depth - 1, options));
}

@@ -15,3 +15,3 @@ const result = Object.create(Object.getPrototypeOf(object));

const changedKey = changeCase(key, options);
const changedValue = changeKeys(value, depth - 1);
const changedValue = changeKeys(value, depth - 1, options);
result[changedKey] = changedValue;

@@ -18,0 +18,0 @@ });

{
"name": "change-case",
"version": "5.4.2",
"version": "5.4.3",
"description": "Transform a string between `camelCase`, `PascalCase`, `Capital Case`, `snake_case`, `kebab-case`, `CONSTANT_CASE` and others",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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