Comparing version 4.1.1 to 4.1.2
module.exports = (js, what, cb) => { | ||
const res = {}; | ||
const nsKeys = Object.keys(js.resources); | ||
const nsKeys = Object.keys(js.resources || {}); | ||
if (nsKeys.length === 1) { | ||
@@ -6,0 +6,0 @@ const ns = js.resources[nsKeys[0]]; |
{ | ||
"name": "xliff", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "xliff2js and js2xliff converter xliff utils", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=6.0.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "dependencies": { |
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
90981