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

@applitools/dom-shared

Package Overview
Dependencies
Maintainers
22
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-shared - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

.bongo/dry-run/package-lock.json

@@ -7,5 +7,5 @@ {

"version": "file:../dry-run.tgz",
"integrity": "sha512-26KiiCT4ZiIcSfYA2CZN0MzralbPpRFFQxUgR6HDgIM+KB1qAAPdQczhNubMtVk+H+BCKTAkjzJSaIetA0Ezkg=="
"integrity": "sha512-Cbxt1X/izFOiCoCdsONX7icF8nJEAVUeW7zDEXbEaDQOdbKeJvGU3VTZ6ZBhQlmZdAdUFErIcFIVu+h5KIlmvw=="
}
}
}

@@ -7,2 +7,6 @@

## 1.0.7 - 2021/10/18
- fix url decoding in absolutizeURL method
## 1.0.6 - 2021/9/22

@@ -9,0 +13,0 @@

{
"name": "@applitools/dom-shared",
"version": "1.0.6",
"version": "1.0.7",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

'use strict';
function absolutizeUrl(url, baseUrl) {
return decodeURI(new URL(url, baseUrl).href);
const isEncoded = url !== decodeURI(url);
const absoluteUrl = new URL(url, baseUrl).href;
return !isEncoded ? decodeURI(absoluteUrl) : absoluteUrl;
}
module.exports = absolutizeUrl;

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