gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+2 -2
View File
@@ -151,7 +151,7 @@ module.exports = class ExportsFieldPlugin {
const [relativePath, query, fragment] = parsedIdentifier;
if (relativePath.length === 0 || !relativePath.startsWith("./")) {
if (!relativePath.startsWith("./")) {
if (paths.length === i) {
return callback(
new Error(
@@ -165,7 +165,7 @@ module.exports = class ExportsFieldPlugin {
const withoutDotSlash = relativePath.slice(2);
if (
invalidSegmentRegEx.exec(withoutDotSlash) !== null &&
invalidSegmentRegEx.test(withoutDotSlash) &&
deprecatedInvalidSegmentRegEx.test(withoutDotSlash)
) {
if (paths.length === i) {