Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/dom-snapshot

Package Overview
Dependencies
Maintainers
15
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-snapshot - npm Package Compare versions

Comparing version 1.2.13 to 1.2.15

11

dist/processPage.js

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.2.13
// @applitools/dom-snapshot@1.2.15
function __processPage() {

@@ -435,3 +435,10 @@ var processPage = (function () {

function toUriEncoding(url) {
return (url && url.replace(/\\\w{2}\s?/g, '/')) || url;
const result =
(url &&
url.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, s => {
const int = parseInt(s.substr(1).trim(), 16);
return String.fromCodePoint(int);
})) ||
url;
return result;
}

@@ -438,0 +445,0 @@

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.2.13
// @applitools/dom-snapshot@1.2.15
function __processPageAndPoll() {

@@ -487,3 +487,10 @@ var processPageAndPoll = (function () {

function toUriEncoding(url) {
return (url && url.replace(/\\\w{2}\s?/g, '/')) || url;
const result =
(url &&
url.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, s => {
const int = parseInt(s.substr(1).trim(), 16);
return String.fromCodePoint(int);
})) ||
url;
return result;
}

@@ -490,0 +497,0 @@

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.2.13
// @applitools/dom-snapshot@1.2.15
function __processPageAndSerialize() {

@@ -487,3 +487,10 @@ var processPageAndSerialize = (function () {

function toUriEncoding(url) {
return (url && url.replace(/\\\w{2}\s?/g, '/')) || url;
const result =
(url &&
url.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, s => {
const int = parseInt(s.substr(1).trim(), 16);
return String.fromCodePoint(int);
})) ||
url;
return result;
}

@@ -490,0 +497,0 @@

@@ -432,3 +432,10 @@ 'use strict';

function toUriEncoding(url) {
return (url && url.replace(/\\\w{2}\s?/g, '/')) || url;
const result =
(url &&
url.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, s => {
const int = parseInt(s.substr(1).trim(), 16);
return String.fromCodePoint(int);
})) ||
url;
return result;
}

@@ -435,0 +442,0 @@

2

package.json
{
"name": "@applitools/dom-snapshot",
"version": "1.2.13",
"version": "1.2.15",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

'use strict';
function toUriEncoding(url) {
return (url && url.replace(/\\\w{2}\s?/g, '/')) || url;
const result =
(url &&
url.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, s => {
const int = parseInt(s.substr(1).trim(), 16);
return String.fromCodePoint(int);
})) ||
url;
return result;
}
module.exports = toUriEncoding;
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