-
-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add generic type annotations for Statement and Database get/all/each methods callback rows #1686
Merged
daniellockyer
merged 2 commits into
TryGhost:master
from
stevescruz:stevescruz/add-generic-type-definitions-for-callback-rows
Mar 13, 2023
Merged
Add generic type annotations for Statement and Database get/all/each methods callback rows #1686
daniellockyer
merged 2 commits into
TryGhost:master
from
stevescruz:stevescruz/add-generic-type-definitions-for-callback-rows
Mar 13, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ent methods -For get method callback's row -For all method callback's rows -For each method callback's row
…se methods -For get method callback's row -For all method callback's rows -For each method callback's row
stevescruz
changed the title
Add generic type definitions for Statement and Database get/all/each methods callback rows
Add generic type annotations for Statement and Database get/all/each methods callback rows
Feb 24, 2023
@daniellockyer thanks for running the CI pipeline. |
@stevescruz Nice, thanks! |
stevescruz
deleted the
stevescruz/add-generic-type-definitions-for-callback-rows
branch
March 22, 2023 06:48
xballoy
referenced
this pull request
in kumojin/extreme-carpaccio
Apr 17, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@formatjs/intl-numberformat](https://github.com/formatjs/formatjs) | [`8.3.5` -> `8.4.0`](https://renovatebot.com/diffs/npm/@formatjs%2fintl-numberformat/8.3.5/8.4.0) | [![age](https://badges.renovateapi.com/packages/npm/@formatjs%2fintl-numberformat/8.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@formatjs%2fintl-numberformat/8.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@formatjs%2fintl-numberformat/8.4.0/compatibility-slim/8.3.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@formatjs%2fintl-numberformat/8.4.0/confidence-slim/8.3.5)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`4.14.191` -> `4.14.194`](https://renovatebot.com/diffs/npm/@types%2flodash/4.14.191/4.14.194) | [![age](https://badges.renovateapi.com/packages/npm/@types%2flodash/4.14.194/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2flodash/4.14.194/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2flodash/4.14.194/compatibility-slim/4.14.191)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2flodash/4.14.194/confidence-slim/4.14.191)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.1` -> `18.15.11`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.1/18.15.11) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/compatibility-slim/18.15.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/confidence-slim/18.15.1)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.1` -> `18.15.11`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.1/18.15.11) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/compatibility-slim/18.15.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.15.11/confidence-slim/18.15.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.28` -> `18.0.35`](https://renovatebot.com/diffs/npm/@types%2freact/18.0.28/18.0.35) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/compatibility-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/confidence-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.28` -> `18.0.35`](https://renovatebot.com/diffs/npm/@types%2freact/18.0.28/18.0.35) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/compatibility-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.35/confidence-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [joi](https://github.com/hapijs/joi) | [`17.8.3` -> `17.9.1`](https://renovatebot.com/diffs/npm/joi/17.8.3/17.9.1) | [![age](https://badges.renovateapi.com/packages/npm/joi/17.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/joi/17.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/joi/17.9.1/compatibility-slim/17.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/joi/17.9.1/confidence-slim/17.8.3)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [node-mocks-http](https://github.com/howardabrams/node-mocks-http) | [`1.12.1` -> `1.12.2`](https://renovatebot.com/diffs/npm/node-mocks-http/1.12.1/1.12.2) | [![age](https://badges.renovateapi.com/packages/npm/node-mocks-http/1.12.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/node-mocks-http/1.12.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/node-mocks-http/1.12.2/compatibility-slim/1.12.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/node-mocks-http/1.12.2/confidence-slim/1.12.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`2.8.4` -> `2.8.7`](https://renovatebot.com/diffs/npm/prettier/2.8.4/2.8.7) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/compatibility-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/confidence-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [react-bootstrap](https://react-bootstrap.github.io/) ([source](https://github.com/react-bootstrap/react-bootstrap)) | [`2.7.2` -> `2.7.4`](https://renovatebot.com/diffs/npm/react-bootstrap/2.7.2/2.7.4) | [![age](https://badges.renovateapi.com/packages/npm/react-bootstrap/2.7.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/react-bootstrap/2.7.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/react-bootstrap/2.7.4/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/react-bootstrap/2.7.4/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [react-query](https://github.com/tannerlinsley/react-query) | [`3.39.3` -> `4.0.5`](https://renovatebot.com/diffs/npm/react-query/3.39.3/) | [![age](https://badges.renovateapi.com/packages/npm/react-query//age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/react-query//adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/react-query//compatibility-slim/3.39.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/react-query//confidence-slim/3.39.3)](https://docs.renovatebot.com/merge-confidence/) | dependencies | replacement | | [rimraf](https://github.com/isaacs/rimraf) | [`4.4.0` -> `5.0.0`](https://renovatebot.com/diffs/npm/rimraf/4.4.0/5.0.0) | [![age](https://badges.renovateapi.com/packages/npm/rimraf/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/rimraf/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/rimraf/5.0.0/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/rimraf/5.0.0/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | major | | [sqlite3](https://github.com/TryGhost/node-sqlite3) | [`5.1.4` -> `5.1.6`](https://renovatebot.com/diffs/npm/sqlite3/5.1.4/5.1.6) | [![age](https://badges.renovateapi.com/packages/npm/sqlite3/5.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/sqlite3/5.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/sqlite3/5.1.6/compatibility-slim/5.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/sqlite3/5.1.6/confidence-slim/5.1.4)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [tsup](https://tsup.egoist.dev/) ([source](https://github.com/egoist/tsup)) | [`6.6.3` -> `6.7.0`](https://renovatebot.com/diffs/npm/tsup/6.6.3/6.7.0) | [![age](https://badges.renovateapi.com/packages/npm/tsup/6.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/tsup/6.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/tsup/6.7.0/compatibility-slim/6.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/tsup/6.7.0/confidence-slim/6.6.3)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [turbo](https://turbo.build/repo) ([source](https://github.com/vercel/turbo)) | [`1.8.3` -> `1.9.1`](https://renovatebot.com/diffs/npm/turbo/1.8.3/1.9.1) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.9.1/compatibility-slim/1.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.9.1/confidence-slim/1.8.3)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`4.9.5` -> `5.0.4`](https://renovatebot.com/diffs/npm/typescript/4.9.5/5.0.4) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/compatibility-slim/4.9.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/confidence-slim/4.9.5)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | major | | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite)) | [`4.1.4` -> `4.2.1`](https://renovatebot.com/diffs/npm/vite/4.1.4/4.2.1) | [![age](https://badges.renovateapi.com/packages/npm/vite/4.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vite/4.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vite/4.2.1/compatibility-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vite/4.2.1/confidence-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | This is a special PR that replaces `react-query` with the community suggested minimal stable replacement version. --- ### Release Notes <details> <summary>formatjs/formatjs</summary> ### [`v8.4.0`](https://github.com/formatjs/formatjs/releases/tag/%40formatjs/intl-numberformat%408.4.0) [Compare Source](https://github.com/formatjs/formatjs/compare/@formatjs/intl-numberformat@8.3.5...@formatjs/intl-numberformat@8.4.0) ##### Features - upgrade TS support to v5 ([2c43dc1](https://github.com/formatjs/formatjs/commit/2c43dc1275d7ca940fae80419e3d6e4143bfbfef)) </details> <details> <summary>hapijs/joi</summary> ### [`v17.9.1`](https://github.com/hapijs/joi/compare/v17.9.0...v17.9.1) [Compare Source](https://github.com/hapijs/joi/compare/v17.9.0...v17.9.1) ### [`v17.9.0`](https://github.com/hapijs/joi/compare/v17.8.4...v17.9.0) [Compare Source](https://github.com/hapijs/joi/compare/v17.8.4...v17.9.0) ### [`v17.8.4`](https://github.com/hapijs/joi/compare/v17.8.3...v17.8.4) [Compare Source](https://github.com/hapijs/joi/compare/v17.8.3...v17.8.4) </details> <details> <summary>howardabrams/node-mocks-http</summary> ### [`v1.12.2`](https://github.com/howardabrams/node-mocks-http/blob/HEAD/HISTORY.md#v-1122) [Compare Source](https://github.com/howardabrams/node-mocks-http/compare/v1.12.1...v1.12.2) - 📦️ Upgrade [@​types/express](https://github.com/types/express) [Issue #​267][267]. - setHeader should return this [Issue #​268][268]. [267]: https://github.com/howardabrams/node-mocks-http/issues/267 [268]: https://github.com/howardabrams/node-mocks-http/issues/268 </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.7`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​287) [Compare Source](https://github.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://github.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#​14584](https://github.com/prettier/prettier/pull/14584) by [@​fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```ts // Input class A { @​decorator() get foo () {} @​decorator() set foo (value) {} } // Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 | > 5 | @​decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | } // Prettier 2.8.7 class A { @​decorator() get foo() {} @​decorator() set foo(value) {} } ``` ### [`v2.8.6`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​286) [Compare Source](https://github.com/prettier/prettier/compare/2.8.5...2.8.6) [diff](https://github.com/prettier/prettier/compare/2.8.5...2.8.6) ##### Allow decorators on private members and class expressions ([#​14548](https://github.com/prettier/prettier/pull/14548) by [@​fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```ts // Input class A { @​decorator() #privateMethod () {} } // Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { > 2 | @​decorator() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | } // Prettier 2.8.6 class A { @​decorator() #privateMethod() {} } ``` ### [`v2.8.5`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​285) [Compare Source](https://github.com/prettier/prettier/compare/2.8.4...2.8.5) [diff](https://github.com/prettier/prettier/compare/2.8.4...2.8.5) ##### Support TypeScript 5.0 ([#​14391](https://github.com/prettier/prettier/pull/14391) by [@​fisker](https://github.com/fisker), [#​13819](https://github.com/prettier/prettier/pull/13819) by [@​fisker](https://github.com/fisker), [@​sosukesuzuki](https://github.com/sosukesuzuki)) TypeScript 5.0 introduces two new syntactic features: - `const` modifiers for type parameters - `export type *` declarations ##### Add missing parentheses for decorator ([#​14393](https://github.com/prettier/prettier/pull/14393) by [@​fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```jsx // Input class Person { @​(myDecoratorArray[0]) greet() {} } // Prettier 2.8.4 class Person { @​myDecoratorArray[0] greet() {} } // Prettier 2.8.5 class Person { @​(myDecoratorArray[0]) greet() {} } ``` ##### Add parentheses for `TypeofTypeAnnotation` to improve readability ([#​14458](https://github.com/prettier/prettier/pull/14458) by [@​fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```tsx // Input type A = (typeof node.children)[]; // Prettier 2.8.4 type A = typeof node.children[]; // Prettier 2.8.5 type A = (typeof node.children)[]; ``` ##### Support `max_line_length=off` when parsing `.editorconfig` ([#​14516](https://github.com/prettier/prettier/pull/14516) by [@​josephfrazier](https://github.com/josephfrazier)) If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting, it will be interpreted as a `printWidth` of `Infinity` rather than being ignored (which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration). <!-- prettier-ignore --> ```html <!-- Input --> <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/> <!-- Prettier 2.8.4 --> <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />; <!-- Prettier 2.8.5 --> <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />; ``` </details> <details> <summary>react-bootstrap/react-bootstrap</summary> ### [`v2.7.4`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#​274-httpsgithubcomreact-bootstrapreact-bootstrapcomparev273v274-2023-04-15) [Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.3...v2.7.4) ##### Bug Fixes - downgrade uncontrollable to 7.2.1 ([#​6592](https://github.com/react-bootstrap/react-bootstrap/issues/6592)) ([3898c72](https://github.com/react-bootstrap/react-bootstrap/commit/3898c72a6a5e2f6012633e81d9d9f9052fc06dd2)) - update dependencies ([#​6587](https://github.com/react-bootstrap/react-bootstrap/issues/6587)) ([753dc53](https://github.com/react-bootstrap/react-bootstrap/commit/753dc53c822054fff286ed39feb7c9c38e38053b)) ### [`v2.7.3`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#​273-httpsgithubcomreact-bootstrapreact-bootstrapcomparev272v273-2023-04-12) [Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.2...v2.7.3) ##### Bug Fixes - **ToastContainer:** allow setting `containerPosition` without `position` ([#​6574](https://github.com/react-bootstrap/react-bootstrap/issues/6574)) ([41ec134](https://github.com/react-bootstrap/react-bootstrap/commit/41ec134dea072d1656e47f31cac217feb433f9fc)) - switch from defaultProps to JS default params ([#​6568](https://github.com/react-bootstrap/react-bootstrap/issues/6568)) ([1d5b726](https://github.com/react-bootstrap/react-bootstrap/commit/1d5b726de93ec52cd71b22048b5f92198e48db68)) </details> <details> <summary>isaacs/rimraf</summary> ### [`v5.0.0`](https://github.com/isaacs/rimraf/compare/v4.4.1...v5.0.0) [Compare Source](https://github.com/isaacs/rimraf/compare/v4.4.1...v5.0.0) ### [`v4.4.1`](https://github.com/isaacs/rimraf/compare/v4.4.0...v4.4.1) [Compare Source](https://github.com/isaacs/rimraf/compare/v4.4.0...v4.4.1) </details> <details> <summary>TryGhost/node-sqlite3</summary> ### [`v5.1.6`](https://github.com/TryGhost/node-sqlite3/releases/tag/v5.1.6) [Compare Source](https://github.com/TryGhost/node-sqlite3/compare/v5.1.5...v5.1.6) ##### What's Changed - Fixed glibc compatibility by hardcoding lower version for `log2` by [@​daniellockyer](https://github.com/daniellockyer) - Add generic type annotations for Statement and Database get/all/each methods callback rows by [@​stevescruz](https://github.com/stevescruz) in [https://github.com/TryGhost/node-sqlite3/pull/1686](https://github.com/TryGhost/node-sqlite3/pull/1686) ##### New Contributors - [@​stevescruz](https://github.com/stevescruz) made their first contribution in [https://github.com/TryGhost/node-sqlite3/pull/1686](https://github.com/TryGhost/node-sqlite3/pull/1686) **Full Changelog**: TryGhost/node-sqlite3@v5.1.5...v5.1.6 ### [`v5.1.5`](https://github.com/TryGhost/node-sqlite3/releases/tag/v5.1.5) [Compare Source](https://github.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5) ##### What's Changed - 🔒 Fixed code execution vulnerability due to Object coercion by [@​daniellockyer](https://github.com/daniellockyer) - Updated bundled SQLite to v3.41.1 by [@​daniellockyer](https://github.com/daniellockyer) - Fixed rpath linker option when using a custom sqlite by [@​jeromew](https://github.com/jeromew) in [https://github.com/TryGhost/node-sqlite3/pull/1654](https://github.com/TryGhost/node-sqlite3/pull/1654) **Full Changelog**: TryGhost/node-sqlite3@v5.1.4...v5.1.5 </details> <details> <summary>egoist/tsup</summary> ### [`v6.7.0`](https://github.com/egoist/tsup/releases/tag/v6.7.0) [Compare Source](https://github.com/egoist/tsup/compare/v6.6.3...v6.7.0) ##### Features - add function type for options.injectStyle ([#​855](https://github.com/egoist/tsup/issues/855)) ([01169b3](https://github.com/egoist/tsup/commit/01169b39756a26d84bd393e0f4c4a0c3bec922ca)) - support typescript 5.0 ([#​859](https://github.com/egoist/tsup/issues/859)) ([3e15867](https://github.com/egoist/tsup/commit/3e158674bdeb3d060404987e1b278fd7d21ccda1)) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.1`](https://github.com/vercel/turbo/releases/tag/v1.9.1): Turborepo v1.9.1 [Compare Source](https://github.com/vercel/turbo/compare/v1.9.0...v1.9.1) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.1 --> #### What's Changed ##### Changelog - Add more readme for integration tests by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4515](https://github.com/vercel/turbo/pull/4515) - Deprecate `THASH`. by [@​nathanhammond](https://github.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4526](https://github.com/vercel/turbo/pull/4526) - oldGlobalHash can be named by [@​nathanhammond](https://github.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4528](https://github.com/vercel/turbo/pull/4528) - feat(summary): add taskId to single package task by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4530](https://github.com/vercel/turbo/pull/4530) - Document --summarize flag and include in Troubleshooting doc by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4467](https://github.com/vercel/turbo/pull/4467) - feat(examples): update READMEs for create-turbo by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4451](https://github.com/vercel/turbo/pull/4451) - Documentation for Strict Environments by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4490](https://github.com/vercel/turbo/pull/4490) - chore(turborepo): Make rustls the default feature for turborepo-lib by [@​NicholasLYang](https://github.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4537](https://github.com/vercel/turbo/pull/4537) - fix(turborepo): SCM tests and renaming by [@​NicholasLYang](https://github.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4462](https://github.com/vercel/turbo/pull/4462) - Update data sent to vercel for runs by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4495](https://github.com/vercel/turbo/pull/4495) - Gather Run Summary even when tasks fail by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4524](https://github.com/vercel/turbo/pull/4524) - Update old testbed make target to fixture- for new fixtures layout by [@​gsoltis](https://github.com/gsoltis) in [https://github.com/vercel/turbo/pull/4538](https://github.com/vercel/turbo/pull/4538) - Use both key and version when sorting lockfile entries by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4541](https://github.com/vercel/turbo/pull/4541) - Save task duration correctly by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4540](https://github.com/vercel/turbo/pull/4540) **Full Changelog**: vercel/turborepo@v1.9.0...v1.9.1 ### [`v1.9.0`](https://github.com/vercel/turbo/releases/tag/v1.9.0): Turborepo v1.9.0 [Compare Source](https://github.com/vercel/turbo/compare/v1.8.8...v1.9.0) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.0 --> #### What's Changed ##### Changelog - Log the location of the summary file in the execution summary by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4385](https://github.com/vercel/turbo/pull/4385) - Remove unused params in real run functions by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4402](https://github.com/vercel/turbo/pull/4402) - Refactor Dry Run so that output is printed by Run Summaries by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4403](https://github.com/vercel/turbo/pull/4403) - Make Run Summaries work for Single Package repos by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4387](https://github.com/vercel/turbo/pull/4387) - Add cache state to task summaries on real runs (2nd try) by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4393](https://github.com/vercel/turbo/pull/4393) - Remove executionSummary from dry run json by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4394](https://github.com/vercel/turbo/pull/4394) - chore(deps): update dependency nodemon to v2.0.22 by [@​renovate](https://github.com/renovate) in [https://github.com/vercel/turbo/pull/4201](https://github.com/vercel/turbo/pull/4201) - Account for canary versions in integration test for run summary by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4413](https://github.com/vercel/turbo/pull/4413) - fix: use signal handler in shim by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4313](https://github.com/vercel/turbo/pull/4313) - fix: delete libgit2 by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4419](https://github.com/vercel/turbo/pull/4419) - Make --summarize flag to work without a value by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4375](https://github.com/vercel/turbo/pull/4375) - Enable the summarize flag in help output by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4418](https://github.com/vercel/turbo/pull/4418) - fix: update example lockfiles by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4321](https://github.com/vercel/turbo/pull/4321) - feature(turborepo): `-F` as filter shorthand by [@​NicholasLYang](https://github.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4422](https://github.com/vercel/turbo/pull/4422) - chore: removing signal forwarding test by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4436](https://github.com/vercel/turbo/pull/4436) - chore(deps): update yarn to v1.22.19 by [@​renovate](https://github.com/renovate) in [https://github.com/vercel/turbo/pull/4404](https://github.com/vercel/turbo/pull/4404) - Polish the shape of the Run Summary JSON by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4421](https://github.com/vercel/turbo/pull/4421) - Add sub-package info to environment-variables.mdx by [@​ozum](https://github.com/ozum) in [https://github.com/vercel/turbo/pull/4406](https://github.com/vercel/turbo/pull/4406) - feat(create-turbo): support examples by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4398](https://github.com/vercel/turbo/pull/4398) - Add a debugging section in our docs by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4423](https://github.com/vercel/turbo/pull/4423) - chore(version): bump canary version by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4453](https://github.com/vercel/turbo/pull/4453) - fix(lockfile): correct lockfile version by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4461](https://github.com/vercel/turbo/pull/4461) - fix(deps): update dependency got to v11 \[security] by [@​renovate](https://github.com/renovate) in [https://github.com/vercel/turbo/pull/4457](https://github.com/vercel/turbo/pull/4457) - Fix typos in example tsconfig' readme by [@​FranciscoMoretti](https://github.com/FranciscoMoretti) in [https://github.com/vercel/turbo/pull/4486](https://github.com/vercel/turbo/pull/4486) - chore: pipe through root package json to lockfile parsing by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4437](https://github.com/vercel/turbo/pull/4437) - chore: Remove release flag from turborepo-ffi build by [@​NicholasLYang](https://github.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4478](https://github.com/vercel/turbo/pull/4478) - Strict Environment Handling by [@​nathanhammond](https://github.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4449](https://github.com/vercel/turbo/pull/4449) - chore: update `with-tailwind` example by [@​Chia1104](https://github.com/Chia1104) in [https://github.com/vercel/turbo/pull/4379](https://github.com/vercel/turbo/pull/4379) - ci: Stop building Go code twice by [@​NicholasLYang](https://github.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4501](https://github.com/vercel/turbo/pull/4501) - Remove unused constant by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4502](https://github.com/vercel/turbo/pull/4502) - Improve integration test setup by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4512](https://github.com/vercel/turbo/pull/4512) - fix(examples): with-rollup by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4514](https://github.com/vercel/turbo/pull/4514) - Fix Missing packages key when there are no changes in a monorepo by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4518](https://github.com/vercel/turbo/pull/4518) - fix: use ordered data structure for npm lockfile by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4516](https://github.com/vercel/turbo/pull/4516) #### New Contributors - [@​ozum](https://github.com/ozum) made their first contribution in [https://github.com/vercel/turbo/pull/4406](https://github.com/vercel/turbo/pull/4406) - [@​FranciscoMoretti](https://github.com/FranciscoMoretti) made their first contribution in [https://github.com/vercel/turbo/pull/4486](https://github.com/vercel/turbo/pull/4486) - [@​Chia1104](https://github.com/Chia1104) made their first contribution in [https://github.com/vercel/turbo/pull/4379](https://github.com/vercel/turbo/pull/4379) - [@​cursecodes](https://github.com/cursecodes) made their first contribution in [https://github.com/vercel/turbo/pull/4427](https://github.com/vercel/turbo/pull/4427) **Full Changelog**: vercel/turborepo@v1.8.8...v1.9.0 ### [`v1.8.8`](https://github.com/vercel/turbo/releases/tag/v1.8.8): Turborepo v1.8.8 [Compare Source](https://github.com/vercel/turbo/compare/v1.8.7...v1.8.8) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.8.8 --> #### What's Changed ##### Changelog - feat(place patches in json folder when pruning for docker) by [@​chris-olszewski](https://github.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4318](https://github.com/vercel/turbo/pull/4318) - chore(deps): update dependency tsx to v3.12.6 by [@​renovate](https://github.com/renovate) in [https://github.com/vercel/turbo/pull/4328](https://github.com/vercel/turbo/pull/4328) - Make attempted include tasks that started but didn't finish by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4378](https://github.com/vercel/turbo/pull/4378) - Revert "Add cache state to task summaries on real runs" by [@​tknickman](https://github.com/tknickman) in [https://github.com/vercel/turbo/pull/4390](https://github.com/vercel/turbo/pull/4390) **Full Changelog**: vercel/turborepo@v1.8.7...v1.8.8 ### [`v1.8.7`](https://github.com/vercel/turbo/releases/tag/v1.8.7): Turborepo v1.8.7 [Compare Source](https://github.com/vercel/turbo/compare/v1.8.6...v1.8.7) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.8.7 --> #### What's Changed ##### Changelog - Add cache state to task summaries on real runs by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4225](https://github.com/vercel/turbo/pull/4225) - Update Done payload for Vercel Runs by [@​mehulkar](https://github.com/mehulkar) in [https://github.com/vercel/turbo/pull/4371](https://github.com/vercel/turbo/pull/4371) - move env var handling into rust and expose summarize env as a command by [@​arlyon](https://github.com/arlyon) in [https://github.com/vercel/turbo/pull/4364](https://github.com/vercel/turbo/pull/4364) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.8.6. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/kumojin/extreme-carpaccio). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuNDguMiJ9-->
This was referenced Sep 27, 2024
This was referenced Oct 3, 2024
This was referenced Oct 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Small change, but some developers enjoy working with generics over the
any
type when using TypeScript.Added Generics type annotations for the following methods:
Statement.get
Statement.all
Statement.each
Database.get
Database.all
Database.each
Backwards Compatibility
This will not break existing TypeScript code. It will still be possible to directly add type annotations to the row/rows.
Examples:
Take into consideration the following TypeScript code:
How type annotations currently works:
NOTE: this will still work after the code changes.
Now you will be able to: