Commit 105b76f
fix: accept a
The pre-compiled schemas hoist their own copy of the regexp the `absolutePath`
keyword of `schema-utils` uses. `schema-utils` 4.4.0 accepts an optional
`file://` prefix, so a path from `import.meta.resolve()` can be passed to an
option that takes an absolute path, and this copy has to accept it too.
While the two disagree, the pre-compiled schema rejects a value the real one
accepts, which makes webpack fall back to the real schema on every validation
and warn `DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID`.
Co-authored-by: Claude <noreply@anthropic.com>file:// prefix in an absolute path (#49)1 parent dfc42a9 commit 105b76f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | | - | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments