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.2 to 0.2.3

7

cjs/document.js

@@ -89,3 +89,2 @@ 'use strict';

// extras

@@ -215,4 +214,2 @@ const {Range} = require('./range.js');

get defaultView() {
if (!this._customElements.define)
this._customElements = new CustomElementRegistry(this);
return new Proxy(globalThis, {

@@ -222,3 +219,7 @@ /* c8 ignore start */

switch (name) {
case 'document':
return this;
case 'customElements':
if (!this._customElements.define)
this._customElements = new CustomElementRegistry(this);
return this._customElements;

@@ -225,0 +226,0 @@ default:

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

// extras

@@ -214,4 +213,2 @@ import {Range} from './range.js';

get defaultView() {
if (!this._customElements.define)
this._customElements = new CustomElementRegistry(this);
return new Proxy(globalThis, {

@@ -221,3 +218,7 @@ /* c8 ignore start */

switch (name) {
case 'document':
return this;
case 'customElements':
if (!this._customElements.define)
this._customElements = new CustomElementRegistry(this);
return this._customElements;

@@ -224,0 +225,0 @@ default:

{
"name": "linkedom",
"version": "0.2.2",
"version": "0.2.3",
"description": "A triple-linked lists based DOM implementation",

@@ -18,3 +18,3 @@ "main": "./cjs/index.js",

"coveralls": "c8 report --reporter=text-lcov | coveralls",
"test": "c8 node test/index.js"
"test": "c8 node test/index.js && node test/benchmark-linkedom.js --dom --custom-elements"
},

@@ -21,0 +21,0 @@ "keywords": [

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