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.10 to 1.2.11

src/browser/toUriEncoding.js

9

dist/processPage.js

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

// @applitools/dom-snapshot@1.2.10
// @applitools/dom-snapshot@1.2.11
function __processPage() {

@@ -426,2 +426,8 @@ var processPage = (function () {

function toUriEncoding(url) {
return url.replace(/\\\w{2}\s?/g, '/');
}
var toUriEncoding_1 = toUriEncoding;
function isSameOrigin(url, baseUrl) {

@@ -475,2 +481,3 @@ const blobOrData = /^(blob|data):/;

)
.map(toUriEncoding_1)
.map(absolutizeThisUrl)

@@ -477,0 +484,0 @@ .filter(filterInlineUrlsIfExisting);

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

// @applitools/dom-snapshot@1.2.10
// @applitools/dom-snapshot@1.2.11
function __processPageAndPoll() {

@@ -478,2 +478,8 @@ var processPageAndPoll = (function () {

function toUriEncoding(url) {
return url.replace(/\\\w{2}\s?/g, '/');
}
var toUriEncoding_1 = toUriEncoding;
function isSameOrigin(url, baseUrl) {

@@ -527,2 +533,3 @@ const blobOrData = /^(blob|data):/;

)
.map(toUriEncoding_1)
.map(absolutizeThisUrl)

@@ -529,0 +536,0 @@ .filter(filterInlineUrlsIfExisting);

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

// @applitools/dom-snapshot@1.2.10
// @applitools/dom-snapshot@1.2.11
function __processPageAndSerialize() {

@@ -478,2 +478,8 @@ var processPageAndSerialize = (function () {

function toUriEncoding(url) {
return url.replace(/\\\w{2}\s?/g, '/');
}
var toUriEncoding_1 = toUriEncoding;
function isSameOrigin(url, baseUrl) {

@@ -527,2 +533,3 @@ const blobOrData = /^(blob|data):/;

)
.map(toUriEncoding_1)
.map(absolutizeThisUrl)

@@ -529,0 +536,0 @@ .filter(filterInlineUrlsIfExisting);

@@ -423,2 +423,8 @@ 'use strict';

function toUriEncoding(url) {
return url.replace(/\\\w{2}\s?/g, '/');
}
var toUriEncoding_1 = toUriEncoding;
function isSameOrigin(url, baseUrl) {

@@ -472,2 +478,3 @@ const blobOrData = /^(blob|data):/;

)
.map(toUriEncoding_1)
.map(absolutizeThisUrl)

@@ -474,0 +481,0 @@ .filter(filterInlineUrlsIfExisting);

@@ -5,2 +5,3 @@ 'use strict';

const makeExtractResourcesFromSvg = require('./src/browser/makeExtractResourcesFromSvg');
const toUriEncoding = require('./src/browser/toUriEncoding');
const getProcessPageScript = makeGetScript('processPage');

@@ -15,2 +16,3 @@ const getProcessPageAndSerializeScript = makeGetScript('processPageAndSerialize');

makeExtractResourcesFromSvg,
toUriEncoding,
};

2

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

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

@@ -15,2 +15,3 @@ 'use strict';

const absolutizeUrl = require('./absolutizeUrl');
const toUriEncoding = require('./toUriEncoding');
const uniq = require('./uniq');

@@ -56,2 +57,3 @@ const filterInlineUrl = require('./filterInlineUrl');

)
.map(toUriEncoding)
.map(absolutizeThisUrl)

@@ -58,0 +60,0 @@ .filter(filterInlineUrlsIfExisting);

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