Skip to content
Permalink
Browse files

xmlbuilder@13

  • Loading branch information...
feross committed Jun 28, 2019
1 parent 42a8656 commit 7f7c7a270d6e6ba257b396bba100cda51e1a8997
Showing with 2 additions and 4 deletions.
  1. +1 −3 index.js
  2. +1 −1 package.json
@@ -119,9 +119,7 @@ function buildSitemap (urls, base) {

function buildXml (obj) {
const opts = {
encoding: 'utf-8',
skipNullAttributes: true,
skipNullNodes: true
encoding: 'utf-8'
}
const xml = builder.create(obj, opts)
return xml.end({ pretty: true, allowEmpty: false })
@@ -11,8 +11,8 @@
"url": "https://github.com/feross/express-sitemap-xml/issues"
},
"dependencies": {
"xmlbuilder": "^10.0.0"
"mem": "^5.1.0",
"xmlbuilder": "^13.0.2"
},
"devDependencies": {
"common-tags": "^1.8.0",

0 comments on commit 7f7c7a2

Please sign in to comment.
You can’t perform that action at this time.