diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 14:46:37 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 14:46:37 -0800 |
| commit | afa87af01c79a9baa539f2992d32154d2a4739bd (patch) | |
| tree | 92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/parse5/dist/serializer/index.d.ts | |
| parent | 3b927e84d200402281f68181cd4253bc77e5528d (diff) | |
| download | neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2 neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip | |
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/parse5/dist/serializer/index.d.ts')
| -rw-r--r-- | vanilla/node_modules/parse5/dist/serializer/index.d.ts | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/vanilla/node_modules/parse5/dist/serializer/index.d.ts b/vanilla/node_modules/parse5/dist/serializer/index.d.ts deleted file mode 100644 index 995b3d7..0000000 --- a/vanilla/node_modules/parse5/dist/serializer/index.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import type { TreeAdapter, TreeAdapterTypeMap } from '../tree-adapters/interface.js'; -import { type DefaultTreeAdapterMap } from '../tree-adapters/default.js'; -export interface SerializerOptions<T extends TreeAdapterTypeMap> { - /** - * Specifies input tree format. - * - * @default `treeAdapters.default` - */ - treeAdapter?: TreeAdapter<T>; - /** - * The [scripting flag](https://html.spec.whatwg.org/multipage/parsing.html#scripting-flag). If set - * to `true`, `noscript` element content will not be escaped. - * - * @default `true` - */ - scriptingEnabled?: boolean; -} -/** - * Serializes an AST node to an HTML string. - * - * @example - * - * ```js - * 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>' - * ``` - * - * @param node Node to serialize. - * @param options Serialization options. - */ -export declare function serialize<T extends TreeAdapterTypeMap = DefaultTreeAdapterMap>(node: T['parentNode'], options?: SerializerOptions<T>): string; -/** - * Serializes an AST element node to an HTML string, including the element node. - * - * @example - * - * ```js - * 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>' - * ``` - * - * @param node Node to serialize. - * @param options Serialization options. - */ -export declare function serializeOuter<T extends TreeAdapterTypeMap = DefaultTreeAdapterMap>(node: T['node'], options?: SerializerOptions<T>): string; |
