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
186
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.15 to 1.2.17

8

dist/processPage.js

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

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

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

let value = elementNode.attributes[key].value;
const name = elementNode.attributes[key].localName;
const name = elementNode.attributes[key].name;

@@ -141,3 +141,3 @@ if (/^blob:/.test(value)) {

.map(key => ({
name: elementNode.attributes[key].localName,
name: elementNode.attributes[key].name,
value: elementNode.attributes[key].value,

@@ -170,3 +170,3 @@ }))

function nodeAttributes({attributes = {}}) {
return Object.keys(attributes).filter(k => attributes[k].localName);
return Object.keys(attributes).filter(k => attributes[k].name);
}

@@ -173,0 +173,0 @@ }

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

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

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

let value = elementNode.attributes[key].value;
const name = elementNode.attributes[key].localName;
const name = elementNode.attributes[key].name;

@@ -193,3 +193,3 @@ if (/^blob:/.test(value)) {

.map(key => ({
name: elementNode.attributes[key].localName,
name: elementNode.attributes[key].name,
value: elementNode.attributes[key].value,

@@ -222,3 +222,3 @@ }))

function nodeAttributes({attributes = {}}) {
return Object.keys(attributes).filter(k => attributes[k].localName);
return Object.keys(attributes).filter(k => attributes[k].name);
}

@@ -225,0 +225,0 @@ }

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

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

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

let value = elementNode.attributes[key].value;
const name = elementNode.attributes[key].localName;
const name = elementNode.attributes[key].name;

@@ -193,3 +193,3 @@ if (/^blob:/.test(value)) {

.map(key => ({
name: elementNode.attributes[key].localName,
name: elementNode.attributes[key].name,
value: elementNode.attributes[key].value,

@@ -222,3 +222,3 @@ }))

function nodeAttributes({attributes = {}}) {
return Object.keys(attributes).filter(k => attributes[k].localName);
return Object.keys(attributes).filter(k => attributes[k].name);
}

@@ -225,0 +225,0 @@ }

@@ -93,3 +93,3 @@ 'use strict';

let value = elementNode.attributes[key].value;
const name = elementNode.attributes[key].localName;
const name = elementNode.attributes[key].name;

@@ -138,3 +138,3 @@ if (/^blob:/.test(value)) {

.map(key => ({
name: elementNode.attributes[key].localName,
name: elementNode.attributes[key].name,
value: elementNode.attributes[key].value,

@@ -167,3 +167,3 @@ }))

function nodeAttributes({attributes = {}}) {
return Object.keys(attributes).filter(k => attributes[k].localName);
return Object.keys(attributes).filter(k => attributes[k].name);
}

@@ -170,0 +170,0 @@ }

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

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

@@ -57,3 +57,3 @@ /* eslint-disable no-use-before-define */

let value = elementNode.attributes[key].value;
const name = elementNode.attributes[key].localName;
const name = elementNode.attributes[key].name;

@@ -102,3 +102,3 @@ if (/^blob:/.test(value)) {

.map(key => ({
name: elementNode.attributes[key].localName,
name: elementNode.attributes[key].name,
value: elementNode.attributes[key].value,

@@ -131,3 +131,3 @@ }))

function nodeAttributes({attributes = {}}) {
return Object.keys(attributes).filter(k => attributes[k].localName);
return Object.keys(attributes).filter(k => attributes[k].name);
}

@@ -134,0 +134,0 @@ }

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