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.1.3 to 1.1.4

14

dist/processPage.js

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

// @applitools/dom-snapshot@1.1.3
// @applitools/dom-snapshot@1.1.4
function __processPage() {

@@ -119,2 +119,14 @@ var processPage = (function () {

}
} else {
node = {
nodeType: NODE_TYPES.ELEMENT,
nodeName: 'SCRIPT',
attributes: Object.keys(elementNode.attributes || {})
.map(key => ({
name: elementNode.attributes[key].localName,
value: elementNode.attributes[key].value,
}))
.filter(attr => attr.name !== 'src'),
childNodeIndexes: [],
};
}

@@ -121,0 +133,0 @@ } else if (nodeType === NODE_TYPES.TEXT) {

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

// @applitools/dom-snapshot@1.1.3
// @applitools/dom-snapshot@1.1.4
function __processPageAndSerialize() {

@@ -171,2 +171,14 @@ var processPageAndSerialize = (function () {

}
} else {
node = {
nodeType: NODE_TYPES.ELEMENT,
nodeName: 'SCRIPT',
attributes: Object.keys(elementNode.attributes || {})
.map(key => ({
name: elementNode.attributes[key].localName,
value: elementNode.attributes[key].value,
}))
.filter(attr => attr.name !== 'src'),
childNodeIndexes: [],
};
}

@@ -173,0 +185,0 @@ } else if (nodeType === NODE_TYPES.TEXT) {

4

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

@@ -16,3 +16,3 @@ "license": "MIT",

"build:seal:file": "sed -i \"1s/.*/\\/\\/ @applitools\\/dom-snapshot@$npm_package_version/\" $file_name",
"prepublishOnly": "npm version patch && npm run build:seal"
"prepublishOnly": "npm run build && npm version patch && npm run build:seal"
},

@@ -19,0 +19,0 @@ "engines": {

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