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

whacko

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whacko - npm Package Compare versions

Comparing version 0.12.7 to 0.12.8

14

lib/render.js

@@ -137,6 +137,16 @@ /*

var renderText = function (elem) {
var parent = elem.parent;
var parent = elem.parent,
doNotEscape = {
'style': true,
'script': true,
'xmp': true,
'iframe': true,
'noembed': true,
'noframes': true,
'plaintext': true,
'noscript': true
};
//NOTE: following elements doesn't require HTML escaping.
if (parent && (parent.name === 'script' || parent.name === 'style' || parent.name === 'iframe' || parent.name === 'xmp'))
if (parent && doNotEscape[parent.name])
return elem.data;

@@ -143,0 +153,0 @@

2

package.json

@@ -13,3 +13,3 @@ {

"keywords": ["htmlparser", "jquery", "selector", "scraper"],
"version": "0.12.7",
"version": "0.12.8",
"repository": {

@@ -16,0 +16,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

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