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

@glimmer/interfaces

Package Overview
Dependencies
Maintainers
10
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/interfaces - npm Package Compare versions

Comparing version 0.26.0 to 0.26.1

63

dist/types/lib/dom/simple.d.ts

@@ -13,14 +13,14 @@ import { FIXME, Option } from '../core';

export enum NodeType {
Element = 1,
Attribute = 2,
Text = 3,
CdataSection = 4,
EntityReference = 5,
Entity = 6,
ProcessingInstruction = 7,
Comment = 8,
Document = 9,
DocumentType = 10,
DocumentFragment = 11,
Notation = 12
Element,
Attribute,
Text,
CdataSection,
EntityReference,
Entity,
ProcessingInstruction,
Comment,
Document,
DocumentType,
DocumentFragment,
Notation
}

@@ -35,14 +35,8 @@

parentNode: Option<Node>;
nodeType: NodeType;
nodeType: NodeType | number;
nodeValue: Option<string>;
firstChild: Option<Node>;
lastChild: Option<Node>;
}
export interface DocumentFragment extends Node {
nodeType: NodeType.DocumentFragment;
}
export interface Document extends Node {
nodeType: NodeType.Document;
createElement(tag: string): Element;

@@ -58,34 +52,11 @@ createElementNS(namespace: Namespace, tag: string): Element;

export interface TokenList {
[index: number]: string;
length: number;
export interface Text extends CharacterData {}
add(s: string): void;
remove(s: string): void;
contains(s: string): boolean;
}
export interface Comment extends CharacterData {}
export interface Text extends CharacterData {
nodeType: NodeType.Text;
}
export interface Comment extends CharacterData {
nodeType: NodeType.Comment;
}
export interface Attribute {
name: string;
value: string;
}
export interface Attributes {
[index: number]: Attribute;
length: number;
}
export interface Element extends Node {
nodeType: NodeType.Element;
namespaceURI: Option<string>;
tagName: string;
attributes: Attributes;
firstChild: Option<Node>;
lastChild: Option<Node>;
removeAttribute(name: string): void;

@@ -92,0 +63,0 @@ removeAttributeNS(namespaceURI: string, name: string): void;

{
"name": "@glimmer/interfaces",
"version": "0.26.0",
"version": "0.26.1",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces",
"dependencies": {
"@glimmer/wire-format": "^0.26.0"
"@glimmer/wire-format": "^0.26.1"
},

@@ -8,0 +8,0 @@ "devDependencies": {

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