moddle-xml
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -710,7 +710,14 @@ 'use strict'; | ||
var ENCODING_PATTERN = /^<\?xml.* encoding="([^"]+)"(?: .*)?\?>$/i; | ||
var PREAMBLE_START_PATTERN = /^<\?xml /i; | ||
var ENCODING_PATTERN = / encoding="([^"]+)"/i; | ||
var UTF_8_PATTERN = /^utf-8$/i; | ||
function handleQuestion(question) { | ||
if (!PREAMBLE_START_PATTERN.test(question)) { | ||
return; | ||
} | ||
var match = ENCODING_PATTERN.exec(question); | ||
@@ -717,0 +724,0 @@ var encoding = match && match[1]; |
{ | ||
"name": "moddle-xml", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "XML import/export for documents described with moddle", | ||
@@ -41,3 +41,3 @@ "directories": { | ||
"eslint": "^3.19.0", | ||
"eslint-plugin-mocha": "^4.11.0", | ||
"eslint-plugin-bpmn-io": "^0.4.1", | ||
"mocha": "^4.0.1", | ||
@@ -44,0 +44,0 @@ "npm-run-all": "^4.1.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
42217
1278