Socket
Socket
Sign inDemoInstall

@parcel/utils

Package Overview
Dependencies
Maintainers
1
Versions
877
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/utils - npm Package Compare versions

Comparing version 2.0.0-nightly.66 to 2.0.0-nightly.67

3

lib/config.js

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc