Commit Graph
60659 Commits
Author SHA1 Message Date
Maximilien Mellen 2bc45778bf Use SecureContextOptions in httpsServer.addContext 2019-03-29 17:32:15 +01:00
Maximilien Mellen f45c277760 Allow initializing tls.Server with no args 2019-03-29 17:31:54 +01:00
Maximilien Mellen 4277a6e538 Allow initializing https.Server with no args 2019-03-29 17:30:18 +01:00
Eloy DuránandGitHub d430889d20 Merge pull request #34315 from Dahaden/master
Changed ReactElement to ReactNode for consistency with flow types
2019-03-29 11:47:01 +01:00
Joel SpadinandRon Buckton a2f29ac4a7 Improve license-checker-webpack-plugin definitions (#34282)
* Add types for license-checker-webpack-plugin

* Improve license-checker-webpack-plugin definitions

Make options parameter optional. The module documentation does not state whether
this parameter is or is not intended to be optional, but the code allows for it.

Use Partial<Options> instead of interface with all optional fields.
2019-03-29 00:43:30 -07:00
Gerhard StöbichandRon Buckton cd3f215693 [node] various http2 fixes (#34262)
* [node] various http2 fixes

* remove removeListener() overloads
2019-03-29 00:39:17 -07:00
Sam AlexanderandRon Buckton 803703a51f Add types for html5-to-pdf (#34288)
* Add types for html5-to-pdf

* Add typescript version

* Update tsconfig

* Fix lint errors

* Fix tests
2019-03-29 00:37:43 -07:00
Sérgio MiguelandRon Buckton 518f614f92 Add types for react-native-view-pdf (#34291)
* Add types/test for react-native-view-pdf

* Specify ts version

* Specify strictFunctionTypes
2019-03-29 00:25:22 -07:00
Ryan CavanaughandRon Buckton 7dc6bb0fa3 Add noAlign option to prettyjson (#34316)
https://github.com/rafeca/prettyjson/blob/7fa29b10985a0b816be649c9c6ddf9fb289c66fe/test/prettyjson_spec.js
2019-03-28 23:59:35 -07:00
Dave Haden d67476886c Changed ReactElement to ReactNode for consistency on flow types 2019-03-29 13:42:07 +11:00
Nathan Shively-SandersandGitHub 8201a5f150 Cleanup 20190328 (#34297)
* Update project homepages

* Update project urls and fix protractor-browser-logs dependency

Its dependency on protractor was "latest" -- 6.0 -- which doesn't work because
protractor has a dependency on selenium-webdriver. In the Definitely
Typed repo, selenium-webdriver is treated as a
dependency on @types/selenium-webdriver because d.ts overrides .js.
But selenium-webdriver is at 3.0 while @types/selenium-webdriver is at
4.0, meaning that protractor's imports are broken for people (like DT)
who have @types/selenium-webdriver installed.

There are three ways to fix this:

1. Update @types/selenium-webdriver to 4.0. This is a big task.
2. Fix protractor-browser-log's protractor dependency to 5.4.2, right
before protractor updated to the latest version of selenium-webdriver.
This way the installed version of selenium-webdriver matches the version
of @types/selenium-webdriver in DT.
3. ???? Other tsconfig.json/package.jon wizardry? I don't think this is
a worthwhile path to explore.
2019-03-28 17:44:15 -07:00
MallenandRon Buckton e809175e0c Fix get-value second argument typing not accepting arrays (#34244) 2019-03-28 09:30:43 -07:00
Eloy DuránandGitHub c9040913ba Merge pull request #34233 from itajaja/patch-1
add context to react relay
2019-03-28 11:15:40 +01:00
Giacomo Tagliabue 0b3af24643 fix 2019-03-27 23:16:32 -04:00
MrcodeandRon Buckton ca77853b96 fix: EventType has not 'action (#34176) 2019-03-27 17:36:55 -07:00
ChristianandRon Buckton 979c300a04 fix(sharp): add missing linear, recomb types (#34218) 2019-03-27 17:34:24 -07:00
Thomas MarrecandRon Buckton aadfd1189d [stripe] Add missing billing_reason option (#34251)
* types(stripe): add missing billing_reason option

# add subscription_create to the billing_reason
# https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason

* stripe: add missing subscription_threshold option
2019-03-27 17:29:03 -07:00
Kristian BrünnandRon Buckton 158e2d3343 [debug] Override all per-namespace log settings (#34234)
* extend the Debug interface with log(...args) to enable overriding all per-namespace log settings

* extend author list of debug

* extend debug tests

* nits: replace console.error with console.log
2019-03-27 17:27:38 -07:00
katashinandRon Buckton e87f5a9181 [twilio-video] Add missing ConnectOptions parameters (#34057)
* Add missing ConnectOptions parameters in twilio-video

* Update definitions by on twilio-video
2019-03-27 17:00:00 -07:00
Damien EngelsandRon Buckton 551b328862 Update trusted-types definitions to allow for partial policies. (#34239)
Also adds:
 - TrustedTypePolicy#name property
 - TrusteTypePolicyFactory#is(HTML|Script|ScriptURL|URL) functions

Updates the tests to assert types properly as well as add coverage for
all the new additions.

No version update is needed as the api didn't change. This is just a
better description of the actual behavior.
2019-03-27 16:58:18 -07:00
Eugene ZaretskiyandRon Buckton 13e6a6482d [seedrandom] State should be serializable, and removing incorrect callbacks (#34151)
* Remove incorrect callbacks, change state type

Seedrandom's state function does not return a function. It returns an object intended to be opaque, which I don't know how to describe in TS. It's serializable (unlike a function), so I made it just be an empty object. It's properties are unpredictable, but always of a similar shape: { [x]: number, [y]: number, [z]: number[] }. x,y, and z vary from implementation, and users are not intended to know what they are. The important thing is that it can be passed back to the state option when making a new instance of seedrandom, and that it be serializable (which the previous implementation was not).

In addition, seedrandom's alternate algorithms do not take a third "callback" argument, so I removed it.

* Adding attribution
2019-03-27 16:55:51 -07:00
dsueltenfussandRon Buckton eb65f2b789 dwt type - additional property (#34224)
* Added missing type

* Updated package header

* Replaced tabs with spaces
2019-03-27 16:17:20 -07:00
Kubo SatnikandRon Buckton b36aeafe88 Ink select input update for latest version and ink2 support (#34192)
* Update ink-select-input to support latest version and ink2

* Major version up

* Fix travis errors

* Fix travis errors

* Fixed travis errors 3
2019-03-27 16:15:22 -07:00
yutodandRon Buckton e2476bf0eb Allow users to define either converter.read or converter.write (#34231) 2019-03-27 16:10:16 -07:00
RafaelandRon Buckton 7631f52e7f activestorage: make delegate constructor argument optional. (#34278) 2019-03-27 16:09:20 -07:00
Douglas NomizoandRon Buckton f7fa09cecb Add prismic-dom types for version 2.1 (#34228)
* Add prismic-dom new asHtml types

* improve indentation
2019-03-27 16:08:26 -07:00
MarkandRon Buckton f1be41efc5 better-sqlite3 - Add verbose option (#34225)
* better-sqlite3 - add verbose option

* Revert TS version
2019-03-27 16:07:14 -07:00
Norimasa HayashidaandRon Buckton f8005551fb [workbox-webpack-plugin] Capitalize the first letter of the strings for ChacheStrategy (#34092)
* Capitalize the first letter of the strings for ChacheStrategy

* move the original code to v3 directoy
2019-03-27 16:06:33 -07:00
Rusty ScrivensandRon Buckton 42852369c9 Update to latest sarif version 2.0.0-csd.2.beta-2019-02-20 (#34247) 2019-03-27 16:04:37 -07:00
Nikolaj KapplerandRon Buckton b32bd87fcf [Tern] export constructor option interfaces (#34256)
tern plugins may add custom constructor options.
to properly extend these interfaces they need to be exported.

workstream:
2019-03-27 16:03:36 -07:00
Giacomo Tagliabue b339c333c4 add tests 2019-03-27 18:03:11 -04:00
breeze9527andRon Buckton 95c83ee6f1 [amap-js-api] Add new features of amap-js-api@1.4.13 (#34266)
* Added type definition for non-npm package amap-js-api-place-search

* [amap-js-api] Add new features of amap-js-api@1.4.13

* [amap-js-api] Update test of Text
2019-03-27 13:19:12 -07:00
BradleyHillandRon Buckton 9f7e6cb560 fabric - add more missing props to IEvent.transform (Transform should really be a strongly typed object) (#34272) 2019-03-27 13:18:35 -07:00
Eloy DuránandGitHub 226cbdc3fa Merge pull request #34195 from franzmoro/master
added CheckBox to react-native
2019-03-27 21:03:21 +01:00
Troy McKinnonandRon Buckton bd3a42fcae Add nodejs-license-file (#34242) 2019-03-27 10:20:54 -07:00
서상희andRon Buckton b2f87aa2bb Adding types for Naver Whale Extension (#34250)
* add new package: naver-whale

* change ts version

* add relation to chrome

* add whale.topSites.delete
2019-03-27 10:17:30 -07:00
franzmoro 344341e0cc reverted to version 0.57 2019-03-27 16:53:11 +00:00
briwaandNathan Shively-Sanders dd162faacc Remove GA beacon since it won't work (#34110) 2019-03-27 09:33:50 -07:00
Cyle Ven DawsonandNathan Shively-Sanders 7a852030c2 [@types/react] Add SVGFEDropShadowElement and feDropShadow (#34264) 2019-03-27 09:07:43 -07:00
Florian KellerandNathan Shively-Sanders 4ab90531d2 chore: Rename package opn to open, deprecate opn (#34255) 2019-03-27 08:13:14 -07:00
Giacomo Tagliabue bffd754f5e fix 2019-03-27 10:31:37 -04:00
Frank TanandRon Buckton 20f7b52423 [ember__routing] Add types from Router Service RFC (#34199)
* [ember__routing] Add types from Router Service RFC

emberjs/rfcs#95

* [ember__routing] Add `RouteInfo` tests

Also includes tweaks to `RouteInfo` definition and docs
2019-03-27 07:20:52 -07:00
Nathan Shively-SandersandGitHub 20573fa26d egg-mock: set noImplicitAny: false (#34240)
egg-mock 3.* has a dependency on egg-logger 1.7.1, which has an implicit
any error in its d.ts.

Until somebody updates egg-mock types, I think it's fine to change this
package to not give implicit-any errors.
2019-03-27 06:35:16 -07:00
Kanitkorn SujautraandNathan Shively-Sanders 4d371be185 [react] Make "type" button attribute match W3C spec (#34194)
* [react] Make "type" button attribute match W3C spec

According to https://www.w3.org/TR/2011/WD-html5-20110525/the-button-element.html#attr-button-type, the `type` button attribute can only be one of the three keywords, `"submit"`, `"reset"`, and `"button"`.

* [react] Add tests for button type attribute
2019-03-27 06:34:18 -07:00
Benjamin EvensonandRon Buckton c06a6662f8 [slate-react] Expose setDecorations method on CoreEditor (#34219) 2019-03-26 15:33:42 -07:00
AndreaandRon Buckton 962c5bd3ca add pbkdf2 function definitions with optional parameters (#34190) 2019-03-26 14:56:05 -07:00
yinzandRon Buckton 4a295b5fc2 AddBlob & File type for readFile api (#34215)
* add Blob & File type for `readFile` api

* Blob -> File

* style: use single quotes
2019-03-26 14:55:05 -07:00
CethriviasandRon Buckton 66c1302717 Added socket_initialdelay prop to ClientOpts (#34181) 2019-03-26 14:54:14 -07:00
Grant TimmermanandRon Buckton 1a2118b087 [@types/google-apps-script] Add Advanced Service Types (#34212)
* Flatten APIs directory

* [@types/google-apps-script] Add Advanced Service types

* [@types/google-apps-script] Add content API.

* [@types/google-apps-script] Add other APIs

* [@types/google-apps-script] Add other APIs

* Remove "Blob" type
2019-03-26 13:27:26 -07:00
Simon SchickandRon Buckton 923fe86451 feat(node): v11.12 (#33967)
* feat(node): v11.12

* fixup! feat(node): v11.12

* fixup! Merge branch 'master' into feat/node-11.12
2019-03-26 13:21:05 -07:00