Commit Graph
66298 Commits
Author SHA1 Message Date
everhardt dd4b4bf26c [node] stream: support readable/writableHWM for Duplex (#40843)
* stream: support readable/writableHWM for Duplex

see https://github.com/nodejs/node/commit/ef8ac7b5ac04aab3a96e0d6524c016afec321e5b and https://nodejs.org/api/stream.html#stream_new_stream_duplex_options

* [node] stream: support readable/writableHWM for Duplex (2)

Also for v8 and v9

* [node] stream: add tests for readable/writableHWM for Duplex (2)

* Revert "stream: support readable/writableHWM for Duplex" for v8, v9 and v11
2019-12-17 13:28:52 +00:00
kygoh 06d5a6011b [@types/leaflet] fix event types for DomEvent stopPropagation and stop functions (#40820)
* fix [@types/leaflet] Union types for stopPropagation function parameter in Leaflet DomEvent #40727 (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/40727)

* leaflet stopPropagation and stop new parameter tests

added new parameter type tests for stopPropagation and stop

* fix tests

added namespace L for types
2019-12-17 13:27:22 +00:00
Saimon Shaplygin 5d3a116aaf fix(request): add maxSockets params at pool option (#40892)
* fix(request): add maxSockets params at pool option

* fix pool options type
2019-12-17 13:25:31 +00:00
Michele Della Mea f4051cda0e Gateway interface improvements (#40772) 2019-12-17 13:12:45 +00:00
Fabien O'Carroll 64191b96d3 [@types/stripe] Added config param to constructor (#40846)
* [@types/stripe] Added breaking test for constructor

* [@types/stripe] Added missing config to constructor

* [@types/stripe] Marked all StripeConfig keys as optional

* [@types/stripe] Allowed null for apiVersion & httpAgent
2019-12-17 13:10:55 +00:00
Trygve Aaberge 7408c5dffc [connect] Add missing property originalUrl to req parameter (#40776)
This adds a new class IncomingMessage which extends from
http.IncomingMessage and adds the originalUrl property which was
previously missing. This new class is used for the req parameter in
HandleFunction.

The originalUrl property is added to req here:
https://github.com/senchalabs/connect/blob/3.4.0/index.js#L133
2019-12-17 13:09:53 +00:00
Andrey Goncharov 53cb7669d8 [rc-tooltip] Make overlay non-nullable (#40844)
* Make `overlay` non-nullable

* Allow function as overlay
2019-12-17 13:06:51 +00:00
Nokecy 0b5919acad Missing handle optional parameter (#40723)
* Missing handle optional parameter

* handle Nullable
2019-12-17 13:00:39 +00:00
Nathan Shively-Sanders c02e3a1542 Add logform dependency to datadog-winston (#41072)
winston-transport depends on logform, but only has it as a
devDependency. I opened a PR to change this, but I don't know when it
will be merged; the bug has been open since May. In the meantime,
datadog-winston will do what all other clients have had to: add logform
as a dependency itself.
2019-12-16 09:57:07 -08:00
Florian Keller f1c7df8558 [fastbitset] Add types for fastbitset (#41046) 2019-12-16 14:30:32 +00:00
James Chao 15f954085d Added PDFPageProxy#pageIndex (#40935) 2019-12-16 14:27:05 +00:00
Sergii Kliuchnyk 8db91929ad Added minDate and maxDate (#40761) 2019-12-16 14:11:06 +00:00
James Chao 7fce69ce62 Add types for change-case-object (#40791)
* Add types for change-case-object

* Changed return type to just arrays, not readonly

* Fixed issue with typing array params

* Updated tests
2019-12-16 14:06:59 +00:00
kubk b4a6435128 [@types/wavesurfer.js] Add barRadius to the list of available options (#40737)
* Add barRadius to the list of available options

* Edit Definitions by section

* Fix library version
2019-12-16 13:26:09 +00:00
Benjamin Pasero dee38ca920 add types for windows-mutex (#40873) 2019-12-16 13:23:16 +00:00
Alexander Shilov b6ea495cd1 Add canvaskit-wasm type definitions (#40898) 2019-12-16 13:20:24 +00:00
Carson Farmer 5cce87d6b0 Adds types and tests for existing npm package level-ttl (#40931)
* feat: adds level-ttl types + tests

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: linter fixes

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-16 13:18:45 +00:00
Geoff Garbers 736ae205a3 Add types for purifycss-webpack (#40913)
* Add initial version of purifycss-webpack.

* Fill out test.

* Add recommendations from linter.

* Remove types reference.
2019-12-16 13:16:05 +00:00
Matheus Gonçalves da SilvaandDmitry Demensky 119437dd75 feat: add @babel/standalone (#40674)
* feat: add @babel/standalone

* fix: tsconfig file

* fix: ts version

* add ts version

* fix dependecies

* fix lint errors

* add semicol

* fix tests

* Update types/babel__standalone/index.d.ts

Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

* add dom to libs
2019-12-16 12:51:55 +00:00
Lyanbin 0b70c4af33 update: update the options for jsesc 2.5.2 (#40695)
* update: update the options for jsesc 2.5.2

* update: tidy code
2019-12-16 12:34:12 +00:00
Denis f358375a37 add flattenSeparator option (#40965) 2019-12-16 12:21:05 +00:00
Oliver Joseph Ash 10a02498ea Node: querystring: restrict input type (#41014) 2019-12-16 12:19:44 +00:00
yoch c921162324 add missing AggregationCursor<T>.lookup() (#41019) 2019-12-16 12:17:43 +00:00
natan-morar b9858c8c3b jsoneditor: add format, compact & repair methods (#41013) 2019-12-16 12:17:10 +00:00
T Allen Studios 6a794f3c06 Multimap modified values and keys types (#41024)
* added multimap type

* removed added dependency to package.json

* added newline back to bottom of package.json

* addressing linter errors

* addressing linter errors

* addressing linter errors

* replaced new-able const with class declaration

* Multimap class now implements Multimap interface

* declaration file changes

* Modified keys type

* updated values type
2019-12-16 12:16:38 +00:00
Nathan Rajlich 7d9e1f792e [@types/blessed] Add top level parseTags() function (#41026) 2019-12-16 12:13:50 +00:00
Sam Kvale e752586b66 fundamental-react: Update to 0.8.0 props (#41027)
* feat(fundamental-react): Update to 0.8.0 props

* feat(fundamental-react): Lint fixes

* feat(fundamental-react): Tiles to 0.8.0

* feat(fundamental-react): Time/TimePicker -> 0.8.0

* feat(fundamental-react): Remove unused files

* feat(fundamental-react): Maintain consistency with React.FunctionalComponent
2019-12-16 12:04:43 +00:00
Job 230d054ef1 detox: expect returns a promise (#40987) 2019-12-16 12:03:04 +00:00
Aditya Thebe 98cbd95421 Added Passport support (#41036) 2019-12-16 11:36:16 +00:00
Takashi Tamura f069a444f6 [workerpool] Make WorkerPool.prototype.exec and WorkerPool.prototype.proxy typed. (#41035)
Add Proxy type.
2019-12-16 11:33:06 +00:00
Angus Russell f9ab5155cb unsplash-js update for version 6.0 (#40908)
* Update for unsplash API 6.0

* Update tests for unsplash-js 6.0
2019-12-16 11:32:02 +00:00
ExE Boss fd17e5dad4 feat(webidl‑conversions): Update to v5.0 (#41006)
* feat(webidl‑conversions): Update to v5.0

* test(webidl‑conversions): Work around TS ≤3.5 bug

* test(webidl‑conversions): Fix tests on TS ≤3.5
2019-12-16 11:31:26 +00:00
Ziyu 9d84944e75 Update selenium-webdriver capabilities (#41043)
* add lib/capabilities.d.ts

* update capabilities to match implementation

* fix test
2019-12-16 11:29:57 +00:00
Wayne Van Son eee000a782 [sortablejs] adds 5 missing properties in interfaces (#41045)
* [sortablejs] create checkPull and checkPut options

* [sortablejs] create oldDraggableIndex, newDraggableIndex and pullMode options

* [sortablejs] recreate put function again

* remove from in pull function

* [sortablejs] add plugin class to exports.
2019-12-16 11:27:49 +00:00
Linus Unnebäck 31483b781a [parse] Make query modifiers return this (#41022) 2019-12-16 11:07:03 +00:00
Justin Hall 260e3f2f9f feat(testing-library__dom): add screen export (#41052) 2019-12-16 11:05:24 +00:00
evan-hughes 288692b272 Add akamai-edgeworkers (#40716)
* Add akamai-edgeworkers

* PR feedback for Akamai-Edgeworkers
2019-12-13 11:54:59 -08:00
Matthew Hintzke e70729bb83 Adding TypeScript support for "datadog-winston" (#37983)
* Added typings for datadog-winston

* Updated comments

* Fixing comments which will also kick the Git checks

* Apparently I can't have a PATCH in my version. I thought this was supposed to be the version of the JS package my types target

* Ahh I see now, it is the version of the JS package, just with PATCH omitted

* Updated library to use CommonJS style imports

* Formatting

* Fixing to not use a declare module

* Fixing whitespace

* Fixed typo

* Adding options into a namespace so it can be referenced by consumer
2019-12-13 11:51:27 -08:00
TypeScript Bot 5bd5b2884f Update CODEOWNERS (#41023) 2019-12-13 09:31:08 -08:00
Simon Buchan 03d285dfdc Revert "removes the wrong assumption that headers are alkways set (#40876)" (#40929)
This reverts commit 48addad317.
2019-12-13 10:56:09 +00:00
Justin Hall 2c98773426 fix(theme-ui): simplify SxStyleProp type (#40948)
This allows for spreading an `SxStyleProp` object inside a new object and merging in other
properties before passing to `sx`, like so:

```
sx={{ ...someSxStylePropObj, background: 'red' }}
```

I believe this simplification is now possible due to changes made to the `SystemStyleObject` type
in `@styled-system/css` since these types were initially created.
2019-12-13 10:54:19 +00:00
Bartol Karuza ac47f5e945 fix(mapbox-gl): add missing accessToken prop on MapboxOptions (#40946) 2019-12-13 10:52:37 +00:00
Aaron Rose 246586e77b @types/braintree webhooks (#40958)
* Webhook Types

* Update index.d.ts

* Update braintree-tests.ts

* Add timestamp to WebhookNotification
2019-12-13 10:51:43 +00:00
dnalborczyk 3b5914b4b9 [@types/aws-lambda] Fix Context.memoryLimitInMB type (#40895)
* Fix memoryLimitInMB type

* Fix aws-serverless-express tests
2019-12-13 10:51:08 +00:00
Kevin Brown 6d36dd2cb1 Added build function to base app type. (#40960) 2019-12-13 10:50:34 +00:00
Victor Hom 4da3f8f64a add support for trackSingle and trackSingleCustom (#40801) 2019-12-13 10:48:46 +00:00
Peter Boromissza 7559248b2f Add missing types and fix existing types for cbor 5.0 (#40972) 2019-12-13 10:47:14 +00:00
hirochachacha 9e885fc76c types/stripe-v3: add elements.Elements.getElement (#40970) 2019-12-13 10:45:33 +00:00
Ryan McKeel 06d991ed60 react-widgets: fix busySpinner missing from DropdownList typing (#40883)
* react-widgets: fix busySpinner missing from typing

Per https://jquense.github.io/react-widgets/api/DropdownList/, busySpinner is a valid type

* Update definitions by comment

* Bumping version to sync with a specific react-widgets function
2019-12-13 10:40:24 +00:00
Tomasz Pluskiewicz f7f904f320 fix(rdf-js): match should allow null on optional parameters (#41012) 2019-12-13 10:39:05 +00:00