Socket
Socket
Sign inDemoInstall

@salesforce/core

Package Overview
Dependencies
Maintainers
29
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/core - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

lib/org.js

@@ -339,5 +339,8 @@ "use strict";

}
// If no username is provided AuthInfo will throw an SfdxError.
const username = this.options.aliasOrUsername;
this.connection = await connection_1.Connection.create({
authInfo: await authInfo_1.AuthInfo.create({ username: this.options.aliasOrUsername })
// If no username is provided or resolvable from an alias, AuthInfo will throw an SfdxError.
authInfo: await authInfo_1.AuthInfo.create({
username: (username != null && (await aliases_1.Aliases.fetch(username))) || username
})
});

@@ -344,0 +347,0 @@ }

{
"name": "@salesforce/core",
"version": "1.0.2",
"version": "1.0.3",
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",

@@ -5,0 +5,0 @@ "main": "lib/exported",

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