mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
6d1170f06c
Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: ricky <ricky.miller@gmail.com> Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: legobt <6wbvkn0j@anonaddy.me> Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
92 lines
5.1 KiB
Diff
92 lines
5.1 KiB
Diff
diff --git a/dist/index.d.ts b/dist/index.d.ts
|
|
index 81253d38280bb25de1e36443d919f0e95b3e023c..d2333bf6796ff3ec94f5857d23ef34cc39c9729a 100644
|
|
--- a/dist/index.d.ts
|
|
+++ b/dist/index.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
-import { type ParserOptions } from './parser/index.js';
|
|
+import { ParserOptions } from './parser/index.js';
|
|
import type { DefaultTreeAdapterMap } from './tree-adapters/default.js';
|
|
import type { TreeAdapterTypeMap } from './tree-adapters/interface.js';
|
|
-export { type DefaultTreeAdapterMap, defaultTreeAdapter } from './tree-adapters/default.js';
|
|
+export { DefaultTreeAdapterMap, defaultTreeAdapter } from './tree-adapters/default.js';
|
|
export type { TreeAdapter, TreeAdapterTypeMap } from './tree-adapters/interface.js';
|
|
-export { type ParserOptions, /** @internal */ Parser } from './parser/index.js';
|
|
-export { serialize, serializeOuter, type SerializerOptions } from './serializer/index.js';
|
|
+export { ParserOptions, /** @internal */ Parser } from './parser/index.js';
|
|
+export { serialize, serializeOuter, SerializerOptions } from './serializer/index.js';
|
|
export type { ParserError } from './common/error-codes.js';
|
|
/** @internal */
|
|
export * as foreignContent from './common/foreign-content.js';
|
|
@@ -13,7 +13,7 @@ export * as html from './common/html.js';
|
|
/** @internal */
|
|
export * as Token from './common/token.js';
|
|
/** @internal */
|
|
-export { Tokenizer, type TokenizerOptions, TokenizerMode, type TokenHandler } from './tokenizer/index.js';
|
|
+export { Tokenizer, TokenizerOptions, TokenizerMode, TokenHandler } from './tokenizer/index.js';
|
|
/**
|
|
* Parses an HTML string.
|
|
*
|
|
diff --git a/dist/parser/index.d.ts b/dist/parser/index.d.ts
|
|
index 50a9bd0c73649e4a78edd0d18b4ee44ae9cdf3b7..df1863e335e64269298dea42a7481b26b9e77581 100644
|
|
--- a/dist/parser/index.d.ts
|
|
+++ b/dist/parser/index.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
-import { Tokenizer, TokenizerMode, type TokenHandler } from '../tokenizer/index.js';
|
|
-import { OpenElementStack, type StackHandler } from './open-element-stack.js';
|
|
+import { Tokenizer, TokenizerMode, TokenHandler } from '../tokenizer/index.js';
|
|
+import { OpenElementStack, StackHandler } from './open-element-stack.js';
|
|
import { FormattingElementList } from './formatting-element-list.js';
|
|
-import { ERR, type ParserErrorHandler } from '../common/error-codes.js';
|
|
+import { ERR, ParserErrorHandler } from '../common/error-codes.js';
|
|
import { TAG_ID as $, NS } from '../common/html.js';
|
|
import type { TreeAdapter, TreeAdapterTypeMap } from '../tree-adapters/interface.js';
|
|
-import { type Token, type CommentToken, type CharacterToken, type TagToken, type DoctypeToken, type EOFToken, type LocationWithAttributes } from '../common/token.js';
|
|
+import { Token, CommentToken, CharacterToken, TagToken, DoctypeToken, EOFToken, LocationWithAttributes } from '../common/token.js';
|
|
declare enum InsertionMode {
|
|
INITIAL = 0,
|
|
BEFORE_HTML = 1,
|
|
diff --git a/dist/serializer/index.d.ts b/dist/serializer/index.d.ts
|
|
index d944fae103a245cb84623fd733c91cc7e79f72f1..432464c9e05ecfd93c66526bcf4f0c81f09bf00d 100644
|
|
--- a/dist/serializer/index.d.ts
|
|
+++ b/dist/serializer/index.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
import type { TreeAdapter, TreeAdapterTypeMap } from '../tree-adapters/interface';
|
|
-import { type DefaultTreeAdapterMap } from '../tree-adapters/default.js';
|
|
+import { DefaultTreeAdapterMap } from '../tree-adapters/default.js';
|
|
export interface SerializerOptions<T extends TreeAdapterTypeMap> {
|
|
/**
|
|
* Specifies input tree format.
|
|
diff --git a/dist/tokenizer/index.d.ts b/dist/tokenizer/index.d.ts
|
|
index de6e234cfb36bb3a4b928c47ab0d0fdf0b4311e1..89e2484b43f3487f3f157435a283ba932a879210 100644
|
|
--- a/dist/tokenizer/index.d.ts
|
|
+++ b/dist/tokenizer/index.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
import { Preprocessor } from './preprocessor.js';
|
|
-import { type CharacterToken, type DoctypeToken, type TagToken, type EOFToken, type CommentToken } from '../common/token.js';
|
|
-import { type ParserErrorHandler } from '../common/error-codes.js';
|
|
+import { CharacterToken, DoctypeToken, TagToken, EOFToken, CommentToken } from '../common/token.js';
|
|
+import { ParserErrorHandler } from '../common/error-codes.js';
|
|
declare const enum State {
|
|
DATA = 0,
|
|
RCDATA = 1,
|
|
diff --git a/dist/tokenizer/preprocessor.d.ts b/dist/tokenizer/preprocessor.d.ts
|
|
index e74a590783b4688fb6498b019c1a75cfd9ac23e7..d145dcce97b104830e5b3d7f57f3a63377bbf89c 100644
|
|
--- a/dist/tokenizer/preprocessor.d.ts
|
|
+++ b/dist/tokenizer/preprocessor.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
-import { ERR, type ParserError, type ParserErrorHandler } from '../common/error-codes.js';
|
|
+import { ERR, ParserError, ParserErrorHandler } from '../common/error-codes.js';
|
|
export declare class Preprocessor {
|
|
private handler;
|
|
html: string;
|
|
diff --git a/dist/tree-adapters/default.d.ts b/dist/tree-adapters/default.d.ts
|
|
index cccdf8f86d2295b3059c42943d896e81691c8419..d70b8fa2562f4dc6415d7ebaaba6cb322f66e9cb 100644
|
|
--- a/dist/tree-adapters/default.d.ts
|
|
+++ b/dist/tree-adapters/default.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
-import { DOCUMENT_MODE, type NS } from '../common/html.js';
|
|
+import { DOCUMENT_MODE, NS } from '../common/html.js';
|
|
import type { Attribute, Location, ElementLocation } from '../common/token.js';
|
|
import type { TreeAdapter, TreeAdapterTypeMap } from './interface.js';
|
|
export declare enum NodeType {
|