★ wanayoo — archive 1999 https://github.com/feathersjs-ecosystem/feathers-hooks-commonNouvelle recherche | Portail wanayoo
Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Useful hooks for use with Feathersjs services.
JavaScript TypeScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Adding .github folder and templates Oct 22, 2016
dtslint-build chore(package): update dtslint to version 2.0.2 (#539) Nov 13, 2019
lib Remove all deprecated hooks (#540) Nov 14, 2019
tests-async
tests Remove all deprecated hooks (#540) Nov 14, 2019
types Remove all deprecated hooks (#540) Nov 14, 2019
.gitignore remove dtslint workaround in favor of npx Nov 14, 2018
.istanbul.yml Update to new plugin infrastructure Oct 27, 2017
.npmignore Update to new plugin infrastructure Oct 27, 2017
.travis.yml Added softDelete2 and calling-params Jul 22, 2018
CHANGELOG.md Updating changelog Feb 22, 2019
CONTRIBUTING.md
LICENSE Updating changelog Feb 8, 2018
README.md Update badges (#537) Nov 11, 2019
TODO.md Added prep for skipRemaingHooksOnFlag Aug 4, 2018
greenkeeper.json Update dependencies to enable Greenkeeper 🌴 (#534) Nov 11, 2019
mocha.opts Added fastJoin and related makeCallingParams plus tests Nov 14, 2017
package-lock.json Remove all deprecated hooks (#540) Nov 14, 2019
package.json Remove all deprecated hooks (#540) Nov 14, 2019

README.md

feathers-hooks-common

Greenkeeper badge

Build Status Dependency Status Download Status Slack Status

Useful hooks for use with Feathers services.


Use feathers-hooks-common v3.10.0 with FeathersJS v2 (Auk).

Use feathers-hooks-common v4.x.x with FeathersJS v3 (Buzzard).

Migration to v4 (for FeathersJS v3 Buzzard) from v3 (for FeathersJSv2 Auk).

  • Docs moved to feathers-plus web site.

  • v4.x.x now supports FeathersJS v3 (Buzzard). Continue using v3.10.0 for FeathersJS v2 (Auk).

    • Removed:

      • Removed support for the deprecated legacy syntax in populate.
      • Removed the deprecated remove hook in favor of discard.
    • Deprecated. These will be removed in FeathersJS v3 (Crow).

      • Deprecated pluck in favor of iff(isProvider('external'), keep(...fieldNames)). Be careful!
      • Deprecated the client in favor of the paramsFromClient.
    • Added modules. They work with both FeathersJS v2 and v3.

      • fastJoin hook - Very fast alternative to populate.
      • makeCallingParams utility - Help construct context.params when calling services.

Documentation

Refer to Feathers-Plus web site..

Installation

Run npm install feathers-hooks-common --save in your project folder (installs the latest v4 release).

Tests

npm test to run tests.

License

See LICENSE.

You can’t perform that action at this time.