Comparing version 1.6.7 to 1.6.8
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ { |
module.exports = require('./lib'); |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ /*jslint node:true */ |
@@ -0,0 +0,0 @@ var js2xml = require('./js2xml.js'); |
@@ -0,0 +0,0 @@ var helper = require('./options-helper'); |
{ | ||
"name": "xml-js", | ||
"version": "1.6.7", | ||
"version": "1.6.8", | ||
"description": "A convertor between XML text and Javascript object / JSON text.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -56,2 +56,28 @@ export interface Attributes { | ||
captureSpacesBetweenElements?: boolean | ||
doctypeFn?: (value: string, parentElement: string) => void; | ||
instructionFn?: ( | ||
instructionValue: string, | ||
instructionName: string, | ||
parentElement: string | ||
) => void; | ||
cdataFn?: (value: string, parentElement: string) => void; | ||
commentFn?: (value: string, parentElement: string) => void; | ||
textFn?: (value: string, parentElement: string) => void; | ||
instructionNameFn?: ( | ||
instructionName: string, | ||
instructionValue: string, | ||
parentElement: string | ||
) => void; | ||
elementNameFn?: (value: string, parentElement: string) => void; | ||
attributeNameFn?: ( | ||
attributeName: string, | ||
attributeValue: string, | ||
parentElement: string | ||
) => void; | ||
attributeValueFn?: ( | ||
attributeValue: string, | ||
attributeName: string, | ||
parentElement: string | ||
) => void; | ||
attributesFn?: (value: string, parentElement: string) => void; | ||
} | ||
@@ -68,2 +94,33 @@ | ||
noQuotesForNativeAttributes?: boolean | ||
doctypeFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
instructionFn?: ( | ||
instructionValue: string, | ||
instructionName: string, | ||
currentElementName: string, | ||
currentElementObj: object | ||
) => void; | ||
cdataFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
commentFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
textFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
instructionNameFn?: ( | ||
instructionName: string, | ||
instructionValue: string, | ||
currentElementName: string, | ||
currentElementObj: object | ||
) => void; | ||
elementNameFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
attributeNameFn?: ( | ||
attributeName: string, | ||
attributeValue: string, | ||
currentElementName: string, | ||
currentElementObj: object | ||
) => void; | ||
attributeValueFn?: ( | ||
attributeValue: string, | ||
attributeName: string, | ||
currentElementName: string, | ||
currentElementObj: object | ||
) => void; | ||
attributesFn?: (value: string, currentElementName: string, currentElementObj: object) => void; | ||
fullTagEmptyElementFn?: (currentElementName: string, currentElementObj: object) => void; | ||
} | ||
@@ -70,0 +127,0 @@ |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
420462
8626