Skip to content
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

chore(deps): update dependency eslint-plugin-prettier to v5 #23935

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-prettier 4.2.1 -> 5.1.3 age adoption passing confidence

Release Notes

prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v5.1.3

Compare Source

Patch Changes

v5.1.2

Compare Source

Patch Changes
  • #​623 8210e44 Thanks @​BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.

    Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.

  • #​621 2b09e7f Thanks @​JounQin! - feat: support parsing markdown via eslint-mdx natively

v5.1.1

Compare Source

Patch Changes

v5.1.0

Compare Source

Minor Changes
  • #​616 3856413 Thanks @​BPScott! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.

    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
    
    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
Patch Changes
  • #​614 5270877 Thanks @​BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

  • #​603 a63a570 Thanks @​filiptammergard! - fix: specify eslint-config-prettier as peer dependency

    It's already added to peerDependenciesMeta as optional, which means it should also be specified in peerDependencies.

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - "before 7am every weekday,every weekend" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner April 24, 2024 01:46
@renovate renovate bot requested review from aqrln, jkomyno, Jolg42, millsp and SevInf and removed request for a team April 24, 2024 01:46
Copy link
Contributor

github-actions bot commented Apr 24, 2024

size-limit report 📦

Path Size
packages/client/runtime/library.js 179.64 KB (0%)
packages/client/runtime/library.d.ts 81 B (0%)
packages/client/runtime/binary.js 600.86 KB (0%)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 158.91 KB (0%)
packages/client/runtime/edge-esm.js 158.8 KB (0%)
packages/client/runtime/wasm.js 114.75 KB (0%)
packages/client/runtime/index-browser.js 33.77 KB (0%)
packages/client/runtime/index-browser.d.ts 89 B (0%)
packages/cli/build/index.js 2.09 MB (0%)
packages/client/prisma-client-0.0.0.tgz 3.01 MB (0%)
packages/cli/prisma-0.0.0.tgz 3.74 MB (0%)
packages/bundle-size/da-workers-libsql/output.tgz 882.47 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 961.67 KB (0%)
packages/bundle-size/da-workers-pg/output.tgz 980.4 KB (0%)
packages/bundle-size/da-workers-pg-worker/output.tgz 936.12 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 898.64 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 855.55 KB (0%)

Copy link
Member

@Jolg42 Jolg42 left a comment

Choose a reason for hiding this comment

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

Failing with https://github.com/prisma/prisma/actions/runs/8809742382/job/24181154560?pr=23935#step:5:14

> eslint --fix --ext .ts .


Oops! Something went wrong! :(

ESLint: 8.57.0

TypeError: prettier.resolveConfig is not a function
    at /home/runner/work/prisma/prisma/node_modules/.pnpm/eslint-plugin-prettier@5.1.3_eslint-config-prettier@9.1.0_eslint@8.57.0_prettier@2.8.8/node_modules/eslint-plugin-prettier/worker.js:40:24

@Jolg42 Jolg42 added tech/typescript Issue for tech TypeScript. topic: tech debt Initiatives to improve the experience of working with the code base labels Apr 24, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-prettier-5.x branch from ca11367 to c984f3f Compare April 24, 2024 06:44
Copy link

socket-security bot commented Apr 24, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/@swc/core@1.5.0
  • Install script: postinstall
  • Source: node postinstall.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@swc/core@1.5.0

@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-prettier to v5 chore(deps): update dependency eslint-plugin-prettier to v5 - autoclosed Apr 25, 2024
@renovate renovate bot closed this Apr 25, 2024
@renovate renovate bot deleted the renovate/eslint-plugin-prettier-5.x branch April 25, 2024 16:15
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-prettier to v5 - autoclosed chore(deps): update dependency eslint-plugin-prettier to v5 Apr 26, 2024
@renovate renovate bot restored the renovate/eslint-plugin-prettier-5.x branch April 26, 2024 08:30
@renovate renovate bot reopened this Apr 26, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-prettier-5.x branch from c984f3f to 9ad24e9 Compare May 1, 2024 02:10
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@antfu/ni@0.21.12 environment, filesystem, shell 0 465 kB antfu
npm/@cloudflare/workers-types@4.20240423.0 None 0 3.49 MB wrangler-publisher
npm/@codspeed/benchmark.js-plugin@3.1.0 eval Transitive: environment, filesystem, network, unsafe +13 8.37 MB art049
npm/@faker-js/faker@8.4.1 None 0 10.2 MB shinigami92
npm/@fast-check/jest@1.8.1 None +1 938 kB ndubien
npm/@inquirer/prompts@5.0.1 Transitive: environment, filesystem, shell +24 910 kB sboudrias
npm/@jest/create-cache-key-function@29.7.0 environment, filesystem +12 712 kB simenb
npm/@jest/globals@29.7.0 Transitive: environment, eval, filesystem +41 1.67 MB simenb
npm/@jest/test-sequencer@29.7.0 Transitive: environment, filesystem, network, shell, unsafe +43 1.49 MB simenb
npm/@libsql/client@0.6.0 Transitive: filesystem, network, shell +9 581 kB penberg
npm/@microsoft/api-extractor@7.43.1 Transitive: environment, eval, filesystem, shell, unsafe +23 9.94 MB odspnpm
npm/@neondatabase/serverless@0.9.1 network +1 355 kB duskpoet
npm/@opentelemetry/api@1.8.0 None 0 1.21 MB pichlermarc
npm/@opentelemetry/context-async-hooks@1.24.0 unsafe 0 59.3 kB pichlermarc
npm/@opentelemetry/instrumentation@0.50.0 Transitive: unsafe +7 1.27 MB pichlermarc
npm/@opentelemetry/instrumentation@0.51.0 filesystem Transitive: unsafe +7 1.29 MB pichlermarc
npm/@opentelemetry/resources@1.24.0 environment, filesystem, shell Transitive: unsafe +1 1.4 MB pichlermarc
npm/@opentelemetry/sdk-trace-base@1.23.0 Transitive: environment, filesystem, shell, unsafe +3 3.81 MB pichlermarc
npm/@opentelemetry/sdk-trace-base@1.24.0 Transitive: environment, unsafe +1 1.65 MB pichlermarc
npm/@opentelemetry/semantic-conventions@1.24.0 None 0 1.66 MB pichlermarc
npm/@planetscale/database@1.18.0 network 0 49.9 kB ayrton
npm/@prisma/engines-version@5.14.0-6.264f24ce0b2f544ff968ff76bfaa999de1161361 None 0 12.7 kB prismabot
npm/@prisma/mini-proxy@0.9.5 environment, eval, filesystem, network, shell, unsafe 0 2.09 MB aqrln
npm/@prisma/prisma-schema-wasm@5.14.0-6.264f24ce0b2f544ff968ff76bfaa999de1161361 filesystem 0 2.85 MB prismabot
npm/@prisma/query-engine-wasm@5.14.0-6.264f24ce0b2f544ff968ff76bfaa999de1161361 None 0 6.63 MB prismabot
npm/@prisma/studio-server@0.500.0 filesystem, network Transitive: environment, eval +31 2.84 MB prismabot
npm/@prisma/studio@0.500.0 None 0 2.94 MB prismabot
npm/@sindresorhus/slugify@1.1.2 None +3 45.4 kB sindresorhus
npm/@size-limit/file@9.0.0 filesystem 0 3.6 kB ai
npm/@slack/webhook@7.0.2 Transitive: filesystem, network +9 2.31 MB filmaj
npm/@snaplet/copycat@0.17.3 None +3 2.91 MB justinvdm
npm/@swc-node/register@1.9.0 environment, filesystem +3 199 kB broooooklyn
npm/@swc/core@1.2.204 environment, filesystem 0 532 kB kdy1
npm/@swc/core@1.5.0 environment, filesystem, shell +2 393 kB kdy1
npm/@swc/jest@0.2.36 filesystem +4 426 kB kdy1
npm/@timsuchanek/copy@1.4.5 filesystem Transitive: environment, shell +3 292 kB timsuchanek
npm/@types/benchmark@2.1.5 None 0 9.24 kB types
npm/@types/cross-spawn@6.0.6 None 0 4.85 kB types
npm/@types/debug@4.1.12 None +1 9.33 kB types
npm/@types/fs-extra@9.0.13 None 0 27.9 kB types
npm/@types/graphviz@0.0.39 None 0 5.46 kB types
npm/@types/jest@29.5.12 Transitive: environment, filesystem +35 1.53 MB types
npm/@types/js-levenshtein@1.1.3 None 0 2.9 kB types
npm/@types/mssql@9.1.5 None +1 59 kB types
npm/@types/node@18.19.31 None 0 1.97 MB types
npm/@types/node@20.12.7 None 0 2.03 MB types
npm/@types/pg@8.11.5 None 0 14.4 kB types
npm/@types/progress@2.0.7 None 0 6.51 kB types
npm/@types/prompts@2.4.9 None +1 17.9 kB types
npm/@types/redis@2.8.32 None 0 60.4 kB types
npm/@types/resolve@1.20.6 None 0 10.1 kB types
npm/@types/rimraf@3.0.2 None +2 26.6 kB types
npm/@types/sqlite3@3.1.11 None 0 7.08 kB types
npm/@typescript-eslint/eslint-plugin@7.8.0 Transitive: environment +15 5.97 MB jameshenry
npm/@typescript-eslint/parser@7.8.0 Transitive: environment +10 1.89 MB jameshenry
npm/@typescript-eslint/utils@7.8.0 Transitive: environment +13 2.64 MB jameshenry
npm/archiver@6.0.2 filesystem Transitive: environment +14 2.49 MB ctalkington
npm/arg@5.0.2 None 0 13.7 kB leerobinson
npm/async-listen@3.0.1 network 0 11.3 kB vercel-release-bot
npm/async-mutex@0.5.0 None 0 63 kB dirtyhairy
npm/batching-toposort@1.2.0 None 0 16.7 kB glebec
npm/benchmark@2.1.4 eval +1 1.5 MB jdalton
npm/buffer@6.0.3 None +2 108 kB feross
npm/checkpoint-client@1.1.33 environment, eval, filesystem, shell Transitive: network +3 1.01 MB prismabot
npm/chokidar@3.6.0 environment, filesystem +9 215 kB paulmillr
npm/ci-info@4.0.0 environment 0 27.3 kB sibiraj-s
npm/cli-truncate@2.1.0 None 0 10.4 kB sindresorhus
npm/cross-spawn@7.0.3 environment, filesystem, shell 0 21.2 kB satazor
npm/decimal.js-light@2.5.1 None 0 218 kB mikemcl
npm/decimal.js@10.4.3 None 0 283 kB mikemcl
npm/del@6.1.1 Transitive: environment, filesystem +5 71.9 kB sindresorhus
npm/detect-runtime@1.0.4 None 0 7.74 kB quiibz
npm/dotenv-cli@7.4.1 Transitive: environment, filesystem +3 150 kB entropitor
npm/dotenv@16.0.3 environment, filesystem 0 36.6 kB motdotla
npm/env-paths@2.2.1 None 0 10.2 kB sindresorhus
npm/esbuild-register@3.5.0 environment, eval, filesystem, unsafe 0 182 kB egoist
npm/esbuild@0.20.2 environment, filesystem, network, shell 0 135 kB evanw
npm/escape-string-regexp@4.0.0 None 0 3.79 kB sindresorhus
npm/eslint-config-prettier@9.1.0 None 0 20.8 kB lydell
npm/eslint-plugin-eslint-comments@3.2.0 None +2 95.7 kB mysticatea
npm/eslint-plugin-import@2.29.1 filesystem, unsafe Transitive: environment, eval +52 4.3 MB ljharb
npm/eslint-plugin-jest@28.2.0 filesystem Transitive: environment +14 2.93 MB simenb
npm/eslint-plugin-local-rules@2.0.1 None 0 10.8 kB cletusw
npm/eslint-plugin-prettier@5.1.3 None 0 33.9 kB jounqin
npm/eslint-plugin-simple-import-sort@12.1.0 None 0 38.2 kB lydell
npm/eslint@8.57.0 environment, filesystem Transitive: eval, unsafe +53 9.64 MB eslintbot
npm/execa@5.1.1 environment, shell +4 120 kB sindresorhus
npm/expect-type@0.16.0 None 0 39.9 kB mmkale
npm/fast-glob@3.3.2 filesystem +11 358 kB mrmlnc
npm/find-cache-dir@5.0.0 None +1 11.2 kB sindresorhus
npm/find-up@5.0.0 Transitive: filesystem +1 18.8 kB sindresorhus
npm/flat-map-polyfill@0.3.8 None 0 25.3 kB aluanhaddad
npm/format-util@1.0.5 None 0 7.12 kB tmpfs
npm/fp-ts@2.16.5 None 0 4.72 MB gcanti
npm/fs-extra@11.1.1 Transitive: environment, filesystem +2 112 kB ryanzim
npm/fs-jetpack@5.1.0 filesystem +3 188 kB szwacz
npm/get-port@5.1.1 network 0 8.74 kB sindresorhus
npm/get-stdin@8.0.0 None 0 4.71 kB sindresorhus
npm/get-stream@6.0.1 None 0 12.2 kB sindresorhus
npm/global-dirs@4.0.0 environment, filesystem +1 17.8 kB sindresorhus
npm/globby@11.1.0 filesystem +4 90.5 kB sindresorhus
npm/graphviz-mit@0.0.9 eval, filesystem, shell 0 71.9 kB jolg42
npm/has-yarn@2.1.0 filesystem 0 3.39 kB sindresorhus
npm/hasha@5.2.2 filesystem +1 21.9 kB sindresorhus
npm/http-proxy-agent@7.0.2 network +1 46.8 kB tootallnate
npm/https-proxy-agent@7.0.4 network +1 58.8 kB tootallnate
npm/husky@9.0.11 environment, filesystem, shell 0 3.61 kB typicode
npm/indent-string@4.0.0 None 0 4.4 kB sindresorhus
npm/is-ci@3.0.1 Transitive: environment +1 29.9 kB sibiraj-s
npm/is-windows@1.0.2 None 0 7.96 kB jonschlinkert
npm/is-wsl@3.1.0 environment +2 10.1 kB sindresorhus
npm/jest-extended@4.0.2 None +7 321 kB simenb
npm/jest-junit@16.0.0 environment, filesystem +1 60.9 kB jsonp
npm/jest-serializer-ansi-escapes@3.0.0 None 0 6.21 kB mrazauskas
npm/jest-snapshot@29.7.0 eval Transitive: environment, filesystem, network, shell, unsafe +113 13.2 MB simenb
npm/jest@29.7.0 Transitive: environment, eval, filesystem, network, shell, unsafe +341 31 MB simenb
npm/js-levenshtein@1.1.6 None 0 5.64 kB ggustf
npm/kleur@4.1.5 None 0 20.3 kB lukeed
npm/klona@2.0.6 None 0 23.2 kB lukeed
npm/line-replace@2.0.1 filesystem 0 12.4 kB codealchemist
npm/lint-staged@15.2.2 Transitive: environment, filesystem, shell +19 1.03 MB okonet
npm/log-update@4.0.0 None +2 28.3 kB sindresorhus
npm/mariadb@3.3.0 environment, filesystem, network +4 1.49 MB dbart
npm/memfs@4.9.1 None +4 2.29 MB streamich
npm/mock-stdin@1.0.0 None 0 22.9 kB caitp
npm/mongoose@8.3.2 environment, network Transitive: filesystem, shell +10 8.93 MB vkarpov15
npm/mssql@10.0.2 Transitive: environment, filesystem, shell +2 447 kB dhensby
npm/new-github-issue-url@0.2.1 None 0 8.25 kB sindresorhus
npm/node-fetch@3.3.2 network +4 201 kB node-fetch-bot
npm/npm-packlist@5.1.3 filesystem Transitive: environment +10 188 kB lukekarrys

🚮 Removed packages: npm/@types/jest@29.5.11, npm/@types/node@16.18.65, npm/@types/node@18.11.18, npm/@types/react@18.0.26, npm/db@1.0.0, npm/esbuild@0.19.5, npm/expect-type@0.15.0, npm/next@13.1.4, npm/react-dom@18.2.0, npm/react@18.2.0, npm/typescript@4.9.4, npm/vercel@28.13.0, npm/webpack@5.75.0

View full report↗︎

Copy link

codspeed-hq bot commented May 1, 2024

CodSpeed Performance Report

Merging #23935 will degrade performances by 29.2%

Comparing renovate/eslint-plugin-prettier-5.x (9ad24e9) with main (037c380)

Summary

❌ 1 regressions
✅ 2 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main renovate/eslint-plugin-prettier-5.x Change
client generation 100 models with relations 28.9 s 40.8 s -29.2%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech/typescript Issue for tech TypeScript. topic: tech debt Initiatives to improve the experience of working with the code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant