gatsby-plugin-sentry
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -73,7 +73,11 @@ 'use strict'; | ||
return setHeadComponents([_react2.default.createElement(SentryCdn, { dsn: dsn, version: version, key: 'gatsby-plugin-sentry-cdn' }), _react2.default.createElement(SentryInstall, { | ||
dsn: dsn, | ||
config: config, | ||
key: 'gatsby-plugin-sentry-install' | ||
})]); | ||
if (process.env.NODE_ENV === 'production') { | ||
return setHeadComponents([_react2.default.createElement(SentryCdn, { dsn: dsn, version: version, key: 'gatsby-plugin-sentry-cdn' }), _react2.default.createElement(SentryInstall, { | ||
dsn: dsn, | ||
config: config, | ||
key: 'gatsby-plugin-sentry-install' | ||
})]); | ||
} | ||
return null; | ||
}; |
{ | ||
"name": "gatsby-plugin-sentry", | ||
"description": "Gatsby plugin to add Sentry error tracking to your site.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Jason Stallings <jason.stallin.gs>", | ||
@@ -6,0 +6,0 @@ "repository": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
4751
67
1