@sentry/cli 1.74.2 → 1.74.5

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,11 +2,38 @@
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.5
6
+
7
+ ### Various fixes & improvements
8
+
9
+ - deps: Add resolution to bump `ansi-regex` to version `^3.0.1` (#1281)
10
+ - ref: Increase `TempFile` robustness on Windows (#1256)
11
+
12
+ ## 1.74.4
13
+
14
+ ### Various fixes & improvements
15
+
16
+ - ci: Add merge target (f9a2db38) by @kamilogorek
17
+ - ref: Prevent @vercel/nft and similar tools from including binary file in their bundles (#1207) by @kamilogorek
18
+
19
+ ## 1.74.3
20
+
21
+ ### Various fixes & improvements
22
+
23
+ - deps: Update symbolic and git-rs crates (#1170) by @kamilogorek
24
+ - ref: Filter non-error goblin logs (#1169) by @kamilogorek
25
+ - ref: Use provided version in release log messages (#1162) by @kamilogorek
26
+
5
27
  ## 1.74.2
6
28
 
7
29
  ### Various fixes & improvements
8
30
 
9
31
  - revert: ref: Dont run install script using node binary #1151 (#1155) by @kamilogorek
32
+
33
+ ## 1.74.1
34
+
35
+ ### Various fixes & improvements
36
+
10
37
  - ref: Make org and project flags position independent (#1153) by @kamilogorek
11
38
 
12
39
  ## 1.74.0
package/checksums.txt CHANGED
@@ -1,9 +1,9 @@
1
- sentry-cli-Darwin-arm64=dd8341ed84333803e8e2bcc8fd9e7f2fa33a1eed63a784dfd68625ba553220a0
2
- sentry-cli-Darwin-universal=a4023a9ff8c79d73d81ff577299a5fb406676612bbdd95d02ffd76dd69966124
3
- sentry-cli-Darwin-x86_64=aab1203dba78738a7461b8329cf347417830754ae010218399a710d3e5d9424b
4
- sentry-cli-Linux-aarch64=f383d1b8197ebb8a129f3b2c80614d319cafd215d452c90868f6d71aa66f8a1c
5
- sentry-cli-Linux-armv7=ffea267165b98d0b43a1ccd4609e1f63d8d426c7c98b80f651dd822b0c1e2b94
6
- sentry-cli-Linux-i686=fa4cb3f36dd66d9def597dbb593c20f08a72c576a42d3e7c5ea72f9aa535b56a
7
- sentry-cli-Linux-x86_64=a136c3b48ee967852dabe909283a1e7f0640a0c332ae4f30c231d05ba82662dc
8
- sentry-cli-Windows-i686.exe=7c5c82a96727b9a9247562a2c34d7595ae0f8aa6db74e821f30d40c7fb772f11
9
- sentry-cli-Windows-x86_64.exe=54a02d175302e6d170e51afc5d096090df9d76e5bd11e71be3913fa04e596a45
1
+ sentry-cli-Darwin-arm64=850e9b5635462e373d73d7a6f60601da4cf2891b1a6405eebc173dae92841f08
2
+ sentry-cli-Darwin-universal=85d662e19e59a564708bd09a17857b6d7a13d45fde5f7f761365568185679cdd
3
+ sentry-cli-Darwin-x86_64=9012e0ec228dab954e330409bfb2b70f10a4a18d96a3ac858e490db2e5b94035
4
+ sentry-cli-Linux-aarch64=93e8e9ddd46c210900567614622f1b71383aad81814860dff054b38da66e8ed0
5
+ sentry-cli-Linux-armv7=4c2689cc0d27b78e1a72f7370c14cc791cbbae4a1ce0803dc23f8106f3bbf16a
6
+ sentry-cli-Linux-i686=e90923c771968751a82efa17bb0a1b2a2747f8f53b95af016ca99c84b88dc263
7
+ sentry-cli-Linux-x86_64=b22afdbac4258b19896e2f77230b119b14b71944cdd86b4b4904f1d6641af5cd
8
+ sentry-cli-Windows-i686.exe=4b5ab85d99fe29f0b5937f9344944ec77663adc928c85d5887f32cfc655a6116
9
+ sentry-cli-Windows-x86_64.exe=1767f6bdc4a8a5d9542cc000a3cd4041a86809d911a2e172cb77d04a2eee4e3c
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.2",
3
+ "version": "1.74.5",
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",
@@ -52,6 +52,9 @@
52
52
  "npm-run-all": "^4.1.5",
53
53
  "prettier": "^1.19.1"
54
54
  },
55
+ "resolutions": {
56
+ "npmlog/**/ansi-regex": "^3.0.1"
57
+ },
55
58
  "jest": {
56
59
  "collectCoverage": true,
57
60
  "testEnvironment": "node",