Commit Graph
6 Commits
Author SHA1 Message Date
Andy Hanson c15e214e5a bluebird: Make Thenable an alias to the builtin PromiseLike. 2017-06-16 09:02:18 -07:00
Nathan Shively-SandersandMohamed Hegazy 163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Vesa PoikajärviandMohamed Hegazy d93d6a53a4 [bookshelf] fetchAll supports same parameters as fetch (#16170)
* fetchAll supports same parameters as fetch

Latest Bookshelf's instance.fetchAll calls collection.fetch() with
given options, ie. it supports the same options than fetch.

For example

(new User).fetchAll({columns: ['id', 'name']}).then(...)

* Update version number

* Revert "Update version number"

This reverts commit cf4a3e6c51554d75f5408acd23bb0fade6acafef.

* remove extra slash from contributor's name
2017-05-03 13:19:42 -07:00
Vesa PoikajärviandMohamed Hegazy 2ca5a0e8f4 [bookshelf] Model#orderBy and Collection#orderBy (#16277)
* Bookshelf Model#orderBy and Collection#orderBy

orderBt introduced in Bookshelf 0.9.3

* [bookshelf] orderBy explicit parameters instead of ...args

* [bookshelf] Use a type for sort order
2017-05-03 10:58:47 -07:00
AndyandGitHub 8966463273 bookshelf: Don't use class before declaration (#15982) 2017-04-19 10:10:56 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00