@sentry/cli 2.49.0 → 2.50.0

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,10 +1,10 @@
1
- sentry-cli-Darwin-arm64=a259aae5190a4b74a9f10be0e4945977da15d5af4628f9c79a5a8e63f3089aa3
2
- sentry-cli-Darwin-universal=1206cd2890cc085b062497f406c361fc04b8c109a93f34cb0abfbb1884d702e3
3
- sentry-cli-Darwin-x86_64=2a1993992bc4aaee528192fca3a91f6b638940844df57cd326580cbec7f01f63
4
- sentry-cli-Linux-aarch64=7af5d3cd3e5bfc60af6446c0e51a48e26aae44565d37da9b558db7536a2dc1ca
5
- sentry-cli-Linux-armv7=37a5cee041d6033f5692d7c0b0c4faa64b4e518775fbc0519d5a730a97f13a59
6
- sentry-cli-Linux-i686=4279f33dc30f0c85dda9284eb77f5226d9a9095e17f5dc9e210b1d0af371a1bd
7
- sentry-cli-Linux-x86_64=be4a9b22e8ac782728b2bf62a3bc61b2dcf20dae9c68acfc94ebaa8019ed5d78
8
- sentry-cli-Windows-aarch64.exe=8ba2cb06c2c303b2a4823653a90c2455f01bda432254ee3c820137af5b549beb
9
- sentry-cli-Windows-i686.exe=29d2203ea976821a8b975e8be68534600674aeb035262a1d209e33707eead10a
10
- sentry-cli-Windows-x86_64.exe=6bf6eb9e8dcf8ad882515716deed554d9ec1a375ace6113a2d1c4dc7bee23d87
1
+ sentry-cli-Darwin-arm64=e06af6e72fd23b6d5a6b7baaab61767cb71fc6fea486c7f5498a08bfcd58eedd
2
+ sentry-cli-Darwin-universal=fa057524abbbd85e960960c5520074837bea11aa7c09602f1489c24728e24d45
3
+ sentry-cli-Darwin-x86_64=a055429e5e671d35ccc020934dd0a2ec0572efc47656be29b4315f388653ec98
4
+ sentry-cli-Linux-aarch64=d9bc23158a30b4987dfc36494375aa86f1adcf1fb3dd2acb1245d3a4fae4179c
5
+ sentry-cli-Linux-armv7=970f08daed2654ea6733609ba4dbfbfc1b9beec630daf168f10dde57dea84d54
6
+ sentry-cli-Linux-i686=29a843be810a8987216ce46c41edffe2e21813999888a4bdf5034ed3223ba541
7
+ sentry-cli-Linux-x86_64=89b1b1cd10c16d817a70ee5bb6673ccdcc48936648f6f281b8d576a3044430c9
8
+ sentry-cli-Windows-aarch64.exe=bf9cef27c30dcf06a10954dfb4933f4515d09398075061503a684da1fa9020f6
9
+ sentry-cli-Windows-i686.exe=724eeacac294d2e902ec0f9444f47e1454d7d3743931a9af1bac298f908d6afc
10
+ sentry-cli-Windows-x86_64.exe=090fdd6d59c88436c0de98d91d930b4be2905e60f4f948396750fd33340fa62b
package/js/index.d.ts CHANGED
@@ -217,7 +217,7 @@ declare module '@sentry/cli' {
217
217
 
218
218
  newDeploy(release: string, options: SentryCliNewDeployOptions): Promise<string>;
219
219
 
220
- execute(args: string[], live: boolean): Promise<string>;
220
+ execute(args: string[], live: boolean | 'rejectOnError'): Promise<string>;
221
221
  }
222
222
 
223
223
  export default class SentryCli {
@@ -237,6 +237,6 @@ declare module '@sentry/cli' {
237
237
 
238
238
  public static getVersion(): string;
239
239
  public static getPath(): string;
240
- public execute(args: string[], live: boolean): Promise<string>;
240
+ public execute(args: string[], live: boolean | 'rejectOnError'): Promise<string>;
241
241
  }
242
242
  }
package/js/index.js CHANGED
@@ -57,7 +57,11 @@ class SentryCli {
57
57
  /**
58
58
  * See {helper.execute} docs.
59
59
  * @param {string[]} args Command line arguments passed to `sentry-cli`.
60
- * @param {boolean} live We inherit stdio to display `sentry-cli` output directly.
60
+ * @param {boolean | 'rejectOnError'} live can be set to:
61
+ * - `true` to inherit stdio to display `sentry-cli` output directly.
62
+ * - `false` to not inherit stdio and return the output as a string.
63
+ * - `'rejectOnError'` to inherit stdio and reject the promise if the command
64
+ * exits with a non-zero exit code.
61
65
  * @returns {Promise.<string>} A promise that resolves to the standard output.
62
66
  */
63
67
  execute(args, live) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.49.0",
3
+ "version": "2.50.0",
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/",
@@ -32,14 +32,14 @@
32
32
  "typescript": "~5.8.3"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@sentry/cli-darwin": "2.49.0",
36
- "@sentry/cli-linux-arm": "2.49.0",
37
- "@sentry/cli-linux-arm64": "2.49.0",
38
- "@sentry/cli-linux-i686": "2.49.0",
39
- "@sentry/cli-linux-x64": "2.49.0",
40
- "@sentry/cli-win32-i686": "2.49.0",
41
- "@sentry/cli-win32-x64": "2.49.0",
42
- "@sentry/cli-win32-arm64": "2.49.0"
35
+ "@sentry/cli-darwin": "2.50.0",
36
+ "@sentry/cli-linux-arm": "2.50.0",
37
+ "@sentry/cli-linux-arm64": "2.50.0",
38
+ "@sentry/cli-linux-i686": "2.50.0",
39
+ "@sentry/cli-linux-x64": "2.50.0",
40
+ "@sentry/cli-win32-i686": "2.50.0",
41
+ "@sentry/cli-win32-x64": "2.50.0",
42
+ "@sentry/cli-win32-arm64": "2.50.0"
43
43
  },
44
44
  "scripts": {
45
45
  "postinstall": "node ./scripts/install.js",