Use patched version of `enhanced-resolve` (#600)

master
Brad Cornes 2022-09-07 16:49:29 +01:00 committed by GitHub
parent f7463a87ee
commit aeb1595b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

18
package-lock.json generated
View File

@ -28,7 +28,7 @@
"detective": "5.2.0", "detective": "5.2.0",
"dlv": "1.1.3", "dlv": "1.1.3",
"dset": "3.1.2", "dset": "3.1.2",
"enhanced-resolve": "5.8.0", "enhanced-resolve-301": "0.0.1",
"fast-glob": "3.2.4", "fast-glob": "3.2.4",
"find-up": "5.0.0", "find-up": "5.0.0",
"jest": "25.5.4", "jest": "25.5.4",
@ -7801,10 +7801,10 @@
"once": "^1.4.0" "once": "^1.4.0"
} }
}, },
"node_modules/enhanced-resolve": { "node_modules/enhanced-resolve-301": {
"version": "5.8.0", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.0.tgz", "resolved": "https://registry.npmjs.org/enhanced-resolve-301/-/enhanced-resolve-301-0.0.1.tgz",
"integrity": "sha512-Sl3KRpJA8OpprrtaIswVki3cWPiPKxXuFxJXBp+zNb6s6VwNWwFRUdtmzd2ReUut8n+sCPx7QCtQ7w5wfJhSgQ==", "integrity": "sha512-g/f3kXka2n15qdlm6ROmbKTumvXmZIbQraY/fNYFrUeMN4slbDWNsCswvpn6LhObdFXAaM/X/ATHUvRWk8+UVg==",
"dependencies": { "dependencies": {
"graceful-fs": "^4.2.4", "graceful-fs": "^4.2.4",
"tapable": "^2.2.0" "tapable": "^2.2.0"
@ -26924,10 +26924,10 @@
"once": "^1.4.0" "once": "^1.4.0"
} }
}, },
"enhanced-resolve": { "enhanced-resolve-301": {
"version": "5.8.0", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.0.tgz", "resolved": "https://registry.npmjs.org/enhanced-resolve-301/-/enhanced-resolve-301-0.0.1.tgz",
"integrity": "sha512-Sl3KRpJA8OpprrtaIswVki3cWPiPKxXuFxJXBp+zNb6s6VwNWwFRUdtmzd2ReUut8n+sCPx7QCtQ7w5wfJhSgQ==", "integrity": "sha512-g/f3kXka2n15qdlm6ROmbKTumvXmZIbQraY/fNYFrUeMN4slbDWNsCswvpn6LhObdFXAaM/X/ATHUvRWk8+UVg==",
"requires": { "requires": {
"graceful-fs": "^4.2.4", "graceful-fs": "^4.2.4",
"tapable": "^2.2.0" "tapable": "^2.2.0"

View File

@ -47,7 +47,7 @@
"detective": "5.2.0", "detective": "5.2.0",
"dlv": "1.1.3", "dlv": "1.1.3",
"dset": "3.1.2", "dset": "3.1.2",
"enhanced-resolve": "5.8.0", "enhanced-resolve-301": "0.0.1",
"fast-glob": "3.2.4", "fast-glob": "3.2.4",
"find-up": "5.0.0", "find-up": "5.0.0",
"jest": "25.5.4", "jest": "25.5.4",

View File

@ -1,5 +1,5 @@
import * as fs from 'fs' import * as fs from 'fs'
import { CachedInputFileSystem, ResolverFactory, Resolver, ResolveOptions } from 'enhanced-resolve' import { CachedInputFileSystem, ResolverFactory, Resolver, ResolveOptions } from 'enhanced-resolve-301'
import { equal } from 'tailwindcss-language-service/src/util/array' import { equal } from 'tailwindcss-language-service/src/util/array'
let pnpApi: any let pnpApi: any