50 Commits

Author SHA1 Message Date
David Luecke
c606c56dc2
chore: Format code using Prettier and updated ESLint rules (#2647)
Co-authored-by: Marshall Thompson <marshall@creativeideal.net>
2022-05-27 15:21:13 -07:00
David Luecke
501d4164d3
feat(dependencies): Remove direct debug dependency (#2296) 2021-04-08 16:17:09 -07:00
David Luecke
58f1ed3659
chore(package): Migrate to ESLint and improve package setup (#2161) 2020-12-16 21:08:55 -08:00
David Luecke
7812529ff0
feat(core): Migrate @feathersjs/feathers to TypeScript (#1963) 2020-05-19 08:55:28 -07:00
David Luecke
1696794974
chore: Update all dependencies and remove remaining Sinon and Chai usage (#1765) 2019-12-26 16:31:57 -08:00
David Luecke
9dd671301a
feat: Add TypeScript definitions (#1275) 2019-04-06 12:43:57 -07:00
David Luecke
211c0f8663
feat: Remove (hook, next) signature and SKIP support (#1269) 2019-04-03 10:29:28 -07:00
David Luecke
17b3dc826f
feat: Common database adapter utilities and test suite (#1130)
BREAKING CHANGE: Move database adapter utilities from @feathersjs/commons into its own module
2018-12-16 13:41:16 -08:00
David Luecke
d568627de1
chore(test): Update assertion format to always use strict equality (#1105) 2018-11-21 19:04:30 -08:00
David Luecke
9e76aaa7b5 Remove argument verification and add further utilities (#81)
* Remove argument verification and add further utilities

* Some small updates to filterQuery

* Update filterQuery

* Add ACTIVATE_HOOKS to commons
2018-08-20 19:58:09 -07:00
David Luecke
7bc67b5731 Merge major with latest changes (#80) 2018-08-20 19:58:09 -07:00
Dmitrii Maganov
b170615de4 New version of filterQuery (#73) 2018-08-20 19:58:09 -07:00
David Luecke
4e11dc5c2d Revert breaking change from 78d780de91ae8333f3843be153beb5deea55c792 (#78) 2018-08-20 19:58:09 -07:00
David Luecke
4b492cef8a Use sorting algorithm from NeDB (#76)
* Fixes Sort with multiple fields

* Use sorting algorithm from NeDB
2018-08-20 19:58:09 -07:00
Kévin Berthommier
5f2cfc0bee Open hook workflow to custom methods (#72)
* open hooks workflow to custom methods

* simplify converters

* add makeConverter method

* use Object.assign for node 6

* use hook.arguments

* remove arguments converting from hook data

* remove useless export

* remove makeConverter function

* simplify condition

* remove converters from createHookObject

* validateArguments for all methods
2018-08-20 19:58:09 -07:00
David Luecke
a43ae548a4 Slightly increase test coverage for #65 2018-08-20 19:58:09 -07:00
Sylvain LAPENDRY
fe459c131d skipNextHooks (#65)
Add ability to skip all following hooks
2018-08-20 19:58:09 -07:00
David Luecke
67ba1f8a46 Allow array for sorting (#66) 2018-08-20 19:58:09 -07:00
David Luecke
c325a3cf81 Add a toJSON method to the hook context (#63) 2018-08-20 19:58:09 -07:00
David Luecke
1474927042 Bring back makeUrl (#62) 2018-08-20 19:58:09 -07:00
David Luecke
b2430ac8ed Remove unused utilities and add some inline documentation (#59) 2018-08-20 19:58:09 -07:00
David Luecke
7f577f4f09 Add feathers-query-filters (#58) 2018-08-20 19:58:09 -07:00
David Luecke
98f1d7d720 Fix a typo 2018-08-20 19:58:09 -07:00
David Luecke
086a6a9287 Rename repository and add to npm scope (#57)
* Rename repository and add to npm scope

* Remove circular Feathers dependency
2018-08-20 19:58:09 -07:00
David Luecke
36f02062b9 Updates for Feathers v3 (Buzzard) (#56)
* Refactoring for compatibility with Feathers v3

* Finalization of hook methods

* Change getHooks back to previous version

* Prepare for 1.0 prerelease

* 1.0.0-pre.1

* Updating changelog

* Update to new plugin infrastructure

* Update .npmignore

* Remove Node 4 from Travis

* 1.0.0-pre.2

* Updating changelog

* Update the client test suite (#55)

* Update release script

* 1.0.0-pre.3

* Updating changelog
2018-08-20 19:58:09 -07:00
greenkeeper[bot]
6b9e3d466f Update semistandard to the latest version 🚀 (#50)
* chore(package): update semistandard to version 11.0.0

https://greenkeeper.io/

* Fix for latest Semistandard
2018-08-20 19:58:09 -07:00
greenkeeper[bot]
4f0005610c Update dependencies to enable Greenkeeper 🌴 (#49)
* chore(package): update dependencies

https://greenkeeper.io/

* docs(readme): add Greenkeeper badge

https://greenkeeper.io/

* Update to latest Semistandard
2018-08-20 19:58:09 -07:00
Eric Kryski
6dc64d8d71 matcher now doesn't blow up with null values. Closes #46 2018-08-20 19:58:09 -07:00
David Luecke
32e07f5576 Allow to pass an object to hook object (#45)
* Allow to pass an object to hook object

* Remove yarn.lock

* Fix assert
2018-08-20 19:58:09 -07:00
Eric Kryski
961fb85cf4 adding merge and isObject functions 2018-08-20 19:58:09 -07:00
Eric Kryski
77e426f651 exposing lodash style functions top level as well 2018-08-20 19:58:09 -07:00
Eric Kryski
d107b2dfca ensuring makeUrl works with an actual feathers app insance. 2018-08-20 19:58:09 -07:00
Eric Kryski
568129a1f9 converting over other files 2018-08-20 19:58:09 -07:00
Eric Kryski
d4547f98ab adding a util for making urls 2018-08-20 19:58:09 -07:00
Eric Kryski
cd7bffb7e8 removing jshint dep and converting to chai expect syntax 2018-08-20 19:58:09 -07:00
David Luecke
0591cd64bf One more fix for select on arrays (#40) 2018-08-20 19:58:09 -07:00
David Luecke
c54bdc20c5 Fixing select utility methods to work with query selector (#39)
* Fixing select utility methods to work with query selector

* Better compatibility with params

* Finalize select
2018-08-20 19:58:09 -07:00
David Luecke
9a0f8c5501 Implementing lodash utilities and helpers for selecting (#38)
* Implementing lodash utilities and helpers for selecting

* Updating with latest and Semistandard

* Export selectors
2018-08-20 19:58:09 -07:00
Cory Smith
98b22d7a67 jshint —> semistandard 2018-08-20 19:58:09 -07:00
David Luecke
faba376739 Allow app in hookObject. Update base client tests to take a name and app. (#35) 2018-08-20 19:58:09 -07:00
David Luecke
41d7c23a5d Add test for matching and increase code coverage (#34) 2018-08-20 19:58:09 -07:00
David Luecke
8037714c39 Allow matching nested queries (#29) 2018-08-20 19:58:09 -07:00
David Luecke
362c1c249e Make sure arguments from hook objects are created properly for known methods (#22) 2018-08-20 19:58:09 -07:00
David Luecke
0232a91706 Add babel-polyfill 2018-08-20 19:58:09 -07:00
David Luecke
8855827f3a Adding functionality and tests for shared query and list handling 2018-08-20 19:58:09 -07:00
David Luecke
dd220344a0 Moving shared socket functionality to another repository 2018-08-20 19:58:09 -07:00
David Luecke
4b30220478 Fix getOrRemove check 2018-08-20 19:58:09 -07:00
David Luecke
e73fddd5cc Migrate to Babel 6 and remove Lodash dependency 2018-08-20 19:58:09 -07:00
David Luecke
b4929a3591 Add hookObject utilities and remove Lodash dependency from arguments.js 2018-08-20 19:58:09 -07:00
David Luecke
e6b6700b5e Initial commit. 2018-08-20 19:58:09 -07:00