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.2.5 to 0.2.6

5

cjs/document.js

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

get defaultView() {
return new Proxy(globalThis, {
const window = new Proxy(globalThis, {
/* c8 ignore start */

@@ -221,3 +221,3 @@ get: (globalThis, name) => {

case 'window':
return this.defaultView;
return window;
case 'customElements':

@@ -233,2 +233,3 @@ if (!this._customElements.define)

});
return window;
}

@@ -235,0 +236,0 @@

@@ -212,3 +212,3 @@ import {DOCUMENT_NODE, TEXT_NODE, DOM} from './constants.js';

get defaultView() {
return new Proxy(globalThis, {
const window = new Proxy(globalThis, {
/* c8 ignore start */

@@ -220,3 +220,3 @@ get: (globalThis, name) => {

case 'window':
return this.defaultView;
return window;
case 'customElements':

@@ -232,2 +232,3 @@ if (!this._customElements.define)

});
return window;
}

@@ -234,0 +235,0 @@

2

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

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

@@ -75,3 +75,3 @@ # 🔗 linkedom

import {parseHTML} from 'linkedom';
function JSDOM(html) { return {window: parseHTML(html).defaultView}; }
function JSDOM(html) { return parseHTML(html).defaultView; }

@@ -78,0 +78,0 @@ // now you can do the same as you would with JSDOM

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