@types/xmlbuilder
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -8,83 +8,85 @@ // Type definitions for xmlbuilder | ||
export = xmlbuilder; | ||
declare class XMLDocType { | ||
clone(): XMLDocType; | ||
element(name: string, value?: Object): XMLDocType; | ||
attList(elementName: string, attributeName: string, attributeType: string, defaultValueType?: string, defaultValue?: any): XMLDocType; | ||
entity(name: string, value: any): XMLDocType; | ||
pEntity(name: string, value: any): XMLDocType; | ||
notation(name: string, value: any): XMLDocType; | ||
cdata(value: string): XMLDocType; | ||
comment(value: string): XMLDocType; | ||
instruction(target: string, value: any): XMLDocType; | ||
root(): XMLDocType; | ||
document(): any; | ||
toString(options?: Object, level?: Number): string; | ||
ele(name: string, value?: Object): XMLDocType; | ||
att(elementName: string, attributeName: string, attributeType: string, defaultValueType?: string, defaultValue?: any): XMLDocType; | ||
ent(name: string, value: any): XMLDocType; | ||
pent(name: string, value: any): XMLDocType; | ||
not(name: string, value: any): XMLDocType; | ||
dat(value: string): XMLDocType; | ||
com(value: string): XMLDocType; | ||
ins(target: string, value: any): XMLDocType; | ||
up(): XMLDocType; | ||
doc(): any; | ||
} | ||
declare namespace xmlbuilder { | ||
declare class XMLElementOrXMLNode { | ||
// XMLElement: | ||
clone(): XMLElementOrXMLNode; | ||
attribute(name: any, value?: any): XMLElementOrXMLNode; | ||
att(name: any, value?: any): XMLElementOrXMLNode; | ||
removeAttribute(name: string): XMLElementOrXMLNode; | ||
instruction(target: string, value: any): XMLElementOrXMLNode; | ||
instruction(array: Array<any>): XMLElementOrXMLNode; | ||
instruction(obj: Object): XMLElementOrXMLNode; | ||
ins(target: string, value: any): XMLElementOrXMLNode; | ||
ins(array: Array<any>): XMLElementOrXMLNode; | ||
ins(obj: Object): XMLElementOrXMLNode; | ||
a(name: any, value?: any): XMLElementOrXMLNode; | ||
i(target: string, value: any): XMLElementOrXMLNode; | ||
i(array: Array<any>): XMLElementOrXMLNode; | ||
i(obj: Object): XMLElementOrXMLNode; | ||
toString(options?: Object, level?: Number): string; | ||
// XMLNode: | ||
element(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
ele(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
insertBefore(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
insertAfter(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
remove(): XMLElementOrXMLNode; | ||
node(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
text(value: string): XMLElementOrXMLNode; | ||
cdata(value: string): XMLElementOrXMLNode; | ||
comment(value: string): XMLElementOrXMLNode; | ||
raw(value: string): XMLElementOrXMLNode; | ||
declaration(version: string, encoding: string, standalone: boolean): XMLElementOrXMLNode; | ||
doctype(pubID: string, sysID: string): XMLDocType; | ||
up(): XMLElementOrXMLNode; | ||
importDocument(input: XMLElementOrXMLNode): XMLElementOrXMLNode; | ||
root(): XMLElementOrXMLNode; | ||
document(): any; | ||
end(options?: Object): string; | ||
prev(): XMLElementOrXMLNode; | ||
next(): XMLElementOrXMLNode; | ||
nod(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
txt(value: string): XMLElementOrXMLNode; | ||
dat(value: string): XMLElementOrXMLNode; | ||
com(value: string): XMLElementOrXMLNode; | ||
doc(): XMLElementOrXMLNode; | ||
dec(version: string, encoding: string, standalone: boolean): XMLElementOrXMLNode; | ||
dtd(pubID: string, sysID: string): XMLDocType; | ||
e(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
n(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
t(value: string): XMLElementOrXMLNode; | ||
d(value: string): XMLElementOrXMLNode; | ||
c(value: string): XMLElementOrXMLNode; | ||
r(value: string): XMLElementOrXMLNode; | ||
u(): XMLElementOrXMLNode; | ||
} | ||
class XMLDocType { | ||
clone(): XMLDocType; | ||
element(name: string, value?: Object): XMLDocType; | ||
attList(elementName: string, attributeName: string, attributeType: string, defaultValueType?: string, defaultValue?: any): XMLDocType; | ||
entity(name: string, value: any): XMLDocType; | ||
pEntity(name: string, value: any): XMLDocType; | ||
notation(name: string, value: any): XMLDocType; | ||
cdata(value: string): XMLDocType; | ||
comment(value: string): XMLDocType; | ||
instruction(target: string, value: any): XMLDocType; | ||
root(): XMLDocType; | ||
document(): any; | ||
toString(options?: Object, level?: Number): string; | ||
declare namespace xmlbuilder { | ||
ele(name: string, value?: Object): XMLDocType; | ||
att(elementName: string, attributeName: string, attributeType: string, defaultValueType?: string, defaultValue?: any): XMLDocType; | ||
ent(name: string, value: any): XMLDocType; | ||
pent(name: string, value: any): XMLDocType; | ||
not(name: string, value: any): XMLDocType; | ||
dat(value: string): XMLDocType; | ||
com(value: string): XMLDocType; | ||
ins(target: string, value: any): XMLDocType; | ||
up(): XMLDocType; | ||
doc(): any; | ||
} | ||
class XMLElementOrXMLNode { | ||
// XMLElement: | ||
clone(): XMLElementOrXMLNode; | ||
attribute(name: any, value?: any): XMLElementOrXMLNode; | ||
att(name: any, value?: any): XMLElementOrXMLNode; | ||
removeAttribute(name: string): XMLElementOrXMLNode; | ||
instruction(target: string, value: any): XMLElementOrXMLNode; | ||
instruction(array: Array<any>): XMLElementOrXMLNode; | ||
instruction(obj: Object): XMLElementOrXMLNode; | ||
ins(target: string, value: any): XMLElementOrXMLNode; | ||
ins(array: Array<any>): XMLElementOrXMLNode; | ||
ins(obj: Object): XMLElementOrXMLNode; | ||
a(name: any, value?: any): XMLElementOrXMLNode; | ||
i(target: string, value: any): XMLElementOrXMLNode; | ||
i(array: Array<any>): XMLElementOrXMLNode; | ||
i(obj: Object): XMLElementOrXMLNode; | ||
toString(options?: Object, level?: Number): string; | ||
// XMLNode: | ||
element(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
ele(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
insertBefore(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
insertAfter(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
remove(): XMLElementOrXMLNode; | ||
node(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
text(value: string): XMLElementOrXMLNode; | ||
cdata(value: string): XMLElementOrXMLNode; | ||
comment(value: string): XMLElementOrXMLNode; | ||
raw(value: string): XMLElementOrXMLNode; | ||
declaration(version: string, encoding: string, standalone: boolean): XMLElementOrXMLNode; | ||
doctype(pubID: string, sysID: string): XMLDocType; | ||
up(): XMLElementOrXMLNode; | ||
importDocument(input: XMLElementOrXMLNode): XMLElementOrXMLNode; | ||
root(): XMLElementOrXMLNode; | ||
document(): any; | ||
end(options?: Object): string; | ||
prev(): XMLElementOrXMLNode; | ||
next(): XMLElementOrXMLNode; | ||
nod(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
txt(value: string): XMLElementOrXMLNode; | ||
dat(value: string): XMLElementOrXMLNode; | ||
com(value: string): XMLElementOrXMLNode; | ||
doc(): XMLElementOrXMLNode; | ||
dec(version: string, encoding: string, standalone: boolean): XMLElementOrXMLNode; | ||
dtd(pubID: string, sysID: string): XMLDocType; | ||
e(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
n(name: any, attributes?: Object, text?: any): XMLElementOrXMLNode; | ||
t(value: string): XMLElementOrXMLNode; | ||
d(value: string): XMLElementOrXMLNode; | ||
c(value: string): XMLElementOrXMLNode; | ||
r(value: string): XMLElementOrXMLNode; | ||
u(): XMLElementOrXMLNode; | ||
} | ||
function create(nameOrObjSpec: string | { [name:string]: Object }, xmldec?: Object, doctype?: any, options?: Object): XMLElementOrXMLNode; | ||
} |
{ | ||
"name": "@types/xmlbuilder", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "TypeScript definitions for xmlbuilder", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"name": "Wallymathieu", | ||
"url": "https://github.com/wallymathieu" | ||
"url": "https://github.com/wallymathieu", | ||
"githubUsername": "wallymathieu" | ||
} | ||
@@ -20,4 +21,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "fd2edf4d48aa3ff97094ffc56cda6ea601b5b30049707592aebe8fc8d81cec6c", | ||
"typesPublisherContentHash": "da701fdac5c03f8d81f5895c0f7cf1aae1224fc320d0ca6a925d7be974a49029", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 22:03:22 GMT | ||
* Last updated: Wed, 15 Nov 2017 23:11:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
6858