@types/xml2js
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -12,2 +12,3 @@ // Type definitions for node-xml2js 0.4 | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// Minimum TypeScript Version: 3.5 | ||
@@ -80,2 +81,3 @@ /// <reference types="node"/> | ||
valueProcessors?: Array<(value: string, name: string) => any>; | ||
chunkSize?: number; | ||
} | ||
@@ -95,39 +97,5 @@ | ||
export interface Options { | ||
async?: boolean; | ||
attrkey?: string; | ||
attrNameProcessors?: Array<(name: string) => any>; | ||
attrValueProcessors?: Array<(value: string, name: string) => any>; | ||
charkey?: string; | ||
charsAsChildren?: boolean; | ||
childkey?: string; | ||
emptyTag?: any; | ||
explicitArray?: boolean; | ||
explicitCharkey?: boolean; | ||
explicitChildren?: boolean; | ||
explicitRoot?: boolean; | ||
ignoreAttrs?: boolean; | ||
includeWhiteChars?: boolean; | ||
mergeAttrs?: boolean; | ||
normalize?: boolean; | ||
normalizeTags?: boolean; | ||
strict?: boolean; | ||
tagNameProcessors?: Array<(name: string) => any>; | ||
trim?: boolean; | ||
validator?: Function; | ||
valueProcessors?: Array<(value: string, name: string) => any>; | ||
xmlns?: boolean; | ||
} | ||
export type Options = Omit<ParserOptions, "preserveChildrenOrder" | "chunkSize">; | ||
export type OptionsV2 = ParserOptions & BuilderOptions; | ||
export interface OptionsV2 extends Options { | ||
preserveChildrenOrder?: boolean; | ||
rootName?: string; | ||
xmldec?: XmlDeclarationAttributes; | ||
doctype?: any; | ||
renderOpts?: RenderOptions; | ||
headless?: boolean; | ||
chunkSize?: number; | ||
cdata?: boolean; | ||
} | ||
export interface convertableToString { | ||
@@ -134,0 +102,0 @@ toString(): string; |
{ | ||
"name": "@types/xml2js", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "TypeScript definitions for node-xml2js", | ||
@@ -59,4 +59,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "9640741789edbce90fe756dba738750e000521ef02489cc213d70e864635eaa2", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "df3dac8c56a75153feaf52676794a17d0e57c64cdd410ff8853dd23d1f5c1ce5", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 15 Nov 2020 11:13:12 GMT | ||
* Last updated: Thu, 19 Nov 2020 00:56:32 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7291
95