@sentry/cli 2.19.4 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/checksums.txt CHANGED
@@ -1,9 +1,9 @@
1
- sentry-cli-Darwin-arm64=a2bd6322b774b9ecfdc0adab53d9d76914bb10eab2ec7d2380b25c0300c428f8
2
- sentry-cli-Darwin-universal=f513a4d6878f41d788898b212731a4755f89c76cf27b961d44feec8b456d840f
3
- sentry-cli-Darwin-x86_64=76ab3a03bf9e8bf0641ee4e7a4cd25cd8d625271db1cd8a821a1d313392fb682
4
- sentry-cli-Linux-aarch64=ea0021c6c69cf91c7050be105b8faa40d29c252b6d8c63d2aa33460196a41897
5
- sentry-cli-Linux-armv7=6349618bf0c838c7f611ccc93c4fb1abc02b0396541d54a93a87e1e7d83e761c
6
- sentry-cli-Linux-i686=0bf706665ea0f5a5bad751a405895913f66cbc65cbae0c988be8c2996b422972
7
- sentry-cli-Linux-x86_64=a9fb79e44c5bae6ca8dfd2c66ac918c7e0405e3456edeb100d698961842f057f
8
- sentry-cli-Windows-i686.exe=db51f4ce5cddaea762b54cd5527166f0045842e4558e315fc971f63687850cb6
9
- sentry-cli-Windows-x86_64.exe=769cace3b97e583a185b849b4a47bd9590d0ecfaea94022135301b8783558aa7
1
+ sentry-cli-Darwin-arm64=7ad93a9680d80597030f3fb7b5bd821025d9090cb09482c062f32ceb36abb62c
2
+ sentry-cli-Darwin-universal=26db98e09b4fc42f2b341e1bf61c36648cf67a6e8784a816a33a476f451d9faa
3
+ sentry-cli-Darwin-x86_64=056f21ef424c05ea2ce93e10ee6b22e94d2d798aef8fc958a31c7753b8f03e95
4
+ sentry-cli-Linux-aarch64=5b64a6df219c065cdb5c0502f03562461b6d01d3dcabc8f4994f68aab05710a4
5
+ sentry-cli-Linux-armv7=e3db0973c8d1968c9f034866d43204777a8e055731e345970b0b3380b53eea59
6
+ sentry-cli-Linux-i686=9e55f8e9c78971c93f0ff13301c3961108b7e07c9730b0eb6dac11da5b45c2c7
7
+ sentry-cli-Linux-x86_64=3603956ecdfe03fa8914871fd3895e18cee2261fdef4f5070ab052d0ca094c3c
8
+ sentry-cli-Windows-i686.exe=661b8155dc5c9ae6df78a1f8303ad7bcb0967b94ab8d17756a4e43b237dd21c7
9
+ sentry-cli-Windows-x86_64.exe=03d06dac7664f634519144b5b2692d43c0530971a84408152561db8e2159b54d
package/js/index.d.ts CHANGED
@@ -87,6 +87,10 @@ declare module '@sentry/cli' {
87
87
  * This prevents the automatic detection of sourcemap references.
88
88
  */
89
89
  sourceMapReference?: boolean;
90
+ /**
91
+ * Enables files gzip decompression prior to uploading. Defaults to `false`.
92
+ */
93
+ decompress?: boolean;
90
94
  /**
91
95
  * Enable artifacts deduplication prior to uploading. This will skip uploading
92
96
  * any artifacts that are already present on the server. Defaults to `true`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.19.4",
3
+ "version": "2.20.1",
4
4
  "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
5
5
  "repository": "git://github.com/getsentry/sentry-cli.git",
6
6
  "homepage": "https://docs.sentry.io/hosted/learn/cli/",
@@ -193,7 +193,9 @@ async function downloadBinary() {
193
193
 
194
194
  if (process.env.SENTRYCLI_USE_LOCAL === '1') {
195
195
  try {
196
- const binPath = which.sync('sentry-cli');
196
+ const binPaths = which.sync('sentry-cli', { all: true });
197
+ if (!binPaths.length) throw new Error('Binary not found');
198
+ const binPath = binPaths[binPaths.length - 1];
197
199
  logger.log(`Using local binary: ${binPath}`);
198
200
  fs.copyFileSync(binPath, outputPath);
199
201
  return Promise.resolve();