Skip to content

[pull] master from DefinitelyTyped:master#1

Merged
pull[bot] merged 494 commits intoskyplaying:masterfrom
DefinitelyTyped:master
Apr 29, 2021
Merged

[pull] master from DefinitelyTyped:master#1
pull[bot] merged 494 commits intoskyplaying:masterfrom
DefinitelyTyped:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 29, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

AdamVig and others added 30 commits April 8, 2021 15:32
* Add types for pino-pretty

* Update pino-pretty options from documentation

Fixes #52212.

* Format with Prettier

* Restore Pino-only property in PrettyOptions
@JounQin

* fix(file-saver): disableAutoBOM is true by default

* chore: add as owner
Co-authored-by: chrissrogers <chrissrogers@users.noreply.github.com>
(New changes to Typescript)[microsoft/TypeScript#42751]
make it better at figuring out the type of
`module.exports`. Unfortunately, it still gets confused by some bundler
outputs, which is what the npm-naming rule uses to compare index.d.ts to
find out if the types match the original JS well enough.

This PR adds exemptions to the 7 packages that started failing after the
linked Typescript PR was merged.
* Create tslint.json

* Create index.d.ts

* Create paradisebotsapi.js-tests.ts

* Create tsconfig.json

* Update index.d.ts

* Update paradisebotsapi.js-tests.ts

* semicolon
…ce by @xxxLukskyxxx

* Add encodingMode in options interface

Added the missing encodingMode option in the options interface.
Watch https://github.com/fstirlitz/luaparse#encoding-modes for more details.

* Fix comment

* Add test

* file should end with a newline

Co-authored-by: Steuer <lukas.steuer@draeger.com>
* add parse cloud validators

* fix tests

* Update index.d.ts
* [@types/bl] update bl types to v5

The bl module has a file called `BufferList.js` that is the buffer list
without node streams, the idea being you can use it in the browser without
having to pull in a readable streams implementation, which has become more
necessary since webpack 5 stopped bundling shims for node internals.

The main `bl.js` exports a class that extends both the buffer list and
the node Duplex stream.  It also has named exports for `BufferListStream`
(the same as the default export) and `BufferList` (the same as the class
from `BufferList.js`).

I've attempted to represent them here.  TS doesn't have multiple inheritance
so I'm not sure how to represent the `BufferListStream` class without
duplicating the methods of `BufferList`.

* add package.json for bl

* update dep path

* update dep path

* remove package.json

* remove named exports

* add missing methods and tests for those methods

* revert import type change and remove extra header

* add BufferList to indexOf

* rename variables in tests so it is clearer what is going on

* use interface for multiple inheritance

* apply prettier
* Updated to Scrivito 1.21 and extended existing type definitions

* Added provideAuthGroups for Scrivito 1.21

* add additional config options

* fix root not able to return null

* homepage can accept null

* move onsite to static methods

* fix last commit

* Added constraint for connect generic type

* type menu callback

* add onAllSites

Co-authored-by: Eric Eifler <eric.eifler@ergosign.de>
Co-authored-by: juliankrieger <julian.krieger@me.com>
…@nulltoken

Hapijs applies some normalization on every response
and supercharges the content type with the charset, if missing. The default value for the charset is 'utf-8'.

Invoking `response.charset()` is a valid (but undocumented) behavior which prevents this normalization from happening.

Code:
 - https://github.com/hapijs/hapi/blob/dc2213c880f16ff6853eccc684782ec888326475/lib/response.js#L466-L470
 - https://github.com/hapijs/hapi/blob/dc2213c880f16ff6853eccc684782ec888326475/lib/response.js#L466-L470

Tests:
 - https://github.com/hapijs/hapi/blob/dc2213c880f16ff6853eccc684782ec888326475/test/headers.js#L496-L514
- options are now optional
- new `format` option
- amend tests
- version bump
- maintainer added

kevva/resize-img@v1.1.2...v2.0.0

Thanks!
…ecmaVersion by @VitorLuizC

* fix(eslint): add 12 and 2021 to ParserOptions's ecmaVersion

* test(eslint): change one test to use new ecma version

* fix(eslint): execute prettier
* support package.patterns

* fix

* Update types/serverless/index.d.ts

Co-authored-by: Gareth Jones <Jones258@Gmail.com>

* Update types/serverless/plugins/aws/provider/awsProvider.d.ts

Co-authored-by: Gareth Jones <Jones258@Gmail.com>

* keep include and exclude in test

* Update types/serverless/index.d.ts

Co-authored-by: Gareth Jones <Jones258@Gmail.com>

Co-authored-by: Calle Kabo <calle@kabo.nu>
Co-authored-by: Gareth Jones <Jones258@Gmail.com>
…@KurtPreston

* [coinbase] Adding pagination, timestamp, and caFile params

* [coinbase] Add Resource references and trade type
* Add types for prismjs/components/

Also minimal types were added for `prismjs/components`, because it’s important one should use `prismjs/components/`
instead.

* Add new prism types files to tsconfig file list

* Reference prismjs files using OTHER_FILES.txt

* Remove prismjs OTHER_FILES.txt

* Restore OTHER_FILES.txt with components/index.d.ts
* Format with Prettier

No functional changes.

* Remove types for deprecated static server

Per karma-runner/karma@1a65bf1

* Update types to reflect new parse config behavior

Types to support new behavior are added and old behavior is marked as deprecated.

Per
- karma-runner/karma@9dba1e2
- karma-runner/karma@4c9097a

Fixes #52282

* Fix return type for the Server.prototype.start()

Per https://github.com/karma-runner/karma/blob/5176affc7d77ad57b49885b92fac7ff7cac0b669/lib/server.js#L139

* Add Server.prototype.stop() method

Per https://github.com/karma-runner/karma/blob/5176affc7d77ad57b49885b92fac7ff7cac0b669/lib/server.js#L474
…` by @peterblazejewicz

Fix longstanding problem:
nfl/react-helmet#578

- export state from Helmet as outcome of `peek` method
- remove bogus exports from module level for `peek`, `rewind` and
  `renderStatic`. Those do not exists at runtime or in native package
- remove DT problematic exclusions and update package
- drop 2.8 TS requirement (now uses defaults)

This specific detail was used to create the shape:
https://github.com/nfl/react-helmet/blob/master/src/HelmetUtils.js#L209
understanding same is being created by internal implementation.

Thanks!
Fixes #52290
Fixes nfl/react-helmet#578
…zejewicz

- add methods exported in module
- tests amended
- export as namespace (see global usage in project README)
- add maintainer

Thanks!
mahulett and others added 24 commits April 27, 2021 06:28
* Created type definitions for dns-packet

* Fix lint warnings

* lint

* Update author link

* Remove accidental license header
* fix: Define new json2xml package

* Update types/json2xml/index.d.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Update types/json2xml/json2xml-tests.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
* define easy-soap-request

* applied prettier

* remove unnecessary rule from tslint

* emoved @types/node from dependency

* Update types/easy-soap-request/index.d.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* fix export
remove rule from tslint

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
…davidmh

When a new channel subscription is created with custom methods in the
`CreateMixin`, those methods are available in the resulting channel.

This commit uses a generic to extend the `CreateMixin` and merge it with
the resulting `Channel`.

Doing this saves us from having to extend the `Channel` interface
manually.
…added in Nova 6 by @alex-ketch

* Add new showInputPalette option added in Nova 6

See https://nova.app/releases#v6

* Add tests for showInputPalette
….x (postcss 8.x) by @fvanderveen

API of this package hasn't changed, but the API of PostCSS 7.x => 8.x has,
making the current package no longer valid for postcss-safe-parser 5.0.x
when using PostCSS 8.x.

Co-authored-by: Fabian van der Veen <fabian.van.der.veen@mendix.com>


- add(src/plugin):
  - CursorPlugin
  - ElanPlugin
  - MarkersPlugin
  - MediaSessionPlugin
  - MicrophonePlugin
  - MinimapPlugin
  - RegionsPlugin
  - SpectogramPlugin
  - TimelinePlugin
- replace: WaveRenderer => MultiCanvas
- add: CanvasEntry, Drawer, PeakCache
- add: MediaElementWebAudio, MediaElement, WebAudio
- update: WaveSurferUtil
- run prettier
* chore: update zeromq types to 5.2

* chore(zeromq): exposed Socket.closed property

* fix(zeromq): support for TS 3.5

* chore(zeromq): added author

Co-authored-by: Nika Gogeshvili <segmfaultz@gmail.com>
Co-authored-by: Haring, Julius <julius.haring@umlaut.com>
@alecgibson

Since `sharedb/lib/sharedb` isn't a real module, importing types from
that module doesn't work correctly (which is presumably why all the
other classes are also re-exported).
* feat(carbon__elements): update g10 tokens

* feat(carbon__elements): update g100 tokens

* feat(carbon__elements): update g90 tokens

* feat(carbon__elements): update white tokens

* feat(carbon__elements): update v9 tokens

* test(carbon__elements): test new changes

* chore(carbon__elements): update version in header
…t resolves to same types as direct return value by @WesCossick

* Skip function can return Promise that resolves to same types

* Add test for listr

* Remove `void` from resolvable types

* Fix issues with type
@peterblazejewicz

Backward compatible change:
- configuration can be a hash or a list
- `defaultRender` alias exported
- tests amended
- maintainer added
- default DT format applied

https://github.com/crookedneighbor/markdown-it-link-attributes/blob/master/index.js

Thanks!
…cording to apple p… by @ONE001

* Make some braintree-web/apple-pay methods static according to apple pay docs

* Add some tests for ApplePaySession static methods

* Add missing argument to ApplePaySession.canMakePaymentsWithActiveCard

Co-authored-by: Maxim Karpinskiy <mkarpinskiy@tradingview.com>
… by @henrywarhurst

* Add itemData typing

* update test

* version back to 1.8

* Revert to old tests and use <T = any>

* Add v2 index.d.ts

* Update paths

* Remove v2 folder and put v2 tests into v1 test file

Co-authored-by: Henry Warhurst <hwarhurst@palantir.com>
* [page-flip] Create @types/page-flip

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] [Add or edit tests](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#my-package-teststs) to reflect the change.
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] [Run `npm test <package to test>`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#running-tests).

Select one of these and delete the others:

If adding a new definition:
- [x] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [x] If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
- [x] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [x] Represents shape of module/library [correctly](https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html)
- [x] `tslint.json` [should contain](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#linter-tslintjson) `{ "extends": "dtslint/dt.json" }`, and no additional rules.
- [x] `tsconfig.json` [should have](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#tsconfigjson) `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.

* Rename StPageFlip namepsace to St as suggested by @peterblazejewicz

Co-authored-by: Thibault-Pierre Gouin <lethyb@users.noreply.github.com>
@pull pull bot added the ⤵️ pull label Apr 29, 2021
@pull pull bot merged commit c934e63 into skyplaying:master Apr 29, 2021
pull bot pushed a commit that referenced this pull request Apr 29, 2021
…m subobject by @IvanGoncharov

* [faker]: Sync up arg types for system subobject

* add tests (#1)
pull bot pushed a commit that referenced this pull request May 11, 2021
…r uploaders by @pzingg

* phoenix_live_view v0.14.2

* Bump to 0.15.4, add uploaders option, UploadEntryInterface, LiveViewUploader… (#1)

* Bump to 0.15.4, add uploaders, UploadEntryInterface, LiveViewUploaderMeta

* Provide a URL for documentation

* phoenix_live_view: added tests and lint (#2)

* updated methods, closer type signatures

* lint and test

* reopen PR for phoenix_live_view 0.15
pull bot pushed a commit that referenced this pull request Aug 9, 2021
pull bot pushed a commit that referenced this pull request Sep 7, 2021
… types by @youngjuning

* feat(TimerPicker): add amText and pmText to TimerPicker (#1)

* feat(TimerPicker): add amText and pmText to TimerPicker

* fix(Notification): fix Notification

* chore: add DeprecatedNavigator

Co-authored-by: Zeng Beauty <2497752603@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.