Commit Graph
40123 Commits
Author SHA1 Message Date
Munir Ahmed Elsangedy cba95bf187 Remove last level of version in header (#22686) 2018-01-04 17:51:33 -08:00
Fresh Off The Boat d990ecbba1 @types/node-schedule: Add an optional parameter to the type JobCallback (#22606)
* Update type `JobCallback`

- `fireDate` is an optional parameter

* @types/node-schedule: Add a parameter to the type `JobCallback`
2018-01-04 17:22:17 -08:00
Chris Mohr 9a4a3b6418 add jest mockName and getMockName (#22682) 2018-01-04 14:31:11 -08:00
afholderman d6eafb8ea0 Add option functions to props (#22681) 2018-01-04 14:30:43 -08:00
Munir Ahmed Elsangedy a0d47c6b68 Update storybook__addon-notes (#22669)
* Update storybook__addon-notes

This implementation is deprecated in version 3.3.3

* Update storybook__addon-notes-tests.tsx
2018-01-04 14:06:31 -08:00
julia-lin d0dc25c5ab add optional options for libxml parseXmlString (#22679) 2018-01-04 13:18:25 -08:00
Paul Taylor 1d0b6b7e84 add export to text-encoding-utf-8 types (#22634)
* add text-encoding-utf-8 export

* add text-encoding-utf-8 namespace export
2018-01-04 13:02:18 -08:00
Amazing Turtle 5cee38609b Updated to massive 4.6 (#22667) 2018-01-04 12:29:29 -08:00
Tyson Andre c219fc824c Add additional events emitted by kafka-node's Client (#22678)
Previously, only KafkaClient (subclass) had signatures for `on()`.
However, Client and KafkaClient emit many of the same events.
- See https://github.com/SOHU-Co/kafka-node/blob/master/lib/client.js
  and https://github.com/SOHU-Co/kafka-node/blob/master/lib/kafkaClient.js
  (Search for the string `emit(`)

zkReconnect is exclusive to Client, and socket_connect is exclusive to
KafkaClient. TypeScript's type checker warns if I put on() declarations
in KafkaClient. (Haven't tried duplicating.)
2018-01-04 12:29:11 -08:00
Andy a685fea8b2 Update CODEOWNERS (#22677) 2018-01-04 12:28:16 -08:00
Matthias Dailey 1d22401957 Add mathjs createUnit() (#22675) 2018-01-04 12:26:09 -08:00
Andy 7ed6c2081d minimatch: Work with ReadonlyArray (#22674) 2018-01-04 12:25:08 -08:00
Donald Pipowitch 62864b2ecd Create correct major version for webpack-dev-middleware (fixes bugs from #22267) (#22661)
* fix bugs from #22267

* try to fix "Older version 1 must have a path mapping for itself." error
2018-01-04 09:43:45 -08:00
张嘉永 a33af86116 update sequelize declare (#22616)
* update sequelize declare

* sequelize add testcase for datatypes
2018-01-04 09:36:02 -08:00
Bernd Hirschmann 06aaceffba Add defaultLocale (#22665) 2018-01-04 09:35:43 -08:00
Kevin Kuszyk fa5b175189 [cucumber] Update the HookScenarioResult to match the v3 api (#22651) 2018-01-04 09:28:18 -08:00
King Wang ceb0c84473 Add missing backgroundColor for SystemRenderer (#22660)
According to http://pixijs.download/release/docs/PIXI.SystemRenderer.html
2018-01-04 09:27:42 -08:00
Junbong Lee 709070b1fb Add new type definition for react-date-range. (#22638)
* Add new type definition for react-date-range.

* Fix CI build fails.

* Fix type of properties of Range interface.
2018-01-04 09:26:45 -08:00
Klaus Meinhardt ff8a4cfaa2 resolve: fix type of readFileSync (#22571) 2018-01-04 09:25:40 -08:00
Klaus Meinhardt 46afc73cfb node: add module.paths (#22578) 2018-01-04 09:25:08 -08:00
Klaus Meinhardt c9f8a8f8be Add is-negated-glob (#22573)
* Add is-negated-glob

* Use ImportEquals instead of namespace import
2018-01-04 09:24:20 -08:00
Matthias Dailey e3c87baad7 Add Cylindrical typings (#22659) 2018-01-04 09:23:38 -08:00
Evan Shortiss 98f1d85679 Fixed - nodejs core typing for path.resolve args (#22567)
* Fixed - nodejs core typing for path.resolve args

* fix in all versions
2018-01-03 17:03:06 -08:00
headdetect d23fe00922 Add zipcodes definitions (#22584)
* Add zipcodes definitions

* Updating zipcdes readme.md

* Delete README.md

* ZipCodes : Updating definitions export structure
2018-01-03 16:39:56 -08:00
Martin Feckie 6be899ad46 Improve typings for Enumerable (#22523)
* Fix typo Enumberable -> Enumerable

* Set return type to Enumerable of filter, reject etc to support chaining

* findBy value type should be any, not string

* Convert return type for Enumerable to NativeArray<T>
2018-01-03 16:06:45 -08:00
AJ Richardson 3f28d2ed00 lodash: _.get should work with NumericDictionaries (#22619)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests
2018-01-03 16:06:27 -08:00
York Yao 0e03b5f45d add types of pangu (#22643)
* add types of pangu

* remove default export and unused namespace
2018-01-03 16:06:05 -08:00
Olaf Tomalka abb6cbad16 Fix Node's path.format() requiring all options (#22525)
* Fix Node's path.format() requiring all options

The bug manifested during use of path.win32 and path.posix submodules.
Both functions required all of the options to exist which is not
the case as some override others.
Further research indicated that previous Node versions were also
susceptible, up to v4.

I've used the Typescript's Partial<> type which makes all properties
optional, allowing for easier maintenance and readabillity at the cost
of now requiring Typescript 2.1, which I believe is a good trade-off.

* Revert the decision to use TS 2.1 in @types/node

Updating Typescript version would require to update
all other types that rely on Node, which may be quite a lot.
Fixing a bug is not a big enough reason to add new version to all
of those packages.
2018-01-03 14:44:18 -08:00
hoo29 34f8553e46 Update index.d.ts (#22338)
added secureProtocol to ServerOptions
2018-01-03 13:34:09 -08:00
Tomas Polovincak 68f6a78112 aws-lambda: extend Handler return type to support Promises (#22588) 2018-01-03 13:29:06 -08:00
Leo Liang ac20d45163 mocha: timeout accepts string parameter (#22337) 2018-01-03 13:28:32 -08:00
Andy e237ef3ffc colors: Fix test (#22656) 2018-01-03 13:25:25 -08:00
falsandtru f2dceb3528 [mocha] Remove type overriding by NodeJS (#22528)
* Fix type pollution

* Fix uncaught bugs of #22267
2018-01-03 13:17:50 -08:00
Sergei Dryganets d0db614137 Electron Webview tag support added. (#22058) 2018-01-03 13:14:27 -08:00
Mohamed Hegazy c152f305b9 Add inspectPort to ClusterSettings (#22652) 2018-01-03 12:59:29 -08:00
Kurt Preston 9c38485822 [reactstrap] Adding missing tag prop to Col definition (#22655) 2018-01-03 12:58:01 -08:00
Daniel Hritzkiv 8829824eae Add getRenderTarget; deprecate getCurrentRenderTarget() (#22654)
* Add `getRenderTarget`; deprecate `getCurrentRenderTarget()`

* Update revision number; Update website; Add definition contributor

Changed project website to the more common https://threejs.org
2018-01-03 12:39:29 -08:00
Dancespile 018ef9fb6f add hash argument in the constructor (#22650)
The argument hash was missed in the constructor (see more in https://github.com/krasimir/navigo)
2018-01-03 12:20:42 -08:00
burka ad3181849c Added missing param for angular-locker. (#22648)
See https://github.com/tymondesigns/angular-locker/blob/master/src/angular-locker.js#L143:53 for source.
2018-01-03 12:20:05 -08:00
Daniel Milbrandt 0f3d1dc170 ClusterSetupMasterSettings to ClusterSettings (#22647)
According to official docs the settings for setupMaster settings are just the ClusterSettings.
There is an ClusterSettings interface already but setupMaster function parameters refered to incomplete and unnecessary ClusterSetupMasterSettings. I deleted the ClusterSetupMasterSettings interface and refer to the existing  ClusterSettings which are correct.

https://nodejs.org/docs/latest-v8.x/api/cluster.html#cluster_cluster_setupmaster_settings
2018-01-03 12:19:08 -08:00
Sahbi Sahloul 7c58f05cf4 Allow user to select folders from team drives (#22637) 2018-01-03 12:18:52 -08:00
Ankur Oberoi 9c0b47b45c Update insight for recent changes (#22636)
* Update insight for recent changes

updates the constructor options with `pkg`, which is now preferred over `packageName` and `packageVersion`.
adds `trackEvent()` method

* update insight test
2018-01-03 12:18:05 -08:00
Assaf Lavie 6d020e2e28 Fix ContainerInspectInfo according to Docker REST API documentation. (#22598)
The Ports field is a map of string to _array_ of Ip/Port objects, as you
can see in the docs: https://docs.docker.com/engine/api/v1.32/#operation/ContainerInspect

As a result of this error type checks are not being run. e.g. Doing
`container.inspect().NetworkSettings.Ports['test'][0].BadField` will
compile without error, despite `BadField` to existing in the interface.
2018-01-03 12:02:36 -08:00
Andy ab2b520051 Remove chartjs in favor of chart.js (#22442) 2018-01-03 11:54:50 -08:00
Michael Zabka 40c2f00579 Export even namespace download in module declaration to allow import module in commonjs module option (#22583) 2018-01-03 11:47:54 -08:00
Askaholic ddbf07cb69 Fixes #20470 Map.addHandler takes a newable type as second param. (#22577) 2018-01-03 11:47:40 -08:00
Sarun Intaralawan 634718d6f2 fix(@types/croppie): do not export Croppie as default export (#22574) 2018-01-03 11:47:00 -08:00
Flarna d9f51eae65 [node] improve typing of query.parse() (#22171)
* tabs to spaces

* [node] improve typing of query.parse()

* Update according to review:
- Better naming UrlParsedQuery => UrlWithParsedQuery, UrlStringQuery => UrlWithStringQuery
- replace Url type by UrlWithParsedQuery | UrlWithStringQuery

* Re-introduce url.Url as it is used by several other modules.
2018-01-03 11:44:10 -08:00
Kurt Preston 52bc966699 [@types/reactstrap] Adding carousel components, removing Tether (#22512)
* Adding full Popper.js definition to Reactstrap

* Reactstrap: Updating Dropdown definitions, removing Tether

* Reactstrap: Adding Carousel components and test
2018-01-03 11:42:29 -08:00
양현석 a61e766794 [@types/luxon] update types (#22463)
* fix types of luxon

* fix Settings

make Settings.defaultZone as readonly,
change expression of Settings.now

* fix static-only classes to namespace

* fix unused lint rules
2018-01-03 11:40:39 -08:00