Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moddle-xml

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moddle-xml - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

9

lib/reader.js

@@ -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];

4

package.json
{
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc