Commit Graph

67170 Commits

Author SHA1 Message Date
Bumsik Kim
b3b3305bd8 [emscripten] Fix and improvements for 1.39.5 (#41621)
* [emscripten] Add module loader when -s MODULARIZE=1 enabled

Add Module() call and Module().then(callback).
Related: https://emscripten.org/docs/getting_started/FAQ.html#how-can-i-tell-when-the-page-is-fully-loaded-and-it-is-safe-to-call-compiled-functions

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Move runtime functions to the global space

All of these runtime functions are removed more than a year ago.
Related: 7952394493/src/settings.js (L674-L685)

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Add missing runtime methods

* [emscripten] Make FS methods more accurate

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Make function signatures more accurate

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Runtime is removed

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Fix test and add stack alloc test

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Add contributor: Bumsik Kim

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Bump version: 1.39.5

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>
2020-01-21 16:48:16 -08:00
Gareth Jones
8036fc4dd8 [eslint] add usedDeprecatedRules property (#41706) 2020-01-21 16:42:14 -08:00
Adam
66704170b7 [newman] Updates for Newman version 4.5 (#41466)
* Fixing newman types.

* Update version number.

* Fixing linting issue.

* Adding a test for newman.

* Adding more tests.
2020-01-21 16:41:00 -08:00
aoi-umi
16ccc32534 [mathjs] generic (#41242)
* generic

* fix LiteralType

* lint
2020-01-21 16:40:11 -08:00
Vincent Breitmoser
032e7f841f elliptic: signatures can be constructed from flexibly encoded DER types (#41652) 2020-01-21 16:37:43 -08:00
Stuart Olivera
7397dcc6d0 [react-measure][fix] Support useRef for innerRef prop on Measure (#41661)
* [react-measure][fix] Allow RefObject for innerRef prop on Measure

* Fix semicolons
2020-01-21 16:26:02 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
b8a56bd21b fix(async): correct 'drain' method defs. Closes #41648 (#41665)
http://caolan.github.io/async/v3/docs.html#cargo
http://caolan.github.io/async/v3/docs.html#QueueObject

Thanks!
2020-01-21 16:22:54 -08:00
Florian Keller
5062ff431f [@hapi/hawk] Add types for @hapi/hawk (#41702) 2020-01-21 16:17:32 -08:00
Rob Richard
8e8b6b6735 Update relay-runtime environment.check to return OperationAvailability (#41774)
* Update relay-runtime environment.check to return OperationAvailability

* Update relay-runtime environment.check to accept CheckOptions

* fix variable names
2020-01-21 19:13:07 -05:00
Ranjit Singh
02a8a9d705 [@types/object-fit-images] added new type definitions (#41742)
* [@types/object-fit-images] added new type definitions

* [object-fit-images] set strictNullChecks to true

* [object-fit-images] updated type definitions + reverted tsonconfig object-hash
2020-01-21 16:10:36 -08:00
Jamie Magee
1dbf1d0293 Add types for semver-stable (#41756) 2020-01-21 16:09:22 -08:00
Cameron Hunter
3486195fa5 yargs: Add Argv<T> as a third parameter to fail's callback (#41722) 2020-01-21 15:50:41 -08:00
AlCalzone
b386065c27 [ioBroker] make the options parameter in adapter.getObjectList optional (#41754)
* [iobroker] make the options parameter in adapter.getObjectList optional

* update version number in the header
2020-01-21 14:17:25 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
8cf009dc5e feat(auth0-js): missing v9 implementation (#41746)
- `patchUserAttributes`
- authentication callback options typed as `Auth0Result`
- typed results for Popup.authorize
- minor typos

Thanks!
2020-01-21 14:14:39 -08:00
Roland Reed
83d2844d2e update anyproxy proxy manager types (#41640) 2020-01-21 13:39:45 -08:00
Jonathan Regeimbal
ef26487b4d Fix return value of Matter.Vertices.create() (#41749)
Matter.Vertices.create returns an array of vectors:
```
EG: body.vertices = Vertices.create(vertices, this.body);
```
2020-01-21 13:38:00 -08:00
Hiroshi Kikuchi
2b48897a4f Add fields of configuration of "in-app-purchase" (#41759)
* Add fields of configuration of "in-app-purchase"

* fix verioning mistake

* Fix type deference of PurchasedItem

* Add facebook service
2020-01-21 13:37:08 -08:00
Jeff Huijsmans
56904146bc [@types/blessed] Fix Blessed typings (allow number and string too) (#41757) 2020-01-21 13:36:00 -08:00
Curtis Maddalozzo
c4256eccb2 [mongoose]: Add type for validator message function (#41630)
* Add types for almost-equal

* Add strictFunctionTypes to config

* Use number type for comparison args

* Add type for validator message function
2020-01-21 13:35:08 -08:00
Morten Friesgaard
a117bea300 Adds chrome.cast.media.LiveSeekableRange to chrome/chrome-cast and chromecast-caf-sender (#41752)
* Adds LiveSeekableRange

LiveSeekableRange is required when seeking in a live buffer

* add constructor for LiveSeekableRange

* adds liveSeekableRange to RemotePlayer

* adds liveSeekableRange as RemotePlayerEventType
2020-01-21 13:34:08 -08:00
Fabian van der Veen
6f02cfde41 sax: SAXParser.tag is of type Tag (#41763)
d65e3bb504/lib/sax.js (L684)
2020-01-21 13:33:17 -08:00
Johan Fagerberg
d01dbee933 [rehype-react] Add Fragment option, update which options are optional (#41600)
* [rehype-react] Add Fragment option

Usually this will be `React.Fragment`, but it accepts any component.

* [rehype-react] Update which options are optional

Most options have healthy defaults. Only `createElement` is required.

* [rehype-react] Update version number

* [rehype-react] Update tests to include Fragment option
2020-01-21 13:14:03 -08:00
David Stephens
4331db7e1c express-serve-static-core-tests: Update req.is to match the actual function in express (#41636)
* Update `req.is` to match the actual function.

The parameters can be a string or an array and return type can be null.
This is described in the JSDoc for the function:
e1b45ebd05/lib/request.js (L273)

* Add a couple of extra tests
2020-01-21 13:12:22 -08:00
Esteban Ibarra
30446eb4a4 [@types/victory] Add singleQuadrantDomainPadding type to victory (#41764)
* Add singleQuadrantDomainPadding to victory

* Add correct version and semicolons
2020-01-21 13:09:20 -08:00
Elizabeth Samuel
2b70a19f1a [office-js] [office-js-preview] (Outlook) Move SourceProperty to MailboxEnums (#41768)
* [office-js] [office-js-preview] (Outlook) Remove SourceProperty

* Move SourceProperty to MailboxEnums
2020-01-21 13:08:42 -08:00
James Hill
94d9b425ee kurento-client package definition file (#41126)
* Added initial declaration file for client

* Added missing complex types function

* Added initial module format definition

* Re-factored types to export detailed interfaces

* Fixed linting errors

* Added test file for definitions

* Added tslint comment for default export

* Fixed options incorrectly being required

* Added connect and disconnect methods for endpoints

* Re-named connect argument to sink to match docs

* Added media element interface to extend webrtc endpoint

* Changed media element method to use strict element type

* Added missing close method for main class

* Refactored type structure to match commonjs
2020-01-21 12:04:03 -08:00
Nathan Brown
d247933faa [reactstrap] Update Tooltip and Popover to add RefObject as a target (#41552)
* [reactstrap] Update Popover to add RefObject as a target

* [reactstrap] Add to the test the usages of React.RefObject

* [reactstrap] Update Tooltip, Popover, and Collapse to add RefObject as a target

* [reactstrap] Remove RefObject from Collapse definition
2020-01-21 09:50:16 -08:00
Wojtek Czekalski
be840b6e1d react-native: Add WebSocket ready state constants (#41637)
As defined in the React Native repo.
https://github.com/facebook/react-native/blob/master/Libraries/WebSocket/WebSocket.js#L59-L67
2020-01-21 09:48:59 -08:00
David Ernst
070fa8d410 [react-native]Picker.style expects TextStyle (#41729)
The package itself says it's expecting a `TextStyle`, not a `ViewStyle` (84adc85523/Libraries/Components/Picker/Picker.js (L62)). 

Specifically, setting this to `ViewStyle` causes Typescript to complain if you try to set a `color` property, which does in fact work.
2020-01-21 09:48:13 -08:00
KentarouTakeda
1222cab18e Add types of ChartPoint, ChartData. (#41710) 2020-01-21 09:43:21 -08:00
Kelvin Chu
6e8c5f5b00 [react-native]: add message to WebSocketCloseEvent. (#41731) 2020-01-21 09:35:55 -08:00
Felix Haus
6b15eefb54 [webpack] Add definitions for upcoming release (#41736)
* webpack: Adds definitions for v5 release

* webpack: Move webpack-tests.ts -> test/index.ts
2020-01-21 09:34:44 -08:00
Jack Wearden
96dfce7a5d highland: convert spaces to tabs and add tslint rule (#41717) 2020-01-21 09:30:49 -08:00
AlCalzone
8189cbe230 [iobroker] add definitions for the integrated objects and states cache (#41753) 2020-01-21 09:16:07 -08:00
Oliver Joseph Ash
4fef8e2c33 react: Children fixes (#41760)
* `react`: `Children.map` fixes

https://reactjs.org/docs/react-api.html#reactchildren

* Refine return type

* Apply same changes to `toArray`
2020-01-21 15:13:53 +00:00
John Gozde
903eaaf06d Add @testing-library/jest-dom (#37792)
* Add @testing-library/jest-dom

* Fix global test

* Update jest-dom typings for (future) v5

- Remove module typings
- Sync global typings with latest version

Apply suggestions from code review

Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-01-21 14:42:30 +00:00
Jan Aagaard
4ab4fa9c80 Use union types instead of overloads (#41596)
* Use union types instead of overloads

* Format with Prettier
2020-01-21 04:29:33 -05:00
Stephane Moser
06ed23b54b Add types to library x509.js (#41713)
* Add files for types

* Fix lint issues

* Add tests

* Remove test data
2020-01-21 04:28:26 -05:00
John Simon
d0c3a91328 When act is not async, don't return a Promise-like (#41496) 2020-01-20 19:37:05 -05:00
Zacharias Björngren
7a3aac3ac8 [istanbul-lib-report] Updates watermark types (#41464)
* [istanbul-lib-report] Updates watermark types

* [istanbul-lib-report] Updates types to 3.0.0
2020-01-20 19:36:32 -05:00
Opportunity
72942510c3 add register to source-map-support (#41461) 2020-01-20 19:35:53 -05:00
Bert Verhelst
1d9a6c157a [async] update times functions to support promise (#41435)
* [async] update times functions to support promise

* [async] correctly add return type for times func
2020-01-20 19:34:51 -05:00
Carl Egbert
e817b08dd4 @types/through: Add missing queue method to through.ThroughStream (#41427)
* Add queue method to through.ThroughStream

* no encoding arg

* formatting

* update tsconfig
2020-01-20 19:33:20 -05:00
Keven Leone
b8a774d584 add types for bull-board (#41719)
* add types for bull-board

* version bull-board definition
2020-01-20 19:08:01 -05:00
Waseem Dahman
0e6efc8134 [global-npm] Add types for global-npm (#41705)
* add types for global-npm

* remove reference import
2020-01-20 18:59:45 -05:00
John Hou
c16fefbe65 Add typings for the package 'koa-cookie' (#41714)
* Add typings for the package koa-cookie

* format with 4 spaces
2020-01-20 18:56:23 -05:00
Dmitrii
6177b2e997 add types knex-db-manager (#41716) 2020-01-20 18:54:35 -05:00
Jamie Magee
78c13f520c Add types for semver-utils (#41734) 2020-01-20 18:52:31 -05:00
Ranjit Singh
b5a1267b5e [mongoose-autopopulate] added new type definitions (#41743) 2020-01-20 18:50:40 -05:00
Richard Haddad
2b3ef8b232 add bresenham types (#41741) 2020-01-20 18:49:32 -05:00