Commit Graph
67050 Commits
Author SHA1 Message Date
Sander Bouwhuis 723e4e8201 Add nestedKey property to pino config (#41974) 2020-01-30 13:17:21 -08:00
Kai Wohlfahrt e9a1379b4b Add options argument to nodejs.streams.finished (#41975)
This optional argument allows ignoring the writable/readable/error
components of a stream.
2020-01-30 13:17:04 -08:00
Alex Robertson e3f24692a8 Add koaBunyanLogger.timeContext(opts) (#41977)
https://github.com/koajs/bunyan-logger#koabunyanloggertimecontextopts

> koaBunyanLogger.timeContext(opts)
> Adds time(label) and timeEnd(label) methods to the koa context, which records the time between the time() and timeEnd() calls for a given label.
>
> Calls to time() and timeEnd() can be nested or interleaved as long as they're balanced for each label.
>
> Options:
>
> logLevel: name of log level to use; defaults to 'trace'
> updateLogFields: function which will be called with arguments (fields) in koa context; can update fields or return a new object.
2020-01-30 13:15:39 -08:00
Piotr Monwid-Olechnowicz c388d9eb1e Reexport @theme-ui/components from theme-ui (#41915)
* Reexport @theme-ui/components from theme-ui

* Rename initialColorMode to initialColorModeName

* Change required TS version of @types/theme-ui to 3.5
2020-01-30 13:15:22 -08:00
jlismore 545837cb3e Update phone-input props (#41957)
Replace oudated props
Add jsdoc help to most functions
Update util function types
2020-01-30 13:13:59 -08:00
Yuichiro Tsuchiya 8ee889684b [@types/lodash] Fix development scripts in types/lodash/scripts (#41856)
* Move shebang to the first line and add permission to execute the file

* Fix types/lodash/scripts/generate-modules.ts to generate files same to the commited ones
2020-01-30 13:12:02 -08:00
Louis DeScioli 9ad9bdfbc7 Updates emscripten types (#41966)
Adds `canOwn` parameter to createDataFile File System method
2020-01-30 13:08:02 -08:00
Paito Anderson 47403b246b [google-maps-react] Fix InfoWindow Types (#41799)
* [google-maps-react] Fix InfoWindow Types

* Bump TypeScript
2020-01-30 13:07:30 -08:00
Eve Shum 8123af1bee types/Sharedb - add an optional agent parameter to the client connection (#41955)
* add an optional agent to the client sharedb connection

* remove myself as a contributor, set agent to be agent or null

* add docs
2020-01-30 13:06:41 -08:00
Piotr Błażejewicz (Peter Blazejewicz) cca9809877 feat(webpack-dev-server): contentBasePublicPath from v3.10 (#41962)
- property added
- test update
- version bump

Thanks!
2020-01-30 13:06:01 -08:00
Tomasz Pluskiewicz bcfad61323 fix: stub out the Context class (#41961)
* fix: stub out the Context class

* fix: _context is actually an array

* fix: single term = single context
2020-01-30 13:05:38 -08:00
Rodrigo Saboya 4e24fd4188 [hapi__hapi] moving app to CommonRouteProperties (#41968) 2020-01-30 13:05:05 -08:00
Ștefan-Gabriel Muscalu 9436e05e57 [@types/hapi__joi]: Revert "implement validate value return types" (#41788) (#41976)
This reverts commit 636c69bb
2020-01-30 13:04:31 -08:00
Connor Fitzgerald 29ee60f8dc [swagger-stats] Make opts optional in getMiddleware (#41984)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Make opts optional for getMiddleware
2020-01-30 13:01:23 -08:00
Elizabeth Samuel 43be2f462e [office-js] [office-js-preview] (Outlook) Additional error on getAtta… (#41982)
* [office-js] [office-js-preview] (Outlook) Additional error on getAttachmentContentAsync

* Updates based on feedback
2020-01-30 12:57:13 -08:00
Hammad Jutt 649d81b915 Improve styled-system type safety by using generics for all properties (#41903)
* Improve styled-system type safety by using generics for all properties

This allows for type safety for values in a theme using generics (e.g. you wont be allowed to use breakpoints that arent defined in your theme), as well as being able to  use styled-system in Platforms like React Native where the valid values for CSS properties are different.

The generics have been set to the defaults they were before, so backwards compatibility is preserved, but now you have the power to customize the typings to be specific to the values in your theme.

* Bump TS version to 2.9 in styled-system

* Set minimum TS version to 3.0 in styled-system

* Fix BackgroundColorProps type in styled-system to use ThemeValue

* Update typings to be compatable with TS 2.9

* Fix type errors from theme-ui and rebass

* Fix linting errors in theme-ui and styled-system
2020-01-30 20:57:13 +01:00
Remco Haszing 21ff11349a Add types for serviceworker-webpack-plugin (#41914)
* Add types for serviceworker-webpack-plugin

These type definitions are for the injected code, not for the plugin itself.

* Finalize typings for serviceworker-webpack-plugin

Now also types have been exported for the Webpack plugin itself.

* Add generic option for ServiceWorkerWebpackPlugin

* Convert serviceworker-webpack-plugin default export to module.exports
2020-01-30 11:00:50 -08:00
Nickolay Kulikov 598594d850 add types for react-helmet-with-visor, fork of react-helmet with an a… (#41944)
* add types for react-helmet-with-visor, fork of react-helmet with an ability to inject SEO-like scripts at runtime.

* remove linting suppressions

* fix types errors I could see from Azure pipeline

* fix forgotten semicolons
2020-01-30 10:55:34 -08:00
Kelvin ChuandEloy Durán e8899e3dd4 [react-native] Update Flatlist methods. (#41969)
* Update Flatlist methods.

* Update types/react-native/index.d.ts

Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com>

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-01-30 16:12:46 +01:00
Jussi Kinnula 6f1f5c8b4f Add browser-or-node types (#41910) 2020-01-29 14:14:43 -08:00
Eric Wang 6127fb8e61 Add class property to html webpack plugin (#41831)
* Add class property to html webpack plugin

* .

* fix ci
2020-01-29 14:14:27 -08:00
tomer-openfin 818a143c84 Adding OpenFin Platform and View APIs coverege (#41959)
* init

* removing files

* removing other_files

* reverting typescript version

* fd

* revert

* ver bump

* root

* tsconfig fix

* testing something

* reverting

* adding views

* imports

* adding a file to other_files

*  fixing other_files

* adding platform to other_files

* adding entity-type file to other_files

* fixing v45 version #

* adding view tests

* new line
2020-01-29 13:58:54 -08:00
Elizabeth Samuel 2e49fc5436 [office-js] [office-js-preview] (Outlook) UserProfile.timeZone is in Windows format (#41954) 2020-01-29 13:54:56 -08:00
jasonvideoblocks b263fdcda8 [braintree] Move webhook notifications to their own types (#41922)
* Adds account updater webhook fields

* Create WebhookNotification subclasses

* Use x as T syntax
2020-01-29 13:51:33 -08:00
Kent C. Dodds fa411e40a2 @types/testing-library__cypress: Set cypress version range to be very generous so users do not download two cypress versions (#41917)
* Make cypress a peerDep so we do not download two

* change cypress to devDeps

* remove dependencies

* set cypress as a dependency with a generous range
2020-01-29 13:50:59 -08:00
Luigi Pinca c7fb197a53 Fix ws type definitions (#41905)
* Make `url.URL` a valid type for the `address` parameter

* Fix `this` type on server event listeners
2020-01-29 13:48:55 -08:00
Robert Moura 493004fbee fix(d3-transition): fix selection interrupt interface (#41928) 2020-01-29 13:48:17 -08:00
Janis Koehr 82cee80652 Added missing __webpack_nonce__ declaration to webpack-env package. (#41908)
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2020-01-29 13:47:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 8e664d3d05 fix(karma): missing restartOnFileChange (#41899)
This adds missing configuration property.

Thanks!
2020-01-29 13:47:07 -08:00
Michael Lumish 5884738a37 http2: Add protocol option to http2.connect (#41931) 2020-01-29 13:46:10 -08:00
Simen Bekkhus 57dd2620f4 chore: use pretty-format types directly in jest typings (#41895) 2020-01-29 13:45:40 -08:00
Alexander Pepper c4b6c8f6c3 [cli-progress] increment can be called without parameters. (#41945)
> Increases the current progress value by a specified amount (default +1). Update payload optionally

Source: https://www.npmjs.com/package/cli-progress#increment
2020-01-29 13:44:52 -08:00
Luke Page 31cfe25179 Mocha: Add string for timeout option (#41941)
* Mocha: Allow string as a timeout option

Source:
https://github.com/mochajs/mocha/blob/master/lib/mocha.js#L90

* Update mocha-tests.ts
2020-01-29 13:44:11 -08:00
Matthias Kunnen 4050a5c08c [node-mailjet] Add options param to get and put (#41836)
See:
get https://github.com/mailjet/mailjet-apiv3-nodejs/blob/2166e4ba457d3c136bb06351728c057649aeb01d/mailjet-client.js#L508
put https://github.com/mailjet/mailjet-apiv3-nodejs/blob/2166e4ba457d3c136bb06351728c057649aeb01d/mailjet-client.js#L530

See _To add, edit or update the data saved for a specific contact_
<https://dev.mailjet.com/email/guides/contact-management/>.
2020-01-29 13:43:32 -08:00
Anton Rieder 66eff04f92 [list.js] Add alphabet option (#41952)
See: https://listjs.com/api/#sort
2020-01-29 13:42:40 -08:00
Qingqi Shi bbe645a3a4 [react-jsonschema-form] Update types to support 1.7 (#41956)
https://github.com/rjsf-team/react-jsonschema-form/releases/tag/v1.7.0
2020-01-29 13:41:41 -08:00
Luke Page e7117e9018 mocha: Add constants to Suite and Runner (#41942)
* Add constants to mocha

* make new properties readonly
2020-01-29 13:40:37 -08:00
Piotr Błażejewicz (Peter Blazejewicz) f1558039cd update(webpack-node-externals): white list option refined (#41925)
This adds support for filter-like function for white-listing modules as
per existing documentation:
https://github.com/liady/webpack-node-externals#optionswhitelist-

- definition change
- tests updated

Thanks!
2020-01-29 11:04:17 -08:00
Rebecca Turner acb2f1d101 [cheerio] Remove my name from the contributors (#41930)
Given that `@types/cheerio` is [being used by Palantir to attempt genocide](https://icebreaker.dev/), I don't feel comfortable being listed as a contributor. Remove my name from the list of authors.
2020-01-29 11:00:56 -08:00
Alex Jerabek 68d3f91e1f [office-js, office-js-preview] Updating with the latest content from the CDN (#41923)
* Removing prompt verbage from selection binding options

* Latest Excel Release

* Preview Excel
2020-01-29 10:59:59 -08:00
Rebecca Turner b543fd634d [chai] Remove my name from the contributors (#41929)
Given that `@types/chai` is [being used by Palantir to attempt genocide](https://icebreaker.dev/), I don't feel comfortable being listed as a contributor. Remove my name from the list of authors.
2020-01-29 10:57:13 -08:00
breeze9527 541c70e340 Update non npm package type definition amap-js-api (#41934) 2020-01-29 10:56:15 -08:00
Sebastian Silbermann c5df2018a4 feat(dom-testing-library): Types for 6.12 (#41951)
* feat(screen): Add debug

* feat(fireEvent): Add popState

* feat(ByRole): Add queryFallbacks

* chore: Bump version
2020-01-29 10:38:10 -08:00
Alex Kessock 3e1e03d0d4 Don't require latest version of cypress to use the types in cypress-image-snapshot (#41921) 2020-01-28 14:04:08 -08:00
Ethan Resnick 1eca72805d feat(ioredis): make Command constructable (#41635)
* feat(ioredis): make Command constructable

* refactor(ioredis): use a class for Command

* fix(ioredis): keep backcompat
2020-01-28 13:05:29 -08:00
Piotr b1d745194b brainhubeu__react-carousel - slides: JSX.Element[] (#41770)
* brainhubeu__react-carousel - slides: any[]

* brainhubeu__react-carousel JSX.Element

* brainhubeu__react-carousel fix
2020-01-28 12:08:09 -08:00
Linus Unnebäck f2845d5e4f [uuid] Avoid depending on "node" typings (#41814) 2020-01-28 12:05:29 -08:00
Tomasz Pluskiewicz b1f277e1cd add @rdfjs/fetch-lite and @rdfjs/formats-common (#41679)
* feat: add @rdfjs/formats-common

* feat: add @rdfjs/fetch-lite

* combine with PR for formats-common

* update to latest rdf-js

* update to latest rdf-js
2020-01-28 12:04:45 -08:00
vytautas 0b811831be Update sjcl types to v1.0.8 (#41781)
* Add types for sjcl v1.0.8

* Standardize abbrev. cases, fix typo in Convenience

* Add a few more tests to sjcl

* Use union types instead of multiple overloads

* Run prettier across the files
2020-01-28 12:03:28 -08:00
Steve Holgado a5b1430bdb [react-dnd-multi-backend] Fixed HTMLtoTouch types location to match package directory structure (#41723)
* Fixed HTMLtoTouch types location to match directory structure of 'react-dnd-multi-backend'

* Added tests for CommonJS types file in 'react-dnd-multi-backend'

* Removed dependency from package.json
2020-01-28 11:54:07 -08:00