Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,5 @@ | ||
## 1.0.2 ## | ||
* Bug fixes | ||
## 1.0.1 ## | ||
@@ -2,0 +6,0 @@ |
@@ -17,2 +17,3 @@ /** | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -19,0 +20,0 @@ * Replaces ampersands (&) with the appropriate XML character reference. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -3,0 +4,0 @@ * Copyright (C) 2016 Michael Kourlas |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -236,3 +237,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlAttribute; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -141,3 +142,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlAttributeText; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -128,3 +129,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlCdata; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -143,3 +144,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlCharData; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -183,3 +184,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlCharRef; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -129,3 +130,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlComment; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -221,3 +222,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDecl; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -307,3 +308,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDocument; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -375,3 +376,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtd; | ||
@@ -378,0 +378,0 @@ /** |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtdAttlist; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtdElement; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtdEntity; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtdNotation; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlDtdParamEntityRef; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -362,3 +363,2 @@ * Copyright (C) 2016 Michael Kourlas | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlElement; | ||
@@ -365,0 +365,0 @@ /** |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -125,3 +126,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlEntityRef; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -205,3 +206,2 @@ /** | ||
}()); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlNode; |
@@ -12,2 +12,3 @@ "use strict"; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var utils_1 = require("../utils"); | ||
@@ -171,3 +172,2 @@ var validate_1 = require("../validate"); | ||
}(XmlNode_1.default)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = XmlProcInst; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -3,0 +4,0 @@ * Copyright (C) 2016 Michael Kourlas |
@@ -35,3 +35,3 @@ /** | ||
*/ | ||
export declare function isObject(val: any): val is Object; | ||
export declare function isObject(val: any): val is object; | ||
/** | ||
@@ -38,0 +38,0 @@ * @private |
@@ -17,2 +17,3 @@ /** | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -19,0 +20,0 @@ * @private |
@@ -17,2 +17,3 @@ /** | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -30,3 +31,4 @@ * Verifies that the specified string only contains characters permitted by the | ||
function validateChar(str) { | ||
var charRegex = "\\u0009|\\u000A|\\u000D|[\\u0020-\\uD7FF]"; | ||
var charRegex = "\\u0009|\\u000A|\\u000D|[\\u0020-\\uD7FF]|" | ||
+ "[\\uE000-\\uFFFD]"; | ||
var surrogateCharRegex = "[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]"; | ||
@@ -50,4 +52,4 @@ return new RegExp("^((" + charRegex + ")|(" + surrogateCharRegex + "))*$") | ||
if (str.length === 1) { | ||
return new RegExp("^\\u0009|\\u000A|\\u000D|[\\u0020-\\uD7FF]$") | ||
.test(str); | ||
return new RegExp("^\\u0009|\\u000A|\\u000D|[\\u0020-\\uD7FF]|" | ||
+ "[\\uE000-\\uFFFD]$").test(str); | ||
} | ||
@@ -54,0 +56,0 @@ else if (str.length === 2) { |
{ | ||
"name": "xmlcreate", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Simple XML builder for Node.js", | ||
@@ -44,6 +44,6 @@ "keywords": [ | ||
"mocha": "^3.2.0", | ||
"tslint": "^4.4.2", | ||
"tslint": "^4.5.1", | ||
"typedoc": "^0.5.7", | ||
"typescript": "^2.1.6" | ||
"typescript": "^2.2.1" | ||
} | ||
} |
@@ -74,3 +74,3 @@ # xmlcreate # | ||
The documentation for the current version is available [here](http://www.kourlas.com/node-xmlcreate/docs/1.0.1/). | ||
The documentation for the current version is available [here](http://www.kourlas.com/node-xmlcreate/docs/1.0.2/). | ||
@@ -77,0 +77,0 @@ You can also build the documentation using gulp: |
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
240912
6306