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

nx-cloud

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nx-cloud - npm Package Compare versions

Comparing version 19.1.0-beta.3 to 19.1.0

7

lib/utilities/axios.js

@@ -32,8 +32,3 @@ "use strict";

if (!accessToken && !nxCloudId) {
if (process.env.NX_CLOUD_ENABLE_LOGIN === 'true' && !nxCloudId) {
throw new Error(`Unable to authenticate. Please connect your workspace to Nx Cloud to define a valid Nx Cloud Id. If you are in a CI context, please set the NX_CLOUD_ACCESS_TOKEN environment variable or define an access token in your nx.json.`);
}
else {
throw new Error(`Unable to authenticate. Either define accessToken in nx.json or set the NX_CLOUD_ACCESS_TOKEN env variable.`);
}
throw new Error(`Unable to authenticate. Please connect your workspace to Nx Cloud to define a valid Nx Cloud ID. If you are in a CI context, please set the NX_CLOUD_ACCESS_TOKEN environment variable or define an access token in your nx.json.`);
}

@@ -40,0 +35,0 @@ if (options.customProxyConfigPath) {

5

lib/utilities/nx-imports-light.js

@@ -25,5 +25,7 @@ "use strict";

var _b;
return `${input.title}\n\n${(_b = input.bodyLines) === null || _b === void 0 ? void 0 : _b.join('\n')}`;
const bodyLines = input.bodyLines ? (_b = input.bodyLines) === null || _b === void 0 ? void 0 : _b.join('\n') : '';
return `${input.title}\n\n${bodyLines}`;
};
exports.output = {
log: (input) => console.log(formatMessage(input)),
note: (input) => console.info(formatMessage(input)),

@@ -35,2 +37,3 @@ error: (input) => console.error(formatMessage(input)),

addNewline: () => console.log('\n'),
logCommand: (command) => console.log(command),
};

@@ -37,0 +40,0 @@ exports.workspaceRoot = process.cwd();

{
"name": "nx-cloud",
"version": "19.1.0-beta.3",
"version": "19.1.0",
"description": "Distributed caching and task execution for Lerna and Nx",

@@ -32,5 +32,5 @@ "keywords": [

"ini": "4.1.3",
"@nrwl/nx-cloud": "19.1.0-beta.3"
"@nrwl/nx-cloud": "19.1.0"
},
"type": "commonjs"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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