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

@slack/cli-test

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/cli-test - npm Package Compare versions

Comparing version 1.3.1-powershell.4 to 1.3.1-powershell.5

11

dist/cli/commands/datastore.js

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

const cli_process_1 = require("../cli-process");
function escapeJSON(obj) {
return `"${JSON.stringify(obj).replace(/"/g, '\\"')}"`;
}
/**

@@ -25,3 +28,3 @@ * `slack datastore get`

};
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'get', JSON.stringify(getQueryObj)], args);
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'get', escapeJSON(getQueryObj)], args);
const proc = yield cmd.execAsync({

@@ -44,3 +47,3 @@ cwd: args.appPath,

};
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'delete', JSON.stringify(deleteQueryObj)], args);
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'delete', escapeJSON(deleteQueryObj)], args);
const proc = yield cmd.execAsync({

@@ -63,3 +66,3 @@ cwd: args.appPath,

};
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'put', JSON.stringify(putQueryObj)], args);
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'put', escapeJSON(putQueryObj)], args);
const proc = yield cmd.execAsync({

@@ -83,3 +86,3 @@ cwd: args.appPath,

};
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'query', JSON.stringify(queryObj)], args);
const cmd = new cli_process_1.SlackCLIProcess(['datastore', 'query', escapeJSON(queryObj)], args);
const proc = yield cmd.execAsync({

@@ -86,0 +89,0 @@ cwd: args.appPath,

{
"name": "@slack/cli-test",
"version": "1.3.1-powershell.4+cli.2.29.2",
"version": "1.3.1-powershell.5+cli.2.29.2",
"description": "Node.js bindings for the Slack CLI for use in automated testing",

@@ -5,0 +5,0 @@ "author": "Salesforce, Inc.",

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