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

linkedom

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedom - npm Package Compare versions

Comparing version 0.1.39 to 0.1.40

17

cjs/range.js

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

/* c8 ignore start */
/* TODO: this is more complicated than it looks
setStart(node, offset) {

@@ -41,3 +41,17 @@ this._start = node.childNodes[offset];

}
*/
insertNode(newNode) {
this._start.parentNode.insertBefore(newNode, this._start);
}
selectNode(node) {
this._start = node;
this._end = getEnd(node);
}
surroundContents(parentNode) {
parentNode.replaceChildren(this.extractContents());
}
setStartBefore(node) {

@@ -58,3 +72,2 @@ this._start = node;

}
/* c8 ignore stop */

@@ -61,0 +74,0 @@ cloneContents() {

@@ -31,3 +31,3 @@ import {getEnd, setAdjacent} from './utils.js';

/* c8 ignore start */
/* TODO: this is more complicated than it looks
setStart(node, offset) {

@@ -40,3 +40,17 @@ this._start = node.childNodes[offset];

}
*/
insertNode(newNode) {
this._start.parentNode.insertBefore(newNode, this._start);
}
selectNode(node) {
this._start = node;
this._end = getEnd(node);
}
surroundContents(parentNode) {
parentNode.replaceChildren(this.extractContents());
}
setStartBefore(node) {

@@ -57,3 +71,2 @@ this._start = node;

}
/* c8 ignore stop */

@@ -60,0 +73,0 @@ cloneContents() {

2

package.json
{
"name": "linkedom",
"version": "0.1.39",
"version": "0.1.40",
"description": "A triple-linked lists based DOM implementation",

@@ -5,0 +5,0 @@ "main": "./cjs/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