Commit Graph
67678 Commits
Author SHA1 Message Date
Andrew Casey 97709c4e43 [react-table]: V7 upgrade to support rc-16 (#42411)
* [react-table]: V7 upgrade to support rc-16

Support the changes in
https://github.com/tannerlinsley/react-table/blob/master/CHANGELOG.md

Most of this in internal, by far the biggest user facing ripple is
flatColumns -> allColumns.

* add selectSubRows option

* remove column.show - no longer supported

* add className to TableCommonProps

* fix missing import, doh

* remove afters from ensurePluginOrder, it's effectively removed

* Update Hook definitions as well as address review comments

I've made a good effort to fix the types for the hooks, they look right,
but right now I have no code that uses them so they are at best
theoretical based on how they appear to be used in the code.
2020-03-04 10:13:43 -08:00
Gabriela Araujo Britto 5fff1d9bd5 feat(git-branch-is): new type definition for v3.1 (#42811)
- definition files
- test coverage

https://github.com/kevinoid/git-branch-is#api-usage

Thanks!
2020-03-04 10:00:14 -08:00
Gabriela Araujo Britto 13d2990c13 Fix typings of express-mysql-session (#42668)
* add corrected export and dependencie

* Update express-mysql-session-tests.ts

rewrite test for new version

* rename class

* fix linting
2020-03-04 09:57:08 -08:00
load28 79a1381357 Fxjs (#42797)
* add fxjs type

* add fxjs type

* add test

* add project

* add fxjs

* add file

* add

* add map, filter, find, flat, flatMap, every, delay, log

* add test

* tsconfig modify

* add fxjs-tests
2020-03-04 09:43:34 -08:00
Amir Hoseinian 7beeda8f83 Update flatten typing under StyleSheet namespace. React-Native (#42790)
* Update flatten typing under StyleSheet namespace.

* Add test for stylesheet.flatten()
2020-03-04 09:57:50 +01:00
Jack Bates 6e27c7e62f Enable noImplicitAny (#42693) 2020-03-03 17:49:06 -08:00
coyoteecd 411a2172a3 [serverless] Add getAccountId method (#42692) 2020-03-03 17:39:46 -08:00
Hafiz cac7b95568 feat(gestalt): updated gestalt to newest types v1.10.0 (#42765)
* refactor(gestalt): updated gestlat to newest types

gestalt updated to now version v1.10.0

BREAKING CHANGE: Box, Mask, Touchable

* added tests

* removed licence

* array error

* Array<> error

* array<> error fixed

* void type error after test fixed

* error on masonry fixed
2020-03-03 17:37:52 -08:00
Juliette Regimbal a3700d8358 Update default export of Diva.js (#42805) 2020-03-03 17:36:59 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 42f9f55fbb feat(standard-engine): new type definition v12 (#42752)
* feat(standard-engine): new type definition v12

- type definitions
- tests coverage for day-to-day usage scenarios

https://github.com/standard/standard-engine#readme
https://github.com/standard/standard-engine#usage

Thanks!

* Prevent Linter class export as per PR comment

Should be used only as export `linter` alias.

/cc @gabritto
2020-03-03 15:40:00 -08:00
Matthew a9a4d04925 [@types/rtp-parser] New Definition (#42784)
* add type definitions for https://www.npmjs.com/package/rtp-parser

* added test for payloadTypesHash

* make a generic version of the parseRtpPayloadType

* fixed some typos

* add test for generic number payload types
2020-03-03 11:24:38 -08:00
Sean Sellek 3dce8b667f add @mocha package declaration for mocha.loadFilesAsync() (#42684)
* add declaration for Mocha.loadFilesAsync()

* add test for mocha.loadFilesAsync()
2020-03-03 10:52:22 -08:00
Benjamin Pasero 02f205529e add color as mocha option (#42685) 2020-03-03 10:49:46 -08:00
Puneet Arora 58bda1626f [Express] [Type Update] Use generics for Response (#42662)
* use-generics-for-express-response-type: Use generics for Response in express

* use-generics-for-express-response-type: fixing ghost-storage-base-tests
2020-03-03 10:43:22 -08:00
a-sync 83cc9b0beb react-leaflet: fix GeoJSON data prop type + add test (#42800) 2020-03-03 10:39:48 -08:00
slikts 89a45f74a3 matter-js: add mouse events (#42794) 2020-03-03 10:39:10 -08:00
Kohei Matsubara a8a7b34a50 [stripe-v3] fix: add missing subtype 'validation_error' to ErrorType (#42789)
https://stripe.com/docs/api/errors
2020-03-03 10:38:42 -08:00
Jannic Beck 9258f91fd1 Fix typo (#42796) 2020-03-03 10:38:23 -08:00
Kent Robin 27eeffede9 [@types/parse] Added AuthProvider and user function definitions (#42651)
* Added AuthProvider, user._isLinked, user._unlinkFrom, User.logInWith, User._registerAuthenticationProvider. Changed signature of user.linkWith to match the one in the Parse.User documentation

* Added tests for changed and added types

* Added changes to TS 3.7 as well

* Removed deprecated _linkWith from TS 3.7 definitions
2020-03-03 10:38:02 -08:00
Crocsx eef9fcdc42 [@types/cesium] Add PropertyBag (#42782)
* property Bag

* add entity definition
2020-03-03 10:35:16 -08:00
Tomas Carnecky 1febfb278c @mdx-js/react exports mdx (alias for React.createElement) (#42657) 2020-03-02 18:20:40 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 60ff970f67 feat(is-relative-path): type definition for v2 (#42780)
- type definitions
- tests

https://github.com/mrjoelkemp/is-relative-path#usage

Thanks!
2020-03-02 17:48:33 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 80b5c8a717 feat(decomment): type definition for v0.9 (#42779)
- type definitions
- tests

https://github.com/vitaly-t/decomment#api

Thanks!
2020-03-02 17:47:31 -08:00
Jeffrey Cherewaty 67ab83d478 [styled-system] Add missing margin and padding properties (#42766) 2020-03-02 14:57:05 -08:00
Guy Gascoigne-Piggford f82b261f72 react-table: add maintainer (#42774)
Jason Clark <https://github.com/riceboyler> has offered to help maintain
this package and offered a good PR overlapping with the current open PR
which he then closed.  But it showed a good approach to the solution and
demonstrated an understanding of the problem space.
2020-03-02 14:55:49 -08:00
Alex Jerabek a101ca89ed [office-js, office-js-preview, office-runtime] Changing codeowners (#42772)
* Removing prompt verbage from selection binding options

* Changing codeowners
2020-03-02 14:52:47 -08:00
Kenneth Aasan 45762ad1ee newrelic adds distributed tracing Transaction handle method insertDistributedTraceHeaders (#42775)
* NewRelic: Adds insertDistributedTraceHeaders

* NewRelic: Adds insertDistributedTraceHeaders

* NewRelic: Adds insertDistributedTraceHeaders
2020-03-02 14:52:14 -08:00
Christopher Mühl f53fd2ba9c Add type definitions for "scrambo" (#42776)
* Add types for scrambo

* Satisfy linter

* Enable esModuleInterop

* Get rid of esModuleInterop
2020-03-02 14:44:37 -08:00
ExE Boss 328119f5f6 fix(lodash): No strict override (#42773) 2020-03-02 11:28:05 -08:00
Huan (李卓桓) 74c0a34233 fix public property opts (#42769)
* fix public property opts

* remove implicit publish
2020-03-02 11:15:48 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d964217529 feat(file-entry-cache): type definition v5.0 (#42760)
- new type definitions
- tests coverage

https://github.com/royriojas/file-entry-cache#usage

Thanks!
2020-03-02 11:09:43 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d210500e3f feat(style-search): new type definition v0.1 (#42758)
- type definition
- tests

https://github.com/davidtheclark/style-search#options
https://github.com/davidtheclark/style-search#reporting-matches

Thanks!
2020-03-02 11:08:54 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 0fe2fee2ed feat(filing-cabinet): type definitions for v2.5 (#42753)
- type definitions
- tests

https://github.com/dependents/node-filing-cabinet#usage

Thanks!
2020-03-02 11:07:53 -08:00
Rico Sandyca Novenza 0d448d3e5d Add @types/human-date (#42736)
* Add @types/human-date

* Change tests filename

* Delete human-date.ts

* Update human-date-tests.ts

* Update index.d.ts

* Update index.d.ts

* Add files via upload

* Add files via upload

* Add files via upload
2020-03-02 11:04:49 -08:00
Huan (李卓桓) 39ac1fd3e7 fix return type (#42770) 2020-03-02 11:03:13 -08:00
Douglas Antunes 6516f91593 Add declarations for 'cron-converter'. (#42744) 2020-03-02 10:59:45 -08:00
Chris Neven d56a26c8e3 Added type definitions for scrollbooster (#42745)
* Added type definitions for scrollbooster

* Added new lines for better readability

* Added more info on the project

* Extending the correct linter
2020-03-02 10:58:58 -08:00
Eduardo Turiño a768b733e0 feat(parameterize): add parameterize typings (#42721)
* feat(parameterize): add parameterize typings

* with declare module

* Update parameterize-tests.ts

* Update index.d.ts

* Update parameterize-tests.ts

* Update index.d.ts

* Update parameterize-tests.ts

* Update index.d.ts
2020-03-02 10:57:31 -08:00
Piotr Błażejewicz (Peter Blazejewicz) b0e4982083 update(tar-stream): bump to v2 (#42734)
- v1 for backward compatibility
- change Pack.entry to be overloaded definition
- amend tests to reflect changes and add new tests

https://github.com/mafintosh/tar-stream/compare/v1.6.2...v2.1.0

Thanks!
2020-03-02 10:51:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) cc09dc7d9b feat(karma-json-to-file-reporter): add type definition (#42735)
- type definitions
- tests

https://www.npmjs.com/package/karma-json-to-file-reporter#config

Thanks!
2020-03-02 10:50:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 29f196223f feat(karma-json-preprocessor): new type definition (#42738)
- type definitions
- tests

https://github.com/mjeanroy/karma-json-preprocessor#configuration

Thanks!
2020-03-02 10:49:52 -08:00
Marcell Toth 270c15f15c urijs: Correct UMD typings, remove implicit global declaration (#42543)
* urijs: Correct UMD typings, remove implicit global.

* urijs: add case for testing implicit global var in a script

* urijs: Add test to test UMD global in an ES module

* urijs: Undo unnecessary reformatting
2020-03-02 10:48:50 -08:00
Avery Fay fde43b408a add types for @hapi/catbox-memcached (#42728) 2020-03-02 10:44:13 -08:00
woutervh- ec7cccef2d [d3-brush] Added keymodifiers definition (#42649) 2020-03-02 09:53:48 -08:00
vvnab b715241f21 add options.externalKey in koa-session (#42646) 2020-03-02 09:52:21 -08:00
Tomasz Pluskiewicz a20e6d6ce7 feat: @rdfjs/fetch (#42763)
* feat: @rdfjs/fetch

* linted

* fix: dataset() and quadStream() are async
2020-03-02 09:51:55 -08:00
Simon Buchan 53c3baddff [aws-lambda] New API Gateway Authorizer types, deprecating old… (#42420)
* [aws-lambda] Deprecate CustomAuthorizer*, new APIGateway*Authorizer*

Noticed this testing #42419.

When integrating a custom authorizer, you actually have two options,
creating a token or a request authorizer, which changes what payload
you will get. You nearly certainly know which you will be called with!

Just deprecating the old version as it's kinda broken in a way thats
hard to fix without breaking someone, but we want to guide devs to the
new version.

It is possible to fix the existing type by adding a bunch of
`foo?: never` fields to each alternative so existing accesses don't,
error but this makes things more complex, and confusing for the common
case.

Other ideas welcome!

* [aws-lambda] Add api-gateway authorizer parameters.

Fixes #34069, #42418

Ended up a bit messy, might be a bit much.

* [aws-lambda] Bump minimum typescript to 3.0

Required to fix failing $ExpectError in tests.
Surely nobody is still using pre-3.0?

* [aws-lambda] Enforcea API Gateway authorizer context narrowing

And implement the changes that API gateway does on the proxy request context for it.

Also rename TAuthorizer to TAuthorizerContext to be more clear that they should be the same type across both authorizer and proxy.

Some cleanups and fixes for names.
2020-03-02 09:50:45 -08:00
KozelAnatoliy 6208bf89ac Enrich sqs event with x ray trace header (#42762) 2020-03-02 09:49:09 -08:00
slikts b1004f4e5d matter-js: add render.options.wireframeBackground (#42754) 2020-03-02 09:48:16 -08:00
Bill Sorensen 50f1aabad0 Fix libxmljs Document.find overloads (#42729)
* Add Document.find overloads

* Bump libxmljs version comment

* Add libxmljs tests of Document.find

* Revert "Bump libxmljs version comment"

This reverts commit 252f14107c1d33f7a1000bb08d32ea81cfbb36c2.
2020-03-02 09:45:22 -08:00