Skip to content

chore: bump enhanced-resolve version #971

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

Merged
merged 2 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: bump enhanced-resolve version
Builds on #907 but bumps the version of enhanced-resolve to latest. Also
drops a `replace` which should now be solved inside enhanced-resolve
itself.
  • Loading branch information
43081j committed May 21, 2024
commit 50a55e58852a5e57baef0c2fd8954fb21a00443c
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/tailwindcss-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"dlv": "1.1.3",
"dset": "3.1.2",
"esbuild": "^0.20.2",
"enhanced-resolve": "^5.15.0",
"enhanced-resolve": "^5.16.1",
"fast-glob": "3.2.4",
"find-up": "5.0.0",
"is-builtin-module": "3.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/tailwindcss-language-server/src/util/resolveFrom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ export default function resolveFrom(from?: string, id?: string): string {

let result = resolver.resolveSync({}, from, id)
if (result === false) throw Error()
// https://github.com/webpack/enhanced-resolve/issues/282
return result.replace(/\0#/g, '#')
return result
}