-
-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(commons): use named exports
- export every function directly - improve 'some' & 'every' for early exit - use 'Object.values' for 'values' instead of 'Object.keys.map' (2x perf) - isObject: first check for null - named imports from @feathersjs/commons in every package - deprecate 'keys', use `Object.keys` - deprecate 'values', use `Object.values` - deprecate 'extend', use `Object.assign` - use type guard for `isPromise`, `isObject` & `isObjectOrArray` - add jsdoc comments
- Loading branch information
1 parent
a02febb
commit 3ef1cd7
Showing
11 changed files
with
230 additions
and
117 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
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
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.