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

@domtree/minimal

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domtree/minimal - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

.eslintrc.json

8

CHANGELOG.md
# @domtree/minimal
## 0.9.2
### Patch Changes
- 1a553c5: Prepare for 0.8
- Updated dependencies [1a553c5]
- @domtree/interface@0.9.2
## 0.9.1

@@ -4,0 +12,0 @@

38

index.ts

@@ -33,3 +33,5 @@ import type * as dom from "@domtree/interface";

type ReadonlyNode = { [Empty]?: true };
interface ReadonlyNode {
[Empty]?: true;
}

@@ -40,3 +42,3 @@ interface ReadonlyParent extends ReadonlyNode {

querySelectorAll(selectors: string): Iterable<ChildNode>;
querySelectorAll: (selectors: string) => Iterable<ChildNode>;
}

@@ -51,3 +53,3 @@

*/
insertBefore(newChild: Node, refChild: Node | null): void;
insertBefore: (newChild: Node, refChild: Node | null) => void;
}

@@ -66,3 +68,3 @@

*/
remove(): void;
remove: () => void;

@@ -72,3 +74,3 @@ /**

*/
replaceWith(node: Node): void;
replaceWith: (node: Node) => void;
}

@@ -79,12 +81,12 @@

createElementNS(
createElementNS: (
ns: ElementNamespace,
qualifiedName: string,
options?: { is: string }
): Element;
) => Element;
createRange(): LiveRange;
createTextNode(data: string): Text;
createComment(data: string): Comment;
createDocumentFragment(): DocumentFragment;
createRange: () => LiveRange;
createTextNode: (data: string) => Text;
createComment: (data: string) => Comment;
createDocumentFragment: () => DocumentFragment;
}

@@ -103,3 +105,3 @@

export interface Element extends ReadonlyParent, ReadonlyChild {
matches(selectors: string): boolean;
matches: (selectors: string) => boolean;

@@ -110,5 +112,5 @@ readonly tagName: string;

hasAttribute(qualifiedName: string): boolean;
getAttributeNode(qualifiedName: string): Attr | null;
removeAttribute(qualifiedName: string): void;
hasAttribute: (qualifiedName: string) => boolean;
getAttributeNode: (qualifiedName: string) => Attr | null;
removeAttribute: (qualifiedName: string) => void;

@@ -120,7 +122,7 @@ get innerHTML(): string;

interface MutableElement extends Element, MutableParent, MutableChild {
setAttributeNS(
setAttributeNS: (
namespace: AttributeNamespace | null,
qualifiedName: string,
value: string
): void;
) => void;

@@ -149,3 +151,3 @@ set innerHTML(html: string);

readonly data: string;
remove(): void;
remove: () => void;
}

@@ -152,0 +154,0 @@

{
"name": "@domtree/minimal",
"version": "0.9.1",
"version": "0.9.2",
"type": "module",
"types": "index.ts",
"types": "dist/index.d.ts",
"starbeam": {
"source": "ts",
"type": "library:interfaces"
},
"dependencies": {
"@domtree/interface": "^0.9.1"
}
"@domtree/interface": "^0.9.2"
},
"devDependencies": {
"@starbeam-dev/build-support": "1.0.0"
},
"scripts": {
"test:lint": "eslint",
"test:types": "tsc -b"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs"
}
{
"extends": "../../../.config/tsconfig/tsconfig.-package.json"
"extends": "../../../.config/tsconfig/tsconfig.shared.json",
"compilerOptions": {
"declarationMap": true,
"declarationDir": "../../../dist/types",
"declaration": true,
"outDir": "../../../dist/packages",
"composite": true,
"types": ["../../../packages/env"]
},
"exclude": ["dist/**/*"]
}
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