Skip to content

Commit

Permalink
Merge pull request #7 from 14f3v/feature
Browse files Browse the repository at this point in the history
apply build
  • Loading branch information
14f3v committed Mar 21, 2024
2 parents f046b5f + 60f5045 commit bf6f7a5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function ObjectConvertionKeysToCamelCase(obj) {
for (const key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
const camelKey = key.toLowerCase().replace(/_([a-z])/g, (match, letter) => letter.toUpperCase());
if (typeof obj[key] == "object") {
if (obj[key] instanceof Object && !(obj[key] instanceof Date)) {
if (!obj[key])
camelObj[camelKey.charAt(0).toLowerCase() + camelKey.slice(1)] = obj[key];
else
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf6f7a5

Please sign in to comment.