Initial commit: New MoreminiMore website with fresh design
This commit is contained in:
12
node_modules/sitemap/dist/esm/lib/xmllint.d.ts
generated
vendored
Normal file
12
node_modules/sitemap/dist/esm/lib/xmllint.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Readable } from 'node:stream';
|
||||
/**
|
||||
* Verify the passed in xml is valid. Requires xmllib be installed
|
||||
*
|
||||
* Security: This function always pipes XML content via stdin to prevent
|
||||
* command injection vulnerabilities. Never pass user-controlled strings
|
||||
* as file path arguments to xmllint.
|
||||
*
|
||||
* @param xml what you want validated (string or Readable stream)
|
||||
* @return {Promise<void>} resolves on valid rejects [error stderr]
|
||||
*/
|
||||
export declare function xmlLint(xml: string | Readable): Promise<void>;
|
||||
Reference in New Issue
Block a user