@sentry/esbuild-plugin
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -398,3 +398,2 @@ 'use strict'; | ||
var pluginName = "sentry-esbuild-debug-id-injection-plugin"; | ||
var proxyNamespace = "sentry-debug-id-proxy"; | ||
var stubNamespace = "sentry-debug-id-stub"; | ||
@@ -412,18 +411,25 @@ return { | ||
return; | ||
} else { | ||
return { | ||
pluginName: pluginName, | ||
// needs to be an abs path, otherwise esbuild will complain | ||
path: path__namespace.isAbsolute(args.path) ? args.path : path__namespace.join(args.resolveDir, args.path), | ||
pluginData: { | ||
isProxyResolver: true, | ||
originalPath: args.path, | ||
originalResolveDir: args.resolveDir | ||
} | ||
}; | ||
} | ||
return { | ||
pluginName: pluginName, | ||
path: args.path, | ||
namespace: proxyNamespace, | ||
pluginData: { | ||
originalPath: args.path, | ||
originalResolveDir: args.resolveDir | ||
} | ||
}; | ||
}); | ||
onLoad({ | ||
filter: /.*/, | ||
namespace: proxyNamespace | ||
filter: /.*/ | ||
}, function (args) { | ||
var _args$pluginData; | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access | ||
if (!((_args$pluginData = args.pluginData) !== null && _args$pluginData !== void 0 && _args$pluginData.isProxyResolver)) { | ||
return null; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access | ||
var originalPath = args.pluginData.originalPath; | ||
@@ -430,0 +436,0 @@ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access |
{ | ||
"name": "@sentry/esbuild-plugin", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Official Sentry esbuild plugin", | ||
@@ -51,3 +51,3 @@ "repository": "git@github.com:getsentry/sentry-javascript-bundler-plugins.git", | ||
"dependencies": { | ||
"@sentry/bundler-plugin-core": "2.2.1", | ||
"@sentry/bundler-plugin-core": "2.2.2", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@sentry-internal/eslint-config": "2.2.1", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.2.1", | ||
"@sentry-internal/eslint-config": "2.2.2", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.2.2", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81580
994
+ Added@sentry/bundler-plugin-core@2.2.2(transitive)
- Removed@sentry/bundler-plugin-core@2.2.1(transitive)