File tree 4 files changed +19
-12
lines changed
4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 22
22
"dependencies" : {
23
23
"@sentry/react" : " 7.0.0-alpha.1" ,
24
24
"@sentry/tracing" : " 7.0.0-alpha.1" ,
25
- "@sentry/webpack-plugin" : " 1.18.8 "
25
+ "@sentry/webpack-plugin" : " 1.18.9 "
26
26
},
27
27
"peerDependencies" : {
28
28
"gatsby" : " ^2.0.0 || ^3.0.0 || ^4.0.0" ,
Original file line number Diff line number Diff line change 24
24
"@sentry/react" : " 7.0.0-alpha.1" ,
25
25
"@sentry/tracing" : " 7.0.0-alpha.1" ,
26
26
"@sentry/utils" : " 7.0.0-alpha.1" ,
27
- "@sentry/webpack-plugin" : " 1.18.8 " ,
27
+ "@sentry/webpack-plugin" : " 1.18.9 " ,
28
28
"tslib" : " ^1.9.3"
29
29
},
30
30
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -325,6 +325,12 @@ export function getWebpackPluginOptions(
325
325
return { ...defaultPluginOptions , ...userPluginOptions } ;
326
326
}
327
327
328
+ /**
329
+ * NOTE: `eval` usage is a workaround for @vercel/nft detecting the binary itself as the hard dependency
330
+ * and effectively always including it in the bundle, which is not what we want.
331
+ * ref: https://github.com/getsentry/sentry-javascript/issues/3865
332
+ * ref: https://github.com/vercel/nft/issues/203
333
+ */
328
334
function ensureCLIBinaryExists ( ) : boolean {
329
- return fs . existsSync ( path . join ( require . resolve ( '@sentry/cli' ) , '../../sentry-cli' ) ) ;
335
+ return eval ( " fs.existsSync(path.join(require.resolve('@sentry/cli'), '../../sentry-cli'))" ) ;
330
336
}
Original file line number Diff line number Diff line change 4237
4237
semver "7.3.2"
4238
4238
semver-intersect "1.4.0"
4239
4239
4240
- "@sentry/cli@^1.73.0 ":
4241
- version "1.73.0 "
4242
- resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.73.0 .tgz#0d0bce913e0060ae192741c6693c57e50078c886 "
4243
- integrity sha512-n4YINqmoncGUkLEpd4WuW+oD+aoUyQPhRbSBSYkbCFxPPmopn1VExCB2Vvzwj7vjXYRRGkix6keBMS0LLs3A3Q ==
4240
+ "@sentry/cli@^1.74.4 ":
4241
+ version "1.74.4 "
4242
+ resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.74.4 .tgz#7df82f68045a155e1885bfcbb5d303e5259eb18e "
4243
+ integrity sha512-BMfzYiedbModsNBJlKeBOLVYUtwSi99LJ8gxxE4Bp5N8hyjNIN0WVrozAVZ27mqzAuy6151Za3dpmOLO86YlGw ==
4244
4244
dependencies:
4245
4245
https-proxy-agent "^5.0.0"
4246
4246
mkdirp "^0.5.5"
4247
4247
node-fetch "^2.6.7"
4248
4248
npmlog "^4.1.2"
4249
4249
progress "^2.0.3"
4250
4250
proxy-from-env "^1.1.0"
4251
+ which "^2.0.2"
4251
4252
4252
-
4253
- version "1.18.8 "
4254
- resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.18.8 .tgz#247a73a0aa9e28099a736bbe89ca0d35cbac7636 "
4255
- integrity sha512-PtKr0NL62b5L3kPFGjwSNbIUwwcW5E5G6bQxAYZGpkgL1MFPnS4ND0SAsySuX0byQJRFFium5A19LpzyvQZSlQ ==
4253
+
4254
+ version "1.18.9 "
4255
+ resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.18.9 .tgz#acb48c0f96fdb9e73f1e1db374ea31ded6d883a8 "
4256
+ integrity sha512-+TrenJrgFM0QTOwBnw0ZXWMvc0PiOebp6GN5EbGEx3JPCQqXOfXFzCaEjBtASKRgcNCL7zGly41S25YR6Hm+jw ==
4256
4257
dependencies:
4257
- "@sentry/cli" "^1.73.0 "
4258
+ "@sentry/cli" "^1.74.4 "
4258
4259
4259
4260
"@simple-dom/interface@^1.4.0":
4260
4261
version "1.4.0"
You can’t perform that action at this time.
0 commit comments