cloudfour / pleasantest

⛵ Write real-browser tests with Testing Library in Jest
https://pleasantest.dev
MIT License
172 stars 2 forks source link

Update dependency resolve.exports to v2 #692

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
resolve.exports 1.1.1 -> 2.0.2 age adoption passing confidence

Release Notes

lukeed/resolve.exports ### [`v2.0.2`](https://togithub.com/lukeed/resolve.exports/releases/tag/v2.0.2) [Compare Source](https://togithub.com/lukeed/resolve.exports/compare/v2.0.1...v2.0.2) #### Patches - Support `"#*"` import key pattern ([#​27](https://togithub.com/lukeed/resolve.exports/issues/27), [#​28](https://togithub.com/lukeed/resolve.exports/issues/28)): [`ed6da9b`](https://togithub.com/lukeed/resolve.exports/commit/ed6da9b) *** > **Full Changelog**: https://github.com/lukeed/resolve.exports/compare/v2.0.1...v2.0.2 ### [`v2.0.1`](https://togithub.com/lukeed/resolve.exports/releases/tag/v2.0.1) [Compare Source](https://togithub.com/lukeed/resolve.exports/compare/v2.0.0...v2.0.1) #### Patches - Correctly handle subpath patterns where entries did not contain `"*"` for value injection ([#​26](https://togithub.com/lukeed/resolve.exports/issues/26)): [`1a0164d`](https://togithub.com/lukeed/resolve.exports/commit/1a0164d), [`5d9601d`](https://togithub.com/lukeed/resolve.exports/commit/5d9601d) *Thank you [@​bnussman](https://togithub.com/bnussman) for the test & report!* #### Chores - Fix readme typo ([#​25](https://togithub.com/lukeed/resolve.exports/issues/25)): [`2ad02bf`](https://togithub.com/lukeed/resolve.exports/commit/2ad02bf) *Thank you [@​Xunnamius](https://togithub.com/Xunnamius)* *** > **Full Changelog**: https://github.com/lukeed/resolve.exports/compare/v2.0.0...v2.0.1 ### [`v2.0.0`](https://togithub.com/lukeed/resolve.exports/releases/tag/v2.0.0) [Compare Source](https://togithub.com/lukeed/resolve.exports/compare/v1.1.1...v2.0.0) #### Breaking - Changed the `resolve` return signature from `string | undefined` to `string[] | undefined`:
*Previously `resolve.exports` could only return **1** string output. This ignored `"imports"` and `"exports"` entries that could return multiple resolved locations (aka "alternatives").*
*Now `resolve.exports` supports arrayable entries ***and*** normalizes all outputs into arrays. This makes it easier for consumers to uniformly traverse the output (or simply take the first item).* #### Features - **NEW** Add `imports` function to resolve [`"imports"` identifiers](https://nodejs.org/docs/latest-v18.x/api/packages.html#subpath-imports): [#​14](https://togithub.com/lukeed/resolve.exports/issues/14) - **NEW** Add `exports` function to resolve [`"exports"` maps](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) exclusively ***Note:** This is identical to the `resolve` function from `resolve.exports@1.x` release.* - Converted the `resolve` function to be a convenience helper. ***Note:** Its API signature is unchanged. However, it also now accepts import specifiers. If an import identifier (eg, `#foo` or `/#foo`) is received, then the `imports()` function is invoked. Otherwise the `exports()` function is called.* - Support array values ([#​17](https://togithub.com/lukeed/resolve.exports/issues/17)) #### Chores - Converted source code to strict TypeScript - Add Node 16.x and 18.x to CI matrix *** > **Full Changelog**: https://github.com/lukeed/resolve.exports/compare/v1.1.1...v2.0.0

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.



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