Commit Graph

82759 Commits

Author SHA1 Message Date
Dimitri B
5c2ad8fe5d 🤖 Merge PR #63829 [fs-extra] Update to v11 by @BendingBender 2023-01-08 15:59:08 -08:00
Yusuke Fujiki
dc1784ba8c 🤖 Merge PR #63846 [node-fetch-cache] Add types by @fujikky 2023-01-08 14:34:38 -08:00
Rajas Paranjpe
7213a3bff8 🤖 Merge PR #63839 [@selrond/knit] Added definitions by @ChocolateLoverRaj
* [@selrond/knit] Added definitions

* [@selrond/knit] Knit is actually a named export

* Update types/selrond__knit/selrond__knit-tests.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Add `paths` for `@selrond/*`

* Use named import

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2023-01-08 10:11:06 -08:00
Nexfader
fa1941eec2 🤖 Merge PR #63838 [yandex-maps] Add geolocation typings by @Nexfader 2023-01-07 09:23:53 -08:00
涛之雨
d52402196e 🤖 Merge PR #63836 [tampermonkey] add interface of window.onurlchange by @taozhiyu
* add interface of window.onurlchange

It seems that the previously committed code was not formatted with the `npm run prettier -- --write path/to/package/**/*.ts` directive

* fix space-before-function-paren

* add addEventListener override
2023-01-07 09:11:43 -08:00
tburduhos
e0adc649d7 🤖 Merge PR #63830 [graphql-upload] missing declare statement by @tburduhos 2023-01-07 03:14:10 -08:00
Jan Aagaard Meier
f27752ff52 🤖 Merge PR #62160 change(passport-local): Strongly type user as Express.User in done callback by @janmeier 2023-01-07 01:54:12 -08:00
Tristan F
dde03dfb4f 🤖 Merge PR #63825 [add] Add typings for add npm package by @LeoDog896
* [add] Add typings

* Change arrays to readonly

* Use = instead of default for export

* Properly export default function using namespaces
2023-01-06 14:12:15 -08:00
Wesley Reed
4a318f6258 🤖 Merge PR #63828 Added types for npm unpaginated by @reediculous456
Co-authored-by: Wes Reed <reedws@ucmail.uc.edu>
2023-01-06 14:10:09 -08:00
John Wright
d614493af9 🤖 Merge PR #63819 Add types for the Google Funding Choices JavaScript API by @johngeorgewright
Add types for the Google Funding Choices JavaScript API.

https://developers.google.com/funding-choices
2023-01-06 13:10:06 -08:00
Warizz Yutanan
512a2c28ee 🤖 Merge PR #63808 [@type/react-syntax-highlighter] add missing one-dark/one-light styles in cjs/styles/prism by @warizz 2023-01-05 15:24:28 -08:00
Krystan HuffMenne
75c4ee2f1e 🤖 Merge PR #63805 Add types to @types/qunit that are needed for ember-qunit by @gitKrystan
* Add optional stack to pushResult

* Add QUnit.config.timeout type

* Add QUnit.urlParams type

* Make testTimeout optional

* Add Module and Test types

* Remove notes

* Better types for exactOptionalPropertyTypes for pushResult

* Remove private QUnit.Config.timeout
2023-01-05 11:41:38 -08:00
rxliuli
a9f480c82b 🤖 Merge PR #63631 add type swagger2openapi by @rxliuli
* add type swagger2openapi

* feat: add export convert, convertObj, convertUrl, convertStr, convertFile, convertStream

* test: fix type unit test

* fix lint error

* fix lint error of array type

* update tab to space

* Update types/swagger2openapi/index.d.ts

it will prompt error

Declaration or statement expected.ts(1128)

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* fix suggesteds

* fix error

* Update types/swagger2openapi/package.json

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* add default import test

* fix no-duplicate-imports

* chore: add comment

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2023-01-04 15:46:08 -08:00
ciaran1344
57e6773b0b 🤖 Merge PR #63801 [parse-decimal-number] Add types by @ciaran1344
* [parse-decimal-number] Add types

* [parse-decimal-number] Add types using namespaces
2023-01-04 15:35:38 -08:00
Alex Jerabek
a79ac14faa 🤖 Merge PR #63745 [office-js, office-js-preview] Documenting the error code generated when the RoamingSettings size limit is exceeded by @AlexJerabek 2023-01-04 13:31:14 -08:00
Julian Boilen
c6816977a1 🤖 Merge PR #63803 [aws-synthetics-puppeteer] Specify return type of executeStep using generics (2) by @jboolean
* Specify return type of executeStep using generics

It is not `any` - it returns the result of the passed function

Also copy the offical docs into the docstring.

* Prettier

Co-authored-by: Julian Boilen <jboilen@stripe.com>
2023-01-04 11:28:27 -08:00
Nick Saunders
3b1b357f9a 🤖 Merge PR #63800 [postcss-prefix-keyframe] Add types by @nsaunders 2023-01-04 11:18:29 -08:00
Nick Saunders
394cb29977 🤖 Merge PR #63802 [postcss-prefixer] Add types by @nsaunders 2023-01-04 11:17:56 -08:00
Chris. Webster
be8601c032 🤖 Merge PR #63576 html-to-text v9 support by @webstech
Update to v9.0.2

Removing deprecated options and adding support for building lists.
Test driver updated for code coverage.

formatter.d.ts is removed.  See test driver for sample use of
`options.formatters`.

Signed-off-by: Chris. Webster <chris@webstech.net>

Signed-off-by: Chris. Webster <chris@webstech.net>
2023-01-04 09:25:04 -08:00
Manuel Guilbault
7135ebcee5 🤖 Merge PR #63790 Upgrading ftps to 1.2.0 by @manuel-guilbault
Co-authored-by: Manuel Guilbault <manuel@octolis.com>
2023-01-03 23:54:24 -08:00
Charles Francoise
65c5373387 🤖 Merge PR #63678 [yargs] support generics for command middlewares by @loderunner
* add generic support to command middlewares

* fix array notation

* add tests

* add type assertion

* more type assertions

* use ArgumentsCamelCase

* better type assertions

* fix tests

* simplify array type

* Revert "simplify array type"

This reverts commit 8e592a466d319c5aee741643038e23664dde558a.
2023-01-03 14:56:11 -08:00
Josh
670d2a1345 🤖 Merge PR #63787 [three]: r148 by @joshuaellis
* [three] – r129

* fix: export MathUtils under namespace in index

* fix: export Pass and FullScreenQuad from EffectComposer

* fix: use long export method to avoid ts bump

* r130

* feat: minor amends to r130

* [three] r131

* feat: add static slerp to Quaternion

* chore: update OTHER_FILES.txt

* chore: incl WebGLCubeUVMaps in exports

* minor fixes to current release

* [three]: r132 release

* three: r133

* Update OTHER_FILES.txt

* Update OTHER_FILES.txt

* Update OTHER_FILES.txt

* Update ArcballControls.d.ts

* feat: add default to `Intersection` generic

* chore: add test

* r134

* r135

* fix: tslint

* r136

* fix: export FramebufferTexture from THREE

* [three] r137

* [three] r138

* fix stupid OSS bot rule

* [three] r139

* Update types/three/examples/jsm/exporters/EXRExporter.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* r140

* fix: add es2015.generator to aframe config

* fix: SavePass constructor

* [three] r141

* fix: webxr import

* [three]: r142

* [three] r143

* feat: add nodes

* [three] r144

* chore: remove unused file

* [three]: r145

* [three]: r146

* feat: r147

* chore: r147 fixes

* r148

* fix: use eslint-disable

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2023-01-03 14:07:16 -08:00
David Bétrémieux
7821992fa9 🤖 Merge PR #63781 [maildev] fix: name of the function to stop the server by @davbtmx 2023-01-03 13:20:29 -08:00
Kyle Milloy
bff1f4058e 🤖 Merge PR #63774 [laravel-vapor] add withBaseAssetUrl declaration for vite support in v0.6.0 by @kylemilloy
* add `withBaseAssetUrl` declaration

* Update types/laravel-vapor/index.d.ts

Co-authored-by: saibotk <git@saibotk.de>

Co-authored-by: saibotk <git@saibotk.de>
2023-01-03 13:17:27 -08:00
Panagiotis Skordilakis
4aa9de6b65 🤖 Merge PR #63714 [google.accounts] add click_listener to GsiButtonConfiguration by @pskordilakis 2023-01-03 02:14:45 -08:00
Nivaldo Farias
1dcd97e06e 🤖 Merge PR #63682 remove multiple workbox-_ DT packages, resolve versions mismatch by @NivaldoFarias
* chore[next-pwa]: resolve `workbox-build` types package versions mismatch

* chore[next-pwa]: add tests to check type `WebpackConfigOptions`

* chore[next-pwa]: remove `@types/workbox-build` in favour of package types bundle

* fix[next-pwa]: bump minimum Typescript version from `4.6` to `4.9`

* chore[next-pwa]: revert minimin ts version to `4.5`

* fix[next-pwa]: remove stale `workbox-_` DT packages

* deps: remove multiple `workbox-_` DT packages

* deps: remove even MORE `workbox-_` DT packages

* Revert "fix[next-pwa]: remove stale `workbox-_` DT packages"

This reverts commit eb0d61a97b08d2d26cf73dea48824877cc077cde.

* Revert "deps: remove multiple `workbox-_` DT packages"

This reverts commit 9bcdc74673e3652e54686e335e9da87820849b40.

* Revert "deps: remove even MORE `workbox-_` DT packages"

This reverts commit 196038096a43a6e4e1b9a69cedc7d21091c85690.

* revert: remove `workbox-sw` from not-needed packages file

* fix[customize-cra]: add module interop flag; add  lib

* deps[workbox-sw]: add workbox packages to `packages.json`

* chore[workbox-sw]: add tests

* chore: use `@types/` deps to refer to old DT packages types

* chore: remove `esModuleInterop` flag

* chore[customize-cra]: remove `webworker` lib

* fix: correct import statements
2023-01-02 12:15:03 -08:00
Adnan Haque
dc9b44bf72 🤖 Merge PR #63749 [css-tree] Update Url type by @eAdnan007
* Update Url type

The type was [changed in 2.0.0](https://github.com/csstree/csstree/blob/master/CHANGELOG.md#:~:text=Changed%20Url%20node%20type%20to%20store%20decoded%20url%20value%20as%20a%20string%20instead%20of%20String%20or%20Raw%20node%2C%20i.e.%20with%20no%20quotes%2C%20escape%20sequences%20and%20url()%20wrapper).

> Changed `Url` node type to store decoded url value as a `string` instead of `String` or `Raw` node, i.e. with no quotes, escape sequences and `url()` wrapper

* Update tests
2023-01-02 02:23:08 -08:00
TypeScript Bot
47a3465f27 🤖 Update CODEOWNERS 2023-01-02 08:12:40 +00:00
martin-badin
5bb07fc4b0 🤖 Merge PR #63556 [ckeditor__ckeditor5-list] Add DocumentList and DocumentListProperties type definition by @martin-badin
* [ckeditor__ckeditor5-list] Add DocumentList and DocumentListProperties type definition

* remove JSDoc

* fix build

* export DocumentListPropertiesEditing

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-01-01 10:35:54 -08:00
martin-badin
6b2a222fcb 🤖 Merge PR #63604 [hapi__h2o2] Upgrade type definition, add missing options, remove tslint rules by @martin-badin 2023-01-01 09:47:34 -08:00
martin-badin
d22d7b37e4 🤖 Merge PR #63703 [musickit] Update PlaybackStates enum by @martin-badin 2023-01-01 09:47:11 -08:00
Dimitri B
6edd8ad495 🤖 Merge PR #63765 [node-hashring] Add types by @BendingBender 2023-01-01 07:58:24 -08:00
Florian Imdahl
fe095c0bae 🤖 Merge PR #63640 [npm-packlist] update to 7.0 by @ffflorian
Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2022-12-31 10:41:24 -08:00
Adam Kwiatek
ecf2e4811d 🤖 Merge PR #63711 [sharp] Add options for sharp v0.31.3 by @akwiatek
* [sharp] Add options for sharp v0.31.3

* [sharp] Add options for sharp from before v0.31.0
2022-12-31 08:30:31 -08:00
Nicolas Le Cam
98c87a4104 🤖 Merge PR #63770 [luxon] Update to 3.2, improve docstrings by @KuSh
* luxon: Add Interval.toLocaleString()

* luxon: Clarify equality docstring

* luxon: Update Interval docstring

* luxon: Bump version to 3.2
2022-12-31 08:16:33 -08:00
Mohammadreza Deljavan
da74b82c75 🤖 Merge PR #63751 fix and add some missing types in leaflet-draw package by @mdeljavan
Co-authored-by: m.deljavan <deljavan@inside.sahab.ir>
2022-12-31 04:08:06 -08:00
Priyansh Garg
57027e4fe1 🤖 Merge PR #63762 [nightwatchjs] Fix types of mobile-related commands. by @garg3133 2022-12-31 02:49:05 -08:00
Nathan Shively-Sanders
ffec69009a 3 small fixes to the recent tslint->eslint conversion (#63768)
1. wrong tslint syntax in a couple of manual fixups.
2. missed conversion in one file (possibly new in the last two days? I
haven't checked).
Thanks to @sandersn
2022-12-31 10:59:07 +01:00
Nathan Shively-Sanders
0e5df2fa47 Exempt typosquatted packages from npm-naming (#63767)
A npm user named 0xd0ff7 is typosquatting some DT packages that
previously had no npm equivalents. They've typosquatted a few others
over the last few months as well. These packages don't do anything
right now.

For DT, I'm exempting these packages from npm-naming. I'll see if I can
get npm to do anything about the typosquatting in general.
2022-12-30 15:02:48 -08:00
Nathan Shively-Sanders
5a9a8169b8 Convert eslint rules 2022 12 28 (#63761)
* Convert no-any-union tslint->eslint

* Convert prefer-declare-function tslint->eslint

* Convert no-unnecessary-generics tslint->eslint

* Clean up function types missed by old prefer-declare-function

* remove unneeded tsconfig file
2022-12-30 14:44:49 -08:00
Martijn van der Ven
2b63ccf0c8 🤖 Merge PR #63760 [seedrandom] do not show nonexistent properties (quick and state) by @Zegnat
* [seedrandom] quick is not a PRNG

* [seedrandom] state is not always defined on the PRNG
2022-12-30 12:19:52 -08:00
Hafiz
435a2afd2f 🤖 Merge PR #63720 [Gestalt]: version 85.1 by @zifahm
* [Gestalt]: version 85.1

* fix icons

* minor update

* test fail fix

* missing dismiss button

* changed device type
2022-12-29 22:50:10 -08:00
Trim21
508a61dd60 🤖 Merge PR #63627 ws: WebSocket.send only support string or buffer like data by @trim21
* send should only support buffer or string or object with Buffer.from(obj)

* fix test

* remove empty line

* add url ref in source

* expect-error in tests

* try fix test

* lint error

* revert style change

* fix test

* use global Buffer

* Update types/ws/index.d.ts

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* apply code review, fix missing type

* update

* revert unexpected committed code

* missing DataView

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2022-12-29 16:09:10 -08:00
Arthur
08f376c883 🤖 Merge PR #63756 [memjs] fix: correct get Promise return type to include null by @PartyLich
The Promise style signature for the client get method is a direct
Promisification of the callback signature. As such, it may return the
same types as the callback (Buffer | null).
2022-12-29 15:52:58 -08:00
Marek Dědič
71f3fe2c3f Updated wordpress__edit-post to 7.0 (#63670) 2022-12-29 14:50:39 -08:00
Matt N
e6a6d2b646 [selenium-webdriver] Allow .wait to pass polling duration (part 2) (#63653) 2022-12-29 11:31:31 -08:00
ciffelia
8ec9346d9a yargs: fix error on choices used together with array (#63415)
* yargs: format InferredOptionTypeInner

* yargs: fix error on choices used together with array
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/63205#issuecomment-1328424836

* yargs: add tests
2022-12-29 11:18:27 -08:00
Donathan Queiros
d71bdacee4 Update index.d.ts (#63662)
b2ContentDisposition is optional now https://www.backblaze.com/b2/docs/b2_download_file_by_name.html
2022-12-29 11:15:43 -08:00
Josh
44c1ec2a1d [three]: r147 (#63676)
* [three] – r129

* fix: export MathUtils under namespace in index

* fix: export Pass and FullScreenQuad from EffectComposer

* fix: use long export method to avoid ts bump

* r130

* feat: minor amends to r130

* [three] r131

* feat: add static slerp to Quaternion

* chore: update OTHER_FILES.txt

* chore: incl WebGLCubeUVMaps in exports

* minor fixes to current release

* [three]: r132 release

* three: r133

* Update OTHER_FILES.txt

* Update OTHER_FILES.txt

* Update OTHER_FILES.txt

* Update ArcballControls.d.ts

* feat: add default to `Intersection` generic

* chore: add test

* r134

* r135

* fix: tslint

* r136

* fix: export FramebufferTexture from THREE

* [three] r137

* [three] r138

* fix stupid OSS bot rule

* [three] r139

* Update types/three/examples/jsm/exporters/EXRExporter.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* r140

* fix: add es2015.generator to aframe config

* fix: SavePass constructor

* [three] r141

* fix: webxr import

* [three]: r142

* [three] r143

* feat: add nodes

* [three] r144

* chore: remove unused file

* [three]: r145

* [three]: r146

* feat: r147

* chore: r147 fixes

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2022-12-29 11:12:56 -08:00
Daniel L. Iser
acfd64b714 Fix wordpress__components & wordpress__compose type mismatch after change to React v18 (#63716)
* Update to work for React 18

* Update deps to work now required React 18

* Add missing dependencies

* Remove @types packages

* Update version to match @wordpress/components

* Update version for breaking changes
2022-12-29 11:09:27 -08:00