Socket
Socket
Sign inDemoInstall

@types/xml2js

Package Overview
Dependencies
2
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.10 to 0.4.11

8

xml2js/index.d.ts

@@ -17,7 +17,7 @@ // Type definitions for node-xml2js 0.4

export function parseString(str: convertableToString, callback: (err: Error, result: any) => void): void;
export function parseString(str: convertableToString, callback: (err: Error | null, result: any) => void): void;
export function parseString(
str: convertableToString,
options: ParserOptions,
callback: (err: Error, result: any) => void,
callback: (err: Error | null, result: any) => void,
): void;

@@ -50,3 +50,3 @@ export function parseStringPromise(str: convertableToString, options?: ParserOptions): Promise<any>;

constructor(options?: ParserOptions);
parseString(str: convertableToString, cb?: Function): void;
parseString(str: convertableToString, cb?: (error: Error | null, result: any) => void): void;
parseStringPromise(str: convertableToString): Promise<any>;

@@ -64,3 +64,3 @@ reset(): void;

explicitRoot?: boolean | undefined;
emptyTag?: any;
emptyTag?: (() => any) | string;
explicitArray?: boolean | undefined;

@@ -67,0 +67,0 @@ ignoreAttrs?: boolean | undefined;

{
"name": "@types/xml2js",
"version": "0.4.10",
"version": "0.4.11",
"description": "TypeScript definitions for node-xml2js",

@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xml2js",

},
"typesPublisherContentHash": "457eabffac695eee4abce14b499ba4086f7663917763559fef7e9e7c3d5d07b2",
"typesPublisherContentHash": "7f3f7e0dbceb5b7c934c4313de4ba4f4af27d67247c208fa0beabf5ea810f85f",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 15 Apr 2022 12:01:19 GMT
* Last updated: Sat, 16 Apr 2022 04:31:19 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