Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(commons): use named exports #3496

Open
wants to merge 4 commits into
base: dove
Choose a base branch
from

Conversation

fratzinger
Copy link
Member

  • 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

- 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
Copy link

cloudflare-workers-and-pages bot commented Jun 2, 2024

Deploying feathers-dove with  Cloudflare Pages  Cloudflare Pages

Latest commit: e84edd0
Status: ✅  Deploy successful!
Preview URL: https://99253b07.feathers.pages.dev
Branch Preview URL: https://refactor-commons-named-expor.feathers.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant