-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix tests in Node.js v16 #4597
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
Fix tests in Node.js v16 #4597
Conversation
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@jsumners PTAL |
package.json
Outdated
@@ -19,7 +19,7 @@ | |||
"lint:typescript": "eslint -c types/.eslintrc.json types/**/*.d.ts test/types/**/*.test-d.ts", | |||
"prepublishOnly": "PREPUBLISH=true tap --no-check-coverage test/build/**.test.js", | |||
"test": "npm run lint && npm run unit && npm run test:typescript", | |||
"test:ci": "npm run unit -- -R terse --cov --coverage-report=lcovonly && npm run test:typescript", | |||
"test:ci": "npm run unit -- --cov --coverage-report=lcovonly && npm run test:typescript", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing -R terse
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can add it back. I couldn't understand what the problem was without the full tap output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be in favour of more output in CI so folks don't need to add this to debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except 99% of the time we only care about what test has failed and finding it in among the thousands of lines of "good" output is basically impossible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get that, though, why do you only care about what test has failed? Just knowing what test failed is sometimes enough information to move forward, but you also often have to know how the test failed or the more details. If CI just tells you which test failed, then you need to rerun locally, wasting time because CI already had the information, it just didn't show it to you. I don't feel super strongly, but I feel like CMD+Fing for the failure and having all the information at hand is kinda nice, instead of making humans toil more to reproduce that information.
Something we've done at my company is log the verbose output to a file and have that uploaded as a test artifact as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try out -R terse
with a failing test.
@jsumners PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@algolia/client-search](https://togithub.com/algolia/algoliasearch-client-javascript) | [`4.14.3` -> `4.15.0`](https://renovatebot.com/diffs/npm/@algolia%2fclient-search/4.14.3/4.15.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/cli](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fcli/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/core](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fcore/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/mariadb](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fmariadb/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/migrations](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fmigrations/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/mysql](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fmysql/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mikro-orm/seeder](https://mikro-orm.io) ([source](https://togithub.com/mikro-orm/mikro-orm)) | [`5.6.12` -> `5.6.13`](https://renovatebot.com/diffs/npm/@mikro-orm%2fseeder/5.6.12/5.6.13) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@next/bundle-analyzer](https://togithub.com/vercel/next.js) | [`13.2.1` -> `13.2.3`](https://renovatebot.com/diffs/npm/@next%2fbundle-analyzer/13.2.1/13.2.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.14.2` -> `18.14.6`](https://renovatebot.com/diffs/npm/@types%2fnode/18.14.2/18.14.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.53.0` -> `5.54.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.53.0/5.54.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.53.0` -> `5.54.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.53.0/5.54.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [antd](https://ant.design) ([source](https://togithub.com/ant-design/ant-design)) | [`5.2.2` -> `5.3.0`](https://renovatebot.com/diffs/npm/antd/5.2.2/5.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [fastify](https://www.fastify.io/) ([source](https://togithub.com/fastify/fastify)) | [`4.13.0` -> `4.14.0`](https://renovatebot.com/diffs/npm/fastify/4.13.0/4.14.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [liquidjs](https://togithub.com/harttle/liquidjs) | [`10.6.0` -> `10.6.1`](https://renovatebot.com/diffs/npm/liquidjs/10.6.0/10.6.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [next](https://nextjs.org) ([source](https://togithub.com/vercel/next.js)) | [`13.2.1` -> `13.2.3`](https://renovatebot.com/diffs/npm/next/13.2.1/13.2.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [nodemon](https://nodemon.io) ([source](https://togithub.com/remy/nodemon)) | [`2.0.20` -> `2.0.21`](https://renovatebot.com/diffs/npm/nodemon/2.0.20/2.0.21) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`7.28.0` -> `7.29.0`](https://renovatebot.com/diffs/npm/pnpm/7.28.0/7.29.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [rimraf](https://togithub.com/isaacs/rimraf) | [`4.1.2` -> `4.3.0`](https://renovatebot.com/diffs/npm/rimraf/4.1.2/4.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [styled-components](https://styled-components.com/) ([source](https://togithub.com/styled-components/styled-components)) | [`5.3.6` -> `5.3.8`](https://renovatebot.com/diffs/npm/styled-components/5.3.6/5.3.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.8.2` -> `1.8.3`](https://renovatebot.com/diffs/npm/turbo/1.8.2/1.8.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [zod](https://zod.dev) ([source](https://togithub.com/colinhacks/zod)) | [`3.20.6` -> `3.21.2`](https://renovatebot.com/diffs/npm/zod/3.20.6/3.21.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>algolia/algoliasearch-client-javascript</summary> ### [`v4.15.0`](https://togithub.com/algolia/algoliasearch-client-javascript/blob/HEAD/CHANGELOG.md#v4150-httpsgithubcomalgoliaalgoliasearch-client-javascriptcompare41434150) [Compare Source](https://togithub.com/algolia/algoliasearch-client-javascript/compare/4.14.3...4.15.0) - feat: add mode to settings types ([#​1439](https://togithub.com/algolia/algoliasearch-client-javascript/issues/1439)) ([89fd80e](https://togithub.com/algolia/algoliasearch-client-javascript/commit/89fd80e)), closes [#​1439](https://togithub.com/algolia/algoliasearch-client-javascript/issues/1439) </details> <details> <summary>mikro-orm/mikro-orm</summary> ### [`v5.6.13`](https://togithub.com/mikro-orm/mikro-orm/blob/HEAD/CHANGELOG.md#​5613-httpsgithubcommikro-ormmikro-ormcomparev5612v5613-2023-03-01) [Compare Source](https://togithub.com/mikro-orm/mikro-orm/compare/v5.6.12...v5.6.13) ##### Bug Fixes - **core:** fix deep assigning of collection items with complex composite keys ([95631f4](https://togithub.com/mikro-orm/mikro-orm/commit/95631f4234cfc943c215c11097a21df325a1709d)), closes [#​4074](https://togithub.com/mikro-orm/mikro-orm/issues/4074) - **core:** fix diffing of JSON properties ([2e9a026](https://togithub.com/mikro-orm/mikro-orm/commit/2e9a02689adb7129f9671aa4038076d3504fa986)), closes [#​4078](https://togithub.com/mikro-orm/mikro-orm/issues/4078) - **core:** log abstract entity names during discovery ([e721ad7](https://togithub.com/mikro-orm/mikro-orm/commit/e721ad757ecf6df7da466c589bce772f4589fc72)), closes [#​4080](https://togithub.com/mikro-orm/mikro-orm/issues/4080) - **postgres:** use quoted schema+table name when dropping constraints ([#​4079](https://togithub.com/mikro-orm/mikro-orm/issues/4079)) ([ff1dfb6](https://togithub.com/mikro-orm/mikro-orm/commit/ff1dfb69ff9841d45cb9ce78c37341748df47c08)) </details> <details> <summary>vercel/next.js</summary> ### [`v13.2.3`](https://togithub.com/vercel/next.js/releases/tag/v13.2.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.2...v13.2.3) ##### Core Changes - build(cargo): update turbopack: [#​46581](https://togithub.com/vercel/next.js/issues/46581) - Fix(typedRoutes): fixed Webpack crashing without redirects/rewrites: [#​46591](https://togithub.com/vercel/next.js/issues/46591) - Fix async generateMetadata type in ts plugin: [#​46596](https://togithub.com/vercel/next.js/issues/46596) - Async Storage Cleanup: [#​46586](https://togithub.com/vercel/next.js/issues/46586) - Ensure URL can be passed to fetch correctly [#​46592](https://togithub.com/vercel/next.js/issues/46592) - Fix static to dynamic error in dev: [#​46597](https://togithub.com/vercel/next.js/issues/46597) - Add page path to repeated slashes in href error: [#​46557](https://togithub.com/vercel/next.js/issues/46557) - Implement middleware support for Turbopack: [#​46397](https://togithub.com/vercel/next.js/issues/46397) ##### Credits Huge thanks to [@​jridgewell](https://togithub.com/jridgewell), [@​DuCanhGH](https://togithub.com/DuCanhGH), [@​wyattjoh](https://togithub.com/wyattjoh), and [@​hanneslund](https://togithub.com/hanneslund) for helping! ### [`v13.2.2`](https://togithub.com/vercel/next.js/releases/tag/v13.2.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.2.1...v13.2.2) ##### Core Changes - fix(ts): correctly augment `next` when `typedRoutes: true`: [#​46332](https://togithub.com/vercel/next.js/issues/46332) - feat(cssnano-simple): merge into next repo: [#​46380](https://togithub.com/vercel/next.js/issues/46380) - Dedupe next/font preload tags: [#​46354](https://togithub.com/vercel/next.js/issues/46354) - Print command for current packet manager in [@​next/font](https://togithub.com/next/font) warning: [#​46359](https://togithub.com/vercel/next.js/issues/46359) - Loader refactoring: [#​46304](https://togithub.com/vercel/next.js/issues/46304) - Support `server-only` inside pages/api: [#​46328](https://togithub.com/vercel/next.js/issues/46328) - fix: improve next.config.js validation for `images` prop: [#​46326](https://togithub.com/vercel/next.js/issues/46326) - Revert "Support `server-only` inside pages/api": [#​46388](https://togithub.com/vercel/next.js/issues/46388) - Add relative app dir field: [#​46393](https://togithub.com/vercel/next.js/issues/46393) - test(integration): properly pipe turbopack binary stdouts: [#​46382](https://togithub.com/vercel/next.js/issues/46382) - chore: improve error when exporting metadata from client component: [#​46334](https://togithub.com/vercel/next.js/issues/46334) - Update server reference syntax and tests: [#​46389](https://togithub.com/vercel/next.js/issues/46389) - Fix SWC error wrongly formatted : [#​46412](https://togithub.com/vercel/next.js/issues/46412) - Fix(typedRoutes): replaced `readFile` + `replaceAll`, hid utils types, fixed duplication in type `Route`, fixed route groups on Windows: [#​46378](https://togithub.com/vercel/next.js/issues/46378) - Ensure fetch fields are detected with RequestInit: [#​46398](https://togithub.com/vercel/next.js/issues/46398) - Ensure SERVER_REFERENCE_MANIFEST is included in output files: [#​46420](https://togithub.com/vercel/next.js/issues/46420) - Fix duplicate link type asset generation: [#​46421](https://togithub.com/vercel/next.js/issues/46421) - chore: show large data warning once per page on prod: [#​46323](https://togithub.com/vercel/next.js/issues/46323) - fixed spelling mistake: [#​46446](https://togithub.com/vercel/next.js/issues/46446) - Fix(typedRoutes): export createServer from 'next/types/index.d.ts': [#​46462](https://togithub.com/vercel/next.js/issues/46462) - chore: Loss of precision due to Date now amplification: [#​46344](https://togithub.com/vercel/next.js/issues/46344) - Fix next/font/google config not being used: [#​46484](https://togithub.com/vercel/next.js/issues/46484) - Add [@​latest](https://togithub.com/latest) to next/font codemod warning: [#​46486](https://togithub.com/vercel/next.js/issues/46486) - Add error for styled-jsx in Server Component: [#​46482](https://togithub.com/vercel/next.js/issues/46482) - Refactor style loader code: [#​46490](https://togithub.com/vercel/next.js/issues/46490) - Fix SWC's auto_cjs handling: [#​46448](https://togithub.com/vercel/next.js/issues/46448) - Add theme color media support for metadata: [#​46502](https://togithub.com/vercel/next.js/issues/46502) - Fix(typedRoutes): fixed 'next' imports on TS < 5.0: [#​46507](https://togithub.com/vercel/next.js/issues/46507) - fix: codemod should preserve type only import: [#​46512](https://togithub.com/vercel/next.js/issues/46512) - Add interactive-widget optional property to Viewport type: [#​46506](https://togithub.com/vercel/next.js/issues/46506) - Update router filter to be less sensitive: [#​46515](https://togithub.com/vercel/next.js/issues/46515) - Update fetch cache internal handling: [#​46522](https://togithub.com/vercel/next.js/issues/46522) - Upgrade precompiled react packages: [#​46365](https://togithub.com/vercel/next.js/issues/46365) - fix(error-overlay): hide "Learn more" when up-to-date: [#​46488](https://togithub.com/vercel/next.js/issues/46488) - Refactor route types to include rewrites and redirects: [#​46327](https://togithub.com/vercel/next.js/issues/46327) - Added bcrypt to the serverComponentsExternalPackages auto-optOut list: [#​46532](https://togithub.com/vercel/next.js/issues/46532) - feat: add support for the src folder for the instrumentation hook: [#​46529](https://togithub.com/vercel/next.js/issues/46529) - Fix viewport typing and refactor constants: [#​46569](https://togithub.com/vercel/next.js/issues/46569) - Fix shared entries/invalidators module scope: [#​46533](https://togithub.com/vercel/next.js/issues/46533) - Fix CSS imports not included in entries with a custom extension: [#​46571](https://togithub.com/vercel/next.js/issues/46571) - fix: should not warn when image unmounts: [#​46567](https://togithub.com/vercel/next.js/issues/46567) - fix: generate next-env.d.ts file during next lint command: [#​46249](https://togithub.com/vercel/next.js/issues/46249) - Fix infinite invalidations loop in app dir ([#​46526](https://togithub.com/vercel/next.js/issues/46526)) - Use og:image instead of og:image:url: [#​46570](https://togithub.com/vercel/next.js/issues/46570) - Fix usage of textDecoder to not break utf8 characters: [#​46564](https://togithub.com/vercel/next.js/issues/46564) - Fix app client child entry not being disposed when deleting the file: [#​46583](https://togithub.com/vercel/next.js/issues/46583) - Fix: canonical should allow relative urls: [#​46584](https://togithub.com/vercel/next.js/issues/46584) ##### Documentation Changes - Docs: `next/font` updates: [#​46159](https://togithub.com/vercel/next.js/issues/46159) - Add note explaining how to import fonts with spaces in name: [#​46348](https://togithub.com/vercel/next.js/issues/46348) - Docs: Fix Railway link: [#​46381](https://togithub.com/vercel/next.js/issues/46381) - Wrong function name: [#​46546](https://togithub.com/vercel/next.js/issues/46546) ##### Example Changes - Add missing 'key': [#​46386](https://togithub.com/vercel/next.js/issues/46386) ##### Misc Changes - test(next-script): teardown next-dev instance via jest hooks: [#​46383](https://togithub.com/vercel/next.js/issues/46383) - Apply filtering after rewrite as well ([#​46390](https://togithub.com/vercel/next.js/issues/46390) - Fix fetch cache key inputs and encoding ([#​46392](https://togithub.com/vercel/next.js/issues/46392) - Fix failing app-static deploy test: [#​46395](https://togithub.com/vercel/next.js/issues/46395) - Cover 1st-party examples with tests ([#​45270](https://togithub.com/vercel/next.js/issues/45270))Co-authored-by: kodiakhq\[bot] <49736102+kodiakhq\[bot][@​users](https://togithub.com/users).noreply.github.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> - Updates cms-sanity example to use Sanity v3 ([#​45662](https://togithub.com/vercel/next.js/issues/45662) - Support Two-letter Language Codes(ISO-639-1) to metadata HrefLang types ([#​46285](https://togithub.com/vercel/next.js/issues/46285) - \[next/codemod]: Preserve type-only imports when using `next-image-to-legacy-image` ([#​46460](https://togithub.com/vercel/next.js/issues/46460) - Remove incorrect comment ([#​46467](https://togithub.com/vercel/next.js/issues/46467))Co-authored-by: kodiakhq\[bot] <49736102+kodiakhq\[bot][@​users](https://togithub.com/users).noreply.github.com> - dynamic = "error" violations should be shown in error overlay ([#​45893](https://togithub.com/vercel/next.js/issues/45893) - Fix typo from next-font ([#​46468](https://togithub.com/vercel/next.js/issues/46468) - Add image generation test to app route: [#​46449](https://togithub.com/vercel/next.js/issues/46449) - Remove baseUrl from create-next-app ts/jsconfig.json: [#​46458](https://togithub.com/vercel/next.js/issues/46458) - Update fetch cache key ([#​46513](https://togithub.com/vercel/next.js/issues/46513) ##### Credits Huge thanks to [@​balazsorban44](https://togithub.com/balazsorban44), [@​delbaoliveira](https://togithub.com/delbaoliveira), [@​SukkaW](https://togithub.com/SukkaW), [@​ijjk](https://togithub.com/ijjk), [@​hanneslund](https://togithub.com/hanneslund), [@​JanKaifer](https://togithub.com/JanKaifer), [@​GitRowin](https://togithub.com/GitRowin), [@​shuding](https://togithub.com/shuding), [@​styfle](https://togithub.com/styfle), [@​mjunix](https://togithub.com/mjunix), [@​kwonoj](https://togithub.com/kwonoj), [@​thiskevinwang](https://togithub.com/thiskevinwang), [@​DuCanhGH](https://togithub.com/DuCanhGH), [@​SethFalco](https://togithub.com/SethFalco), [@​yun-jay](https://togithub.com/yun-jay), [@​harrytothemoon](https://togithub.com/harrytothemoon), [@​timneutkens](https://togithub.com/timneutkens), [@​huozhi](https://togithub.com/huozhi), [@​thomasballinger](https://togithub.com/thomasballinger), [@​aretrace](https://togithub.com/aretrace), [@​JesseKoldewijn](https://togithub.com/JesseKoldewijn), [@​feedthejim](https://togithub.com/feedthejim), [@​serkanbektas](https://togithub.com/serkanbektas), [@​teobler](https://togithub.com/teobler), and [@​vadzim](https://togithub.com/vadzim) for helping! </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.54.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5530v5540-2023-02-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0) ##### Features - **eslint-plugin:** \[promise-function-async] check for promises in implicit return types ([#​6330](https://togithub.com/typescript-eslint/typescript-eslint/issues/6330)) ([de1e5ce](https://togithub.com/typescript-eslint/typescript-eslint/commit/de1e5ce11250b259f1f809859eeb7eaa162e897f)), closes [#​6329](https://togithub.com/typescript-eslint/typescript-eslint/issues/6329) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.54.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5530v5540-2023-02-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>ant-design/ant-design</summary> ### [`v5.3.0`](https://togithub.com/ant-design/ant-design/releases/tag/5.3.0) [Compare Source](https://togithub.com/ant-design/ant-design/compare/5.2.3...5.3.0) - 🆕 Tooltip support `arrow.pointAtCenter` and deprecate `arrow.arrowPointAtCenter`. [#​40989](https://togithub.com/ant-design/ant-design/pull/40989) [@​MadCcc](https://togithub.com/MadCcc) - 🆕 Progress support custom `size`. [#​40903](https://togithub.com/ant-design/ant-design/pull/40903) [@​kiner-tang](https://togithub.com/kiner-tang) - 🆕 Tour support custom `zIndex`. [#​40982](https://togithub.com/ant-design/ant-design/pull/40982) [@​kiner-tang](https://togithub.com/kiner-tang) - 🆕 Table `onHeaderCell` support customize `colSpan` and `rowSpan`. [#​40885](https://togithub.com/ant-design/ant-design/pull/40885) - 🆕 Image.Group support `onChange` callback. [#​40857](https://togithub.com/ant-design/ant-design/pull/40857) [@​kiner-tang](https://togithub.com/kiner-tang) - App - 🆕 App support `style` props. [#​40708](https://togithub.com/ant-design/ant-design/pull/40708) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🆕 App support `message` and `notification` options. [#​40458](https://togithub.com/ant-design/ant-design/pull/40458) [@​luo3house](https://togithub.com/luo3house) - 🆕 ConfigProvider support `useConfig` hook to get `size` and `disabled` in context. [#​40215](https://togithub.com/ant-design/ant-design/pull/40215) [@​xliez](https://togithub.com/xliez) - 🆕 Breadcrumb support `items` prop. [#​40543](https://togithub.com/ant-design/ant-design/pull/40543) [@​heiyu4585](https://togithub.com/heiyu4585) - 🛠 Breadcrumb separators are unified into `li` elements. [#​40887](https://togithub.com/ant-design/ant-design/pull/40887) [@​heiyu4585](https://togithub.com/heiyu4585) - 🛠 Tooltip support auto arrow position & adjust position if possible. `destroyTooltipOnHide.keepParent` is deprecated since it will be always auto destroy unnecessary container now. [#​40632](https://togithub.com/ant-design/ant-design/pull/40632) - 🛠 Rename preset colors in token, .e.g `blue-1` to `blue1`, and deprecate tokens before. [#​41071](https://togithub.com/ant-design/ant-design/pull/41071) - 💄 Message use `colorText` in style. [#​41047](https://togithub.com/ant-design/ant-design/pull/41047) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has `transform: scale` style. [#​41013](https://togithub.com/ant-design/ant-design/pull/41013) - 💄 Optimize `rowScope` style for Table. [#​40304](https://togithub.com/ant-design/ant-design/pull/40304) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 Provide new AliasToken `lineWidthFocus` for `outline-width` of focused component. [#​40840](https://togithub.com/ant-design/ant-design/pull/40840) [@​MadCcc](https://togithub.com/MadCcc) - 💄 WeekPicker support hover style. [#​40772](https://togithub.com/ant-design/ant-design/pull/40772) - 💄 Adjust Select, TreeSelect, Cascader always show the `arrow` by default when multiple. [#​41028](https://togithub.com/ant-design/ant-design/pull/41028) - 🐞 Fix Form `Form.Item.useStatus` problem with sever-side-rendering. [#​40977](https://togithub.com/ant-design/ant-design/pull/40977) [@​AndyBoat](https://togithub.com/AndyBoat) - 🐞 Fix arrow shape in some components. [#​40971](https://togithub.com/ant-design/ant-design/pull/40971) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 Fix Layout throw ` React does not recognize the `suffixCls` prop on a DOM element ` warning. [#​40969](https://togithub.com/ant-design/ant-design/pull/40969) - 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. [#​40770](https://togithub.com/ant-design/ant-design/pull/40770) [@​OriginRing](https://togithub.com/OriginRing) - 🐞 Image support flip function in preview mode. Fix Image `fallback` when used in ssr. [#​40660](https://togithub.com/ant-design/ant-design/pull/40660) - 🐞 Fix Typography component is not centered in the Select component. [#​40422](https://togithub.com/ant-design/ant-design/pull/40422) [@​Yuiai01](https://togithub.com/Yuiai01) - 🌐 Update locale `vi_VN` adding Vietnamese translation for Form component validation. [#​40992](https://togithub.com/ant-design/ant-design/pull/40992) [@​lamvananh](https://togithub.com/lamvananh) - RTL - 💄 FloatButton support `rtl` mode. [#​40990](https://togithub.com/ant-design/ant-design/pull/40990) [@​li-jia-nan](https://togithub.com/li-jia-nan) - TypeScript - 🤖 Fix Cascader that generics should not be necessary. [#​40961](https://togithub.com/ant-design/ant-design/pull/40961) [@​crazyair](https://togithub.com/crazyair) *** - 🆕 Tooltip 组件新增 `arrow.pointAtCenter`, 废弃 `arrow.arrowPointAtCenter`。[#​40989](https://togithub.com/ant-design/ant-design/pull/40989) [@​MadCcc](https://togithub.com/MadCcc) - 🆕 Progress 组件支持自定义 `size`。[#​40903](https://togithub.com/ant-design/ant-design/pull/40903) [@​kiner-tang](https://togithub.com/kiner-tang) - 🆕 Tour 组件支持自定义 `zIndex`。[#​40982](https://togithub.com/ant-design/ant-design/pull/40982) [@​kiner-tang](https://togithub.com/kiner-tang) - 🆕 Table `onHeaderCell` 支持自定义 `colSpan` 和 `rowSpan`。[#​40885](https://togithub.com/ant-design/ant-design/pull/40885) - 🆕 Image.Group 支持 `onChange` 回调。[#​40857](https://togithub.com/ant-design/ant-design/pull/40857) [@​kiner-tang](https://togithub.com/kiner-tang) - App - 🆕 App 支持自定义 `style`。[#​40708](https://togithub.com/ant-design/ant-design/pull/40708) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🆕 App 提供预先配置 `message`、`notification` 的选项。[#​40458](https://togithub.com/ant-design/ant-design/pull/40458) [@​luo3house](https://togithub.com/luo3house) - 🆕 ConfigProvider 新增 `useConfig` 以获取上下文中的 `size` 和 `disabled`。[#​40215](https://togithub.com/ant-design/ant-design/pull/40215) [@​xliez](https://togithub.com/xliez) - 🆕 Breadcrumb 支持 `items` 数据驱动。[#​40543](https://togithub.com/ant-design/ant-design/pull/40543) [@​heiyu4585](https://togithub.com/heiyu4585) - 🛠 Breadcrumb 分隔符统一为 `li` 元素。[#​40887](https://togithub.com/ant-design/ant-design/pull/40887) [@​heiyu4585](https://togithub.com/heiyu4585) - 🛠 Tooltip 现在自动调整自身以及箭头位置以更好的展示。同时废弃 `destroyTooltipOnHide.keepParent`,现在总是会自动销毁不需要的容器。[#​40632](https://togithub.com/ant-design/ant-design/pull/40632) - 🛠 重命名 token 中的预设颜色,如 `blue-1` 变为 `blue1`,废弃原有的 token。[#​41071](https://togithub.com/ant-design/ant-design/pull/41071) - 💄 Message 组件使用 `colorText` 优化样式。[#​41047](https://togithub.com/ant-design/ant-design/pull/41047) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 修复 Select, TreeSelect, Cascader 父元素存在 `transform: scale` 样式时的对齐问题。[#​41013](https://togithub.com/ant-design/ant-design/pull/41013) - 💄 优化 Table 中 `rowScope` 的样式。[#​40304](https://togithub.com/ant-design/ant-design/pull/40304) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 为组件聚焦时的 `outline` 提供新的 AliasToken `lineWidthFocus`。[#​40840](https://togithub.com/ant-design/ant-design/pull/40840) [@​MadCcc](https://togithub.com/MadCcc) - 💄 WeekPicker 支持鼠标悬浮样式。[#​40772](https://togithub.com/ant-design/ant-design/pull/40772) - 💄 调整 Select, TreeSelect, Cascader 在多选时总是默认显示下拉箭头。[#​41028](https://togithub.com/ant-design/ant-design/pull/41028) - 🐞 修复 Form 组件 `Form.Item.useStatus` 导致的服务端渲染问题。[#​40977](https://togithub.com/ant-design/ant-design/pull/40977) [@​AndyBoat](https://togithub.com/AndyBoat) - 🐞 修复部分组件箭头形状问题。[#​40971](https://togithub.com/ant-design/ant-design/pull/40971) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 修复 Layout 报错 ` React does not recognize the `suffixCls` prop on a DOM element ` 的问题。[#​40969](https://togithub.com/ant-design/ant-design/pull/40969) - 🐞 修复 Watermark 组件图片加载异常时的问题,默认展示文字。[#​40770](https://togithub.com/ant-design/ant-design/pull/40770) [@​OriginRing](https://togithub.com/OriginRing) - 🐞 Image 预览新增图片翻转功能。并修复 Image `fallback` 在 ssr 下失效的问题。[#​40660](https://togithub.com/ant-design/ant-design/pull/40660) - 🐞 修复 Select 中使用 Typography 不居中的问题。[#​40422](https://togithub.com/ant-design/ant-design/pull/40422) [@​Yuiai01](https://togithub.com/Yuiai01) - 🌐 完善 Form 的 `vi_VN` 语言包。[#​40992](https://togithub.com/ant-design/ant-design/pull/40992) [@​lamvananh](https://togithub.com/lamvananh) - RTL - 💄 修复 FloatButton 不支持 `rtl` 模式的问题。[#​40990](https://togithub.com/ant-design/ant-design/pull/40990) [@​li-jia-nan](https://togithub.com/li-jia-nan) - TypeScript - 🤖 修复 Cascader 泛型为非必传。[#​40961](https://togithub.com/ant-design/ant-design/pull/40961) [@​crazyair](https://togithub.com/crazyair) ### [`v5.2.3`](https://togithub.com/ant-design/ant-design/releases/tag/5.2.3) [Compare Source](https://togithub.com/ant-design/ant-design/compare/5.2.2...5.2.3) - 🐞 Fix for setting `percent` and `success.percent` at the same time for `Progress`, the progress text does not change as `percent` changes. [#​40922](https://togithub.com/ant-design/ant-design/pull/40922) - 🐞 Fixed Image preview icon was misaligned.[#​40911](https://togithub.com/ant-design/ant-design/pull/40911) - 🐞 Fix ConfigProvider validation message template override Form configure template sometime. [#​40533](https://togithub.com/ant-design/ant-design/pull/40533) [@​Wxh16144](https://togithub.com/Wxh16144) - 🐞 Fixed Confirm Modal `onOk` event could be triggered twice when close. [#​40719](https://togithub.com/ant-design/ant-design/pull/40719) [@​Rafael-Martins](https://togithub.com/Rafael-Martins) - 🛠 Rewrote the `useLocale` method and exposed `localeCode` to the public. [#​40884](https://togithub.com/ant-design/ant-design/pull/40884) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🐞 Fixed Segmented component items were unresponsive to mouse events. [#​40894](https://togithub.com/ant-design/ant-design/pull/40894) [@​MadCcc](https://togithub.com/MadCcc) - 🛠 Refactored: replaced the LocaleReceiver component with `useLocale` and removed the LocaleReceiver component. [#​40870](https://togithub.com/ant-design/ant-design/pull/40870) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🐞 Fixed `getPopupContainer` property injected by ConfigProvider did not work. [#​40871](https://togithub.com/ant-design/ant-design/pull/40871) [@​RedJue](https://togithub.com/RedJue) - 🐞 Fixed where Descriptions did not accept `data-_` and `aria-_` attributes. [#​40859](https://togithub.com/ant-design/ant-design/pull/40859) [@​goveo](https://togithub.com/goveo) - 🛠 Changed the Separator's DOM element from `span` to `li`. [#​40867](https://togithub.com/ant-design/ant-design/pull/40867) [@​heiyu4585](https://togithub.com/heiyu4585) - 🐞 Fix token of `Layout.colorBgHeader` not work when single use Layout.Header directly. [#​40933](https://togithub.com/ant-design/ant-design/pull/40933) - 💄 Changed the component's focus `outline` to the default `4px`.[#​40839](https://togithub.com/ant-design/ant-design/pull/40839) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 Fixed the Badge color was displayed abnormally. [#​40848](https://togithub.com/ant-design/ant-design/pull/40848) [@​kiner-tang](https://togithub.com/kiner-tang) - 🐞 Fixed an issue with the Timeline item's `className`. [#​40835](https://togithub.com/ant-design/ant-design/pull/40835) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 Fixed the interaction style of the Rate component in the disabled state.[#​40836](https://togithub.com/ant-design/ant-design/pull/40836) [@​Yuiai01](https://togithub.com/Yuiai01) - 🇮🇷 Added Iranian localization. [#​40895](https://togithub.com/ant-design/ant-design/pull/40895) [@​majidsadr](https://togithub.com/majidsadr) *** - 🐞 修复 Progress 同时设置 percent 和 success.percent 时,进度文本不会随着 percent 改变而改变。[#​40922](https://togithub.com/ant-design/ant-design/pull/40922) - 🐞 修复 Image 预览图标不对齐的问题。[#​40911](https://togithub.com/ant-design/ant-design/pull/40911) - 🐞 修复 ConfigProvider 组件表单校验消息生效顺序。[#​40533](https://togithub.com/ant-design/ant-design/pull/40533) [@​Wxh16144](https://togithub.com/Wxh16144) - 🐞 修复 Confirm Modal `onOk` 可能触发两次的问题。[#​40719](https://togithub.com/ant-design/ant-design/pull/40719) [@​Rafael-Martins](https://togithub.com/Rafael-Martins) - 🛠 重写 `useLocale` 方法,对外暴露 `localeCode`。[#​40884](https://togithub.com/ant-design/ant-design/pull/40884) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🐞 修复 Segemented 组件子项不响应鼠标事件的问题。[#​40894](https://togithub.com/ant-design/ant-design/pull/40894) [@​MadCcc](https://togithub.com/MadCcc) - 🛠 重构:使用 `useLocale` 替换 LocaleReceiver 组件,并删除 LocaleReceiver 组件。[#​40870](https://togithub.com/ant-design/ant-design/pull/40870) [@​li-jia-nan](https://togithub.com/li-jia-nan) - 🐞 修复 ConfigProvider 注入的 `getPopupContainer` 属性 不生效的问题。[#​40871](https://togithub.com/ant-design/ant-design/pull/40871) [@​RedJue](https://togithub.com/RedJue) - 🐞 修复 Descriptions 不接受 `data-*` 和 `aria-*` 等属性的问题。[#​40859](https://togithub.com/ant-design/ant-design/pull/40859) [@​goveo](https://togithub.com/goveo) - 🛠 修改 Separator 的 dom 由 `span` 改为 `li`。[#​40867](https://togithub.com/ant-design/ant-design/pull/40867) [@​heiyu4585](https://togithub.com/heiyu4585) - 💄 修改组件聚焦下的 `outline` 为默认 `4px`。[#​40839](https://togithub.com/ant-design/ant-design/pull/40839) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 修复 Layout.Header 单独使用时,`Layout.colorBgHeader` token 配置不生效的问题。[#​40933](https://togithub.com/ant-design/ant-design/pull/40933) - 🐞 修复 Badge 颜色显示异常问题。[#​40848](https://togithub.com/ant-design/ant-design/pull/40848) [@​kiner-tang](https://togithub.com/kiner-tang) - 🐞 修复 Timeline 的子项的 `className` 错误。[#​40835](https://togithub.com/ant-design/ant-design/pull/40835) [@​Yuiai01](https://togithub.com/Yuiai01) - 💄 修复 Rate 在禁用状态下的交互样式。[#​40836](https://togithub.com/ant-design/ant-design/pull/40836) [@​Yuiai01](https://togithub.com/Yuiai01) - 🇮🇷 增加了伊朗本地化。[#​40895](https://togithub.com/ant-design/ant-design/pull/40895) [@​majidsadr](https://togithub.com/majidsadr) </details> <details> <summary>fastify/fastify</summary> ### [`v4.14.0`](https://togithub.com/fastify/fastify/releases/tag/v4.14.0) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.13.0...v4.14.0) #### What's Changed - Schema error formatter type by [@​cm-ayf](https://togithub.com/cm-ayf) in [https://github.com/fastify/fastify/pull/4570](https://togithub.com/fastify/fastify/pull/4570) - Fix typescript integration bug with ajv-compiler by [@​Uzlopak](https://togithub.com/Uzlopak) in [https://github.com/fastify/fastify/pull/4555](https://togithub.com/fastify/fastify/pull/4555) - build(deps-dev): bump yup from 0.32.11 to 1.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fastify/fastify/pull/4581](https://togithub.com/fastify/fastify/pull/4581) - feat: Add onRequestAbort hook. by [@​ShogunPanda](https://togithub.com/ShogunPanda) in [https://github.com/fastify/fastify/pull/4582](https://togithub.com/fastify/fastify/pull/4582) - ci(package-manager): update ubuntu os to latest by [@​Fdawgs](https://togithub.com/Fdawgs) in [https://github.com/fastify/fastify/pull/4591](https://togithub.com/fastify/fastify/pull/4591) - Improve Contribution Guide's VSCode setup instructions by [@​evpirnia](https://togithub.com/evpirnia) in [https://github.com/fastify/fastify/pull/4594](https://togithub.com/fastify/fastify/pull/4594) - fix: Only remove implicit HEAD routes. by [@​ShogunPanda](https://togithub.com/ShogunPanda) in [https://github.com/fastify/fastify/pull/4596](https://togithub.com/fastify/fastify/pull/4596) - Fix tests in Node.js v16 by [@​mcollina](https://togithub.com/mcollina) in [https://github.com/fastify/fastify/pull/4597](https://togithub.com/fastify/fastify/pull/4597) - docs(ecosystem): add fastify-flux tool by [@​Jnig](https://togithub.com/Jnig) in [https://github.com/fastify/fastify/pull/4599](https://togithub.com/fastify/fastify/pull/4599) - feat: include origin error message into serialization error by [@​ivan-tymoshenko](https://togithub.com/ivan-tymoshenko) in [https://github.com/fastify/fastify/pull/4601](https://togithub.com/fastify/fastify/pull/4601) - feat: log requests refused before processing starts by [@​airhorns](https://togithub.com/airhorns) in [https://github.com/fastify/fastify/pull/4600](https://togithub.com/fastify/fastify/pull/4600) - fix: add missed symbol by [@​metcoder95](https://togithub.com/metcoder95) in [https://github.com/fastify/fastify/pull/4608](https://togithub.com/fastify/fastify/pull/4608) #### New Contributors - [@​evpirnia](https://togithub.com/evpirnia) made their first contribution in [https://github.com/fastify/fastify/pull/4594](https://togithub.com/fastify/fastify/pull/4594) **Full Changelog**: https://github.com/fastify/fastify/compare/v4.13.0...v4.14.0 </details> <details> <summary>harttle/liquidjs</summary> ### [`v10.6.1`](https://togithub.com/harttle/liquidjs/blob/HEAD/CHANGELOG.md#​1061-httpsgithubcomharttleliquidjscomparev1060v1061-2023-03-02) [Compare Source](https://togithub.com/harttle/liquidjs/compare/v10.6.0...v10.6.1) ##### Bug Fixes - \[expression] apply value equal for arrays, [#​589](https://togithub.com/harttle/liquidjs/issues/589) ([9c0dc5f](https://togithub.com/harttle/liquidjs/commit/9c0dc5fa39a31d477a5c5a2c5212034174bf0516)) - strip_html for multi line <script>/<style>/comments, [#​70](https://togithub.com/harttle/liquidjs/issues/70) ([42d2590](https://togithub.com/harttle/liquidjs/commit/42d25902e855d3c06d5ead071bf55604f495c205)) </details> <details> <summary>remy/nodemon</summary> ### [`v2.0.21`](https://togithub.com/remy/nodemon/releases/tag/v2.0.21) [Compare Source](https://togithub.com/remy/nodemon/compare/v2.0.20...v2.0.21) ##### Bug Fixes - remove ts mapping if loader present ([1468397](https://togithub.com/remy/nodemon/commit/146839711be58995f88723b29de3007de87d6c3a)), closes [#​2083](https://togithub.com/remy/nodemon/issues/2083) </details> <details> <summary>pnpm/pnpm</summary> ### [`v7.29.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.29.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.28.0...v7.29.0) #### Minor Changes - A new setting is now supported: `dedupe-peer-dependents`. When this setting is set to `true`, packages with peer dependencies will be deduplicated after peers resolution. For instance, let's say we have a workspace with two projects and both of them have `webpack` in their dependencies. `webpack` has `esbuild` in its optional peer dependencies, and one of the projects has `esbuild` in its dependencies. In this case, pnpm will link two instances of `webpack` to the `node_modules/.pnpm` directory: one with `esbuild` and another one without it: node_modules .pnpm webpack@1.0.0_esbuild@1.0.0 webpack@1.0.0 project1 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0/node_modules/webpack project2 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack esbuild This makes sense because `webpack` is used in two projects, and one of the projects doesn't have `esbuild`, so the two projects cannot share the same instance of `webpack`. However, this is not what most developers expect, especially since in a hoisted `node_modules`, there would only be one instance of `webpack`. Therefore, you may now use the `dedupe-peer-dependents` setting to deduplicate `webpack` when it has no conflicting peer dependencies (explanation at the end). In this case, if we set `dedupe-peer-dependents` to `true`, both projects will use the same `webpack` instance, which is the one that has `esbuild` resolved: node_modules .pnpm webpack@1.0.0_esbuild@1.0.0 project1 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack project2 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack esbuild **What are conflicting peer dependencies?** By conflicting peer dependencies we mean a scenario like the following one: node_modules .pnpm webpack@1.0.0_react@16.0.0_esbuild@1.0.0 webpack@1.0.0_react@17.0.0 project1 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0/node_modules/webpack react (v17) project2 node_modules webpack -> ../../node_modules/.pnpm/webpack@1.0.0_esbuild@1.0.0/node_modules/webpack esbuild react (v16) In this case, we cannot dedupe `webpack` as `webpack` has `react` in its peer dependencies and `react` is resolved from two different versions in the context of the two projects. #### Patch Changes - The configuration added by `pnpm setup` should check if the pnpm home directory is already in the PATH before adding to the PATH. Before this change, this code was added to the shell: ```sh export PNPM_HOME="$HOME/Library/pnpm" export PATH="$PNPM_HOME:$PATH" ``` Now this will be added: ```sh export PNPM_HOME="$HOME/Library/pnpm" case ":$PATH:" in *":$PNPM_HOME:"*) ;; *) export PATH="$PNPM_HOME:$PATH" ;; esac ``` - Add `skipped` status in exec report summary when script is missing [#​6139](https://togithub.com/pnpm/pnpm/pull/6139). - `pnpm env -g` should fail with a meaningful error message if pnpm cannot find the pnpm home directory, which is the directory into which Node.js is installed. - Should not throw an error when local dependency use file protocol [#​6115](https://togithub.com/pnpm/pnpm/issues/6115). - Fix the incorrect error block when subproject has been patched [#​6183](https://togithub.com/pnpm/pnpm/issues/6183) #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://doppler.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/doppler.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/doppler_light.svg" /> <img src="https://pnpm.io/img/users/doppler.svg" width="280" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> </details> <details> <summary>isaacs/rimraf</summary> ### [`v4.3.0`](https://togithub.com/isaacs/rimraf/compare/v4.2.0...v4.3.0) [Compare Source](https://togithub.com/isaacs/rimraf/compare/v4.2.0...v4.3.0) ### [`v4.2.0`](https://togithub.com/isaacs/rimraf/compare/v4.1.4...v4.2.0) [Compare Source](https://togithub.com/isaacs/rimraf/compare/v4.1.4...v4.2.0) ### [`v4.1.4`](https://togithub.com/isaacs/rimraf/compare/v4.1.3...v4.1.4) [Compare Source](https://togithub.com/isaacs/rimraf/compare/v4.1.3...v4.1.4) ### [`v4.1.3`](https://togithub.com/isaacs/rimraf/compare/v4.1.2...v4.1.3) [Compare Source](https://togithub.com/isaacs/rimraf/compare/v4.1.2...v4.1.3) </details> <details> <summary>styled-components/styled-components</summary> ### [`v5.3.8`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.7...v5.3.8) #### What's Changed fix(constants): rework process env guard **Full Changelog**: https://github.com/styled-components/styled-components/compare/v5.3.7-fixed...v5.3.8 ### [`v5.3.7`](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) </details> <details> <summary>vercel/turbo</summary> ### [`v1.8.3`](https://togithub.com/vercel/turbo/releases/tag/v1.8.3): Turborepo v1.8.3 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.8.2...v1.8.3) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.8.3 --> #### What's Changed ##### Changelog - release(turborepo): 1.8.2 by [@​github-actions](https://togithub.com/github-actions) in [https://github.com/vercel/turbo/pull/3915](https://togithub.com/vercel/turbo/pull/3915) - turbo-igno </details> --- ### Configuration 📅 **Schedule**: Branch creation - "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. 👻 **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/PKUHPC/SCOW). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuNiIsInVwZGF0ZWRJblZlciI6IjM0LjE1Ny4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
For some obscure reason, an innoucuos test that passes locally like clockwork is failing in CI.
I identified the problem and fixed it. Originally I thought the problem was on pnpm, but it's like something on the CI env.
Checklist
and the Code of conduct