Commit Graph
40218 Commits
Author SHA1 Message Date
FlarnaandRyan Cavanaugh b0fee33bf0 [sinon] add spy.resetHistory() (#22807) 2018-01-10 15:26:30 -08:00
Cassey LottmanandRyan Cavanaugh 5165332409 Chartist - add another possible series type to IChartistData (#22803)
* missing comment

* missing comment

* add iteratee property shorthand for uniq in underscore

* undo bad commit

* can also pass array of array of data to chartist
2018-01-10 15:25:41 -08:00
AndyandGitHub 01d4dcdcd2 Fix 'no-dynamic-delete' lint failures (#22822) 2018-01-10 15:01:26 -08:00
AndyandGitHub 219dd6df82 Fix 'prefer-readonly' lint failures (#22819) 2018-01-10 14:59:37 -08:00
Federico CaselliandRyan Cavanaugh 84e265d13a [mongodb] First update to bring the mongodb to version 3 (#22626)
* First update to bring the mongodb typings to version 3

* Updated tsconfig of the older v2 version

* Set mongodb version to 2 in packages with errors

* MongoClient extends form EventEmitter
2018-01-10 14:14:05 -08:00
Tim GriesserandRyan Cavanaugh e429830e19 [graphql] allow specifying Args on GraphQLFieldResolver (#22789) 2018-01-10 14:13:06 -08:00
AndyandGitHub d1bc03b34c webappsec-credential-management: Fix lint (#22806) 2018-01-10 12:24:10 -08:00
AndyandGitHub fde9d593b1 nightwatch: Fix lint (#22810) 2018-01-10 12:23:31 -08:00
AndyandGitHub c72985cddb Playcanvas: Fix lint (#22808) 2018-01-10 12:23:08 -08:00
AndyandGitHub 5a4e3cece2 gzip-js: Fix test (#22812) 2018-01-10 12:21:07 -08:00
dmitryshindinandRyan Cavanaugh 75b53205ce Added bar.space as an optional property to ChartConfiguration interface (#22804)
* Added bar.space as an optional property to ChartConfiguration interface

This property lets you to set space between bars in bar charts

* Add tests for new property
2018-01-10 11:20:15 -08:00
Igor SnakeandRyan Cavanaugh 68e71f0c21 Added redux-socket.io type (#22773)
* Added redux-socket.io type

* Fixed bad dependency on socket.io
2018-01-10 10:29:28 -08:00
Samuel MartinsandRyan Cavanaugh 2b8c88b0b6 Add export namespace (lime-js) (#22748)
* Add export namespace

* Increase version number
2018-01-10 10:26:18 -08:00
Jimmy GaussenandRyan Cavanaugh 4380b9f74a @types/sequelize Reverting #22755 due to breaking changes (#22786)
* @types/sequelize Added generic types for various option classes

* Revert "@types/sequelize Added generic types for various option classes (#22755)"

This reverts commit 38983ce
2018-01-10 10:24:03 -08:00
Eric SimontonandRyan Cavanaugh 6771a47011 Chain#mapObject is for objects, not arrays (#22759) 2018-01-10 10:21:04 -08:00
Gabriel TerwestenandRyan Cavanaugh a63026685a @types/bull add jobId to signature of removeRepeatable (#22785) 2018-01-10 10:20:32 -08:00
DancespileandRyan Cavanaugh c31b287b49 fix style code error (#22799) 2018-01-10 10:15:23 -08:00
Aayush KapoorandRyan Cavanaugh fab066beca speakeasy: Update definition for missing functions (#22717)
* Update speakeasy.d.ts for missing functions

* Update tests for speakeasy

* Fix namespace export for speakeasy

* Update speakeasy to remove UMD definition
2018-01-10 10:14:56 -08:00
Jordi BunsterandRyan Cavanaugh 88eda35486 Add sax parser info (#22792) 2018-01-10 10:14:16 -08:00
Yu-Hsin LuandRyan Cavanaugh 48203ad4df Add concatLimit function (#22754) 2018-01-10 10:13:53 -08:00
Ian Ker-SeymerandRyan Cavanaugh 9f041991c6 Make react-loadable export an assignment (#22340)
* Make react-loadable export an assignment

`react-loadable` does *not* actually have a default export. This can be shown
by running:

```
> var L = require('react-loadable')
undefined
> L
{ [Function: Loadable]
  Map: [Function: LoadableMap],
  Capture:
   { [Function: Capture]
     propTypes: { report: [Function: bound checkType] },
     childContextTypes: { loadable: [Function: bound checkType] } },
  preloadAll: [Function],
  preloadReady: [Function] }
```

As a result, when attempting to use this with commonjs modules, an error error
is thrown when `allowSyntheticDefaultExports` is set.

```
TypeError: react_loadable_1.default is not a function
```

This PR exports the module as an assignment, so now `import * as Loadable from
'react-loadable'` should be used to import the module.

I am not entirely sure that I have used the best pattern for typings here; but
my goal was to export the proper assignment yet still allow all of the
namespace to be accessible via `(i.e.) Loadable.LoadingComponentProps`. If there
is a better way, please let me know and I will be happy to adjust!

* Use import assignment in react-loadable tests
2018-01-10 10:13:35 -08:00
Sianiuk ArturandRyan Cavanaugh f0b524190a Added type definitions for react-flags-select (#22787)
* Added type definitions for react-flags-select

* fixed test and definitions
2018-01-09 15:24:58 -08:00
austinriedandRyan Cavanaugh 1f68776226 AttributeValue "N" should be string (#22790)
AttributeValue's "N" is a string, not a number: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_AttributeValue.html

This causes an incompatibility between this AttributeValue and the one in the AWS SDK types, which makes it impossible to use something like AWS.DynamoDB.Converter.unmarshall() for items in records on a DynamoDBStreamEvent.
2018-01-09 15:23:33 -08:00
salim7andRyan Cavanaugh 33e817dd09 Updated to Onsen UI 2.8. Fixed typos. Added missing component PullHook. Added missing attributes to existing components. (#22791) 2018-01-09 15:22:47 -08:00
Adam LangleyandRyan Cavanaugh 389086e6d5 webappsec-credential-management: include webauthn types. (#22683)
[WebAuthn](https://w3c.github.io/webauthn/) builds upon the Credential
Management API and provides for origin-scoped, public-key credentials.
It replaces the FIDO U2F API which is currently used to implement this.

While the webauthn spec is still only a candidate recommendation, the
types in this change are sufficient to exercise basic functionality with
Firefox Nightly. (Note: that requires changes in about:config to enable
this API.)
2018-01-09 15:21:52 -08:00
Ryan CavanaughandGitHub de2833f822 Fix ej.web.all tests (#22768) 2018-01-09 14:49:25 -08:00
DancespileandRyan Cavanaugh fe3de2ef3a remove export in types Keys, State, Params (#22761)
I remove this export to avoid the error  error TS2309: An export assignment cannot be used in a module with other exported elements.
Sorry @Mohamed Hegazy that I have to change it again, I didn't get this error before when I tested.
2018-01-09 11:35:01 -08:00
wanganjunandRyan Cavanaugh de30db8071 [joi] make the return type of validate() as promise like (#22741)
* [joi] make return type of validate() as promise like

* [joi] update "Definitions by" section of the package header.

* [joi] test promise functionality of valdate()
2018-01-09 11:32:10 -08:00
Michael LedinandRyan Cavanaugh 6cebbd5623 material-ui 0.20.0: replace TouchTap with Click (#22726) 2018-01-09 11:31:47 -08:00
KoalaHumanandRyan Cavanaugh d2df250b37 Updated React Datepicker types for version 1.0.4 (#22778) 2018-01-09 11:30:04 -08:00
cotkoandRyan Cavanaugh 435bb30c72 Add optional include_email to Param (#22777)
Twitter's [verify_credentials](https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials) also accepts the `include_email` which is missing in definitions here.
2018-01-09 11:29:36 -08:00
Andrei GlingeanuandRyan Cavanaugh 0ae62b869b get rid of the immutability-helper types (#22763)
* get rid of the immutability-helper types

* mark immutability-helper as not needed
2018-01-09 11:28:57 -08:00
Matt R. WilsonandRyan Cavanaugh 0b3ad10e81 [@types/request] Update cookie implementation. (#22165)
Add `@types/tough-cookie` as a dependency to correctly implement the
structure used by requests.
https://github.com/request/request/blob/master/lib/cookies.js
2018-01-09 11:24:38 -08:00
NNandRyan Cavanaugh 36179f29f9 Add typing to simple-lru. (#22740) 2018-01-09 10:59:58 -08:00
NNandRyan Cavanaugh 666ad59900 Add json-js typing. (#22751) 2018-01-09 10:59:37 -08:00
HanyonandRyan Cavanaugh a69df4359a Rename package : same name than npm package (#22753)
* Rename package : same name than npm package

* Change name of test file

* According header to match original github repo
2018-01-09 10:59:05 -08:00
AndyandGitHub dd9e35eda0 aws-serverless-express: Fix lint (#22769) 2018-01-08 16:43:13 -08:00
Anders E. AndersenandRyan Cavanaugh 9329064d4c Fix eachNode definition and add help (#22732) 2018-01-08 15:47:00 -08:00
Maksim KarelovandRyan Cavanaugh 6d880c7b27 Add isMobile (#22749) 2018-01-08 15:31:25 -08:00
Jimmy GaussenandRyan Cavanaugh 38983cefe9 @types/sequelize Added generic types for various option classes (#22755) 2018-01-08 15:12:46 -08:00
Jan TůmaandRyan Cavanaugh 491512553f Return type of close method (#22747) 2018-01-08 15:12:19 -08:00
lars-pfandRyan Cavanaugh 1acdc07711 Minor fixes on roslib typings. (#22733)
* Added missing function definition for Goal 'on'.

The 'on' function is necessary to connect callback functions to events from ROS action goal 'timeout', 'status', 'feedback', 'result'.

* Increased version number after minor extension

* Changed datatype of 'end' param in to 'number'.

The end time should be also transmitted as a number in seconds like time t.

* Increased version number after minor fix.
2018-01-08 15:11:54 -08:00
Alaa MasoudandRyan Cavanaugh 9e043c95dc Update types for react-content-loader v2.0 (#22739) 2018-01-08 14:17:49 -08:00
Andrew BradleyandRyan Cavanaugh 393e432027 Adds declarations for 'charset' package (#22764) 2018-01-08 14:17:03 -08:00
neknalbandRyan Cavanaugh 967408514a Update for prosemirror-model 1.1.0 (#22760) 2018-01-08 14:14:53 -08:00
Francis FilionandRyan Cavanaugh c197cba289 Updated bulkGet response to match documentation and behavior (#22756) 2018-01-08 14:14:23 -08:00
VladyslavandRyan Cavanaugh bbb62a63f4 Fixes [yup] invalid types for addMethod #22721 (#22736) 2018-01-08 14:13:52 -08:00
Alberto VasquezandRyan Cavanaugh d3a74b87d7 [aws-serverless-express] createServer should expect a method that returns void (#22724)
* createServer should expect a method that returns void

Node's index.d.ts has the following type definitions for createServer
export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server;

* Update index.d.ts

* Updated version in header
2018-01-08 14:13:10 -08:00
Ryan CavanaughandGitHub d16ae7ac34 Update CODEOWNERS (#22765) 2018-01-08 13:31:21 -08:00
Jonas SchürmannandRyan Cavanaugh 6202e2389b Ramda: Tighten return type of reduced (#21771)
The previous return type of reduced caused very weak typing for the
function passed into reduce, basically allowing it to return anything
and not detecting type errors in that place.

This stricter definition of Reduced should fix that.
2018-01-08 10:44:19 -08:00