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

@sentry/cli

Package Overview
Dependencies
Maintainers
9
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/cli - npm Package Compare versions

Comparing version 1.41.2 to 1.42.0

5

CHANGELOG.md
# Changelog
## sentry-cli 1.42.0
* Add support for Indexed RAM Bundles (#523)
* Add "silent" option to JS constructor (#512)
## sentry-cli 1.41.2

@@ -4,0 +9,0 @@

5

js/helper.js

@@ -130,5 +130,6 @@ 'use strict';

* @param {boolean} live We inherit stdio to display `sentry-cli` output directly.
* @param {boolean} silent Disable stdout for silents build (CI/Webpack Stats, ...)
* @returns {Promise.<string>} A promise that resolves to the standard output.
*/
function execute(args, live) {
function execute(args, live, silent) {
const env = Object.assign({}, process.env);

@@ -139,3 +140,3 @@ return new Promise((resolve, reject) => {

env,
stdio: 'inherit',
stdio: ['inherit', silent ? 'pipe' : 'inherit', 'inherit'],
});

@@ -142,0 +143,0 @@ pid.on('exit', () => {

6

js/index.js

@@ -29,7 +29,9 @@ 'use strict';

* @param {string} [configFile] Relative or absolute path to the configuration file.
* @param {Object} [options] More options to pass to the CLI
*/
constructor(configFile) {
constructor(configFile, options) {
if (typeof configFile === 'string') {
process.env.SENTRY_PROPERTIES = configFile;
}
this.options = options || { silent: false };
}

@@ -60,3 +62,3 @@

execute(args, live) {
return helper.execute(args, live);
return helper.execute(args, live, this.options.silent);
}

@@ -63,0 +65,0 @@ }

{
"name": "@sentry/cli",
"version": "1.41.2",
"version": "1.42.0",
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",

@@ -5,0 +5,0 @@ "scripts": {

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