Skip to content

Commit af82f5a

Browse files
chore(release): new release (#610)
1 parent d40c6b1 commit af82f5a

5 files changed

Lines changed: 13 additions & 16 deletions

File tree

.changeset/file-url-resolve-context.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/platform-agnostic.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/resolve-parent-specifier-args.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# enhanced-resolve
22

3+
## 5.24.0
4+
5+
### Minor Changes
6+
7+
- Allow the `context` path and `request` arguments of `resolve` (and `resolveSync`/`resolvePromise`) to accept `file:` `URL` instances, converting them to filesystem paths. Plain strings stay literal paths, matching Node's `fs`. (by [@alexander-akait](https://github.com/alexander-akait) in [#607](https://github.com/webpack/enhanced-resolve/pull/607))
8+
9+
### Patch Changes
10+
11+
- Make the resolver runtime-agnostic so it works in browsers, Deno and Bun as well as Node. File contents are decoded without assuming a Node `Buffer`, and browser shims are provided for the `path`, `url` and `graceful-fs` builtins (Node, Deno and Bun keep using the native ones) so the package bundles for the browser — supply your own `fileSystem` there. (by [@alexander-akait](https://github.com/alexander-akait) in [#606](https://github.com/webpack/enhanced-resolve/pull/606))
12+
13+
- Rename the positional `resolve`/`resolveSync`/`resolvePromise` parameters to `parent`/`specifier` (from `path`/`request`) for ESM-aligned naming and document them in the README. Purely cosmetic — arguments are positional, so there is no behavior or API change. (by [@alexander-akait](https://github.com/alexander-akait) in [#611](https://github.com/webpack/enhanced-resolve/pull/611))
14+
315
## 5.23.0
416

517
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enhanced-resolve",
3-
"version": "5.23.0",
3+
"version": "5.24.0",
44
"description": "Offers a async require.resolve function. It's highly configurable.",
55
"homepage": "http://github.com/webpack/enhanced-resolve",
66
"repository": {

0 commit comments

Comments
 (0)