Socket
Socket
Sign inDemoInstall

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.2 to 19.1.0-beta.3

10

lib/utilities/axios.js

@@ -30,4 +30,10 @@ "use strict";

const accessToken = environment_1.ACCESS_TOKEN ? environment_1.ACCESS_TOKEN : options.accessToken;
if (!accessToken) {
throw new Error(`Unable to authenticate. Either define accessToken in nx.json or set the NX_CLOUD_ACCESS_TOKEN env variable. If you do not want to use Nx Cloud for this command, either set NX_NO_CLOUD=true, or pass the --no-cloud flag.`);
const nxCloudId = options.nxCloudId;
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.`);
}
}

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

4

package.json
{
"name": "nx-cloud",
"version": "19.1.0-beta.2",
"version": "19.1.0-beta.3",
"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.2"
"@nrwl/nx-cloud": "19.1.0-beta.3"
},
"type": "commonjs"
}

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