Skip to content

Conversation

@andrewbranch
Copy link
Member

Fixes regression from #201

"module": {
"types": "./tslib.d.ts",
"default": "./tslib.es6.js"
"types": "./tslib/modules/index.d.ts",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where it would be great if we could say "types": "./tslib.d.ts?type=module"

This is a little bit of a lie but I don’t think it matters, for now 🤔 The most correct thing would be to fully duplicate tslib.d.ts to tslib.d.mts.

@andrewbranch andrewbranch merged commit a471c51 into main Jun 2, 2023
@andrewbranch andrewbranch deleted the moar-modules branch June 2, 2023 16:30
"types": "./tslib.d.ts",
"default": "./tslib.es6.js"
"types": "./modules/index.d.ts",
"default": "./tslib.es6.mjs"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test for a runtime whose conditions actually load this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vite and webpack-5 in the test directory should; possibly others

renovate bot referenced this pull request in valora-inc/wallet Jun 7, 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 |
|---|---|---|---|---|---|
| [tslib](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/tslib)) | [`^2.4.1` ->
`^2.5.3`](https://renovatebot.com/diffs/npm/tslib/2.5.0/2.5.3) |
[![age](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Microsoft/tslib</summary>

###
[`v2.5.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.5.3):
tslib 2.5.3

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.2...v2.5.3)

#### What's Changed

- Do not reference tslib.es6.js from package.json exports by
[@&#8203;andrewbranch](https://togithub.com/andrewbranch) in
[https://github.com/microsoft/tslib/pull/208](https://togithub.com/microsoft/tslib/pull/208)

**Full Changelog**:
microsoft/tslib@2.5.2...v2.5.3

### [`v2.5.2`](https://togithub.com/microsoft/tslib/releases/tag/2.5.2):
tslib 2.5.2

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.1...2.5.2)

This release [explicitly re-exports
helpers](https://togithub.com/microsoft/tslib/pull/204) to work around
TypeScript's incomplete symbol resolution for tslib.

### [`v2.5.1`](https://togithub.com/microsoft/tslib/releases/tag/2.5.1):
tslib 2.5.1

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.0...2.5.1)

This release of tslib provides fixes for two issues.

First, [it reverses the order of `init` hooks provided by
decorators](https://togithub.com/microsoft/tslib/pull/202) to correctly
reflect proposed behavior.

Second, it [corrects the `exports` field of tslib's `package.json` and
provides accurate declaration
files](https://togithub.com/microsoft/tslib/pull/202) so that it may be
consumed under the `node16` and `bundler` settings for
`moduleResolution.`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- 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/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Jun 7, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tslib](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/tslib)) | dependencies | patch | [`2.5.2` -> `2.5.3`](https://renovatebot.com/diffs/npm/tslib/2.5.2/2.5.3) |

---

### Release Notes

<details>
<summary>Microsoft/tslib</summary>

### [`v2.5.3`](https://github.com/microsoft/tslib/releases/tag/v2.5.3): tslib 2.5.3

[Compare Source](microsoft/tslib@2.5.2...v2.5.3)

#### What's Changed

-   Do not reference tslib.es6.js from package.json exports by [@&#8203;andrewbranch](https://github.com/andrewbranch) in microsoft/tslib#208

**Full Changelog**: microsoft/tslib@2.5.2...v2.5.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTMuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMy4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->

Co-authored-by: cabr2-bot <[email protected]>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1921
Reviewed-by: Epsilon_02 <[email protected]>
Co-authored-by: Calciumdibromid Bot <[email protected]>
Co-committed-by: Calciumdibromid Bot <[email protected]>
github-merge-queue bot referenced this pull request in PixelPizza/OurTube Jun 10, 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 |
|---|---|---|---|---|---|
| [@commitlint/config-angular](https://commitlint.js.org/)
([source](https://togithub.com/conventional-changelog/commitlint)) |
[`17.6.3` ->
`17.6.5`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-angular/17.6.3/17.6.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@commitlint%2fconfig-angular/17.6.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@commitlint%2fconfig-angular/17.6.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@commitlint%2fconfig-angular/17.6.5/compatibility-slim/17.6.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@commitlint%2fconfig-angular/17.6.5/confidence-slim/17.6.3)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@kaname-png/plugin-statcord](https://togithub.com/kaname-png/neko-plugins/tree/main/packages/statcord)
([source](https://togithub.com/kaname-png/neko-plugins)) | [`^2.1.10` ->
`^2.1.12`](https://renovatebot.com/diffs/npm/@kaname-png%2fplugin-statcord/2.1.10/2.1.12)
|
[![age](https://badges.renovateapi.com/packages/npm/@kaname-png%2fplugin-statcord/2.1.12/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@kaname-png%2fplugin-statcord/2.1.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@kaname-png%2fplugin-statcord/2.1.12/compatibility-slim/2.1.10)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@kaname-png%2fplugin-statcord/2.1.12/confidence-slim/2.1.10)](https://docs.renovatebot.com/merge-confidence/)
|
| [@prisma/client](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma)) | [`^4.14.1` ->
`^4.15.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/4.14.1/4.15.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.15.0/compatibility-slim/4.14.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.15.0/confidence-slim/4.14.1)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/eslint](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`8.40.0` ->
`8.40.1`](https://renovatebot.com/diffs/npm/@types%2feslint/8.40.0/8.40.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.40.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.40.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.40.1/compatibility-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.40.1/confidence-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`18.16.16` ->
`18.16.17`](https://renovatebot.com/diffs/npm/@types%2fnode/18.16.16/18.16.17)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/compatibility-slim/18.16.16)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/confidence-slim/18.16.16)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/prettier](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`2.7.2` ->
`2.7.3`](https://renovatebot.com/diffs/npm/@types%2fprettier/2.7.2/2.7.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fprettier/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fprettier/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fprettier/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fprettier/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.7` ->
`5.59.9`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.59.7/5.59.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/compatibility-slim/5.59.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/confidence-slim/5.59.7)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.7` ->
`5.59.9`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.59.7/5.59.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/compatibility-slim/5.59.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/confidence-slim/5.59.7)](https://docs.renovatebot.com/merge-confidence/)
|
| [dotenv](https://togithub.com/motdotla/dotenv) | [`^16.0.3` ->
`^16.1.4`](https://renovatebot.com/diffs/npm/dotenv/16.0.3/16.1.4) |
[![age](https://badges.renovateapi.com/packages/npm/dotenv/16.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/dotenv/16.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/dotenv/16.1.4/compatibility-slim/16.0.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/dotenv/16.1.4/confidence-slim/16.0.3)](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.41.0` ->
`8.42.0`](https://renovatebot.com/diffs/npm/eslint/8.41.0/8.42.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/compatibility-slim/8.41.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/confidence-slim/8.41.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [prisma](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma)) | [`4.14.1` ->
`4.15.0`](https://renovatebot.com/diffs/npm/prisma/4.14.1/4.15.0) |
[![age](https://badges.renovateapi.com/packages/npm/prisma/4.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/prisma/4.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/prisma/4.15.0/compatibility-slim/4.14.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/prisma/4.15.0/confidence-slim/4.14.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [tslib](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/tslib)) | [`^2.5.2` ->
`^2.5.3`](https://renovatebot.com/diffs/npm/tslib/2.5.2/2.5.3) |
[![age](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/compatibility-slim/2.5.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tslib/2.5.3/confidence-slim/2.5.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [yarn](https://togithub.com/yarnpkg/berry) | [`3.5.1` ->
`3.6.0`](https://renovatebot.com/diffs/npm/yarn/3.5.1/3.6.0) |
[![age](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/compatibility-slim/3.5.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.6.0/confidence-slim/3.5.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint</summary>

###
[`v17.6.5`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@&#8203;commitlint/config-angular/CHANGELOG.md#&#8203;1765-httpsgithubcomconventional-changelogcommitlintcomparev1764v1765-2023-05-30)

[Compare
Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.3...v17.6.5)

**Note:** Version bump only for package
[@&#8203;commitlint/config-angular](https://togithub.com/commitlint/config-angular)

</details>

<details>
<summary>kaname-png/neko-plugins</summary>

###
[`v2.1.12`](https://togithub.com/kaname-png/neko-plugins/blob/HEAD/packages/statcord/CHANGELOG.md#&#8203;2112-httpsgithubcomkaname-pngneko-pluginscomparekaname-pngplugin-statcord2111kaname-pngplugin-statcord2112-2023-06-08)

[Compare
Source](https://togithub.com/kaname-png/neko-plugins/compare/@kaname-png/[email protected]...@kaname-png/[email protected])

##### Bug Fixes

- **deps:** update all non-major dependencies
([4c91471](https://togithub.com/kaname-png/neko-plugins/commit/4c914718f6740c871399a318802d37ab5491561d))
- tests
([589179f](https://togithub.com/kaname-png/neko-plugins/commit/589179f2021a4cd6054a7ee064e4e40a26a7ba94))

###
[`v2.1.11`](https://togithub.com/kaname-png/neko-plugins/blob/HEAD/packages/statcord/CHANGELOG.md#&#8203;2111-httpsgithubcomkaname-pngneko-pluginscomparekaname-pngplugin-statcord2110kaname-pngplugin-statcord2111-2023-06-05)

[Compare
Source](https://togithub.com/kaname-png/neko-plugins/compare/@kaname-png/[email protected]...@kaname-png/[email protected])

##### Bug Fixes

- tslib import
([ce34a4d](https://togithub.com/kaname-png/neko-plugins/commit/ce34a4da81c147528bb128e3681f1d5039c134ba))

</details>

<details>
<summary>prisma/prisma</summary>

### [`v4.15.0`](https://togithub.com/prisma/prisma/releases/tag/4.15.0)

[Compare
Source](https://togithub.com/prisma/prisma/compare/4.14.1...4.15.0)

🌟 **Help us spread the word about Prisma by starring the repo or
[tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@&#8203;prisma%20release%20v4.15.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/4.15.0)
about the release.** 🌟

### Highlights

For this release, we focused on fixing bugs and making smaller
quality-of-life improvements.

#### Support for custom arguments for `prisma db seed`

This release adds support for defining and passing arbitrary arguments
to `prisma db seed`. This creates the opportunity for you to define your
own arguments in your seed file that you could pass to the `prisma db
seed` command. A few example use-cases include, but are not limited to:

-   Seeding different data in different environments
-   Partially seeding data in some tables

Here is an example `seed.ts` file that defines custom arguments for
seeding different data in different environments:

```tsx
// prisma/seed.ts
import { parseArgs } from "node:util";

const options = {
  environment: { type: 'string', },
}

async function main() {
  const { values: { environment } } = parseArgs({ options })
  
  switch (environment) {
    case "development":
      /** do something for development */
      break;
    case "test":
      /** do something  for test  environment */
      break;
    default:
      break;
  }
}

main()
```

You can then provide the `environment` argument when executing the seed
script as follows:

```bash
npx prisma db seed -- --environment development
```

Let us know what you think, share example usage of this feature, and
create a [bug
report](https://togithub.com/prisma/prisma/issues/new?assignees=\&labels=kind/bug\&projects=\&template=bug_report.yml)
if you run into any issues.

#### Improved error messages when Query Engine file is not found

This release improves the error messages returned by Prisma Client when
the Query Engine file is not found. A few reasons the Query Engine file
might be missing from your application bundle include when:

- The downloaded Query Engine doesn’t match the runtime/ target platform
your application is running on.
- The Query Engine is not copied to your final application bundle during
the build step.

We hope these error messages are helpful while debugging your
application.

#### Prisma VS Code extension improvements

In this release, we made a few improvements to our [VS Code
extension](https://marketplace.visualstudio.com/items?itemName=Prisma.prisma):

1. Updated the file system watcher that is responsible for restarting
the TypeScript server when `prisma generate` is run to ensure the types
are in sync

    > **Note**:
    >
> - This new approach is currently only available on Windows and Linux.
We plan on adding support for the new file system watcher on macOS soon.
> - This requires both Prisma CLI & VS code extension version `4.15.0`
or higher

2. Added [Quick Fixes
action](https://code.visualstudio.com/docs/editor/refactoring#\_code-actions-quick-fixes-and-refactorings)
for unique identifiers for MongoDB to add the `@map("_id")` attribute
function when it’s missing on an identifier field


https://user-images.githubusercontent.com/29753584/239030357-2b6613bf-b6b5-48f2-a2df-b93df0692fda.mov

3. Support for [renaming
symbols](https://code.visualstudio.com/docs/editor/refactoring#\_rename-symbol)
for composite types and views


https://user-images.githubusercontent.com/33921841/242042225-87dfee9b-0698-4e1d-b05e-5cb0b8ab1349.mov

#### Fixes and improvements

##### Prisma Client

- [Prisma generate - `Error: write EPIPE` on WSL <->
Windows](https://togithub.com/prisma/prisma/issues/3294)
- [`prisma generate` is blocked by `query-engine-rhel-openssl-1.0.x`
opening in Notepad on
Windows](https://togithub.com/prisma/prisma/issues/4308)
- [Generated client output path hardcoded to build
environment](https://togithub.com/prisma/prisma/issues/7228)
- [Issue with Yarn Workspace Monorepo: Query engine binary for current
platform could not be
found.](https://togithub.com/prisma/prisma/issues/7311)
- [Cloning a project with checked in `node_modules` (from another
platform) leads to platform engine not being
present](https://togithub.com/prisma/prisma/issues/7848)
- [SvelteKit, Vite and Prisma "module not
defined"](https://togithub.com/prisma/prisma/issues/10404)
- [Schema File Not Found in non monorepo with custom
`output`](https://togithub.com/prisma/prisma/issues/10433)
- [Deploying to Cloudflare Workers | "PrismaClient is unable to be run
in the browser"](https://togithub.com/prisma/prisma/issues/12981)
- [Inline/bundle the contents of the prisma schema on
generate](https://togithub.com/prisma/prisma/issues/13052)
- [Netlify: `Query engine library for current platform
"rhel-openssl-1.0.x" could not be found. You incorrectly pinned it to
rhel-openssl-1.0.x`](https://togithub.com/prisma/prisma/issues/13266)
- [Query Engine Library Not
Found](https://togithub.com/prisma/prisma/issues/13396)
- [No client schema when using PrismaClient during cached (standard)
Netlify build](https://togithub.com/prisma/prisma/issues/13475)
- [Module "@&#8203;prisma/client" has no exported member
"PrismaClient"](https://togithub.com/prisma/prisma/issues/13946)
- [EPERM: operation not
permitted](https://togithub.com/prisma/prisma/issues/14626)
- [prisma/client crashes when used with older versions of
react-refresh](https://togithub.com/prisma/prisma/issues/14953)
- [Unable to run prisma cli in pnpm monorepo from workspace
install](https://togithub.com/prisma/prisma/issues/15081)
- [Misleading error message when the query engine is not
found](https://togithub.com/prisma/prisma/issues/15292)
- [When setting custom client output directory, generated package.json
does not include "sideEffects:
false"](https://togithub.com/prisma/prisma/issues/15301)
- [ You already added the platform "debian-openssl-1.1.x" to the
"generator" block in the "schema.prisma" file as described in
https://pris.ly/d/client-generator, but something went wrong.
](https://togithub.com/prisma/prisma/issues/15631)
- [Prisma seems to be looking in the wrong location for
rhel-openssl-1.0.x](https://togithub.com/prisma/prisma/issues/15638)
- [Can't find prisma
engine](https://togithub.com/prisma/prisma/issues/16872)
- [`Cannot find name '$PrismaModel'` due to feature
`extendedWhereUnique` with preview feature
`fieldReference`](https://togithub.com/prisma/prisma/issues/16997)
- [Netlify build fails with
PrismaClientInitializationError](https://togithub.com/prisma/prisma/issues/17167)
- [i'm getting the error while requesting the api
](https://togithub.com/prisma/prisma/issues/17906)
- [Query engine library for current platform could not be
found.](https://togithub.com/prisma/prisma/issues/17996)
- [Prisma unable to reconnect if initial connection
fails](https://togithub.com/prisma/prisma/issues/18071)
- [GraphQL protocol encoder incorrectly turns empty array into empty
object.](https://togithub.com/prisma/prisma/issues/18846)
- [GraphQL protocol: Invalid `Date` values silently turn into
`nulls`](https://togithub.com/prisma/prisma/issues/18970)
- [@&#8203;prisma/client/edge + Cloudflare Worker / wrangler = Could not
resolve "os"](https://togithub.com/prisma/prisma/issues/19174)
- [Client is bricked from connecting to DB if first attempt
fails.](https://togithub.com/prisma/prisma/issues/19182)
- [JSON protocol: incorrect recursive composites detection through
multiple nesting
levels](https://togithub.com/prisma/prisma/issues/19373)
- [`fieldReference` is not working with
enums](https://togithub.com/prisma/prisma/issues/19449)

##### Prisma Migrate

- [Pass extra arguments to `prisma db seed` to the seed
command](https://togithub.com/prisma/prisma/issues/9403)
- [Typo in generating migration SQL to add
enum.](https://togithub.com/prisma/prisma/issues/19352)

##### Language tools (e.g. VS Code)

- [MongoDB: Quick fix for missing `@map("_id")`
annotation](https://togithub.com/prisma/language-tools/issues/762)
- [Rename composite
types](https://togithub.com/prisma/language-tools/issues/1135)
- [Views: Support for
rename](https://togithub.com/prisma/language-tools/issues/1365)
- [TextDocument
deprecation](https://togithub.com/prisma/language-tools/issues/1421)
- [Lib name change vsce ->
@&#8203;vscode/vsce](https://togithub.com/prisma/language-tools/issues/1425)

#### Credits

Huge thanks to
[@&#8203;RobertCraigie](https://togithub.com/RobertCraigie),
[@&#8203;KhooHaoYit](https://togithub.com/KhooHaoYit),
[@&#8203;art049](https://togithub.com/art049),
[@&#8203;luxaritas](https://togithub.com/luxaritas),
[@&#8203;mrazauskas](https://togithub.com/mrazauskas),
[@&#8203;maxmartynov](https://togithub.com/maxmartynov),
[@&#8203;haneenmahd](https://togithub.com/haneenmahd) for helping!

#### 📺 Join us for another "What's new in Prisma" live stream

Learn about the latest release and other news from the Prisma community
by joining us for another ["What's new in
Prisma"](https://youtube.com/playlist?list=PLn2e1F9Rfr6l1B9RP0A9NdX7i7QIWfBa7)
live stream.

The stream takes place [on YouTube](https://youtu.be/t7jsqf0DeNc) on
**Thursday, June 1** at **5 pm Berlin | 8 am San Francisco**.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v5.59.9`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5599-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5598v5599-2023-06-05)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.8...v5.59.9)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

###
[`v5.59.8`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5598-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5597v5598-2023-05-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.7...v5.59.8)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v5.59.9`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5599-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5598v5599-2023-06-05)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.8...v5.59.9)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.59.8`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5598-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5597v5598-2023-05-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.7...v5.59.8)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

</details>

<details>
<summary>motdotla/dotenv</summary>

###
[`v16.1.4`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#&#8203;1614-httpsgithubcommotdotladotenvcomparev1613v1614-2023-06-04)

[Compare
Source](https://togithub.com/motdotla/dotenv/compare/v16.1.3...v16.1.4)

##### Added

- Added `.github/` to `.npmignore`
[#&#8203;747](https://togithub.com/motdotla/dotenv/pull/747)

###
[`v16.1.3`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#&#8203;1613-httpsgithubcommotdotladotenvcomparev1612v1613-2023-05-31)

[Compare
Source](https://togithub.com/motdotla/dotenv/compare/v16.1.2...v16.1.3)

##### Removed

- Removed `browser` keys for `path`, `os`, and `crypto` in package.json.
These were set to false incorrectly as of 16.1. Instead, if using dotenv
on the front-end make sure to include polyfills for `path`, `os`, and
`crypto`.
[node-polyfill-webpack-plugin](https://togithub.com/Richienb/node-polyfill-webpack-plugin)
provides these.

###
[`v16.1.2`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#&#8203;1612-httpsgithubcommotdotladotenvcomparev1611v1612-2023-05-31)

[Compare
Source](https://togithub.com/motdotla/dotenv/compare/v16.1.1...v16.1.2)

##### Changed

- Exposed private function `_configDotenv` as `configDotenv`.
[#&#8203;744](https://togithub.com/motdotla/dotenv/pull/744)

###
[`v16.1.1`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#&#8203;1611-httpsgithubcommotdotladotenvcomparev1610v1611-2023-05-30)

[Compare
Source](https://togithub.com/motdotla/dotenv/compare/v16.1.0...v16.1.1)

##### Added

-   Added type definition for `decrypt` function

##### Changed

-   Fixed `{crypto: false}` in `packageJson.browser`

###
[`v16.1.0`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#&#8203;1610-httpsgithubcommotdotladotenvcomparev1603v1610-2023-05-30)

[Compare
Source](https://togithub.com/motdotla/dotenv/compare/v16.0.3...v16.1.0)

##### Added

- Add `populate` convenience method
[#&#8203;733](https://togithub.com/motdotla/dotenv/pull/733)
- Accept URL as path option
[#&#8203;720](https://togithub.com/motdotla/dotenv/pull/720)
-   Add dotenv to `npm fund` command
- Spanish language README
[#&#8203;698](https://togithub.com/motdotla/dotenv/pull/698)
- Add `.env.vault` support. 🎉
([#&#8203;730](https://togithub.com/motdotla/dotenv/pull/730))

ℹ️ `.env.vault` extends the `.env` file format standard with a localized
encrypted vault file. Package it securely with your production code
deploys. It's cloud agnostic so that you can deploy your secrets
anywhere – without [risky third-party
integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read
more](https://togithub.com/motdotla/dotenv#-deploying)

##### Changed

- Fixed "cannot resolve 'fs'" error on tools like Replit
[#&#8203;693](https://togithub.com/motdotla/dotenv/pull/693)

</details>

<details>
<summary>eslint/eslint</summary>

### [`v8.42.0`](https://togithub.com/eslint/eslint/releases/tag/v8.42.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.41.0...v8.42.0)

#### Features

-
[`b8448ff`](https://togithub.com/eslint/eslint/commit/b8448ff1ae1adf26a81dea07f340caa5b5c2f257)
feat: correct no-useless-return behaviour in try statements
([#&#8203;16996](https://togithub.com/eslint/eslint/issues/16996))
(Nitin Kumar)

#### Bug Fixes

-
[`a589636`](https://togithub.com/eslint/eslint/commit/a5896360c3faa1e7d1fe81a9907a434b8b8f6b60)
fix: Config with `ignores` and without `files` should not always apply
([#&#8203;17181](https://togithub.com/eslint/eslint/issues/17181))
(Milos Djermanovic)
-
[`c4fad17`](https://togithub.com/eslint/eslint/commit/c4fad173c7149dbcd25695c19c68663102b9ec6b)
fix: Correct ignore message for "node_modules" subfolders
([#&#8203;17217](https://togithub.com/eslint/eslint/issues/17217))
(Francesco Trotta)

#### Documentation

-
[`01d7142`](https://togithub.com/eslint/eslint/commit/01d7142642c87241135699571e8010f5e8fcda4f)
docs: Update README (GitHub Actions Bot)
-
[`e5182b7`](https://togithub.com/eslint/eslint/commit/e5182b723ff82bb3b55c50c06d64626055414b31)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`6ca5b7c`](https://togithub.com/eslint/eslint/commit/6ca5b7ca3bac9e10c6cfee4cdc78446e94eb7607)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).42.0
([#&#8203;17236](https://togithub.com/eslint/eslint/issues/17236))
(Milos Djermanovic)
-
[`67fc5e7`](https://togithub.com/eslint/eslint/commit/67fc5e730e4dfc372dea11e15d3f5165bc812491)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`0892412`](https://togithub.com/eslint/eslint/commit/0892412556b2ba6c3d1b85152dafe47a3f4cba72)
refactor: remove `Identifier` listener in no-irregular-whitespace
([#&#8203;17235](https://togithub.com/eslint/eslint/issues/17235))
(Milos Djermanovic)
-
[`f67d298`](https://togithub.com/eslint/eslint/commit/f67d2984c3c3f26497842a04d5166707587c1fca)
test: Add `FlatESLint` tests with missing config files
([#&#8203;17164](https://togithub.com/eslint/eslint/issues/17164))
(Milos Djermanovic)
-
[`5b68d51`](https://togithub.com/eslint/eslint/commit/5b68d51e3e6bd003d6cf74d3434f7165691b4f4d)
chore: Fix `fixedsize` attribute in code path analysis DOT debug output
([#&#8203;17202](https://togithub.com/eslint/eslint/issues/17202))
(Milos Djermanovic)
-
[`37432f2`](https://togithub.com/eslint/eslint/commit/37432f27dc15817d66cf42377792197dc2aeb8b2)
chore: update descriptions in key-spacing tests
([#&#8203;17195](https://togithub.com/eslint/eslint/issues/17195))
(Milos Djermanovic)

</details>

<details>
<summary>Microsoft/tslib</summary>

###
[`v2.5.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.5.3):
tslib 2.5.3

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.2...v2.5.3)

#### What's Changed

- Do not reference tslib.es6.js from package.json exports by
[@&#8203;andrewbranch](https://togithub.com/andrewbranch) in
[https://github.com/microsoft/tslib/pull/208](https://togithub.com/microsoft/tslib/pull/208)

**Full Changelog**:
microsoft/tslib@2.5.2...v2.5.3

</details>

<details>
<summary>yarnpkg/berry</summary>

###
[`v3.6.0`](https://togithub.com/yarnpkg/berry/compare/c6bcbfe8e24c1af6d3b59436c7ef673b367a1335...98c9662047200aec924e34664ba53293474c93bc)

[Compare
Source](https://togithub.com/yarnpkg/berry/compare/c6bcbfe8e24c1af6d3b59436c7ef673b367a1335...98c9662047200aec924e34664ba53293474c93bc)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (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://togithub.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/PixelPizza/OurTube).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
descope bot referenced this pull request in descope/descope-js Jun 23, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tslib](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/tslib)) | dependencies | patch
| [`2.5.2` ->
`2.5.3`](https://renovatebot.com/diffs/npm/tslib/2.5.2/2.5.3) |

---

### Release Notes

<details>
<summary>Microsoft/tslib</summary>

###
[`v2.5.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.5.3):
tslib 2.5.3

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.2...v2.5.3)

#### What's Changed

- Do not reference tslib.es6.js from package.json exports by
[@&#8203;andrewbranch](https://togithub.com/andrewbranch) in
[https://github.com/microsoft/tslib/pull/208](https://togithub.com/microsoft/tslib/pull/208)

**Full Changelog**:
microsoft/tslib@2.5.2...v2.5.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTAuMiJ9-->

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
asafshen referenced this pull request in descope/descope-js Jul 4, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tslib](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/tslib)) | dependencies | patch
| [`2.5.2` ->
`2.5.3`](https://renovatebot.com/diffs/npm/tslib/2.5.2/2.5.3) |

---

### Release Notes

<details>
<summary>Microsoft/tslib</summary>

###
[`v2.5.3`](https://togithub.com/microsoft/tslib/releases/tag/v2.5.3):
tslib 2.5.3

[Compare
Source](https://togithub.com/Microsoft/tslib/compare/2.5.2...v2.5.3)

#### What's Changed

- Do not reference tslib.es6.js from package.json exports by
[@&#8203;andrewbranch](https://togithub.com/andrewbranch) in
[https://github.com/microsoft/tslib/pull/208](https://togithub.com/microsoft/tslib/pull/208)

**Full Changelog**:
microsoft/tslib@2.5.2...v2.5.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTAuMiJ9-->

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
Iru89 pushed a commit to hubtype/botonic that referenced this pull request Jul 10, 2023
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br /><h3>Snyk has created this PR to upgrade tslib from
2.5.0 to 2.5.3.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>

- The recommended version is **3 versions** ahead of your current
version.
- The recommended version was released **a month ago**, on 2023-06-02.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>tslib</b></summary>
    <ul>
      <li>
<b>2.5.3</b> - <a
href="https://snyk.io/redirect/github/microsoft/tslib/releases/tag/v2.5.3">2023-06-02</a></br><h2>What's
Changed</h2>
<ul>
<li>Do not reference tslib.es6.js from package.json exports by <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/andrewbranch/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://snyk.io/redirect/github/andrewbranch">@ andrewbranch</a>
in <a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1738475228" data-permission-text="Title is private"
data-url="microsoft/tslib#208"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/tslib/pull/208/hovercard"
href="https://snyk.io/redirect/github/microsoft/tslib/pull/208">#208</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link"
href="https://snyk.io/redirect/github/microsoft/tslib/compare/2.5.2...v2.5.3"><tt>2.5.2...v2.5.3</tt></a></p>
      </li>
      <li>
<b>2.5.2</b> - <a
href="https://snyk.io/redirect/github/microsoft/tslib/releases/tag/2.5.2">2023-05-18</a></br><p>This
release <a
href="