New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@squzy/vanilla

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squzy/vanilla - npm Package Compare versions

Comparing version 0.1.19-alpha.0 to 0.1.20-alpha.0

12

dist/fetch/fetch.js

@@ -13,2 +13,3 @@ "use strict";

let rqOpts;
let customHeaders = false;
if (typeof input === "string") {

@@ -25,2 +26,3 @@ transactionName = input;

reqUrl = location.host + reqUrl;
customHeaders = true;
}

@@ -32,9 +34,9 @@ const { host, pathname } = uri_parse_lib_1.parseURI(reqUrl);

method,
headers: new Headers({
headers: customHeaders ? new Headers({
[app.getTracingHeaderKey()]: trx.getId(),
}),
}) : new Headers({}),
};
}
else {
if (input.headers) {
if (input.headers && customHeaders) {
input.headers.append(app.getTracingHeaderKey(), trx.getId());

@@ -44,5 +46,5 @@ }

? input.headers
: new Headers({
: customHeaders ? new Headers({
[app.getTracingHeaderKey()]: trx.getId(),
}) });
}) : new Headers({}) });
}

@@ -49,0 +51,0 @@ trx.setMeta({

{
"name": "@squzy/vanilla",
"version": "0.1.19-alpha.0",
"version": "0.1.20-alpha.0",
"description": "Monitoring package for vanilla",

@@ -31,6 +31,6 @@ "author": "Iurii Panarin <tduble94@gmail.com>",

"dependencies": {
"@squzy/core": "^0.1.19-alpha.0",
"@squzy/core": "^0.1.20-alpha.0",
"uri-parse-lib": "^2.3.0"
},
"gitHead": "cb1446b137a13400eb19d4dc051147f623dbdd3c"
"gitHead": "8fd3587c0e03ba2c93e3ae033d626e94ea1b1b94"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc