Comparing version 1.6.8 to 1.6.9
@@ -244,3 +244,3 @@ var helper = require('./options-helper'); | ||
var elementName = 'elementNameFn' in options ? options.elementNameFn(name, element) : name; | ||
if (typeof element === 'undefined' || element === null) { | ||
if (typeof element === 'undefined' || element === null || element === '') { | ||
return 'fullTagEmptyElementFn' in options && options.fullTagEmptyElementFn(name, element) || options.fullTagEmptyElement ? '<' + elementName + '></' + elementName + '>' : '<' + elementName + '/>'; | ||
@@ -247,0 +247,0 @@ } |
{ | ||
"name": "xml-js", | ||
"version": "1.6.8", | ||
"version": "1.6.9", | ||
"description": "A convertor between XML text and Javascript object / JSON text.", | ||
@@ -73,3 +73,3 @@ "repository": { | ||
"coverage:a-step": "npm run istanbul", | ||
"coverage:coveralls": "cat ./test/coverage-jasmine/lcov.info | coveralls", | ||
"coverage:coveralls": "cross-env COVERALLS_REPO_TOKEN=CaEwzjHxsKRqomJSYmGagrJdlR7uLHhHC && cat ./test/coverage-jasmine/lcov.info | coveralls", | ||
"coverage:codecov": "codecov --token=0e52af41-702b-4d7f-8aa3-61145ac36624 --file=test/coverage-jasmine/lcov.info ", | ||
@@ -90,20 +90,20 @@ "coverage:codacy": "cross-env CODACY_PROJECT_TOKEN=0207815122ea49a68241d1aa435f21f1 && cat ./test/coverage-jasmine/lcov.info | codacy-coverage", | ||
"biased-opener": "^0.2.8", | ||
"browser-sync": "^2.24.4", | ||
"browser-sync": "^2.26.3", | ||
"cash-cat": "^0.2.0", | ||
"codacy-coverage": "^2.0.3", | ||
"codeclimate-test-reporter": "^0.5.0", | ||
"codecov": "^3.0.2", | ||
"coveralls": "^3.0.1", | ||
"cross-env": "^5.1.6", | ||
"eslint": "^4.19.1", | ||
"globify": "^2.3.1", | ||
"codacy-coverage": "^3.4.0", | ||
"codeclimate-test-reporter": "^0.5.1", | ||
"codecov": "^3.1.0", | ||
"coveralls": "^3.0.2", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^5.12.0", | ||
"globify": "^2.3.4", | ||
"istanbul": "^0.4.5", | ||
"jasmine": "^2.8.0", | ||
"jasmine": "^3.3.1", | ||
"jest": "^20.0.4", | ||
"jest-cli": "^20.0.4", | ||
"jsonpath": "^1.0.0", | ||
"nodemon": "^1.17.5", | ||
"npm-run-all": "^4.1.3", | ||
"prismjs": "^1.14.0", | ||
"typescript": "^2.8.3", | ||
"nodemon": "^1.18.9", | ||
"npm-run-all": "^4.1.5", | ||
"prismjs": "^1.15.0", | ||
"typescript": "^3.2.2", | ||
"unminified-webpack-plugin": "^1.4.2", | ||
@@ -110,0 +110,0 @@ "watch": "^1.0.1", |
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
420228