Socket
Socket
Sign inDemoInstall

@types/xml2js

Package Overview
Dependencies
1
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.6 to 0.4.7

40

xml2js/index.d.ts

@@ -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;

6

xml2js/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc