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.2.3 to 1.3.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.3.0](https://github.com/forcedotcom/sfdx-core/compare/v1.2.3...v1.3.0) (2019-03-19)
### Features
* support wrapping a string ([2445003](https://github.com/forcedotcom/sfdx-core/commit/2445003))
## [1.2.3](https://github.com/forcedotcom/sfdx-core/compare/v1.2.2...v1.2.3) (2019-03-18)

@@ -2,0 +9,0 @@

2

lib/sfdxError.d.ts

@@ -112,3 +112,3 @@ import { NamedError } from '@salesforce/kit';

*/
static wrap(err: Error): SfdxError;
static wrap(err: Error | string): SfdxError;
/**

@@ -115,0 +115,0 @@ * The message string. Error.message

@@ -148,2 +148,5 @@ "use strict";

static wrap(err) {
if (ts_types_1.isString(err)) {
return new SfdxError(err);
}
const sfdxError = new SfdxError(err.message, err.name);

@@ -150,0 +153,0 @@ if (sfdxError.stack) {

{
"name": "@salesforce/core",
"version": "1.2.3",
"version": "1.3.0",
"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