@parcel/utils
Advanced tools
Comparing version 2.0.0-nightly.66 to 2.0.0-nightly.67
@@ -22,3 +22,3 @@ "use strict"; | ||
async function resolveConfig(fs, filepath, filenames, opts, root = _path.default.parse(filepath).root) { | ||
filepath = _path.default.dirname(filepath); // Don't traverse above the module root | ||
filepath = await fs.realpath(_path.default.dirname(filepath)); // Don't traverse above the module root | ||
@@ -41,3 +41,2 @@ if (filepath === root || _path.default.basename(filepath) === 'node_modules') { | ||
async function loadConfig(fs, filepath, filenames, opts) { | ||
filepath = await fs.realpath(filepath); | ||
let configFile = await resolveConfig(fs, filepath, filenames, opts); | ||
@@ -44,0 +43,0 @@ |
{ | ||
"name": "@parcel/utils", | ||
"version": "2.0.0-nightly.66+df482fb9", | ||
"version": "2.0.0-nightly.67+0e5c7b63", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -20,6 +20,6 @@ "license": "MIT", | ||
"@iarna/toml": "^2.2.0", | ||
"@parcel/codeframe": "^2.0.0-nightly.66+df482fb9", | ||
"@parcel/diagnostic": "^2.0.0-nightly.66+df482fb9", | ||
"@parcel/logger": "^2.0.0-nightly.66+df482fb9", | ||
"@parcel/markdown-ansi": "^2.0.0-nightly.66+df482fb9", | ||
"@parcel/codeframe": "^2.0.0-nightly.67+0e5c7b63", | ||
"@parcel/diagnostic": "^2.0.0-nightly.67+0e5c7b63", | ||
"@parcel/logger": "^2.0.0-nightly.67+0e5c7b63", | ||
"@parcel/markdown-ansi": "^2.0.0-nightly.67+0e5c7b63", | ||
"ansi-html": "^0.0.7", | ||
@@ -44,3 +44,3 @@ "chalk": "^2.4.2", | ||
}, | ||
"gitHead": "df482fb90c27822676bc47f34177beb7c422114f" | ||
"gitHead": "0e5c7b632fb4dc2e7ec9798e7c282ee8dde76543" | ||
} |
@@ -31,3 +31,3 @@ // @flow | ||
): Promise<FilePath | null> { | ||
filepath = path.dirname(filepath); | ||
filepath = await fs.realpath(path.dirname(filepath)); | ||
@@ -55,3 +55,2 @@ // Don't traverse above the module root | ||
): Promise<ConfigOutput | null> { | ||
filepath = await fs.realpath(filepath); | ||
let configFile = await resolveConfig(fs, filepath, filenames, opts); | ||
@@ -58,0 +57,0 @@ if (configFile) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
128658
4020