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

selection-ranges

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selection-ranges - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## 1.2.1
* `FIX`: ensure `isSelected(el)` supports IE 11
## 1.2.0

@@ -11,0 +15,0 @@

@@ -50,2 +50,8 @@ 'use strict';

// IE supports Node#contains for elements only
// thus we ensure we check against an actual Element node
if (isText(focusNode)) {
focusNode = focusNode.parentNode;
}
return el == focusNode || el.contains(focusNode);

@@ -52,0 +58,0 @@ }

2

package.json
{
"name": "selection-ranges",
"version": "1.2.0",
"version": "1.2.1",
"description": "Selection range manipulation for contenteditable elements",

@@ -5,0 +5,0 @@ "main": "index.js",

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