Commit Graph
66342 Commits
Author SHA1 Message Date
Wayne Van Son 4e6bf5b5f4 [sortablejs] adds some missing event properties (#41160)
* [sortablejs] creates clear description for fake class

* [sortablejs] add some swap and multidrag event options
2019-12-19 22:13:16 -08:00
Chris Wilkinson 9f50313b4a Add @rdfjs/serializer-jsonld (#41094)
* Add @rdfjs/serializer-jsonld

* Test sink
2019-12-19 22:11:45 -08:00
Xzas22 a298ed59c8 Updated CookieOptions.sameSite to correctly reflect new change to @types/express-session (#41038)
The change to express-session on Nov 18th (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/40314) broke type checking for connect-redis and express-session. 

Specifically: 
Type 'string | boolean | undefined' is not assignable to type 'boolean | "lax" | "strict" | "none" | undefined'
2019-12-19 22:10:31 -08:00
mtgto c5bbcb252c plotly.js: Add barnorm to Layout (#40874) 2019-12-19 22:08:30 -08:00
Adrien Vergé db3ff1623a [stripe-v3] Add new confirmCardPayment(), confirmSepaDebitSetup(), etc. (#40857)
Add typings for these 4 new PaymentIntent-related functions:
- `confirmCardPayment()`
- `confirmSepaDebitPayment()`
- `confirmCardSetup()`
- `confirmSepaDebitSetup()`

Also mark old ones as deprecated, for easier understanding:
- `handleCardPayment()`
- `handleCardSetup()`

References:
https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-payment
https://stripe.com/docs/stripe-js/reference#stripe-confirm-sepa-debit-payment
https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-setup
https://stripe.com/docs/stripe-js/reference#stripe-confirm-sepa-debit-setup
2019-12-19 17:06:50 -08:00
Elizabeth Samuel b75e866ada [office-js] [office-js-preview] (Outlook) Reorganize members into modes (#41075) 2019-12-19 12:54:51 -08:00
Leonidas Arvanitis 6c9d016e69 Add classes draggable option (#40951)
Documented here: https://api.jqueryui.com/draggable/#option-classes
2019-12-18 11:01:12 -08:00
Bennnsen db466ac180 updated type in openpgp("string" -> string) (#41062)
* Update index.d.ts

* Update index.d.ts

* fixed typings

Keypair now has the correct properties, CleartextMessage.fromText now has CleartextMessage as return type

* fixed typings

added KeyPair properties, CleartextMessage.fromText now has CleartextMessage as return type

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2019-12-18 10:53:14 -08:00
Alex Bradley 828eb36983 Add types for port-numbers (#40860)
* Add types for port-numbers

* port-numbers: Make result fields readonly
2019-12-18 10:52:05 -08:00
Carson Farmer 729be11faf feat: adds types and tests for lexicographic-integer (#41025)
Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-18 10:49:57 -08:00
Nathan Lisgo a46d1c7671 Add it-all (#41119) 2019-12-18 09:52:10 -08:00
Michael Fox 31b226986d Update the WindowScroller registerChild prop typings to match the typeof that the package is expecting (#41100) 2019-12-18 09:50:20 -08:00
Emily Marigold Klassen 3a4a9d0e1c Add rfdc (Really Fast Deep Clone) types (#40957) 2019-12-18 09:48:24 -08:00
Edgardo Di Gesto 00aebbd6fa [chart.js] Add Legend onLeave property (#41090) 2019-12-18 09:47:50 -08:00
mikaello d3197272fc add types for react-mic (#40845) 2019-12-18 09:47:21 -08:00
sosoba a4aafc64dd Marking as optional fields only present in extendedMetaData (https://oracle.github.io/node-oracledb/doc/api.html#propdbextendedmetadata) mode (#41059) 2019-12-18 16:23:17 +00:00
Piotr Roszatycki b0cce3cd2c nodemailer: MimeNode.build returns Promise (#41068)
* nodemailer: MimeNode.build returns Promise

* nodemailer: definition for v6.4
2019-12-18 16:18:49 +00:00
James G. Best 12c0935584 updated hedron typings to v1 (#32836)
* updated hedron typings to v1

* Fixed issues with CI build

* update types as per the recommendations

* Fixed quotes

* Fixed quotes

* Added wrap type

* Fixed quotes
2019-12-18 15:53:30 +00:00
Chetan Padia ef0acf6c61 Add missing functions to "jexl" (#41060)
* Add .compile() with Expression type

* add type test for .compile()

* Update jext version number in header
2019-12-18 15:19:01 +00:00
jgeth b6857e61e7 Adds type definitions for 'promise-nodeify' (#36091)
* Adds type definitions for 'promise-nodeify'

Adds type definitions and tests
Adds tsconfig and tslint config

* Fixes method signature on promiseNodeify.nodeifyThis()
2019-12-18 14:56:47 +00:00
Andrew Balmos 1643a0be54 Fix type error in stream-json FilterBase.d.ts (#41034)
Remove an extraneous `ReadonlyArray<...>` from the Token value.
2019-12-18 14:46:11 +00:00
Michaël De Boey 90588793d0 Update Sketch types (#40894) 2019-12-18 14:43:06 +00:00
Tim van der Horst 5f9f29bfbf [@types/deline] Fix export (#41081) 2019-12-18 14:41:42 +00:00
Constantin Bryzgalin f36c968965 [@types/ioredis] zrangebyscore and zrevrangebyscore accept strings as min/max (#41085) 2019-12-18 14:40:42 +00:00
Mateusz Turcza 65bc5b7a95 [@types/matter-js] Fix types for Runner.create() and IRunnerOptions (#41083)
Definition for Runner.create() should allow no-arguments call, as can be seen
in the official examples, e.g. https://github.com/liabru/matter-js/blob/master/examples/gravity.js#L33

Also current definition for IRunnerOptions is missing 'enabled' property.
2019-12-18 14:39:55 +00:00
Alexander Zeiher 335d457e03 Allow for non dynamic content in header and footer pdfmake (#41067)
* Fix: Allow for non dynamic content in header and footer

* Version bump

* fix: allow string in header and footer

* Fix: faulty version number

* Fix version
2019-12-18 14:34:08 +00:00
Oliver Joseph Ash f956518565 Node: querystring: allow nullish values in input type (#41091) 2019-12-18 14:33:25 +00:00
Keisuke Kan 7b2a6da4ba chore(types/stripe): Added stripe.plans.IPlanUpdateOptions options (#41080)
* chore(types/stripe): Added stripe.plans.IPlanUpdateOptions options

* fix(types/stripe): trial_period_days type to number
2019-12-18 13:15:51 +00:00
Andrew 51c3f30bca Unsplash-JS: end of the partial update to version 6.0 by removing deprecated API (#41097)
* feat(unsplash): remove deprecated API's by upgrading to the 6.0.0 version

* test(unsplash): remove tests of the deprecated methods
2019-12-18 13:15:01 +00:00
Devansh Jethmalani 5b8b591927 Infer arg passed to test.each as array of tuples (#41098) 2019-12-18 13:13:15 +00:00
mrjack88 afd54484c4 Adding new ChartTooltipModelBody interface. (#41096)
Adding body and dataPoints to existing ChartTooltipModel
2019-12-18 13:11:22 +00:00
James Nimlos 6410ae7e2b add exported compat to fluent__bundle (#41101) 2019-12-18 13:10:26 +00:00
Gezim Hoxha c5a0afd1f4 Adde animation prop types for react-native-star-rating (#41106)
* Add animation prop types

* Added animation prop to test

* Fix formatting on index.d.ts
2019-12-18 13:07:13 +00:00
J.C 924f2503a4 use overload to rewrite API 'readFileSync' and 'writeFileSync' to avoid union type of the result. (#41110) 2019-12-18 13:06:43 +00:00
Ole André Vadla Ravnåsand葛兵 9060fba495 Sync frida-gum typings with Frida 12.8.0 (#41109)
Co-authored-by: 葛兵 <gebing@foxmail.com>
2019-12-18 13:05:57 +00:00
Benjamin Pasero b073e76864 Add types for vscode-windows-registry (#40962) 2019-12-18 12:11:35 +00:00
drbalm dbb68e24c7 fix(react-tracking): Allow tracking info function to return Falsy value (#40916)
* Accepting `Falsy` in TrackingInfo fn return

Fixing `TrackingInfo` type so that function can return a `Falsy` value as described in react-tracking documentation.

* Adding test case

Adding a track function that optionally returns a payload and otherwise returns `Falsy` to verify changes.

* Update react-tracking-without-types-tests.tsx

Adding test case to test function passed to track annotation that optionally returns a payload and otherwise `Falsy` in react-tracking-without-types-tests.tsx

* Removing typing from "without types" test file
2019-12-17 18:06:51 -08:00
Theo Menkes Reis ed3525baf3 [victory] Add 'VictoryClipContainer' and 'Flyout' types and fixing theme types (#40717)
* [victory] Add missing types and fixing theme types

* [victory] Pull request adjustments
reusing types, using more specific types and fixing JSDoc typo
2019-12-17 11:05:27 -08:00
Johannes C. Schneider df1ba4bfe8 [auth0] added user blocks functions (#40774) 2019-12-17 10:31:15 -08:00
Jean-Sébastien Goupil 4ed6d134ac [@types/fabric] fix type on getScrollLeftTop (#40780)
* [@types/fabric] fix type on getScrollLeftTop

* [@types/fabric] add unit tests.
2019-12-17 10:27:19 -08:00
Julian Hundeloh 0d12531ffe [simple-oauth2] fix: allow custom fields (#40797)
* fix: allow custom fields

* test: add test
2019-12-17 10:06:32 -08:00
Piotr Roszatycki a1708a1b80 Node: Missing features in TLS module (#40556)
* node: tls.DEFAULT_MAX_VERSION and DEFAULT_MIN_VERSION

https://nodejs.org/api/tls.html#tls_tls_default_max_version

https://nodejs.org/api/tls.html#tls_tls_default_min_version

* node: tls.setTicketKeys and getTicketKeys

https://nodejs.org/api/tls.html#tls_server_setticketkeys_keys

https://nodejs.org/api/tls.html#tls_server_getticketkeys

* node: tls.DEFAULT_* are read-write properties

* node: tls.setSecureContext

https://nodejs.org/api/tls.html#tls_server_setsecurecontext_options

* node: jsdoc

* node: tls.disableRenegotation

https://nodejs.org/api/tls.html#tls_tlssocket_disablerenegotiation

* node: tlsSocket.getCertificate

https://nodejs.org/api/tls.html#tls_tlssocket_getcertificate

* node: tls.getEphemeralKeyInfo

https://nodejs.org/api/tls.html#tls_tlssocket_getephemeralkeyinfo

* node: tls.getFinished

https://nodejs.org/api/tls.html#tls_tlssocket_getfinished

* node: tls.getPeerFinished

https://nodejs.org/api/tls.html#tls_tlssocket_getpeerfinished

* node: tls. getSharedSigalgs

https://nodejs.org/api/tls.html#tls_tlssocket_getsharedsigalgs

* node: tlsSocket.isSessionReused

https://nodejs.org/api/tls.html#tls_tlssocket_issessionreused

* node: tls.SecureContextOptions.sigalgs

* node: jsdoc

* smtp-server: options are now the same as in tls.TlsOptions

* node: replace {} with object

* node: reverted changes for v11 as it is EOL
2019-12-17 09:53:05 -08:00
Michael Haglund a1668f8f03 react-imgix: Initial commit (#40289) 2019-12-17 09:44:18 -08:00
Nathan Shively-Sanders 0b2445e7fa Document last two zookeeper options
I couldn't find the *original* documentation, but found it quoted at
https://stackoverflow.com/questions/32665881/persistent-and-ephemeral-nodes-in-zookeeper.

Also minimum version of 2.1 is no longer needed now that 2.8 is the
minimum version.
2019-12-17 09:28:58 -08:00
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