Skip to content

Commit

Permalink
fix: remove functions from payload
Browse files Browse the repository at this point in the history
chore: upgrade yarn
  • Loading branch information
AshotN committed Nov 30, 2024
1 parent 1d50aca commit 0f6c8c9
Show file tree
Hide file tree
Showing 4 changed files with 1,802 additions and 1,794 deletions.
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adminjs-feathers",
"version": "0.1.7",
"version": "0.1.8",
"homepage": "https://github.com/AshotN/adminjs-feathers",
"description": "An adapter to connect AdminJS to FeathersJS",
"license": "MIT",
Expand All @@ -19,7 +19,7 @@
"type": "git",
"url": "https://github.com/AshotN/adminjs-feathers"
},
"packageManager": "yarn@3.3.0",
"packageManager": "yarn@4.5.3+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90",
"scripts": {
"clean": "rimraf dist",
"build:cjs": "tsc -p tsconfig.CJS.json && cp package.CJS.json dist/CJS/package.json",
Expand Down
4 changes: 4 additions & 0 deletions src/utils/featherParse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const parseByType = (
}
}

if (typeof val === 'function') {
return undefined
}

return val
}

Expand Down
Loading

0 comments on commit 0f6c8c9

Please sign in to comment.