@sentry/cli 1.74.1 → 1.74.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  "You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott
4
4
 
5
+ ## 1.74.4
6
+
7
+ ### Various fixes & improvements
8
+
9
+ - ci: Add merge target (f9a2db38) by @kamilogorek
10
+ - ref: Prevent @vercel/nft and similar tools from including binary file in their bundles (#1207) by @kamilogorek
11
+
12
+ ## 1.74.3
13
+
14
+ ### Various fixes & improvements
15
+
16
+ - deps: Update symbolic and git-rs crates (#1170) by @kamilogorek
17
+ - ref: Filter non-error goblin logs (#1169) by @kamilogorek
18
+ - ref: Use provided version in release log messages (#1162) by @kamilogorek
19
+
20
+ ## 1.74.2
21
+
22
+ ### Various fixes & improvements
23
+
24
+ - revert: ref: Dont run install script using node binary #1151 (#1155) by @kamilogorek
25
+
5
26
  ## 1.74.1
6
27
 
7
28
  ### Various fixes & improvements
package/checksums.txt CHANGED
@@ -1,9 +1,9 @@
1
- sentry-cli-Darwin-arm64=864c4a8a0a9b67ee0d09e81ca1d4cb6e7673dd44514a321f79eba8e740b6e979
2
- sentry-cli-Darwin-universal=2b9e05955732e7dd755434861b4db17e38b0364d29ce802106110d64fb53e9fa
3
- sentry-cli-Darwin-x86_64=7d27322e423496a954b40e75f764073b17526c75e7941599d730e66622ae04da
4
- sentry-cli-Linux-aarch64=b381a73c74e4c29929ba6d70957aff76a7b0429e58372855435eab7eea232413
5
- sentry-cli-Linux-armv7=99b28af62b1122741df6bdca3121ba8db3dd9543d83db782ef671e832a7bc168
6
- sentry-cli-Linux-i686=46ad4fe52141ee25f3954fb9abf4a4b9c03796f76b0b5f7cbbd973cb6bca78d2
7
- sentry-cli-Linux-x86_64=a35150e09767005879f182ad85cf00424a7ac13e8b232bd5b23834a8f7e9d9f6
8
- sentry-cli-Windows-i686.exe=d5ff74153bf336251f292248a855bd86d250fef5557ccb39ea9cdfa2e76d5791
9
- sentry-cli-Windows-x86_64.exe=b71c969105ffe866b9a6ce7e9c063b5ccb1e2cbc2cf203c8c6ee768d7e219403
1
+ sentry-cli-Darwin-arm64=119413778b03d10c38b0d132d27c011aa2ef33e90a563ab0f300fd334d65d23e
2
+ sentry-cli-Darwin-universal=2a68d4d8bde9c8288bdbf36972af0750c5283ef72c9d1ec3145611a3c63d8263
3
+ sentry-cli-Darwin-x86_64=21e2d1291b8a912b36c998aa0947bc06c8de124ba3bac9aa8979db1dcd87d133
4
+ sentry-cli-Linux-aarch64=3fdf9ff93fc5daca3f78dcb48c3da2f45051c368ee85bdf29358222489a6bcd4
5
+ sentry-cli-Linux-armv7=d6ff4881f688c130f937a8f8633bfb31dfbefe927adb10c22d8cb34342fd73af
6
+ sentry-cli-Linux-i686=389c56a06a936a12f42a09827ffdda738fd8a761b87452664207515dde44d774
7
+ sentry-cli-Linux-x86_64=7d0310369055eff794e0e22d43461b95e9d72b20a3d84c5d18b3270d105dadd0
8
+ sentry-cli-Windows-i686.exe=1fbc59485119c4c419b8272eed9ba5bfdc73d41521d80636aef69ce52d33f338
9
+ sentry-cli-Windows-x86_64.exe=880346096dcd033d613112a325ce3361c99923c09d87cb60d582be9648eba690
package/js/helper.js CHANGED
@@ -1,19 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  const childProcess = require('child_process');
4
- const os = require('os');
5
- const path = require('path');
6
4
 
7
5
  /**
8
6
  * Absolute path to the sentry-cli binary (platform dependent).
9
7
  * @type {string}
10
8
  */
11
- // istanbul ignore next
12
- let binaryPath = path.resolve(
13
- __dirname,
14
-
15
- os.platform() === 'win32' ? '..\\sentry-cli.exe' : '../sentry-cli'
9
+ let binaryPath = eval(
10
+ "require('path').resolve(__dirname, require('os').platform() === 'win32' ? '..\\sentry-cli.exe' : '../sentry-cli')"
16
11
  );
12
+
13
+ /**
14
+ * NOTE: `eval` usage is a workaround for @vercel/nft detecting the binary itself as the hard dependency
15
+ * and effectively always including it in the bundle, which is not what we want.
16
+ * ref: https://github.com/getsentry/sentry-javascript/issues/3865
17
+ * ref: https://github.com/vercel/nft/issues/203
18
+ */
19
+
17
20
  /**
18
21
  * Overrides the default binary path with a mock value, useful for testing.
19
22
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "1.74.1",
3
+ "version": "1.74.4",
4
4
  "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
5
5
  "homepage": "https://docs.sentry.io/hosted/learn/cli/",
6
6
  "license": "BSD-3-Clause",
@@ -24,7 +24,7 @@
24
24
  "sentry-cli": "bin/sentry-cli"
25
25
  },
26
26
  "scripts": {
27
- "install": "./scripts/install.js",
27
+ "install": "node ./scripts/install.js",
28
28
  "fix": "npm-run-all fix:eslint fix:prettier",
29
29
  "fix:eslint": "eslint --fix bin/* scripts/**/*.js js/**/*.js",
30
30
  "fix:prettier": "prettier --write bin/* scripts/**/*.js js/**/*.js",