Socket
Socket
Sign inDemoInstall

@salesforce/cli-plugins-testkit

Package Overview
Dependencies
7
Maintainers
72
Versions
281
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.3.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.0...v1.3.1) (2021-09-01)
### Bug Fixes
* include SfdxError props on SfdxExecCmdResult ([#172](https://github.com/salesforcecli/cli-plugins-testkit/issues/172)) ([9f852e0](https://github.com/salesforcecli/cli-plugins-testkit/commit/9f852e057b4ad22c44cf457b9e415ea0cf7c158e))
## [1.3.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.12...v1.3.0) (2021-08-04)

@@ -7,0 +14,0 @@

6

lib/execCmd.d.ts

@@ -0,1 +1,2 @@

import { SfdxError } from '@salesforce/core';
import { Duration } from '@salesforce/kit';

@@ -37,2 +38,5 @@ import { AnyJson } from '@salesforce/ts-types';

}
declare type ExcludeMethods<T> = Pick<T, NonNullable<{
[K in keyof T]: T[K] extends (_: any) => any ? never : K;
}[keyof T]>>;
export interface SfdxExecCmdResult<T = Collection> extends ExecCmdResult {

@@ -45,3 +49,3 @@ /**

result: T;
};
} & Partial<ExcludeMethods<SfdxError>>;
}

@@ -48,0 +52,0 @@ export interface SfExecCmdResult<T = Collection> extends ExecCmdResult {

2

package.json
{
"name": "@salesforce/cli-plugins-testkit",
"description": "Provides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT).",
"version": "1.3.0",
"version": "1.3.1",
"author": "Salesforce",

@@ -6,0 +6,0 @@ "license": "BSD-3-Clause",

@@ -38,3 +38,3 @@ [![NPM](https://img.shields.io/npm/v/@salesforce/cli-plugins-testkit.svg)](https://www.npmjs.com/package/@salesforce/cli-plugins-testkit)

- [@salesforce/plugin-config](https://github.com/salesforcecli/plugin-config/blob/main/test/commands/config/list.nut.ts)
- [@salesforce/plugin-data](https://github.com/salesforcecli/data/blob/main/packages/plugin-data/test/commands/force/data/tree/dataTree.nut.ts)
- [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/main/test/commands/force/data/tree/dataTree.nut.ts)
- [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/main/test/nut/commands/force/org/org.nut.ts)

@@ -41,0 +41,0 @@ - [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/main/test/allCommands.nut.ts)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc