New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openstax/highlighter

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openstax/highlighter - npm Package Compare versions

Comparing version 1.10.0 to 1.11.0

6

dist/injectHighlightWrappers.js

@@ -168,2 +168,8 @@ "use strict";

}
else if (!goDeeper && node.contains(endContainer)) {
// stops traversing of tree if endContainer is a descendent of current allowed node
// this prevents a bug where the highlighter breaks out of its bounds and scans the remainder of the page
// (happens when firefox sets the comment inside an iframe as endcontainer)
done = true;
}
else if (node.nextSibling) {

@@ -170,0 +176,0 @@ node = node.nextSibling;

2

package.json
{
"name": "@openstax/highlighter",
"version": "1.10.0",
"version": "1.11.0",
"main": "dist/index.js",

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

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