Skip to content

Commit f029cf2

Browse files
43081jllllvvuu
andauthored
chore: bump enhanced-resolve version (#971)
* fix: bump `enhanced-resolve` for upstream fix * chore: bump enhanced-resolve version --------- Co-authored-by: L Lllvvuu <[email protected]>
1 parent bbd7b5b commit f029cf2

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tailwindcss-language-server/ThirdPartyNotices.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ THE SOFTWARE.
614614

615615
================================================================================
616616

617-
enhanced-resolve[email protected]
617+
enhanced-resolve@5.15.0
618618

619619
Copyright JS Foundation and other contributors
620620

@@ -1212,4 +1212,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12121212
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12131213
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12141214
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1215-
THE SOFTWARE.
1215+
THE SOFTWARE.

packages/tailwindcss-language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
"deepmerge": "4.2.2",
6363
"dlv": "1.1.3",
6464
"dset": "3.1.2",
65-
"enhanced-resolve-301": "0.0.1",
6665
"esbuild": "^0.20.2",
66+
"enhanced-resolve": "^5.16.1",
6767
"fast-glob": "3.2.4",
6868
"find-up": "5.0.0",
6969
"is-builtin-module": "3.2.1",

packages/tailwindcss-language-server/src/util/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
ResolverFactory,
55
Resolver,
66
ResolveOptions,
7-
} from 'enhanced-resolve-301'
7+
} from 'enhanced-resolve'
88

99
export function createResolver(options: Partial<ResolveOptions> = {}): Resolver {
1010
return ResolverFactory.createResolver({

packages/tailwindcss-language-server/src/util/resolveFrom.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ export default function resolveFrom(from?: string, id?: string): string {
2626

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

0 commit comments

Comments
 (0)