-
-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(utils/body): add dot notation support for
parseBody
(#2675)
* feat: add dot notation support for parseBody * denoify & lint * refactor: default value and jsdoc * denoify & lint * test: more tests * fix: destruct option key value to false if value is undefined * types: remove object * refactor: handle nested values inside a function * fix: remove unusual import * denoify & lint * refactor: explicitly state just all and dot * fix: issue raised by multiple append on the same dot notation key * types: dont use {} * chore: denoify & lint * fix(types): Deno compatible types * fix: should override value if option is false * chore: denoify & lint * make option typings partials and should not update file object properties * refactor: make code less complicated * chore: add tsdoc * chore: remove comment * refactor(utils/body): reduce the complexity of O(mn) * chore: remove parseAllValues and change value to BodyDataValue type
- Loading branch information
Showing
3 changed files
with
349 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.