Comparing version 2.1.1 to 2.2.0
@@ -7,3 +7,3 @@ const xml2js = require('xml2js'); | ||
cb = opt; | ||
opt = { pretty: true, indent: ' ', newline: '\n' }; | ||
opt = { pretty: true, indent: ' ', newline: '\n' }; | ||
} | ||
@@ -14,5 +14,7 @@ | ||
headless: true, | ||
pretty: opt.pretty, | ||
indent: opt.indent || ' ', | ||
newline: opt.newline || '\n' | ||
renderOpts: { | ||
pretty: opt.pretty === false ? false : true, | ||
indent: opt.indent || ' ', | ||
newline: opt.newline || '\n' | ||
}, | ||
}); | ||
@@ -19,0 +21,0 @@ |
@@ -7,3 +7,3 @@ const xml2js = require('xml2js'); | ||
cb = opt; | ||
opt = { headless: true, pretty: true, indent: ' ', newline: '\n' }; | ||
opt = { headless: true, pretty: true, indent: ' ', newline: '\n' }; | ||
} | ||
@@ -14,5 +14,7 @@ | ||
headless: opt.headless, | ||
pretty: opt.pretty, | ||
indent: opt.indent || ' ', | ||
newline: opt.newline || '\n' | ||
renderOpts: { | ||
pretty: opt.pretty === false ? false : true, | ||
indent: opt.indent || ' ', | ||
newline: opt.newline || '\n' | ||
}, | ||
}); | ||
@@ -19,0 +21,0 @@ |
{ | ||
"name": "xliff", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "xliff2js and js2xliff converter xliff utils", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"xml2js": "0.4.18" | ||
"xml2js": "0.4.19" | ||
}, | ||
@@ -13,0 +13,0 @@ "devDependencies": { |
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
33359
633
32
+ Addedxml2js@0.4.19(transitive)
- Removedxml2js@0.4.18(transitive)
Updatedxml2js@0.4.19