@sentry/bundler-plugin-core 2.22.5 → 2.22.6

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.
@@ -543,14 +543,12 @@ function lookupPackageJson(cwd, stopAt) {
543
543
  * Deterministically hashes a string and turns the hash into a uuid.
544
544
  */
545
545
  function stringToUUID(str) {
546
- var md5sum = crypto.createHash("md5");
547
- md5sum.update(str);
548
- var md5Hash = md5sum.digest("hex");
546
+ var sha256Hash = crypto.createHash("sha256").update(str).digest("hex");
549
547
 
550
548
  // Position 16 is fixed to either 8, 9, a, or b in the uuid v4 spec (10xx in binary)
551
549
  // RFC 4122 section 4.4
552
- var v4variant = ["8", "9", "a", "b"][md5Hash.substring(16, 17).charCodeAt(0) % 4];
553
- return (md5Hash.substring(0, 8) + "-" + md5Hash.substring(8, 12) + "-4" + md5Hash.substring(13, 16) + "-" + v4variant + md5Hash.substring(17, 20) + "-" + md5Hash.substring(20)).toLowerCase();
550
+ var v4variant = ["8", "9", "a", "b"][sha256Hash.substring(16, 17).charCodeAt(0) % 4];
551
+ return (sha256Hash.substring(0, 8) + "-" + sha256Hash.substring(8, 12) + "-4" + sha256Hash.substring(13, 16) + "-" + v4variant + sha256Hash.substring(17, 20) + "-" + sha256Hash.substring(20, 32)).toLowerCase();
554
552
  }
555
553
  function gitRevision() {
556
554
  var gitRevision;
@@ -8074,7 +8072,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
8074
8072
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
8075
8073
  tracesSampleRate: 1,
8076
8074
  sampleRate: 1,
8077
- release: "2.22.5",
8075
+ release: "2.22.6",
8078
8076
  integrations: [],
8079
8077
  tracePropagationTargets: ["sentry.io/api"],
8080
8078
  stackParser: stackParser,
@@ -9108,7 +9106,7 @@ function sentryUnpluginFactory(_ref) {
9108
9106
  });
9109
9107
 
9110
9108
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
9111
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.5");
9109
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.6");
9112
9110
  function handleRecoverableError(unknownError) {
9113
9111
  sentrySession.status = "abnormal";
9114
9112
  try {