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.14.19 to 0.14.20

types/commonjs/canvas-shim.d.cts

20

cjs/html/i-frame-element.js
'use strict';
const {registerHTMLClass} = require('../shared/register-html-class.js');
const {stringAttribute} = require('../shared/attributes.js');
const {booleanAttribute, stringAttribute} = require('../shared/attributes.js');

@@ -20,2 +20,20 @@ const {HTMLElement} = require('./element.js');

set src(value) { stringAttribute.set(this, 'src', value); }
get srcdoc() { return stringAttribute.get(this, "srcdoc"); }
set srcdoc(value) { stringAttribute.set(this, "srcdoc", value); }
get name() { return stringAttribute.get(this, "name"); }
set name(value) { stringAttribute.set(this, "name", value); }
get allow() { return stringAttribute.get(this, "allow"); }
set allow(value) { stringAttribute.set(this, "allow", value); }
get allowFullscreen() { return booleanAttribute.get(this, "allowfullscreen"); }
set allowFullscreen(value) { booleanAttribute.set(this, "allowfullscreen", value); }
get referrerPolicy() { return stringAttribute.get(this, "referrerpolicy"); }
set referrerPolicy(value) { stringAttribute.set(this, "referrerpolicy", value); }
get loading() { return stringAttribute.get(this, "loading"); }
set loading(value) { stringAttribute.set(this, "loading", value); }
/* c8 ignore stop */

@@ -22,0 +40,0 @@ }

@@ -73,2 +73,5 @@ 'use strict';

}
get text() { return this.textContent; }
set text(content) { this.textContent = content; }
}

@@ -75,0 +78,0 @@

17

cjs/interface/custom-event.js

@@ -13,13 +13,10 @@ 'use strict';

*/
const GlobalCustomEvent = typeof CustomEvent === 'function' ?
CustomEvent :
class CustomEvent extends Event {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict);
this.detail = eventInitDict.detail;
}
};
class CustomEvent extends Event {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict);
this.detail = eventInitDict.detail;
}
}
exports.CustomEvent = CustomEvent
exports.CustomEvent = GlobalCustomEvent;
/* c8 ignore stop */
import {registerHTMLClass} from '../shared/register-html-class.js';
import {stringAttribute} from '../shared/attributes.js';
import {booleanAttribute, stringAttribute} from '../shared/attributes.js';

@@ -19,2 +19,20 @@ import {HTMLElement} from './element.js';

set src(value) { stringAttribute.set(this, 'src', value); }
get srcdoc() { return stringAttribute.get(this, "srcdoc"); }
set srcdoc(value) { stringAttribute.set(this, "srcdoc", value); }
get name() { return stringAttribute.get(this, "name"); }
set name(value) { stringAttribute.set(this, "name", value); }
get allow() { return stringAttribute.get(this, "allow"); }
set allow(value) { stringAttribute.set(this, "allow", value); }
get allowFullscreen() { return booleanAttribute.get(this, "allowfullscreen"); }
set allowFullscreen(value) { booleanAttribute.set(this, "allowfullscreen", value); }
get referrerPolicy() { return stringAttribute.get(this, "referrerpolicy"); }
set referrerPolicy(value) { stringAttribute.set(this, "referrerpolicy", value); }
get loading() { return stringAttribute.get(this, "loading"); }
set loading(value) { stringAttribute.set(this, "loading", value); }
/* c8 ignore stop */

@@ -21,0 +39,0 @@ }

@@ -72,2 +72,5 @@ import { booleanAttribute, stringAttribute } from '../shared/attributes.js';

}
get text() { return this.textContent; }
set text(content) { this.textContent = content; }
}

@@ -74,0 +77,0 @@

@@ -12,13 +12,9 @@ // https://dom.spec.whatwg.org/#interface-customevent

*/
const GlobalCustomEvent = typeof CustomEvent === 'function' ?
CustomEvent :
class CustomEvent extends Event {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict);
this.detail = eventInitDict.detail;
}
};
export class CustomEvent extends Event {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict);
this.detail = eventInitDict.detail;
}
}
export {GlobalCustomEvent as CustomEvent};
/* c8 ignore stop */
{
"name": "linkedom",
"version": "0.14.19",
"version": "0.14.20",
"description": "A triple-linked lists based DOM implementation",

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

@@ -7,4 +7,6 @@ # 🔗 linkedom

A [triple-linked list](#data-structure) based DOM-like namespace, for DOM-less environments, with the following goals:
### This is not a crawler!
LinkeDOM is a [triple-linked list](#data-structure) based DOM-like namespace, for DOM-less environments, with the following goals:
* **avoid** maximum callstack/recursion or **crashes**, even under heaviest conditions.

@@ -11,0 +13,0 @@ * guarantee **linear performance** from small to big documents.

@@ -7,3 +7,15 @@ /**

get src(): any;
set srcdoc(arg: any);
get srcdoc(): any;
set name(arg: any);
get name(): any;
set allow(arg: any);
get allow(): any;
set allowFullscreen(arg: any);
get allowFullscreen(): any;
set referrerPolicy(arg: any);
get referrerPolicy(): any;
set loading(arg: any);
get loading(): any;
}
import { HTMLElement } from "./element.js";

@@ -19,3 +19,5 @@ /**

get async(): any;
set text(arg: any);
get text(): any;
}
import { TextElement } from "./text-element.js";

@@ -1,37 +0,7 @@

export { GlobalCustomEvent as CustomEvent };
/**
* @implements globalThis.CustomEvent
*/
declare const GlobalCustomEvent: {
new <T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;
prototype: CustomEvent<any>;
} | {
new (type: any, eventInitDict?: {}): {
detail: any;
type: any;
bubbles: boolean;
cancelBubble: boolean;
_stopImmediatePropagationFlag: boolean;
cancelable: boolean;
eventPhase: number;
timeStamp: number;
defaultPrevented: boolean;
originalTarget: any;
returnValue: any;
srcElement: any;
target: any;
_path: any[];
readonly BUBBLING_PHASE: number;
readonly AT_TARGET: number;
readonly CAPTURING_PHASE: number;
readonly NONE: number;
preventDefault(): void;
composedPath(): any[];
stopPropagation(): void;
stopImmediatePropagation(): void;
};
readonly BUBBLING_PHASE: number;
readonly AT_TARGET: number;
readonly CAPTURING_PHASE: number;
readonly NONE: number;
};
export class CustomEvent extends Event implements globalThis.CustomEvent {
detail: any;
}
import { Event } from "./event.js";

Sorry, the diff of this file is too big to display

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