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.17 to 1.2.18

8

dist/processPage.js

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{
"name": "@applitools/dom-snapshot",
"version": "1.2.17",
"version": "1.2.18",
"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].name;
const name = elementNode.attributes[key].localName;

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

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

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

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

@@ -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