diff --git a/classes/parse5.Parser.html b/classes/parse5.Parser.html index dfcf4eb31..68686f064 100644 --- a/classes/parse5.Parser.html +++ b/classes/parse5.Parser.html @@ -1,4 +1,4 @@ -Parser | parse5

Class Parser<T>

Type Parameters

Implements

Constructors

constructor +Parser | parse5

Class Parser<T>

Type Parameters

Implements

Constructors

Properties

currentNotInHTML: boolean = false

Indicates that the current node is not an element in the HTML namespace

-
currentToken: null | Token = null
document: T["document"]
options: Required<ParserOptions<T>>
stopped: boolean = false
tokenizer: Tokenizer
treeAdapter: TreeAdapter<T>

Methods

  • Protected

    Parameters

    • donor: T["parentNode"]
    • recipient: T["parentNode"]

    Returns void

  • Protected

    Returns {
        beforeElement: null | T["element"];
        parent: T["parentNode"];
    }

    • beforeElement: null | T["element"]
    • parent: T["parentNode"]
  • Protected

    Parameters

    • element: T["element"]

    Returns void

  • Protected

    Returns T["element"]

  • Protected

    Parameters

    Returns void

  • Protected

    Parameters

    • tid: TAG_ID
    • element: T["element"]
    • Optional foreignNS: NS

    Returns boolean

  • Protected

    Parameters

    • element: T["element"]
    • id: TAG_ID

    Returns boolean

  • Protected

    Processes a given start tag.

    +

Constructors

Properties

currentNotInHTML: boolean = false

Indicates that the current node is not an element in the HTML namespace

+
currentToken: null | Token = null
document: T["document"]
options: Required<ParserOptions<T>>
stopped: boolean = false
tokenizer: Tokenizer
treeAdapter: TreeAdapter<T>

Methods

  • Protected

    Parameters

    • donor: T["parentNode"]
    • recipient: T["parentNode"]

    Returns void

  • Protected

    Returns {
        beforeElement: null | T["element"];
        parent: T["parentNode"];
    }

    • beforeElement: null | T["element"]
    • parent: T["parentNode"]
  • Protected

    Parameters

    • element: T["element"]

    Returns void

  • Protected

    Returns T["element"]

  • Protected

    Parameters

    Returns void

  • Protected

    Parameters

    • tid: TAG_ID
    • element: T["element"]
    • Optional foreignNS: NS

    Returns boolean

  • Protected

    Parameters

    • element: T["element"]
    • id: TAG_ID

    Returns boolean

  • Protected

    Processes a given start tag.

    onStartTag checks if a self-closing tag was recognized. When a token is moved inbetween multiple insertion modes, this check for self-closing could lead to false positives. To avoid this, _processStartTag is used for nested calls.

    Parameters

    Returns void

  • Protected

    Returns void

  • Protected

    Parameters

    • selectIdx: number

    Returns void

  • Parameters

    • current: T["parentNode"]
    • tid: number

    Returns void

  • Protected

    Parameters

    • element: T["element"]
    • closingToken: Token

    Returns void

  • Protected

    Returns boolean

  • Protected

    Parameters

    • currentToken: TagToken
    • nextTokenizerState: DATA | RCDATA | RAWTEXT | SCRIPT_DATA | PLAINTEXT | CDATA_SECTION

    Returns void

  • Returns T["documentFragment"]

  • Type Parameters

    • T extends TreeAdapterTypeMap<unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown>

    Parameters

    • Optional fragmentContext: null | T["parentNode"]
    • Optional options: ParserOptions<T>

    Returns Parser<T>

  • Type Parameters

    • T extends TreeAdapterTypeMap<unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown>

    Parameters

    Returns T["document"]

Generated using TypeDoc

\ No newline at end of file +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/parse5.Tokenizer.html b/classes/parse5.Tokenizer.html index 19ba7d09c..0e357f711 100644 --- a/classes/parse5.Tokenizer.html +++ b/classes/parse5.Tokenizer.html @@ -1,4 +1,4 @@ -Tokenizer | parse5

Class Tokenizer

Constructors

constructor +Tokenizer | parse5

Class Tokenizer

Constructors

Properties

Constructors

Properties

active: boolean = false
consumedAfterSnapshot: number = -1
currentAttr: Attribute = ...
currentCharacterToken: null | CharacterToken = null
currentLocation: null | Location
currentToken: null | Token = null
entityDecoder: EntityDecoder

We use entities' EntityDecoder to parse character references.

+

Constructors

Properties

active: boolean = false
consumedAfterSnapshot: number = -1
currentAttr: Attribute = ...
currentCharacterToken: null | CharacterToken = null
currentLocation: null | Location
currentToken: null | Token = null
entityDecoder: EntityDecoder

We use entities' EntityDecoder to parse character references.

All of the following states are handled by the EntityDecoder:

  • Named character reference state
  • @@ -132,8 +132,8 @@
  • Decimal character reference state
  • Numeric character reference end state
-
entityStartPos: number = 0
handler: TokenHandler
inForeignNode: boolean = false

Indicates that the current adjusted node exists, is not an element in the HTML namespace, +

entityStartPos: number = 0
handler: TokenHandler
inForeignNode: boolean = false

Indicates that the current adjusted node exists, is not an element in the HTML namespace, and that it is not an integration point for either MathML or HTML.

inLoop: boolean = false

Ensures that the parsing loop isn't run multiple times at once.

-
lastStartTagName: string = ''
paused: boolean = false
preprocessor: Preprocessor
returnState: State = State.DATA
state: State = State.DATA

Methods

  • Parameters

    • pattern: string
    • caseSensitive: boolean

    Returns boolean

  • Parameters

    • attrNameFirstCh: string

    Returns void

  • Parameters

    • initialName: null | string

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • cp: number

    Returns void

  • Parameters

    • Optional writeCallback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • chunk: string
    • isLastChunk: boolean
    • Optional writeCallback: (() => void)
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc

\ No newline at end of file +
inLoop: boolean = false

Ensures that the parsing loop isn't run multiple times at once.

+
lastStartTagName: string = ''
options: TokenizerOptions
paused: boolean = false
preprocessor: Preprocessor
returnState: State = State.DATA
state: State = State.DATA

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/parse5_html_rewriting_stream.RewritingStream.html b/classes/parse5_html_rewriting_stream.RewritingStream.html index d9aba4aa8..88745e5ff 100644 --- a/classes/parse5_html_rewriting_stream.RewritingStream.html +++ b/classes/parse5_html_rewriting_stream.RewritingStream.html @@ -4,7 +4,7 @@ HTML is not affected by parser error-recovery mechanisms as in a classical parsing-serialization roundtrip.

Example

const RewritingStream = require('parse5-html-rewriting-stream');
const http = require('http');
const fs = require('fs');

const file = fs.createWriteStream('/home/google.com.html');
const rewriter = new RewritingStream();

// Replace divs with spans
rewriter.on('startTag', startTag => {
if (startTag.tagName === 'span') {
startTag.tagName = 'div';
}

rewriter.emitStartTag(startTag);
});

rewriter.on('endTag', endTag => {
if (endTag.tagName === 'span') {
endTag.tagName = 'div';
}

rewriter.emitEndTag(endTag);
});

// Wrap all text nodes with an <i> tag
rewriter.on('text', (_, raw) => {
// Use the raw representation of text without HTML entities decoding
rewriter.emitRaw(`<i>${raw}</i>`);
});

http.get('http://google.com', res => {
// Assumes response is UTF-8.
res.setEncoding('utf8');
// `RewritingStream` is a `Transform` stream, which means you can pipe
// through it.
res.pipe(rewriter).pipe(file);
});
-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

Constructors

Properties

allowHalfOpen: boolean

If false then the stream will automatically end the writable side when the +

Returns RewritingStream

Properties

allowHalfOpen: boolean

If false then the stream will automatically end the writable side when the readable side ends. Set initially by the allowHalfOpen constructor option, which defaults to false.

This can be changed manually to change the half-open behavior of an existingDuplex stream instance, but must be changed before the 'end' event is @@ -129,7 +129,7 @@

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

-

Methods

  • Returns AsyncIterableIterator<any>

  • Parameters

    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • Parameters

    • error: null | Error
    • callback: ((error) => void)
        • (error): void
        • Parameters

          • error: null | Error

          Returns void

    Returns void

  • Parameters

    • callback: ((error?, data?) => void)
        • (error?, data?): void
        • Parameters

          • Optional error: null | Error
          • Optional data: string

          Returns void

    Returns void

  • Parameters

    • callback: TransformCallback

    Returns void

  • Parameters

    • size: number

    Returns void

  • Parameters

    • chunk: string
    • _encoding: string
    • callback: ((error?, data?) => void)
        • (error?, data?): void
        • Parameters

          • Optional error: null | Error
          • Optional data: string

          Returns void

    Returns void

  • Parameters

    • chunk: any
    • encoding: BufferEncoding
    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • Parameters

    • chunks: {
          chunk: any;
          encoding: BufferEncoding;
      }[]
    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

Methods

  • Returns AsyncIterableIterator<any>

  • Parameters

    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • Parameters

    • error: null | Error
    • callback: ((error) => void)
        • (error): void
        • Parameters

          • error: null | Error

          Returns void

    Returns void

  • Parameters

    • callback: ((error?, data?) => void)
        • (error?, data?): void
        • Parameters

          • Optional error: null | Error
          • Optional data: string

          Returns void

    Returns void

  • Parameters

    • callback: TransformCallback

    Returns void

  • Parameters

    • size: number

    Returns void

  • Parameters

    • chunk: string
    • _encoding: string
    • callback: ((error?, data?) => void)
        • (error?, data?): void
        • Parameters

          • Optional error: null | Error
          • Optional data: string

          Returns void

    Returns void

  • Parameters

    • chunk: any
    • encoding: BufferEncoding
    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • Parameters

    • chunks: {
          chunk: any;
          encoding: BufferEncoding;
      }[]
    • callback: ((error?) => void)
        • (error?): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • Event emitter The defined events on documents including:

    1. close
    2. @@ -148,12 +148,12 @@

    Parameters

    • Optional error: Error

      Error which will be passed as payload in 'error' event

    Returns RewritingStream

    Since

    v8.0.0

  • Parameters

    • event: "close"

    Returns boolean

  • Parameters

    • event: "data"
    • chunk: any

    Returns boolean

  • Parameters

    • event: "end"

    Returns boolean

  • Parameters

    • event: "error"
    • err: Error

    Returns boolean

  • Parameters

    • event: "pause"

    Returns boolean

  • Parameters

    • event: "readable"

    Returns boolean

  • Parameters

    • event: "resume"

    Returns boolean

  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

  • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

    const EventEmitter = require('events');
    const myEE = new EventEmitter();
    myEE.on('foo', () => {});
    myEE.on('bar', () => {});

    const sym = Symbol('symbol');
    myEE.on(sym, () => {});

    console.log(myEE.eventNames());
    // Prints: [ 'foo', 'bar', Symbol(symbol) ]
    @@ -177,14 +177,14 @@
  • Alias for emitter.removeListener().

    Parameters

    • eventName: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns RewritingStream

    Since

    v10.0.0

  • Parameters

    • event: "close"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns RewritingStream

  • Parameters

    • event: "data"
    • listener: ((chunk) => void)
        • (chunk): void
        • Parameters

          • chunk: any

          Returns void

    Returns RewritingStream

  • Parameters

    • event: "end"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns RewritingStream

  • Parameters

    • event: "error"
    • listener: ((err) => void)
        • (err): void
        • Parameters

          • err: Error

          Returns void

    Returns RewritingStream

  • Parameters

    • event: "pause"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns RewritingStream

  • Parameters

    • event: "readable"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns RewritingStream

  • Parameters

    • event: "resume"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns RewritingStream

  • Parameters

    • event: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns RewritingStream

  • The readable.pause() method will cause a stream in flowing mode to stop +

      • (...args): void
      • Parameters

        • Rest ...args: any[]

        Returns void

Returns RewritingStream

Type Parameters

Hierarchy

  • Writable
    • ParserStream

    Constructors

    Type Parameters

    Hierarchy

    • Writable
      • ParserStream

      Constructors

      Properties

      Constructors

      Properties

      closed: boolean

      Is true after 'close' has been emitted.

      +
    • parser: Parser<T> = ...
    • Returns ParserStream<T>

      Properties

      closed: boolean

      Is true after 'close' has been emitted.

      Since

      v18.0.0

      destroyed: boolean

      Is true after writable.destroy() has been called.

      Since

      v8.0.0

      errored: null | Error

      Returns error if the stream has been destroyed with an error.

      Since

      v18.0.0

      -
      parser: Parser<T> = ...
      writable: boolean

      Is true if it is safe to call writable.write(), which means +

      parser: Parser<T> = ...
      writable: boolean

      Is true if it is safe to call writable.write(), which means the stream has not been destroyed, errored or ended.

      Since

      v11.4.0

      writableCorked: number

      Number of times writable.uncork() needs to be @@ -92,7 +92,7 @@ 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

      Accessors

      Methods

      • Parameters

        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • error: null | Error
        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • chunks: {
              chunk: any;
              encoding: BufferEncoding;
          }[]
        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      Methods

      • Parameters

        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • error: null | Error
        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Parameters

        • chunks: {
              chunk: any;
              encoding: BufferEncoding;
          }[]
        • callback: ((error?) => void)
            • (error?): void
            • Parameters

              • Optional error: null | Error

              Returns void

        Returns void

      • Event emitter The defined events on documents including:

        1. close
        2. @@ -124,12 +124,12 @@ but instead implement writable._destroy().

        Parameters

        • Optional error: Error

          Optional, an error to emit with 'error' event.

        Returns ParserStream<T>

        Since

        v8.0.0

        -
      • Parameters

        • event: "close"

        Returns boolean

      • Parameters

        • event: "drain"

        Returns boolean

      • Parameters

        • event: "error"
        • err: Error

        Returns boolean

      • Parameters

        • event: "finish"

        Returns boolean

      • Parameters

        • event: "pipe"
        • src: Readable

        Returns boolean

      • Parameters

        • event: "unpipe"
        • src: Readable

        Returns boolean

      • Parameters

        • event: string | symbol
        • Rest ...args: any[]

        Returns boolean

      • Returns an array listing the events for which the emitter has registered +

      • Parameters

        • event: "close"

        Returns boolean

      • Parameters

        • event: "drain"

        Returns boolean

      • Parameters

        • event: "error"
        • err: Error

        Returns boolean

      • Parameters

        • event: "finish"

        Returns boolean

      • Parameters

        • event: "pipe"
        • src: Readable

        Returns boolean

      • Parameters

        • event: "unpipe"
        • src: Readable

        Returns boolean

      • Parameters

        • event: string | symbol
        • Rest ...args: any[]

        Returns boolean

      • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

        const EventEmitter = require('events');
        const myEE = new EventEmitter();
        myEE.on('foo', () => {});
        myEE.on('bar', () => {});

        const sym = Symbol('symbol');
        myEE.on(sym, () => {});

        console.log(myEE.eventNames());
        // Prints: [ 'foo', 'bar', Symbol(symbol) ]

        Returns (string | symbol)[]

        Since

        v6.0.0

        -
      • Returns the current max listener value for the EventEmitter which is either +

      • Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

        Returns number

        Since

        v1.0.0

      • Returns the number of listeners listening to the event named eventName.

        @@ -147,10 +147,10 @@

        Parameters

        • event: "script"

          Name of the event

        • handler: ((scriptElement, documentWrite, resume) => void)
            • (scriptElement, documentWrite, resume): void
            • Parameters

              • scriptElement: T["element"]
              • documentWrite: ((html) => void)
                  • (html): void
                  • Parameters

                    • html: string

                    Returns void

              • resume: (() => void)
                  • (): void
                  • Returns void

              Returns void

        Returns void

        Example

        const ParserStream = require('parse5-parser-stream');
        const http = require('http');

        const parser = new ParserStream();

        parser.on('script', (scriptElement, documentWrite, resume) => {
        const src = scriptElement.attrs.find(({ name }) => name === 'src').value;

        http.get(src, res => {
        // Fetch the script content, execute it with DOM built around `parser.document` and
        // `document.write` implemented using `documentWrite`.
        ...
        // Then resume parsing.
        resume();
        });
        });

        parser.end('<script src="example.com/script.js"></script>');
        -
      • Base event handler.

        +
      • Base event handler.

        Parameters

        • event: string

          Name of the event

        • handler: ((...args) => void)

          Event handler

          -
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Type Parameters

        • T extends WritableStream

        Parameters

        • destination: T
        • Optional options: {
              end?: boolean;
          }
          • Optional end?: boolean

        Returns T

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Returns a copy of the array of listeners for the event named eventName, +

          • (...args): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      Returns ParserStream<T>

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Type Parameters

        • T extends WritableStream

        Parameters

        • destination: T
        • Optional options: {
              end?: boolean;
          }
          • Optional end?: boolean

        Returns T

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "close"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "drain"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "error"
        • listener: ((err) => void)
            • (err): void
            • Parameters

              • err: Error

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "finish"
        • listener: (() => void)
            • (): void
            • Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "pipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: "unpipe"
        • listener: ((src) => void)
            • (src): void
            • Parameters

              • src: Readable

              Returns void

        Returns ParserStream<T>

      • Parameters

        • event: string | symbol
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns ParserStream<T>

      • Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

        const emitter = new EventEmitter();
        emitter.once('log', () => console.log('log once'));

        // Returns a new Array with a function `onceWrapper` which has a property
        // `listener` which contains the original listener bound above
        const listeners = emitter.rawListeners('log');
        const logFnWrapper = listeners[0];

        // Logs "log once" to the console and does not unbind the `once` event
        logFnWrapper.listener();

        // Logs "log once" to the console and removes the listener
        logFnWrapper();

        emitter.on('log', () => console.log('log persistently'));
        // Will return a new Array with a single function bound by `.on()` above
        const newListeners = emitter.rawListeners('log');

        // Logs "log persistently" twice
        newListeners[0]();
        emitter.emit('log');
        @@ -228,7 +228,7 @@
        const { getEventListeners, EventEmitter } = require('events');

        {
        const ee = new EventEmitter();
        const listener = () => console.log('Events are fun');
        ee.on('foo', listener);
        getEventListeners(ee, 'foo'); // [listener]
        }
        {
        const et = new EventTarget();
        const listener = () => console.log('Events are fun');
        et.addEventListener('foo', listener);
        getEventListeners(et, 'foo'); // [listener]
        }

        Parameters

        • emitter: EventEmitter | _DOMEventTarget
        • name: string | symbol

        Returns Function[]

        Since

        v15.2.0, v14.17.0

        -
      • A class method that returns the number of listeners for the given eventNameregistered on the given emitter.

        +
      • A class method that returns the number of listeners for the given eventNameregistered on the given emitter.

        const { EventEmitter, listenerCount } = require('events');
        const myEmitter = new EventEmitter();
        myEmitter.on('event', () => {});
        myEmitter.on('event', () => {});
        console.log(listenerCount(myEmitter, 'event'));
        // Prints: 2

        Parameters

        • emitter: EventEmitter

          The emitter to query

          diff --git a/classes/parse5_plain_text_conversion_stream.PlainTextConversionStream.html b/classes/parse5_plain_text_conversion_stream.PlainTextConversionStream.html index 16b599c1f..9b040ce21 100644 --- a/classes/parse5_plain_text_conversion_stream.PlainTextConversionStream.html +++ b/classes/parse5_plain_text_conversion_stream.PlainTextConversionStream.html @@ -2,7 +2,7 @@ A writable stream.

          Example

          const PlainTextConversionStream = require('parse5-plain-text-conversion-stream');
          const fs = require('fs');
          const { finished } = require('node:stream');

          const file = fs.createReadStream('war_and_peace.txt');
          const converter = new PlainTextConversionStream();

          finished(converter, () => {
          console.log(converter.document.childNodes[1].childNodes[0].tagName); //> 'head'
          });

          file.pipe(converter);
          -

      Type Parameters

      Hierarchy

      Constructors

      Type Parameters

      Hierarchy

      Constructors

      Properties

      Constructors

      Properties

      closed: boolean

      Is true after 'close' has been emitted.

      +

      Constructors

      Properties

      closed: boolean

      Is true after 'close' has been emitted.

      Since

      v18.0.0

      destroyed: boolean

      Is true after writable.destroy() has been called.

      Since

      v8.0.0

      diff --git a/classes/parse5_sax_parser.SAXParser.html b/classes/parse5_sax_parser.SAXParser.html index 5dcc8790c..871c2bf0a 100644 --- a/classes/parse5_sax_parser.SAXParser.html +++ b/classes/parse5_sax_parser.SAXParser.html @@ -2,7 +2,7 @@ A transform stream (which means you can pipe through it, see example).

      Example

          const SAXParser = require('parse5-sax-parser');
      const http = require('http');
      const fs = require('fs');

      const file = fs.createWriteStream('/home/google.com.html');
      const parser = new SAXParser();

      parser.on('text', text => {
      // Handle page text content
      ...
      });

      http.get('http://google.com', res => {
      // `SAXParser` is the `Transform` stream, which means you can pipe
      // through it. So, you can analyze the page content and, e.g., save it
      // to the file at the same time:
      res.pipe(parser).pipe(file);
      });
      -

      Hierarchy

      • Transform
        • SAXParser

        Implements

        Constructors

        Hierarchy

        • Transform
          • SAXParser

          Implements

          Constructors

          Properties

          Constructors

          Properties

          allowHalfOpen: boolean

          If false then the stream will automatically end the writable side when the +

          Returns SAXParser

          Properties

          allowHalfOpen: boolean

          If false then the stream will automatically end the writable side when the readable side ends. Set initially by the allowHalfOpen constructor option, which defaults to false.

          This can be changed manually to change the half-open behavior of an existingDuplex stream instance, but must be changed before the 'end' event is @@ -92,7 +92,7 @@

          Since

          v0.9.4

          closed: boolean
          destroyed: boolean

          Is true after readable.destroy() has been called.

          Since

          v8.0.0

          -
          errored: null | Error
          readable: boolean

          Is true if it is safe to call readable.read(), which means +

          errored: null | Error
          readable: boolean

          Is true if it is safe to call readable.read(), which means the stream has not been destroyed or emitted 'error' or 'end'.

          Since

          v11.4.0

          readableAborted: boolean

          Returns whether the stream was destroyed or errored before emitting 'end'.

          @@ -114,14 +114,14 @@

          Since

          v9.4.0

          readableObjectMode: boolean

          Getter for the property objectMode of a given Readable stream.

          Since

          v12.3.0

          -
          tokenizer: Tokenizer
          writable: boolean
          writableCorked: number
          writableEnded: boolean
          writableFinished: boolean
          writableHighWaterMark: number
          writableLength: number
          writableNeedDrain: boolean
          writableObjectMode: boolean
          captureRejectionSymbol: typeof captureRejectionSymbol
          captureRejections: boolean

          Sets or gets the default captureRejection value for all emitters.

          +
          tokenizer: Tokenizer
          writable: boolean
          writableCorked: number
          writableEnded: boolean
          writableFinished: boolean
          writableHighWaterMark: number
          writableLength: number
          writableNeedDrain: boolean
          writableObjectMode: boolean
          captureRejectionSymbol: typeof captureRejectionSymbol
          captureRejections: boolean

          Sets or gets the default captureRejection value for all emitters.

          defaultMaxListeners: number
          errorMonitor: typeof errorMonitor

          This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

          Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

          -

          Methods

          • Returns AsyncIterableIterator<any>

          • Parameters

            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Parameters

            • error: null | Error
            • callback: ((error) => void)
                • (error): void
                • Parameters

                  • error: null | Error

                  Returns void

            Returns void

          • Parameters

            • callback: ((error?, data?) => void)
                • (error?, data?): void
                • Parameters

                  • Optional error: null | Error
                  • Optional data: string

                  Returns void

            Returns void

          • Parameters

            • callback: TransformCallback

            Returns void

          • Parameters

            • size: number

            Returns void

          • Parameters

            • chunk: string
            • _encoding: string
            • callback: ((error?, data?) => void)
                • (error?, data?): void
                • Parameters

                  • Optional error: null | Error
                  • Optional data: string

                  Returns void

            Returns void

          • Parameters

            • chunk: any
            • encoding: BufferEncoding
            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Parameters

            • chunks: {
                  chunk: any;
                  encoding: BufferEncoding;
              }[]
            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Event emitter +

          Methods

          • Returns AsyncIterableIterator<any>

          • Parameters

            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Parameters

            • error: null | Error
            • callback: ((error) => void)
                • (error): void
                • Parameters

                  • error: null | Error

                  Returns void

            Returns void

          • Parameters

            • callback: ((error?, data?) => void)
                • (error?, data?): void
                • Parameters

                  • Optional error: null | Error
                  • Optional data: string

                  Returns void

            Returns void

          • Parameters

            • callback: TransformCallback

            Returns void

          • Parameters

            • size: number

            Returns void

          • Parameters

            • chunk: string
            • _encoding: string
            • callback: ((error?, data?) => void)
                • (error?, data?): void
                • Parameters

                  • Optional error: null | Error
                  • Optional data: string

                  Returns void

            Returns void

          • Parameters

            • chunk: any
            • encoding: BufferEncoding
            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Parameters

            • chunks: {
                  chunk: any;
                  encoding: BufferEncoding;
              }[]
            • callback: ((error?) => void)
                • (error?): void
                • Parameters

                  • Optional error: null | Error

                  Returns void

            Returns void

          • Event emitter The defined events on documents including:

            1. close
            2. @@ -139,7 +139,7 @@

              Implementors should not override this method, but instead implement readable._destroy().

            Parameters

            • Optional error: Error

              Error which will be passed as payload in 'error' event

            Returns SAXParser

            Since

            v8.0.0

            -
          • Parameters

            • event: "close"

            Returns boolean

          • Parameters

            • event: "data"
            • chunk: any

            Returns boolean

          • Parameters

            • event: "end"

            Returns boolean

          • Parameters

            • event: "error"
            • err: Error

            Returns boolean

          • Parameters

            • event: "pause"

            Returns boolean

          • Parameters

            • event: "readable"

            Returns boolean

          • Parameters

            • event: "resume"

            Returns boolean

          • Parameters

            • event: string | symbol
            • Rest ...args: any[]

            Returns boolean

          • Parameters

            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • chunk: any
            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • chunk: any
            • Optional encoding: BufferEncoding
            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Returns an array listing the events for which the emitter has registered +

          • Parameters

            • event: "close"

            Returns boolean

          • Parameters

            • event: "data"
            • chunk: any

            Returns boolean

          • Parameters

            • event: "end"

            Returns boolean

          • Parameters

            • event: "error"
            • err: Error

            Returns boolean

          • Parameters

            • event: "pause"

            Returns boolean

          • Parameters

            • event: "readable"

            Returns boolean

          • Parameters

            • event: "resume"

            Returns boolean

          • Parameters

            • event: string | symbol
            • Rest ...args: any[]

            Returns boolean

          • Parameters

            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • chunk: any
            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • chunk: any
            • Optional encoding: BufferEncoding
            • Optional cb: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

            const EventEmitter = require('events');
            const myEE = new EventEmitter();
            myEE.on('foo', () => {});
            myEE.on('bar', () => {});

            const sym = Symbol('symbol');
            myEE.on(sym, () => {});

            console.log(myEE.eventNames());
            // Prints: [ 'foo', 'bar', Symbol(symbol) ]
            @@ -163,14 +163,14 @@
          • Alias for emitter.removeListener().

            Parameters

            • eventName: string | symbol
            • listener: ((...args) => void)
                • (...args): void
                • Parameters

                  • Rest ...args: any[]

                  Returns void

            Returns SAXParser

            Since

            v10.0.0

          • Parameters

            • event: "close"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "data"
            • listener: ((chunk) => void)
                • (chunk): void
                • Parameters

                  • chunk: any

                  Returns void

            Returns SAXParser

          • Parameters

            • event: "end"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "error"
            • listener: ((err) => void)
                • (err): void
                • Parameters

                  • err: Error

                  Returns void

            Returns SAXParser

          • Parameters

            • event: "pause"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "readable"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "resume"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: string | symbol
            • listener: ((...args) => void)
                • (...args): void
                • Parameters

                  • Rest ...args: any[]

                  Returns void

            Returns SAXParser

          • The readable.pause() method will cause a stream in flowing mode to stop +

              • (...args): void
              • Parameters

                • Rest ...args: any[]

                Returns void

          Returns SAXParser

          • Parameters

            • event: "close"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "data"
            • listener: ((chunk) => void)
                • (chunk): void
                • Parameters

                  • chunk: any

                  Returns void

            Returns SAXParser

          • Parameters

            • event: "end"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "error"
            • listener: ((err) => void)
                • (err): void
                • Parameters

                  • err: Error

                  Returns void

            Returns SAXParser

          • Parameters

            • event: "pause"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "readable"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: "resume"
            • listener: (() => void)
                • (): void
                • Returns void

            Returns SAXParser

          • Parameters

            • event: string | symbol
            • listener: ((...args) => void)
                • (...args): void
                • Parameters

                  • Rest ...args: any[]

                  Returns void

            Returns SAXParser

          • The readable.pause() method will cause a stream in flowing mode to stop emitting 'data' events, switching out of flowing mode. Any data that becomes available will remain in the internal buffer.

            const readable = getReadableStreamSomehow();
            readable.on('data', (chunk) => {
            console.log(`Received ${chunk.length} bytes of data.`);
            readable.pause();
            console.log('There will be no additional data for 1 second.');
            setTimeout(() => {
            console.log('Now data will start flowing again.');
            readable.resume();
            }, 1000);
            }); @@ -255,7 +255,7 @@ prevent piping, so that data will flow through the parser as usual.

            Returns void

            Example

            const SAXParser = require('parse5-sax-parser');
            const http = require('http');
            const fs = require('fs');

            const file = fs.createWriteStream('google.com.html');
            const parser = new SAXParser();

            parser.on('doctype', ({ name, publicId, systemId }) => {
            // Process doctype info and stop parsing
            ...
            parser.stop();
            });

            http.get('http://google.com', res => {
            // Despite the fact that parser.stop() was called whole
            // content of the page will be written to the file
            res.pipe(parser).pipe(file);
            });
            -
          • Returns void

          • Returns void

          Enumeration Members

          LIMITED_QUIRKS: "limited-quirks"
          NO_QUIRKS: "no-quirks"
          QUIRKS: "quirks"

          Generated using TypeDoc

          \ No newline at end of file diff --git a/enums/parse5.html.NS.html b/enums/parse5.html.NS.html index 7e56822c7..b948bc917 100644 --- a/enums/parse5.html.NS.html +++ b/enums/parse5.html.NS.html @@ -1,8 +1,8 @@ NS | parse5

          Enumeration NS

          All valid namespaces in HTML.

          -

          Enumeration Members

          Enumeration Members

          Enumeration Members

          HTML: "http://www.w3.org/1999/xhtml"
          MATHML: "http://www.w3.org/1998/Math/MathML"
          SVG: "http://www.w3.org/2000/svg"
          XLINK: "http://www.w3.org/1999/xlink"
          XML: "http://www.w3.org/XML/1998/namespace"
          XMLNS: "http://www.w3.org/2000/xmlns/"

          Generated using TypeDoc

          \ No newline at end of file +

          Enumeration Members

          HTML: "http://www.w3.org/1999/xhtml"
          MATHML: "http://www.w3.org/1998/Math/MathML"
          SVG: "http://www.w3.org/2000/svg"
          XLINK: "http://www.w3.org/1999/xlink"
          XML: "http://www.w3.org/XML/1998/namespace"
          XMLNS: "http://www.w3.org/2000/xmlns/"

          Generated using TypeDoc

          \ No newline at end of file diff --git a/enums/parse5.html.TAG_ID.html b/enums/parse5.html.TAG_ID.html index 3863caddf..fa53647a3 100644 --- a/enums/parse5.html.TAG_ID.html +++ b/enums/parse5.html.TAG_ID.html @@ -1,6 +1,6 @@ TAG_ID | parse5

          Enumeration TAG_ID

          Tag IDs are numeric IDs for known tag names.

          We use tag IDs to improve the performance of tag name comparisons.

          -

          Enumeration Members

          A +

          Enumeration Members

          A ADDRESS ANNOTATION_XML APPLET @@ -124,4 +124,4 @@ VAR WBR XMP -

          Enumeration Members

          A: 1
          ADDRESS: 2
          ANNOTATION_XML: 3
          APPLET: 4
          AREA: 5
          ARTICLE: 6
          ASIDE: 7
          B: 8
          BASE: 9
          BASEFONT: 10
          BGSOUND: 11
          BIG: 12
          BLOCKQUOTE: 13
          BODY: 14
          BR: 15
          BUTTON: 16
          CAPTION: 17
          CENTER: 18
          CODE: 19
          COL: 20
          COLGROUP: 21
          DD: 22
          DESC: 23
          DETAILS: 24
          DIALOG: 25
          DIR: 26
          DIV: 27
          DL: 28
          DT: 29
          EM: 30
          EMBED: 31
          FIELDSET: 32
          FIGCAPTION: 33
          FIGURE: 34
          FONT: 35
          FOOTER: 36
          FOREIGN_OBJECT: 37
          FORM: 38
          FRAME: 39
          FRAMESET: 40
          H1: 41
          H2: 42
          H3: 43
          H4: 44
          H5: 45
          H6: 46
          HEAD: 47
          HEADER: 48
          HGROUP: 49
          HR: 50
          HTML: 51
          I: 52
          IFRAME: 56
          IMAGE: 54
          IMG: 53
          INPUT: 55
          KEYGEN: 57
          LABEL: 58
          LI: 59
          LINK: 60
          LISTING: 61
          MAIN: 62
          MALIGNMARK: 63
          MARQUEE: 64
          MATH: 65
          MENU: 66
          META: 67
          MGLYPH: 68
          MI: 69
          MN: 71
          MO: 70
          MS: 72
          MTEXT: 73
          NAV: 74
          NOBR: 75
          NOEMBED: 77
          NOFRAMES: 76
          NOSCRIPT: 78
          OBJECT: 79
          OL: 80
          OPTGROUP: 81
          OPTION: 82
          P: 83
          PARAM: 84
          PLAINTEXT: 85
          PRE: 86
          RB: 87
          RP: 88
          RT: 89
          RTC: 90
          RUBY: 91
          S: 92
          SCRIPT: 93
          SEARCH: 94
          SECTION: 95
          SELECT: 96
          SMALL: 98
          SOURCE: 97
          SPAN: 99
          STRIKE: 100
          STRONG: 101
          STYLE: 102
          SUB: 103
          SUMMARY: 104
          SUP: 105
          SVG: 120
          TABLE: 106
          TBODY: 107
          TD: 111
          TEMPLATE: 108
          TEXTAREA: 109
          TFOOT: 110
          TH: 112
          THEAD: 113
          TITLE: 114
          TR: 115
          TRACK: 116
          TT: 117
          U: 118
          UL: 119
          UNKNOWN: 0
          VAR: 121
          WBR: 122
          XMP: 123

          Generated using TypeDoc

          \ No newline at end of file +

          Enumeration Members

          A: 1
          ADDRESS: 2
          ANNOTATION_XML: 3
          APPLET: 4
          AREA: 5
          ARTICLE: 6
          ASIDE: 7
          B: 8
          BASE: 9
          BASEFONT: 10
          BGSOUND: 11
          BIG: 12
          BLOCKQUOTE: 13
          BODY: 14
          BR: 15
          BUTTON: 16
          CAPTION: 17
          CENTER: 18
          CODE: 19
          COL: 20
          COLGROUP: 21
          DD: 22
          DESC: 23
          DETAILS: 24
          DIALOG: 25
          DIR: 26
          DIV: 27
          DL: 28
          DT: 29
          EM: 30
          EMBED: 31
          FIELDSET: 32
          FIGCAPTION: 33
          FIGURE: 34
          FONT: 35
          FOOTER: 36
          FOREIGN_OBJECT: 37
          FORM: 38
          FRAME: 39
          FRAMESET: 40
          H1: 41
          H2: 42
          H3: 43
          H4: 44
          H5: 45
          H6: 46
          HEAD: 47
          HEADER: 48
          HGROUP: 49
          HR: 50
          HTML: 51
          I: 52
          IFRAME: 56
          IMAGE: 54
          IMG: 53
          INPUT: 55
          KEYGEN: 57
          LABEL: 58
          LI: 59
          LINK: 60
          LISTING: 61
          MAIN: 62
          MALIGNMARK: 63
          MARQUEE: 64
          MATH: 65
          MENU: 66
          META: 67
          MGLYPH: 68
          MI: 69
          MN: 71
          MO: 70
          MS: 72
          MTEXT: 73
          NAV: 74
          NOBR: 75
          NOEMBED: 77
          NOFRAMES: 76
          NOSCRIPT: 78
          OBJECT: 79
          OL: 80
          OPTGROUP: 81
          OPTION: 82
          P: 83
          PARAM: 84
          PLAINTEXT: 85
          PRE: 86
          RB: 87
          RP: 88
          RT: 89
          RTC: 90
          RUBY: 91
          S: 92
          SCRIPT: 93
          SEARCH: 94
          SECTION: 95
          SELECT: 96
          SMALL: 98
          SOURCE: 97
          SPAN: 99
          STRIKE: 100
          STRONG: 101
          STYLE: 102
          SUB: 103
          SUMMARY: 104
          SUP: 105
          SVG: 120
          TABLE: 106
          TBODY: 107
          TD: 111
          TEMPLATE: 108
          TEXTAREA: 109
          TFOOT: 110
          TH: 112
          THEAD: 113
          TITLE: 114
          TR: 115
          TRACK: 116
          TT: 117
          U: 118
          UL: 119
          UNKNOWN: 0
          VAR: 121
          WBR: 122
          XMP: 123

          Generated using TypeDoc

          \ No newline at end of file diff --git a/enums/parse5.html.TAG_NAMES.html b/enums/parse5.html.TAG_NAMES.html index b07590d5f..71ee5e096 100644 --- a/enums/parse5.html.TAG_NAMES.html +++ b/enums/parse5.html.TAG_NAMES.html @@ -1,4 +1,4 @@ -TAG_NAMES | parse5

          Enumeration TAG_NAMES

          Enumeration Members

          A +TAG_NAMES | parse5

          Enumeration TAG_NAMES

          Enumeration Members

          A ADDRESS ANNOTATION_XML APPLET @@ -121,4 +121,4 @@ VAR WBR XMP -

          Enumeration Members

          A: "a"
          ADDRESS: "address"
          ANNOTATION_XML: "annotation-xml"
          APPLET: "applet"
          AREA: "area"
          ARTICLE: "article"
          ASIDE: "aside"
          B: "b"
          BASE: "base"
          BASEFONT: "basefont"
          BGSOUND: "bgsound"
          BIG: "big"
          BLOCKQUOTE: "blockquote"
          BODY: "body"
          BR: "br"
          BUTTON: "button"
          CAPTION: "caption"
          CENTER: "center"
          CODE: "code"
          COL: "col"
          COLGROUP: "colgroup"
          DD: "dd"
          DESC: "desc"
          DETAILS: "details"
          DIALOG: "dialog"
          DIR: "dir"
          DIV: "div"
          DL: "dl"
          DT: "dt"
          EM: "em"
          EMBED: "embed"
          FIELDSET: "fieldset"
          FIGCAPTION: "figcaption"
          FIGURE: "figure"
          FONT: "font"
          FOOTER: "footer"
          FOREIGN_OBJECT: "foreignObject"
          FORM: "form"
          FRAME: "frame"
          FRAMESET: "frameset"
          H1: "h1"
          H2: "h2"
          H3: "h3"
          H4: "h4"
          H5: "h5"
          H6: "h6"
          HEAD: "head"
          HEADER: "header"
          HGROUP: "hgroup"
          HR: "hr"
          HTML: "html"
          I: "i"
          IFRAME: "iframe"
          IMAGE: "image"
          IMG: "img"
          INPUT: "input"
          KEYGEN: "keygen"
          LABEL: "label"
          LI: "li"
          LINK: "link"
          LISTING: "listing"
          MAIN: "main"
          MALIGNMARK: "malignmark"
          MARQUEE: "marquee"
          MATH: "math"
          MENU: "menu"
          META: "meta"
          MGLYPH: "mglyph"
          MI: "mi"
          MN: "mn"
          MO: "mo"
          MS: "ms"
          MTEXT: "mtext"
          NAV: "nav"
          NOBR: "nobr"
          NOEMBED: "noembed"
          NOFRAMES: "noframes"
          NOSCRIPT: "noscript"
          OBJECT: "object"
          OL: "ol"
          OPTGROUP: "optgroup"
          OPTION: "option"
          P: "p"
          PARAM: "param"
          PLAINTEXT: "plaintext"
          PRE: "pre"
          RB: "rb"
          RP: "rp"
          RT: "rt"
          RTC: "rtc"
          RUBY: "ruby"
          S: "s"
          SCRIPT: "script"
          SEARCH: "search"
          SECTION: "section"
          SELECT: "select"
          SMALL: "small"
          SOURCE: "source"
          SPAN: "span"
          STRIKE: "strike"
          STRONG: "strong"
          STYLE: "style"
          SUB: "sub"
          SUMMARY: "summary"
          SUP: "sup"
          SVG: "svg"
          TABLE: "table"
          TBODY: "tbody"
          TD: "td"
          TEMPLATE: "template"
          TEXTAREA: "textarea"
          TFOOT: "tfoot"
          TH: "th"
          THEAD: "thead"
          TITLE: "title"
          TR: "tr"
          TRACK: "track"
          TT: "tt"
          U: "u"
          UL: "ul"
          VAR: "var"
          WBR: "wbr"
          XMP: "xmp"

          Generated using TypeDoc

          \ No newline at end of file +

          Enumeration Members

          A: "a"
          ADDRESS: "address"
          ANNOTATION_XML: "annotation-xml"
          APPLET: "applet"
          AREA: "area"
          ARTICLE: "article"
          ASIDE: "aside"
          B: "b"
          BASE: "base"
          BASEFONT: "basefont"
          BGSOUND: "bgsound"
          BIG: "big"
          BLOCKQUOTE: "blockquote"
          BODY: "body"
          BR: "br"
          BUTTON: "button"
          CAPTION: "caption"
          CENTER: "center"
          CODE: "code"
          COL: "col"
          COLGROUP: "colgroup"
          DD: "dd"
          DESC: "desc"
          DETAILS: "details"
          DIALOG: "dialog"
          DIR: "dir"
          DIV: "div"
          DL: "dl"
          DT: "dt"
          EM: "em"
          EMBED: "embed"
          FIELDSET: "fieldset"
          FIGCAPTION: "figcaption"
          FIGURE: "figure"
          FONT: "font"
          FOOTER: "footer"
          FOREIGN_OBJECT: "foreignObject"
          FORM: "form"
          FRAME: "frame"
          FRAMESET: "frameset"
          H1: "h1"
          H2: "h2"
          H3: "h3"
          H4: "h4"
          H5: "h5"
          H6: "h6"
          HEAD: "head"
          HEADER: "header"
          HGROUP: "hgroup"
          HR: "hr"
          HTML: "html"
          I: "i"
          IFRAME: "iframe"
          IMAGE: "image"
          IMG: "img"
          INPUT: "input"
          KEYGEN: "keygen"
          LABEL: "label"
          LI: "li"
          LINK: "link"
          LISTING: "listing"
          MAIN: "main"
          MALIGNMARK: "malignmark"
          MARQUEE: "marquee"
          MATH: "math"
          MENU: "menu"
          META: "meta"
          MGLYPH: "mglyph"
          MI: "mi"
          MN: "mn"
          MO: "mo"
          MS: "ms"
          MTEXT: "mtext"
          NAV: "nav"
          NOBR: "nobr"
          NOEMBED: "noembed"
          NOFRAMES: "noframes"
          NOSCRIPT: "noscript"
          OBJECT: "object"
          OL: "ol"
          OPTGROUP: "optgroup"
          OPTION: "option"
          P: "p"
          PARAM: "param"
          PLAINTEXT: "plaintext"
          PRE: "pre"
          RB: "rb"
          RP: "rp"
          RT: "rt"
          RTC: "rtc"
          RUBY: "ruby"
          S: "s"
          SCRIPT: "script"
          SEARCH: "search"
          SECTION: "section"
          SELECT: "select"
          SMALL: "small"
          SOURCE: "source"
          SPAN: "span"
          STRIKE: "strike"
          STRONG: "strong"
          STYLE: "style"
          SUB: "sub"
          SUMMARY: "summary"
          SUP: "sup"
          SVG: "svg"
          TABLE: "table"
          TBODY: "tbody"
          TD: "td"
          TEMPLATE: "template"
          TEXTAREA: "textarea"
          TFOOT: "tfoot"
          TH: "th"
          THEAD: "thead"
          TITLE: "title"
          TR: "tr"
          TRACK: "track"
          TT: "tt"
          U: "u"
          UL: "ul"
          VAR: "var"
          WBR: "wbr"
          XMP: "xmp"

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.Token.getTokenAttr.html b/functions/parse5.Token.getTokenAttr.html index d93d33d78..d924c7be2 100644 --- a/functions/parse5.Token.getTokenAttr.html +++ b/functions/parse5.Token.getTokenAttr.html @@ -1 +1 @@ -getTokenAttr | parse5

          Function getTokenAttr

          • Parameters

            Returns string | null

          Generated using TypeDoc

          \ No newline at end of file +getTokenAttr | parse5

          Function getTokenAttr

          • Parameters

            Returns string | null

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.html.getTagID.html b/functions/parse5.html.getTagID.html index bc621e90d..22525b82f 100644 --- a/functions/parse5.html.getTagID.html +++ b/functions/parse5.html.getTagID.html @@ -1 +1 @@ -getTagID | parse5

          Generated using TypeDoc

          \ No newline at end of file +getTagID | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.html.hasUnescapedText.html b/functions/parse5.html.hasUnescapedText.html index 570fc1eaa..8b03eda27 100644 --- a/functions/parse5.html.hasUnescapedText.html +++ b/functions/parse5.html.hasUnescapedText.html @@ -1 +1 @@ -hasUnescapedText | parse5

          Function hasUnescapedText

          • Parameters

            • tn: string
            • scriptingEnabled: boolean

            Returns boolean

          Generated using TypeDoc

          \ No newline at end of file +hasUnescapedText | parse5

          Function hasUnescapedText

          • Parameters

            • tn: string
            • scriptingEnabled: boolean

            Returns boolean

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.parse.html b/functions/parse5.parse.html index 2ea90a86e..71f62669f 100644 --- a/functions/parse5.parse.html +++ b/functions/parse5.parse.html @@ -4,4 +4,4 @@

          Returns T["document"]

          Document

          Example

          const parse5 = require('parse5');

          const document = parse5.parse('<!DOCTYPE html><html><head></head><body>Hi there!</body></html>');

          console.log(document.childNodes[1].tagName); //> 'html'
          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.parseFragment.html b/functions/parse5.parseFragment.html index c0f7e8ff9..b6d15d6bc 100644 --- a/functions/parse5.parseFragment.html +++ b/functions/parse5.parseFragment.html @@ -5,4 +5,4 @@

          Returns T["documentFragment"]

          DocumentFragment

          Example

          const parse5 = require('parse5');

          const documentFragment = parse5.parseFragment('<table></table>');

          console.log(documentFragment.childNodes[0].tagName); //> 'table'

          // Parses the html fragment in the context of the parsed <table> element.
          const trFragment = parse5.parseFragment(documentFragment.childNodes[0], '<tr><td>Shake it, baby</td></tr>');

          console.log(trFragment.childNodes[0].childNodes[0].tagName); //> 'td'
          -
        • Type Parameters

          Parameters

          Returns T["documentFragment"]

        • Generated using TypeDoc

          \ No newline at end of file +
        • Type Parameters

          Parameters

          Returns T["documentFragment"]

        • Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.serialize.html b/functions/parse5.serialize.html index e3e167f52..aa925a5f2 100644 --- a/functions/parse5.serialize.html +++ b/functions/parse5.serialize.html @@ -3,4 +3,4 @@
        • Optional options: SerializerOptions<T>

          Serialization options.

        • Returns string

          Example

          const parse5 = require('parse5');

          const document = parse5.parse('<!DOCTYPE html><html><head></head><body>Hi there!</body></html>');

          // Serializes a document.
          const html = parse5.serialize(document);

          // Serializes the <html> element content.
          const str = parse5.serialize(document.childNodes[1]);

          console.log(str); //> '<head></head><body>Hi there!</body>'
          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/functions/parse5.serializeOuter.html b/functions/parse5.serializeOuter.html index d204104cc..c602a9e7a 100644 --- a/functions/parse5.serializeOuter.html +++ b/functions/parse5.serializeOuter.html @@ -3,4 +3,4 @@
        • Optional options: SerializerOptions<T>

          Serialization options.

        • Returns string

          Example

          const parse5 = require('parse5');

          const document = parse5.parseFragment('<div>Hello, <b>world</b>!</div>');

          // Serializes the <div> element.
          const str = parse5.serializeOuter(document.childNodes[0]);

          console.log(str); //> '<div>Hello, <b>world</b>!</div>'
          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.CommentNode.html b/interfaces/parse5.DefaultTreeAdapterTypes.CommentNode.html index 9edf2f5f3..db6f22ea9 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.CommentNode.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.CommentNode.html @@ -1,9 +1,9 @@ -CommentNode | parse5
          interface CommentNode {
              data: string;
              nodeName: "#comment";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | Location;
          }

          Properties

          data +CommentNode | parse5
          interface CommentNode {
              data: string;
              nodeName: "#comment";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | Location;
          }

          Properties

          data: string

          Comment text.

          -
          nodeName: "#comment"

          The name of the node.

          -
          parentNode: null | ParentNode

          Parent node.

          -
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          nodeName: "#comment"

          The name of the node.

          +
          parentNode: null | ParentNode

          Parent node.

          +
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.Document.html b/interfaces/parse5.DefaultTreeAdapterTypes.Document.html index 65c979370..ee3d6c683 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.Document.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.Document.html @@ -1,10 +1,10 @@ -Document | parse5
          interface Document {
              childNodes: ChildNode[];
              mode: DOCUMENT_MODE;
              nodeName: "#document";
              sourceCodeLocation?: null | Location;
          }

          Properties

          childNodes +Document | parse5
          interface Document {
              childNodes: ChildNode[];
              mode: DOCUMENT_MODE;
              nodeName: "#document";
              sourceCodeLocation?: null | Location;
          }

          Properties

          childNodes: ChildNode[]

          The node's children.

          -

          Document mode.

          +

          Document mode.

          nodeName: "#document"

          The name of the node.

          -
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          nodeName: "#document"

          The name of the node.

          +
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.DocumentFragment.html b/interfaces/parse5.DefaultTreeAdapterTypes.DocumentFragment.html index e44103064..da00054a3 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.DocumentFragment.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.DocumentFragment.html @@ -1,7 +1,7 @@ -DocumentFragment | parse5
          interface DocumentFragment {
              childNodes: ChildNode[];
              nodeName: "#document-fragment";
              sourceCodeLocation?: null | Location;
          }

          Properties

          childNodes +DocumentFragment | parse5
          interface DocumentFragment {
              childNodes: ChildNode[];
              nodeName: "#document-fragment";
              sourceCodeLocation?: null | Location;
          }

          Properties

          childNodes: ChildNode[]

          The node's children.

          -
          nodeName: "#document-fragment"

          The name of the node.

          -
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          nodeName: "#document-fragment"

          The name of the node.

          +
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.DocumentType.html b/interfaces/parse5.DefaultTreeAdapterTypes.DocumentType.html index 2ae56827b..1919bb21b 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.DocumentType.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.DocumentType.html @@ -1,13 +1,13 @@ -DocumentType | parse5
          interface DocumentType {
              name: string;
              nodeName: "#documentType";
              parentNode: null | ParentNode;
              publicId: string;
              sourceCodeLocation?: null | Location;
              systemId: string;
          }

          Properties

          name +DocumentType | parse5
          interface DocumentType {
              name: string;
              nodeName: "#documentType";
              parentNode: null | ParentNode;
              publicId: string;
              sourceCodeLocation?: null | Location;
              systemId: string;
          }

          Properties

          name: string

          Document type name.

          -
          nodeName: "#documentType"

          The name of the node.

          -
          parentNode: null | ParentNode

          Parent node.

          -
          publicId: string

          Document type public identifier.

          -
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          -
          systemId: string

          Document type system identifier.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          nodeName: "#documentType"

          The name of the node.

          +
          parentNode: null | ParentNode

          Parent node.

          +
          publicId: string

          Document type public identifier.

          +
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          +
          systemId: string

          Document type system identifier.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.Element.html b/interfaces/parse5.DefaultTreeAdapterTypes.Element.html index c8a3e51e2..ee66d9e3a 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.Element.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.Element.html @@ -1,4 +1,4 @@ -Element | parse5
          interface Element {
              attrs: Attribute[];
              childNodes: ChildNode[];
              namespaceURI: NS;
              nodeName: string;
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | ElementLocation;
              tagName: string;
          }

          Hierarchy

          Properties

          attrs +Element | parse5
          interface Element {
              attrs: Attribute[];
              childNodes: ChildNode[];
              namespaceURI: NS;
              nodeName: string;
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | ElementLocation;
              tagName: string;
          }

          Hierarchy

          Properties

          attrs: Attribute[]

          List of element attributes.

          -
          childNodes: ChildNode[]

          The node's children.

          -
          namespaceURI: NS

          Element namespace.

          -
          nodeName: string

          Element tag name. Same as tagName.

          -
          parentNode: null | ParentNode

          Parent node.

          -
          sourceCodeLocation?: null | ElementLocation

          Element source code location info, with attributes. Available if location info is enabled.

          -
          tagName: string

          Element tag name. Same as nodeName.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          childNodes: ChildNode[]

          The node's children.

          +
          namespaceURI: NS

          Element namespace.

          +
          nodeName: string

          Element tag name. Same as tagName.

          +
          parentNode: null | ParentNode

          Parent node.

          +
          sourceCodeLocation?: null | ElementLocation

          Element source code location info, with attributes. Available if location info is enabled.

          +
          tagName: string

          Element tag name. Same as nodeName.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.Template.html b/interfaces/parse5.DefaultTreeAdapterTypes.Template.html index 610f7fcc4..787bf5de3 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.Template.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.Template.html @@ -1,4 +1,4 @@ -Template | parse5
          interface Template {
              attrs: Attribute[];
              childNodes: ChildNode[];
              content: DocumentFragment;
              namespaceURI: NS;
              nodeName: "template";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | ElementLocation;
              tagName: "template";
          }

          Hierarchy

          Properties

          attrs +Template | parse5
          interface Template {
              attrs: Attribute[];
              childNodes: ChildNode[];
              content: DocumentFragment;
              namespaceURI: NS;
              nodeName: "template";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | ElementLocation;
              tagName: "template";
          }

          Hierarchy

          Properties

          attrs: Attribute[]

          List of element attributes.

          -
          childNodes: ChildNode[]

          The node's children.

          -

          The content of a template tag.

          -
          namespaceURI: NS

          Element namespace.

          -
          nodeName: "template"

          Element tag name. Same as tagName.

          -
          parentNode: null | ParentNode

          Parent node.

          -
          sourceCodeLocation?: null | ElementLocation

          Element source code location info, with attributes. Available if location info is enabled.

          -
          tagName: "template"

          Element tag name. Same as nodeName.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          childNodes: ChildNode[]

          The node's children.

          +

          The content of a template tag.

          +
          namespaceURI: NS

          Element namespace.

          +
          nodeName: "template"

          Element tag name. Same as tagName.

          +
          parentNode: null | ParentNode

          Parent node.

          +
          sourceCodeLocation?: null | ElementLocation

          Element source code location info, with attributes. Available if location info is enabled.

          +
          tagName: "template"

          Element tag name. Same as nodeName.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.DefaultTreeAdapterTypes.TextNode.html b/interfaces/parse5.DefaultTreeAdapterTypes.TextNode.html index ce91a90ce..3519d4d45 100644 --- a/interfaces/parse5.DefaultTreeAdapterTypes.TextNode.html +++ b/interfaces/parse5.DefaultTreeAdapterTypes.TextNode.html @@ -1,8 +1,8 @@ -TextNode | parse5
          interface TextNode {
              nodeName: "#text";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | Location;
              value: string;
          }

          Properties

          nodeName +TextNode | parse5
          interface TextNode {
              nodeName: "#text";
              parentNode: null | ParentNode;
              sourceCodeLocation?: null | Location;
              value: string;
          }

          Properties

          nodeName: "#text"
          parentNode: null | ParentNode

          Parent node.

          -
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          -
          value: string

          Text content.

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          nodeName: "#text"
          parentNode: null | ParentNode

          Parent node.

          +
          sourceCodeLocation?: null | Location

          Comment source code location info. Available if location info is enabled.

          +
          value: string

          Text content.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.ParserError.html b/interfaces/parse5.ParserError.html index 34ada555a..d8786410b 100644 --- a/interfaces/parse5.ParserError.html +++ b/interfaces/parse5.ParserError.html @@ -1,14 +1,14 @@ -ParserError | parse5

          Interface ParserError

          interface ParserError {
              code: ErrorCodes;
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          code +ParserError | parse5

          Interface ParserError

          interface ParserError {
              code: ErrorCodes;
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          endCol: number

          One-based column index of the last character. Points directly after the last character.

          -
          endLine: number

          One-based line index of the last character.

          -
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          -
          startCol: number

          One-based column index of the first character.

          -
          startLine: number

          One-based line index of the first character.

          -
          startOffset: number

          Zero-based first character index.

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          endCol: number

          One-based column index of the last character. Points directly after the last character.

          +
          endLine: number

          One-based line index of the last character.

          +
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          +
          startCol: number

          One-based column index of the first character.

          +
          startLine: number

          One-based line index of the first character.

          +
          startOffset: number

          Zero-based first character index.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.ParserOptions.html b/interfaces/parse5.ParserOptions.html index d8b5ce75c..c705c52b4 100644 --- a/interfaces/parse5.ParserOptions.html +++ b/interfaces/parse5.ParserOptions.html @@ -1,19 +1,19 @@ -ParserOptions | parse5

          Interface ParserOptions<T>

          interface ParserOptions {
              onParseError?: null | ParserErrorHandler;
              scriptingEnabled?: boolean;
              sourceCodeLocationInfo?: boolean;
              treeAdapter?: TreeAdapter<T>;
          }

          Type Parameters

          Properties

          onParseError? +ParserOptions | parse5

          Interface ParserOptions<T>

          interface ParserOptions {
              onParseError?: null | ParserErrorHandler;
              scriptingEnabled?: boolean;
              sourceCodeLocationInfo?: boolean;
              treeAdapter?: TreeAdapter<T>;
          }

          Type Parameters

          Properties

          onParseError?: null | ParserErrorHandler

          Callback for parse errors.

          Default

          null

          -
          scriptingEnabled?: boolean

          The scripting flag. If set +

          scriptingEnabled?: boolean

          The scripting flag. If set to true, noscript element content will be parsed as text.

          Default

          true

          -
          sourceCodeLocationInfo?: boolean

          Enables source code location information. When enabled, each node (except the root node) +

          sourceCodeLocationInfo?: boolean

          Enables source code location information. When enabled, each node (except the root node) will have a sourceCodeLocation property. If the node is not an empty element, sourceCodeLocation will be a ElementLocation object, otherwise it will be Location. If the element was implicitly created by the parser (as part of tree correction), its sourceCodeLocation property will be undefined.

          Default

          false

          -
          treeAdapter?: TreeAdapter<T>

          Specifies the resulting tree format.

          +
          treeAdapter?: TreeAdapter<T>

          Specifies the resulting tree format.

          Default

          treeAdapters.default

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.SerializerOptions.html b/interfaces/parse5.SerializerOptions.html index 799186da6..03185ce2c 100644 --- a/interfaces/parse5.SerializerOptions.html +++ b/interfaces/parse5.SerializerOptions.html @@ -1,8 +1,8 @@ -SerializerOptions | parse5

          Interface SerializerOptions<T>

          interface SerializerOptions {
              scriptingEnabled?: boolean;
              treeAdapter?: TreeAdapter<T>;
          }

          Type Parameters

          Properties

          scriptingEnabled? +SerializerOptions | parse5

          Interface SerializerOptions<T>

          interface SerializerOptions {
              scriptingEnabled?: boolean;
              treeAdapter?: TreeAdapter<T>;
          }

          Type Parameters

          Properties

          scriptingEnabled?: boolean

          The scripting flag. If set to true, noscript element content will not be escaped.

          Default

          true

          -
          treeAdapter?: TreeAdapter<T>

          Specifies input tree format.

          +
          treeAdapter?: TreeAdapter<T>

          Specifies input tree format.

          Default

          treeAdapters.default

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.Attribute.html b/interfaces/parse5.Token.Attribute.html index f6725a2a4..350fcea7f 100644 --- a/interfaces/parse5.Token.Attribute.html +++ b/interfaces/parse5.Token.Attribute.html @@ -1,9 +1,9 @@ -Attribute | parse5

          Interface Attribute

          interface Attribute {
              name: string;
              namespace?: string;
              prefix?: string;
              value: string;
          }

          Properties

          name +Attribute | parse5

          Interface Attribute

          interface Attribute {
              name: string;
              namespace?: string;
              prefix?: string;
              value: string;
          }

          Properties

          name: string

          The name of the attribute.

          -
          namespace?: string

          The namespace of the attribute.

          -
          prefix?: string

          The namespace-related prefix of the attribute.

          -
          value: string

          The value of the attribute.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          namespace?: string

          The namespace of the attribute.

          +
          prefix?: string

          The namespace-related prefix of the attribute.

          +
          value: string

          The value of the attribute.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.CharacterToken.html b/interfaces/parse5.Token.CharacterToken.html index 80f2b4bac..3842ee408 100644 --- a/interfaces/parse5.Token.CharacterToken.html +++ b/interfaces/parse5.Token.CharacterToken.html @@ -1,4 +1,4 @@ -CharacterToken | parse5

          Interface CharacterToken

          interface CharacterToken {
              chars: string;
              location: null | Location;
              type: CHARACTER | NULL_CHARACTER | WHITESPACE_CHARACTER;
          }

          Hierarchy

          • TokenBase
            • CharacterToken

          Properties

          chars +CharacterToken | parse5

          Interface CharacterToken

          interface CharacterToken {
              chars: string;
              location: null | Location;
              type: CHARACTER | NULL_CHARACTER | WHITESPACE_CHARACTER;
          }

          Hierarchy

          • TokenBase
            • CharacterToken

          Properties

          Properties

          chars: string
          location: null | Location

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          chars: string
          location: null | Location

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.CommentToken.html b/interfaces/parse5.Token.CommentToken.html index 18a842dc2..5cb1eb45a 100644 --- a/interfaces/parse5.Token.CommentToken.html +++ b/interfaces/parse5.Token.CommentToken.html @@ -1,4 +1,4 @@ -CommentToken | parse5

          Interface CommentToken

          interface CommentToken {
              data: string;
              location: null | Location;
              type: COMMENT;
          }

          Hierarchy

          • TokenBase
            • CommentToken

          Properties

          data +CommentToken | parse5

          Interface CommentToken

          interface CommentToken {
              data: string;
              location: null | Location;
              type: COMMENT;
          }

          Hierarchy

          • TokenBase
            • CommentToken

          Properties

          Properties

          data: string
          location: null | Location
          type: COMMENT

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          data: string
          location: null | Location
          type: COMMENT

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.DoctypeToken.html b/interfaces/parse5.Token.DoctypeToken.html index 38ace85f3..d03fb1acc 100644 --- a/interfaces/parse5.Token.DoctypeToken.html +++ b/interfaces/parse5.Token.DoctypeToken.html @@ -1,7 +1,7 @@ -DoctypeToken | parse5

          Interface DoctypeToken

          interface DoctypeToken {
              forceQuirks: boolean;
              location: null | Location;
              name: null | string;
              publicId: null | string;
              systemId: null | string;
              type: DOCTYPE;
          }

          Hierarchy

          • TokenBase
            • DoctypeToken

          Properties

          forceQuirks +DoctypeToken | parse5

          Interface DoctypeToken

          interface DoctypeToken {
              forceQuirks: boolean;
              location: null | Location;
              name: null | string;
              publicId: null | string;
              systemId: null | string;
              type: DOCTYPE;
          }

          Hierarchy

          • TokenBase
            • DoctypeToken

          Properties

          forceQuirks: boolean
          location: null | Location
          name: null | string
          publicId: null | string
          systemId: null | string
          type: DOCTYPE

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          forceQuirks: boolean
          location: null | Location
          name: null | string
          publicId: null | string
          systemId: null | string
          type: DOCTYPE

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.EOFToken.html b/interfaces/parse5.Token.EOFToken.html index c661c23cd..66eb1b6e2 100644 --- a/interfaces/parse5.Token.EOFToken.html +++ b/interfaces/parse5.Token.EOFToken.html @@ -1,3 +1,3 @@ -EOFToken | parse5

          Interface EOFToken

          interface EOFToken {
              location: null | Location;
              type: EOF;
          }

          Hierarchy

          • TokenBase
            • EOFToken

          Properties

          location +EOFToken | parse5

          Interface EOFToken

          interface EOFToken {
              location: null | Location;
              type: EOF;
          }

          Hierarchy

          • TokenBase
            • EOFToken

          Properties

          Properties

          location: null | Location
          type: EOF

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          location: null | Location
          type: EOF

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.ElementLocation.html b/interfaces/parse5.Token.ElementLocation.html index e412d5cc5..9704e71bd 100644 --- a/interfaces/parse5.Token.ElementLocation.html +++ b/interfaces/parse5.Token.ElementLocation.html @@ -1,4 +1,4 @@ -ElementLocation | parse5

          Interface ElementLocation

          interface ElementLocation {
              attrs?: Record<string, Location>;
              endCol: number;
              endLine: number;
              endOffset: number;
              endTag?: Location;
              startCol: number;
              startLine: number;
              startOffset: number;
              startTag?: Location;
          }

          Hierarchy

          Properties

          attrs? +ElementLocation | parse5

          Interface ElementLocation

          interface ElementLocation {
              attrs?: Record<string, Location>;
              endCol: number;
              endLine: number;
              endOffset: number;
              endTag?: Location;
              startCol: number;
              startLine: number;
              startOffset: number;
              startTag?: Location;
          }

          Hierarchy

          Properties

          Properties

          attrs?: Record<string, Location>

          Start tag attributes' location info.

          -
          endCol: number

          One-based column index of the last character. Points directly after the last character.

          -
          endLine: number

          One-based line index of the last character.

          -
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          -
          endTag?: Location

          Element's end tag location info. +

          endCol: number

          One-based column index of the last character. Points directly after the last character.

          +
          endLine: number

          One-based line index of the last character.

          +
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          +
          endTag?: Location

          Element's end tag location info. This property is undefined, if the element has no closing tag.

          -
          startCol: number

          One-based column index of the first character.

          -
          startLine: number

          One-based line index of the first character.

          -
          startOffset: number

          Zero-based first character index.

          -
          startTag?: Location

          Element's start tag location info.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          startCol: number

          One-based column index of the first character.

          +
          startLine: number

          One-based line index of the first character.

          +
          startOffset: number

          Zero-based first character index.

          +
          startTag?: Location

          Element's start tag location info.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.Location.html b/interfaces/parse5.Token.Location.html index 607544885..ba90e7637 100644 --- a/interfaces/parse5.Token.Location.html +++ b/interfaces/parse5.Token.Location.html @@ -1,13 +1,13 @@ -Location | parse5

          Interface Location

          interface Location {
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          endCol +Location | parse5

          Interface Location

          interface Location {
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          endCol: number

          One-based column index of the last character. Points directly after the last character.

          -
          endLine: number

          One-based line index of the last character.

          -
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          -
          startCol: number

          One-based column index of the first character.

          -
          startLine: number

          One-based line index of the first character.

          -
          startOffset: number

          Zero-based first character index.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          endLine: number

          One-based line index of the last character.

          +
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          +
          startCol: number

          One-based column index of the first character.

          +
          startLine: number

          One-based line index of the first character.

          +
          startOffset: number

          Zero-based first character index.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.LocationWithAttributes.html b/interfaces/parse5.Token.LocationWithAttributes.html index d350eb718..9819d9f44 100644 --- a/interfaces/parse5.Token.LocationWithAttributes.html +++ b/interfaces/parse5.Token.LocationWithAttributes.html @@ -1,4 +1,4 @@ -LocationWithAttributes | parse5

          Interface LocationWithAttributes

          interface LocationWithAttributes {
              attrs?: Record<string, Location>;
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          attrs? +LocationWithAttributes | parse5

          Interface LocationWithAttributes

          interface LocationWithAttributes {
              attrs?: Record<string, Location>;
              endCol: number;
              endLine: number;
              endOffset: number;
              startCol: number;
              startLine: number;
              startOffset: number;
          }

          Hierarchy

          Properties

          Properties

          attrs?: Record<string, Location>

          Start tag attributes' location info.

          -
          endCol: number

          One-based column index of the last character. Points directly after the last character.

          -
          endLine: number

          One-based line index of the last character.

          -
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          -
          startCol: number

          One-based column index of the first character.

          -
          startLine: number

          One-based line index of the first character.

          -
          startOffset: number

          Zero-based first character index.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          endCol: number

          One-based column index of the last character. Points directly after the last character.

          +
          endLine: number

          One-based line index of the last character.

          +
          endOffset: number

          Zero-based last character index. Points directly after the last character.

          +
          startCol: number

          One-based column index of the first character.

          +
          startLine: number

          One-based line index of the first character.

          +
          startOffset: number

          Zero-based first character index.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.Token.TagToken.html b/interfaces/parse5.Token.TagToken.html index b316340fc..7517b9cea 100644 --- a/interfaces/parse5.Token.TagToken.html +++ b/interfaces/parse5.Token.TagToken.html @@ -1,9 +1,9 @@ -TagToken | parse5

          Interface TagToken

          interface TagToken {
              ackSelfClosing: boolean;
              attrs: Attribute[];
              location: null | LocationWithAttributes;
              selfClosing: boolean;
              tagID: TAG_ID;
              tagName: string;
              type: START_TAG | END_TAG;
          }

          Hierarchy

          • TokenBase
            • TagToken

          Properties

          ackSelfClosing +TagToken | parse5

          Interface TagToken

          interface TagToken {
              ackSelfClosing: boolean;
              attrs: Attribute[];
              location: null | LocationWithAttributes;
              selfClosing: boolean;
              tagID: TAG_ID;
              tagName: string;
              type: START_TAG | END_TAG;
          }

          Hierarchy

          • TokenBase
            • TagToken

          Properties

          ackSelfClosing: boolean
          attrs: Attribute[]
          location: null | LocationWithAttributes
          selfClosing: boolean
          tagID: TAG_ID

          Used to cache the ID of the tag name.

          -
          tagName: string

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          ackSelfClosing: boolean
          attrs: Attribute[]
          location: null | LocationWithAttributes
          selfClosing: boolean
          tagID: TAG_ID

          Used to cache the ID of the tag name.

          +
          tagName: string

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.TokenHandler.html b/interfaces/parse5.TokenHandler.html index 8df36cf96..43c54d48d 100644 --- a/interfaces/parse5.TokenHandler.html +++ b/interfaces/parse5.TokenHandler.html @@ -1,4 +1,4 @@ -TokenHandler | parse5

          Interface TokenHandler

          interface TokenHandler {
              onParseError?: null | ParserErrorHandler;
              onCharacter(token): void;
              onComment(token): void;
              onDoctype(token): void;
              onEndTag(token): void;
              onEof(token): void;
              onNullCharacter(token): void;
              onStartTag(token): void;
              onWhitespaceCharacter(token): void;
          }

          Implemented by

          Properties

          onParseError? +TokenHandler | parse5

          Interface TokenHandler

          interface TokenHandler {
              onParseError?: null | ParserErrorHandler;
              onCharacter(token): void;
              onComment(token): void;
              onDoctype(token): void;
              onEndTag(token): void;
              onEof(token): void;
              onNullCharacter(token): void;
              onStartTag(token): void;
              onWhitespaceCharacter(token): void;
          }

          Implemented by

          Properties

          onParseError?: null | ParserErrorHandler

          Methods

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          onParseError?: null | ParserErrorHandler

          Methods

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.TokenizerOptions.html b/interfaces/parse5.TokenizerOptions.html index a854cded8..90b56b0ed 100644 --- a/interfaces/parse5.TokenizerOptions.html +++ b/interfaces/parse5.TokenizerOptions.html @@ -1,2 +1,2 @@ -TokenizerOptions | parse5

          Interface TokenizerOptions

          interface TokenizerOptions {
              sourceCodeLocationInfo?: boolean;
          }

          Properties

          sourceCodeLocationInfo?: boolean

          Generated using TypeDoc

          \ No newline at end of file +TokenizerOptions | parse5

          Interface TokenizerOptions

          interface TokenizerOptions {
              sourceCodeLocationInfo?: boolean;
          }

          Properties

          sourceCodeLocationInfo?: boolean

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.TreeAdapter.html b/interfaces/parse5.TreeAdapter.html index d96c16809..12566de2f 100644 --- a/interfaces/parse5.TreeAdapter.html +++ b/interfaces/parse5.TreeAdapter.html @@ -2,7 +2,7 @@ Note that TreeAdapter is not designed to be a general purpose AST manipulation library. You can build such library on top of existing TreeAdapter or use one of the existing libraries from npm.

          See

          Have a look at the default tree adapter for reference.

          -
          interface TreeAdapter {
              onItemPop?: ((item, newTop) => void);
              onItemPush?: ((item) => void);
              adoptAttributes(recipient, attrs): void;
              appendChild(parentNode, newNode): void;
              createCommentNode(data): T["commentNode"];
              createDocument(): T["document"];
              createDocumentFragment(): T["documentFragment"];
              createElement(tagName, namespaceURI, attrs): T["element"];
              createTextNode(value): T["textNode"];
              detachNode(node): void;
              getAttrList(element): Attribute[];
              getChildNodes(node): T["childNode"][];
              getCommentNodeContent(commentNode): string;
              getDocumentMode(document): DOCUMENT_MODE;
              getDocumentTypeNodeName(doctypeNode): string;
              getDocumentTypeNodePublicId(doctypeNode): string;
              getDocumentTypeNodeSystemId(doctypeNode): string;
              getFirstChild(node): null | T["childNode"];
              getNamespaceURI(element): NS;
              getNodeSourceCodeLocation(node): undefined | null | ElementLocation;
              getParentNode(node): null | T["parentNode"];
              getTagName(element): string;
              getTemplateContent(templateElement): T["documentFragment"];
              getTextNodeContent(textNode): string;
              insertBefore(parentNode, newNode, referenceNode): void;
              insertText(parentNode, text): void;
              insertTextBefore(parentNode, text, referenceNode): void;
              isCommentNode(node): node is T["commentNode"];
              isDocumentTypeNode(node): node is T["documentType"];
              isElementNode(node): node is T["element"];
              isTextNode(node): node is T["textNode"];
              setDocumentMode(document, mode): void;
              setDocumentType(document, name, publicId, systemId): void;
              setNodeSourceCodeLocation(node, location): void;
              setTemplateContent(templateElement, contentElement): void;
              updateNodeSourceCodeLocation(node, location): void;
          }

          Type Parameters

          Properties

          interface TreeAdapter {
              onItemPop?: ((item, newTop) => void);
              onItemPush?: ((item) => void);
              adoptAttributes(recipient, attrs): void;
              appendChild(parentNode, newNode): void;
              createCommentNode(data): T["commentNode"];
              createDocument(): T["document"];
              createDocumentFragment(): T["documentFragment"];
              createElement(tagName, namespaceURI, attrs): T["element"];
              createTextNode(value): T["textNode"];
              detachNode(node): void;
              getAttrList(element): Attribute[];
              getChildNodes(node): T["childNode"][];
              getCommentNodeContent(commentNode): string;
              getDocumentMode(document): DOCUMENT_MODE;
              getDocumentTypeNodeName(doctypeNode): string;
              getDocumentTypeNodePublicId(doctypeNode): string;
              getDocumentTypeNodeSystemId(doctypeNode): string;
              getFirstChild(node): null | T["childNode"];
              getNamespaceURI(element): NS;
              getNodeSourceCodeLocation(node): undefined | null | ElementLocation;
              getParentNode(node): null | T["parentNode"];
              getTagName(element): string;
              getTemplateContent(templateElement): T["documentFragment"];
              getTextNodeContent(textNode): string;
              insertBefore(parentNode, newNode, referenceNode): void;
              insertText(parentNode, text): void;
              insertTextBefore(parentNode, text, referenceNode): void;
              isCommentNode(node): node is T["commentNode"];
              isDocumentTypeNode(node): node is T["documentType"];
              isElementNode(node): node is T["element"];
              isTextNode(node): node is T["textNode"];
              setDocumentMode(document, mode): void;
              setDocumentType(document, name, publicId, systemId): void;
              setNodeSourceCodeLocation(node, location): void;
              setTemplateContent(templateElement, contentElement): void;
              updateNodeSourceCodeLocation(node, location): void;
          }

          Type Parameters

          Properties

          onItemPop?: ((item, newTop) => void)

          Type declaration

            • (item, newTop): void
            • Optional callback for elements being popped from the stack of open elements.

              Parameters

              • item: T["element"]

                The element being popped.

                -
              • newTop: T["parentNode"]

              Returns void

          onItemPush?: ((item) => void)

          Type declaration

            • (item): void
            • Optional callback for elements being pushed to the stack of open elements.

              -

              Parameters

              • item: T["element"]

              Returns void

          Methods

          • Copies attributes to the given element. Only attributes that are not yet present in the element are copied.

            +
          • newTop: T["parentNode"]

          Returns void

          onItemPush?: ((item) => void)

          Type declaration

            • (item): void
            • Optional callback for elements being pushed to the stack of open elements.

              +

              Parameters

              • item: T["element"]

              Returns void

          Methods

          • Copies attributes to the given element. Only attributes that are not yet present in the element are copied.

            Parameters

            • recipient: T["element"]

              Element to copy attributes into.

            • attrs: Attribute[]

              Attributes to copy.

              -

            Returns void

          • Appends a child node to the given parent node.

            +

          Returns void

          • Appends a child node to the given parent node.

            Parameters

            • parentNode: T["parentNode"]

              Parent node.

            • newNode: T["childNode"]

              Child node.

              -

            Returns void

          • Creates a comment node.

            +

          Returns void

          • Creates a comment node.

            Parameters

            • data: string

              Comment text.

              -

            Returns T["commentNode"]

          • Creates a document fragment node.

            -

            Returns T["documentFragment"]

          • Creates an element node.

            +

          Returns T["commentNode"]

          • Creates a document fragment node.

            +

            Returns T["documentFragment"]

          • Creates an element node.

            Parameters

            • tagName: string

              Tag name of the element.

            • namespaceURI: NS

              Namespace of the element.

            • attrs: Attribute[]

              Attribute name-value pair array. Foreign attributes may contain namespace and prefix fields as well.

              -

            Returns T["element"]

          • Creates a text node.

            +

          Returns T["element"]

          • Creates a text node.

            Parameters

            • value: string

              Text.

              -

            Returns T["textNode"]

          • Removes a node from its parent.

            +

          Returns T["textNode"]

          • Removes a node from its parent.

            Parameters

            • node: T["childNode"]

              Node to remove.

              -

            Returns void

          • Returns the given element's attributes in an array, in the form of name-value pairs. +

          Returns void

          • Returns the given element's attributes in an array, in the form of name-value pairs. Foreign attributes may contain namespace and prefix fields as well.

            Parameters

            • element: T["element"]

              Element.

              -

            Returns Attribute[]

          • Returns the given node's children in an array.

            +

          Returns Attribute[]

          • Returns the given node's children in an array.

            Parameters

            • node: T["parentNode"]

              Node.

              -

            Returns T["childNode"][]

          • Returns the given comment node's content.

            +

          Returns T["childNode"][]

          • Returns the given comment node's content.

            Parameters

            • commentNode: T["commentNode"]

              Comment node.

              -

            Returns string

          Returns string

          • Returns the given document type node's name.

            +

          Returns DOCUMENT_MODE

          • Returns the given document type node's name.

            Parameters

            • doctypeNode: T["documentType"]

              Document type node.

              -

            Returns string

          • Returns the given document type node's public identifier.

            +

          Returns string

          • Returns the given document type node's public identifier.

            Parameters

            • doctypeNode: T["documentType"]

              Document type node.

              -

            Returns string

          • Returns the given document type node's system identifier.

            +

          Returns string

          • Returns the given document type node's system identifier.

            Parameters

            • doctypeNode: T["documentType"]

              Document type node.

              -

            Returns string

          • Returns the first child of the given node.

            +

          Returns string

          • Returns the first child of the given node.

            Parameters

            • node: T["parentNode"]

              Node.

              -

            Returns null | T["childNode"]

          • Returns the given element's namespace.

            +

          Returns null | T["childNode"]

          • Returns the given node's source code location information.

            +

          Returns NS

          • Returns the given node's parent.

            +

          Returns undefined | null | ElementLocation

          • Returns the given node's parent.

            Parameters

            • node: T["node"]

              Node.

              -

            Returns null | T["parentNode"]

          • Returns the given element's tag name.

            +

          Returns null | T["parentNode"]

          • Returns the given element's tag name.

            Parameters

            • element: T["element"]

              Element.

              -

            Returns string

          • Returns the <template> element content element.

            +

          Returns string

          • Returns the <template> element content element.

            Parameters

            • templateElement: T["template"]

              <template> element.

              -

            Returns T["documentFragment"]

          • Returns the given text node's content.

            +

          Returns T["documentFragment"]

          • Returns the given text node's content.

            Parameters

            • textNode: T["textNode"]

              Text node.

              -

            Returns string

          • Inserts a child node to the given parent node before the given reference node.

            +

          Returns string

          • Inserts a child node to the given parent node before the given reference node.

            Parameters

            • parentNode: T["parentNode"]

              Parent node.

            • newNode: T["childNode"]

              Child node.

            • referenceNode: T["childNode"]

              Reference node.

              -

            Returns void

          • Inserts text into a node. If the last child of the node is a text node, the provided text will be appended to the +

          Returns void

          • Inserts text into a node. If the last child of the node is a text node, the provided text will be appended to the text node content. Otherwise, inserts a new text node with the given text.

            Parameters

            • parentNode: T["parentNode"]

              Node to insert text into.

            • text: string

              Text to insert.

              -

            Returns void

          • Inserts text into a sibling node that goes before the reference node. If this sibling node is the text node, +

          Returns void

          • Inserts text into a sibling node that goes before the reference node. If this sibling node is the text node, the provided text will be appended to the text node content. Otherwise, inserts a new sibling text node with the given text before the reference node.

            Parameters

            • parentNode: T["parentNode"]

              Node to insert text into.

            • text: string

              Text to insert.

            • referenceNode: T["childNode"]

              Node to insert text before.

              -

            Returns void

          • Determines if the given node is a comment node.

            +

          Returns void

          • Determines if the given node is a comment node.

            Parameters

            • node: T["node"]

              Node.

              -

            Returns node is T["commentNode"]

          • Determines if the given node is a document type node.

            +

          Returns node is T["commentNode"]

          • Determines if the given node is a document type node.

            Parameters

            • node: T["node"]

              Node.

              -

            Returns node is T["documentType"]

          • Determines if the given node is an element.

            +

          Returns node is T["documentType"]

          • Determines if the given node is an element.

            Parameters

            • node: T["node"]

              Node.

              -

            Returns node is T["element"]

          • Determines if the given node is a text node.

            +

          Returns node is T["element"]

          • Determines if the given node is a text node.

            Parameters

            • node: T["node"]

              Node.

              -

            Returns node is T["textNode"]

          Returns node is T["textNode"]

          • Sets the document type. If the document already contains a document type node, the name, publicId and systemId +

          Returns void

          • Sets the document type. If the document already contains a document type node, the name, publicId and systemId properties of this node will be updated with the provided values. Otherwise, creates a new document type node with the given properties and inserts it into the document.

            Parameters

            • document: T["document"]

              Document node.

            • name: string

              Document type name.

            • publicId: string

              Document type public identifier.

            • systemId: string

              Document type system identifier.

              -

            Returns void

          • Attaches source code location information to the node.

            +

          Returns void

          • Sets the <template> element content element.

            +
          • location: null | ElementLocation

          Returns void

          • Sets the <template> element content element.

            Parameters

            • templateElement: T["template"]

              <template> element.

            • contentElement: T["documentFragment"]

              Content element.

              -

            Returns void

          • Updates the source code location information of the node.

            +

          Returns void

          • Updates the source code location information of the node.

            Parameters

            Returns void

          Generated using TypeDoc

          \ No newline at end of file +
        • location: Partial<ElementLocation>
        • Returns void

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5.TreeAdapterTypeMap.html b/interfaces/parse5.TreeAdapterTypeMap.html index 3e23f86c6..16b661136 100644 --- a/interfaces/parse5.TreeAdapterTypeMap.html +++ b/interfaces/parse5.TreeAdapterTypeMap.html @@ -1,4 +1,4 @@ -TreeAdapterTypeMap | parse5

          Interface TreeAdapterTypeMap<Node, ParentNode, ChildNode, Document, DocumentFragment, Element, CommentNode, TextNode, Template, DocumentType>

          interface TreeAdapterTypeMap {
              childNode: ChildNode;
              commentNode: CommentNode;
              document: Document;
              documentFragment: DocumentFragment;
              documentType: DocumentType;
              element: Element;
              node: Node;
              parentNode: ParentNode;
              template: Template;
              textNode: TextNode;
          }

          Type Parameters

          • Node = unknown

          • ParentNode = unknown

          • ChildNode = unknown

          • Document = unknown

          • DocumentFragment = unknown

          • Element = unknown

          • CommentNode = unknown

          • TextNode = unknown

          • Template = unknown

          • DocumentType = unknown

          Properties

          childNode +TreeAdapterTypeMap | parse5

          Interface TreeAdapterTypeMap<Node, ParentNode, ChildNode, Document, DocumentFragment, Element, CommentNode, TextNode, Template, DocumentType>

          interface TreeAdapterTypeMap {
              childNode: ChildNode;
              commentNode: CommentNode;
              document: Document;
              documentFragment: DocumentFragment;
              documentType: DocumentType;
              element: Element;
              node: Node;
              parentNode: ParentNode;
              template: Template;
              textNode: TextNode;
          }

          Type Parameters

          • Node = unknown

          • ParentNode = unknown

          • ChildNode = unknown

          • Document = unknown

          • DocumentFragment = unknown

          • Element = unknown

          • CommentNode = unknown

          • TextNode = unknown

          • Template = unknown

          • DocumentType = unknown

          Properties

          childNode: ChildNode
          commentNode: CommentNode
          document: Document
          documentFragment: DocumentFragment
          documentType: DocumentType
          element: Element
          node: Node
          parentNode: ParentNode
          template: Template
          textNode: TextNode

          Generated using TypeDoc

          \ No newline at end of file +

          Properties

          childNode: ChildNode
          commentNode: CommentNode
          document: Document
          documentFragment: DocumentFragment
          documentType: DocumentType
          element: Element
          node: Node
          parentNode: ParentNode
          template: Template
          textNode: TextNode

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.Comment.html b/interfaces/parse5_sax_parser.Comment.html index 19a6b20d1..8cfc7d57a 100644 --- a/interfaces/parse5_sax_parser.Comment.html +++ b/interfaces/parse5_sax_parser.Comment.html @@ -1,5 +1,5 @@ -Comment | parse5
          interface Comment {
              sourceCodeLocation?: null | Location;
              text: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation? +Comment | parse5
          interface Comment {
              sourceCodeLocation?: null | Location;
              text: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -
          text: string

          Comment text.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          text: string

          Comment text.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.Doctype.html b/interfaces/parse5_sax_parser.Doctype.html index 35c11eefc..087bbd94b 100644 --- a/interfaces/parse5_sax_parser.Doctype.html +++ b/interfaces/parse5_sax_parser.Doctype.html @@ -1,9 +1,9 @@ -Doctype | parse5
          interface Doctype {
              name: null | string;
              publicId: null | string;
              sourceCodeLocation?: null | Location;
              systemId: null | string;
          }

          Hierarchy

          Properties

          name +Doctype | parse5
          interface Doctype {
              name: null | string;
              publicId: null | string;
              sourceCodeLocation?: null | Location;
              systemId: null | string;
          }

          Hierarchy

          Properties

          name: null | string

          Document type name.

          -
          publicId: null | string

          Document type public identifier.

          -
          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -
          systemId: null | string

          Document type system identifier.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          publicId: null | string

          Document type public identifier.

          +
          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          +
          systemId: null | string

          Document type system identifier.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.EndTag.html b/interfaces/parse5_sax_parser.EndTag.html index e4f839688..a5545272b 100644 --- a/interfaces/parse5_sax_parser.EndTag.html +++ b/interfaces/parse5_sax_parser.EndTag.html @@ -1,5 +1,5 @@ -EndTag | parse5
          interface EndTag {
              sourceCodeLocation?: null | Location;
              tagName: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation? +EndTag | parse5
          interface EndTag {
              sourceCodeLocation?: null | Location;
              tagName: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -
          tagName: string

          Tag name

          -

          Generated using TypeDoc

          \ No newline at end of file +
          tagName: string

          Tag name

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.SAXParserOptions.html b/interfaces/parse5_sax_parser.SAXParserOptions.html index d61544c85..741958a5c 100644 --- a/interfaces/parse5_sax_parser.SAXParserOptions.html +++ b/interfaces/parse5_sax_parser.SAXParserOptions.html @@ -1,4 +1,4 @@ -SAXParserOptions | parse5

          Interface SAXParserOptions

          interface SAXParserOptions {
              sourceCodeLocationInfo?: boolean;
          }

          Properties

          sourceCodeLocationInfo? +SAXParserOptions | parse5

          Interface SAXParserOptions

          interface SAXParserOptions {
              sourceCodeLocationInfo?: boolean;
          }

          Properties

          sourceCodeLocationInfo?: boolean

          Enables source code location information for tokens.

          When enabled, each token will have a sourceCodeLocation property.

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.SaxToken.html b/interfaces/parse5_sax_parser.SaxToken.html index ab52013ad..a146ebcf5 100644 --- a/interfaces/parse5_sax_parser.SaxToken.html +++ b/interfaces/parse5_sax_parser.SaxToken.html @@ -1,3 +1,3 @@ -SaxToken | parse5
          interface SaxToken {
              sourceCodeLocation?: null | Location;
          }

          Hierarchy

          Properties

          sourceCodeLocation? +SaxToken | parse5
          interface SaxToken {
              sourceCodeLocation?: null | Location;
          }

          Hierarchy

          Properties

          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -

          Generated using TypeDoc

          \ No newline at end of file +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.StartTag.html b/interfaces/parse5_sax_parser.StartTag.html index 2e3775c5e..b1d3bfe43 100644 --- a/interfaces/parse5_sax_parser.StartTag.html +++ b/interfaces/parse5_sax_parser.StartTag.html @@ -1,9 +1,9 @@ -StartTag | parse5
          interface StartTag {
              attrs: Attribute[];
              selfClosing: boolean;
              sourceCodeLocation?: null | Location;
              tagName: string;
          }

          Hierarchy

          Properties

          attrs +StartTag | parse5
          interface StartTag {
              attrs: Attribute[];
              selfClosing: boolean;
              sourceCodeLocation?: null | Location;
              tagName: string;
          }

          Hierarchy

          Properties

          attrs: Attribute[]

          List of attributes

          -
          selfClosing: boolean

          Indicates if the tag is self-closing

          -
          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -
          tagName: string

          Tag name

          -

          Generated using TypeDoc

          \ No newline at end of file +
          selfClosing: boolean

          Indicates if the tag is self-closing

          +
          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          +
          tagName: string

          Tag name

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/parse5_sax_parser.Text.html b/interfaces/parse5_sax_parser.Text.html index 50c01eb8b..6a8987793 100644 --- a/interfaces/parse5_sax_parser.Text.html +++ b/interfaces/parse5_sax_parser.Text.html @@ -1,5 +1,5 @@ -Text | parse5
          interface Text {
              sourceCodeLocation?: null | Location;
              text: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation? +Text | parse5
          interface Text {
              sourceCodeLocation?: null | Location;
              text: string;
          }

          Hierarchy

          Properties

          sourceCodeLocation?: null | Location

          Source code location info. Available if location info is enabled via SAXParserOptions.

          -
          text: string

          Text content.

          -

          Generated using TypeDoc

          \ No newline at end of file +
          text: string

          Text content.

          +

          Generated using TypeDoc

          \ No newline at end of file diff --git a/modules/parse5.DefaultTreeAdapterTypes.html b/modules/parse5.DefaultTreeAdapterTypes.html index aaa31f0e0..4531cb286 100644 --- a/modules/parse5.DefaultTreeAdapterTypes.html +++ b/modules/parse5.DefaultTreeAdapterTypes.html @@ -1,4 +1,4 @@ -DefaultTreeAdapterTypes | parse5

          Namespace DefaultTreeAdapterTypes

          References

          DefaultTreeAdapterMap +DefaultTreeAdapterTypes | parse5

          Namespace DefaultTreeAdapterTypes

          References

          Interfaces

          CommentNode Document diff --git a/modules/parse5.Token.html b/modules/parse5.Token.html index 0708ef591..a3057e262 100644 --- a/modules/parse5.Token.html +++ b/modules/parse5.Token.html @@ -1,4 +1,4 @@ -Token | parse5

          Namespace Token

          Index

          Enumerations

          TokenType +Token | parse5

          Namespace Token

          Index

          Enumerations

          Interfaces

          Attribute CharacterToken CommentToken diff --git a/modules/parse5.html.html b/modules/parse5.html.html index 0b875b0ab..0c1cb4899 100644 --- a/modules/parse5.html.html +++ b/modules/parse5.html.html @@ -1,4 +1,4 @@ -html | parse5

          Namespace html

          Index

          Enumerations

          ATTRS +html | parse5

          Namespace html

          Index

          Enumerations

          ATTRS DOCUMENT_MODE NS TAG_ID diff --git a/types/parse5.DefaultTreeAdapterMap.html b/types/parse5.DefaultTreeAdapterMap.html index d7c3db043..e14e72f11 100644 --- a/types/parse5.DefaultTreeAdapterMap.html +++ b/types/parse5.DefaultTreeAdapterMap.html @@ -1 +1 @@ -DefaultTreeAdapterMap | parse5

          Generated using TypeDoc

          \ No newline at end of file +DefaultTreeAdapterMap | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5.DefaultTreeAdapterTypes.ChildNode.html b/types/parse5.DefaultTreeAdapterTypes.ChildNode.html index 7f8a1d151..f34e35292 100644 --- a/types/parse5.DefaultTreeAdapterTypes.ChildNode.html +++ b/types/parse5.DefaultTreeAdapterTypes.ChildNode.html @@ -1 +1 @@ -ChildNode | parse5

          Generated using TypeDoc

          \ No newline at end of file +ChildNode | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5.DefaultTreeAdapterTypes.Node.html b/types/parse5.DefaultTreeAdapterTypes.Node.html index f22565f7b..d86bb03bf 100644 --- a/types/parse5.DefaultTreeAdapterTypes.Node.html +++ b/types/parse5.DefaultTreeAdapterTypes.Node.html @@ -1 +1 @@ -Node | parse5

          Generated using TypeDoc

          \ No newline at end of file +Node | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5.DefaultTreeAdapterTypes.ParentNode.html b/types/parse5.DefaultTreeAdapterTypes.ParentNode.html index e3009e777..4c53f622f 100644 --- a/types/parse5.DefaultTreeAdapterTypes.ParentNode.html +++ b/types/parse5.DefaultTreeAdapterTypes.ParentNode.html @@ -1 +1 @@ -ParentNode | parse5

          Generated using TypeDoc

          \ No newline at end of file +ParentNode | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5.ParserErrorHandler.html b/types/parse5.ParserErrorHandler.html index 9b2bafa22..6cb3fc602 100644 --- a/types/parse5.ParserErrorHandler.html +++ b/types/parse5.ParserErrorHandler.html @@ -1 +1 @@ -ParserErrorHandler | parse5

          Type alias ParserErrorHandler

          ParserErrorHandler: ((error) => void)

          Type declaration

          Generated using TypeDoc

          \ No newline at end of file +ParserErrorHandler | parse5

          Type alias ParserErrorHandler

          ParserErrorHandler: ((error) => void)

          Type declaration

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5.Token.Token.html b/types/parse5.Token.Token.html index 0d3b13154..0a3d0a996 100644 --- a/types/parse5.Token.Token.html +++ b/types/parse5.Token.Token.html @@ -1 +1 @@ -Token | parse5

          Generated using TypeDoc

          \ No newline at end of file +Token | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/types/parse5_htmlparser2_tree_adapter.Htmlparser2TreeAdapterMap.html b/types/parse5_htmlparser2_tree_adapter.Htmlparser2TreeAdapterMap.html index dde723e28..b2a8b737b 100644 --- a/types/parse5_htmlparser2_tree_adapter.Htmlparser2TreeAdapterMap.html +++ b/types/parse5_htmlparser2_tree_adapter.Htmlparser2TreeAdapterMap.html @@ -1 +1 @@ -Htmlparser2TreeAdapterMap | parse5
          Htmlparser2TreeAdapterMap: TreeAdapterTypeMap<AnyNode, ParentNode, ChildNode, Document, Document, Element, Comment, Text, Element, ProcessingInstruction>

          Generated using TypeDoc

          \ No newline at end of file +Htmlparser2TreeAdapterMap | parse5
          Htmlparser2TreeAdapterMap: TreeAdapterTypeMap<AnyNode, ParentNode, ChildNode, Document, Document, Element, Comment, Text, Element, ProcessingInstruction>

          Generated using TypeDoc

          \ No newline at end of file diff --git a/variables/parse5.TokenizerMode.html b/variables/parse5.TokenizerMode.html index ed7049dad..205271724 100644 --- a/variables/parse5.TokenizerMode.html +++ b/variables/parse5.TokenizerMode.html @@ -1 +1 @@ -TokenizerMode | parse5

          Variable TokenizerModeConst

          TokenizerMode: {
              CDATA_SECTION: CDATA_SECTION;
              DATA: DATA;
              PLAINTEXT: PLAINTEXT;
              RAWTEXT: RAWTEXT;
              RCDATA: RCDATA;
              SCRIPT_DATA: SCRIPT_DATA;
          } = ...

          Type declaration

          • Readonly CDATA_SECTION: CDATA_SECTION
          • Readonly DATA: DATA
          • Readonly PLAINTEXT: PLAINTEXT
          • Readonly RAWTEXT: RAWTEXT
          • Readonly RCDATA: RCDATA
          • Readonly SCRIPT_DATA: SCRIPT_DATA

          Generated using TypeDoc

          \ No newline at end of file +TokenizerMode | parse5

          Variable TokenizerModeConst

          TokenizerMode: {
              CDATA_SECTION: CDATA_SECTION;
              DATA: DATA;
              PLAINTEXT: PLAINTEXT;
              RAWTEXT: RAWTEXT;
              RCDATA: RCDATA;
              SCRIPT_DATA: SCRIPT_DATA;
          } = ...

          Type declaration

          • Readonly CDATA_SECTION: CDATA_SECTION
          • Readonly DATA: DATA
          • Readonly PLAINTEXT: PLAINTEXT
          • Readonly RAWTEXT: RAWTEXT
          • Readonly RCDATA: RCDATA
          • Readonly SCRIPT_DATA: SCRIPT_DATA

          Generated using TypeDoc

          \ No newline at end of file diff --git a/variables/parse5.defaultTreeAdapter.html b/variables/parse5.defaultTreeAdapter.html index 2d8a8c2ed..40cc64dcf 100644 --- a/variables/parse5.defaultTreeAdapter.html +++ b/variables/parse5.defaultTreeAdapter.html @@ -1 +1 @@ -defaultTreeAdapter | parse5

          Generated using TypeDoc

          \ No newline at end of file +defaultTreeAdapter | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/variables/parse5.html.NUMBERED_HEADERS.html b/variables/parse5.html.NUMBERED_HEADERS.html index 8682c137c..583e02c0b 100644 --- a/variables/parse5.html.NUMBERED_HEADERS.html +++ b/variables/parse5.html.NUMBERED_HEADERS.html @@ -1 +1 @@ -NUMBERED_HEADERS | parse5

          Generated using TypeDoc

          \ No newline at end of file +NUMBERED_HEADERS | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/variables/parse5.html.SPECIAL_ELEMENTS.html b/variables/parse5.html.SPECIAL_ELEMENTS.html index e7310eb8f..bc5dc806a 100644 --- a/variables/parse5.html.SPECIAL_ELEMENTS.html +++ b/variables/parse5.html.SPECIAL_ELEMENTS.html @@ -1 +1 @@ -SPECIAL_ELEMENTS | parse5

          Generated using TypeDoc

          \ No newline at end of file +SPECIAL_ELEMENTS | parse5

          Generated using TypeDoc

          \ No newline at end of file diff --git a/variables/parse5_htmlparser2_tree_adapter.adapter.html b/variables/parse5_htmlparser2_tree_adapter.adapter.html index c7885cb07..910a9507d 100644 --- a/variables/parse5_htmlparser2_tree_adapter.adapter.html +++ b/variables/parse5_htmlparser2_tree_adapter.adapter.html @@ -1 +1 @@ -adapter | parse5

          Generated using TypeDoc

          \ No newline at end of file +adapter | parse5

          Generated using TypeDoc

          \ No newline at end of file