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

@yarnpkg/core

Package Overview
Dependencies
Maintainers
6
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/core - npm Package Compare versions

Comparing version 4.0.0-rc.43 to 4.0.0-rc.44

1

lib/Configuration.d.ts

@@ -210,2 +210,3 @@ /// <reference types="node" />

static telemetry: TelemetryManager | null;
isCI: boolean;
startingCwd: PortablePath;

@@ -212,0 +213,0 @@ projectCwd: PortablePath | null;

3

lib/StreamReport.d.ts

@@ -43,3 +43,3 @@ /// <reference types="node" />

private warningCount;
private errorCount;
private errors;
private startTime;

@@ -73,2 +73,3 @@ private indent;

reportError(name: MessageName, text: string): void;
reportErrorImpl(name: MessageName, text: string): void;
reportProgress(progressIt: ProgressIterable): {

@@ -75,0 +76,0 @@ stop: () => void;

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

this.warningCount = 0;
this.errorCount = 0;
this.errors = [];
this.startTime = Date.now();

@@ -153,3 +153,3 @@ this.indent = 0;

hasErrors() {
return this.errorCount > 0;
return this.errors.length > 0;
}

@@ -237,4 +237,8 @@ exitCode() {

this.indent -= 1;
if (GROUP !== null && !this.json && this.includeInfos)
if (GROUP !== null && !this.json && this.includeInfos) {
this.stdout.write(GROUP.end(what));
for (const [name, text] of this.errors) {
this.reportErrorImpl(name, text);
}
}
if (this.configuration.get(`enableTimers`) && elapsedTime > 200) {

@@ -325,3 +329,6 @@ this.reportInfo(null, `└ Completed in ${formatUtils.pretty(this.configuration, elapsedTime, formatUtils.Type.DURATION)}`);

reportError(name, text) {
this.errorCount += 1;
this.errors.push([name, text]);
this.reportErrorImpl(name, text);
}
reportErrorImpl(name, text) {
this.commit();

@@ -383,3 +390,3 @@ const formattedName = this.formatNameWithHyperlink(name);

let installStatus = ``;
if (this.errorCount > 0)
if (this.errors.length > 0)
installStatus = `Failed with errors`;

@@ -394,3 +401,3 @@ else if (this.warningCount > 0)

: installStatus;
if (this.errorCount > 0) {
if (this.errors.length > 0) {
this.reportError(MessageName_1.MessageName.UNNAMED, message);

@@ -397,0 +404,0 @@ }

{
"name": "@yarnpkg/core",
"version": "4.0.0-rc.43",
"version": "4.0.0-rc.44",
"stableVersion": "3.5.1",

@@ -16,6 +16,6 @@ "license": "BSD-2-Clause",

"@types/treeify": "^1.0.0",
"@yarnpkg/fslib": "^3.0.0-rc.43",
"@yarnpkg/libzip": "^3.0.0-rc.43",
"@yarnpkg/parsers": "^3.0.0-rc.43",
"@yarnpkg/shell": "^4.0.0-rc.43",
"@yarnpkg/fslib": "^3.0.0-rc.44",
"@yarnpkg/libzip": "^3.0.0-rc.44",
"@yarnpkg/parsers": "^3.0.0-rc.44",
"@yarnpkg/shell": "^4.0.0-rc.44",
"camelcase": "^5.3.1",

@@ -52,6 +52,6 @@ "chalk": "^3.0.0",

"@types/tunnel": "^0.0.0",
"@yarnpkg/cli": "^4.0.0-rc.43",
"@yarnpkg/plugin-link": "^3.0.0-rc.43",
"@yarnpkg/plugin-npm": "^3.0.0-rc.43",
"@yarnpkg/plugin-pnp": "^4.0.0-rc.43",
"@yarnpkg/cli": "^4.0.0-rc.44",
"@yarnpkg/plugin-link": "^3.0.0-rc.44",
"@yarnpkg/plugin-npm": "^3.0.0-rc.44",
"@yarnpkg/plugin-pnp": "^4.0.0-rc.44",
"comment-json": "^2.2.0",

@@ -58,0 +58,0 @@ "esbuild": "npm:esbuild-wasm@^0.15.15",

Sorry, the diff of this file is too big to display

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