Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/utils

Package Overview
Dependencies
Maintainers
1
Versions
905
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.268 to 2.0.0-nightly.272

5

lib/prettyDiagnostic.js

@@ -20,3 +20,3 @@ "use strict";

async function prettyDiagnostic(diagnostic, options) {
async function prettyDiagnostic(diagnostic, options, terminalWidth) {
let {

@@ -55,3 +55,4 @@ origin,

language: // $FlowFixMe sketchy null checks do not matter here...
language || (filePath ? _path.default.extname(filePath).substr(1) : undefined)
language || (filePath ? _path.default.extname(filePath).substr(1) : undefined),
terminalWidth
});

@@ -58,0 +59,0 @@ result.codeframe += typeof filePath !== 'string' ? '' : _chalk.default.underline(`${filePath}:${highlights[0].start.line}:${highlights[0].start.column}\n`);

12

package.json
{
"name": "@parcel/utils",
"version": "2.0.0-nightly.268+f65aa4c5",
"version": "2.0.0-nightly.272+9f71164b",
"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.268+f65aa4c5",
"@parcel/diagnostic": "2.0.0-nightly.268+f65aa4c5",
"@parcel/logger": "2.0.0-nightly.268+f65aa4c5",
"@parcel/markdown-ansi": "2.0.0-nightly.268+f65aa4c5",
"@parcel/codeframe": "2.0.0-nightly.272+9f71164b",
"@parcel/diagnostic": "2.0.0-nightly.272+9f71164b",
"@parcel/logger": "2.0.0-nightly.272+9f71164b",
"@parcel/markdown-ansi": "2.0.0-nightly.272+9f71164b",
"@parcel/source-map": "2.0.0-alpha.4.9",

@@ -46,3 +46,3 @@ "ansi-html": "^0.0.7",

},
"gitHead": "f65aa4c53ab130debfc88f4628eb001f52fb5f63"
"gitHead": "9f71164b910bb7fef050d57d8ef9036f3aa17af6"
}

@@ -21,2 +21,3 @@ // @flow strict-local

options?: PluginOptions,
terminalWidth?: number,
): Promise<AnsiDiagnosticResult> {

@@ -64,2 +65,3 @@ let {

language || (filePath ? path.extname(filePath).substr(1) : undefined),
terminalWidth,
});

@@ -66,0 +68,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc