change-case
Advanced tools
Comparing version 5.4.2 to 5.4.3
@@ -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
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
35243