File tree Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 22
22
"dependencies" : {
23
23
"@sentry/react" : " 6.19.6" ,
24
24
"@sentry/tracing" : " 6.19.6" ,
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" : " 6.19.6" ,
25
25
"@sentry/tracing" : " 6.19.6" ,
26
26
"@sentry/utils" : " 6.19.6" ,
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 3130
3130
estree-walker "^2.0.1"
3131
3131
picomatch "^2.2.2"
3132
3132
3133
- "@sentry/cli@^1.73.0 ":
3134
- version "1.73.0 "
3135
- resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.73.0 .tgz#0d0bce913e0060ae192741c6693c57e50078c886 "
3136
- integrity sha512-n4YINqmoncGUkLEpd4WuW+oD+aoUyQPhRbSBSYkbCFxPPmopn1VExCB2Vvzwj7vjXYRRGkix6keBMS0LLs3A3Q ==
3133
+ "@sentry/cli@^1.74.4 ":
3134
+ version "1.74.4 "
3135
+ resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.74.4 .tgz#7df82f68045a155e1885bfcbb5d303e5259eb18e "
3136
+ integrity sha512-BMfzYiedbModsNBJlKeBOLVYUtwSi99LJ8gxxE4Bp5N8hyjNIN0WVrozAVZ27mqzAuy6151Za3dpmOLO86YlGw ==
3137
3137
dependencies:
3138
3138
https-proxy-agent "^5.0.0"
3139
3139
mkdirp "^0.5.5"
3140
3140
node-fetch "^2.6.7"
3141
3141
npmlog "^4.1.2"
3142
3142
progress "^2.0.3"
3143
3143
proxy-from-env "^1.1.0"
3144
+ which "^2.0.2"
3144
3145
3145
-
3146
- version "1.18.8 "
3147
- resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.18.8 .tgz#247a73a0aa9e28099a736bbe89ca0d35cbac7636 "
3148
- integrity sha512-PtKr0NL62b5L3kPFGjwSNbIUwwcW5E5G6bQxAYZGpkgL1MFPnS4ND0SAsySuX0byQJRFFium5A19LpzyvQZSlQ ==
3146
+
3147
+ version "1.18.9 "
3148
+ resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.18.9 .tgz#acb48c0f96fdb9e73f1e1db374ea31ded6d883a8 "
3149
+ integrity sha512-+TrenJrgFM0QTOwBnw0ZXWMvc0PiOebp6GN5EbGEx3JPCQqXOfXFzCaEjBtASKRgcNCL7zGly41S25YR6Hm+jw ==
3149
3150
dependencies:
3150
- "@sentry/cli" "^1.73.0 "
3151
+ "@sentry/cli" "^1.74.4 "
3151
3152
3152
3153
"@simple-dom/interface@^1.4.0":
3153
3154
version "1.4.0"
You can’t perform that action at this time.
0 commit comments