fast-xml-parser
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -76,3 +76,3 @@ var util = require("./util"); | ||
var nextIndex = checkForMatchingTag(tags,i+1); | ||
if(nextIndex !== -1 && tags[nextIndex][0].indexOf("</") === 0){ | ||
if(nextIndex !== -1 && tags[nextIndex] !== undefined && tags[nextIndex][0].indexOf("</") === 0){ | ||
if(validateTagName(tags[i][1]) === false) return -1; | ||
@@ -79,0 +79,0 @@ if(tags[i][1] === tags[nextIndex][1]) { |
@@ -297,3 +297,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.parser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
var nextIndex = checkForMatchingTag(tags,i+1); | ||
if(nextIndex !== -1 && tags[nextIndex][0].indexOf("</") === 0){ | ||
if(nextIndex !== -1 && tags[nextIndex] !== undefined && tags[nextIndex][0].indexOf("</") === 0){ | ||
if(validateTagName(tags[i][1]) === false) return -1; | ||
@@ -300,0 +300,0 @@ if(tags[i][1] === tags[nextIndex][1]) { |
{ | ||
"name": "fast-xml-parser", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries", | ||
@@ -62,3 +62,3 @@ "main": "./bin/parser.js", | ||
"browserify": "^14.1.0", | ||
"coveralls": "^2.11.15", | ||
"coveralls": "^3.0.0", | ||
"http-server": "^0.10.0", | ||
@@ -68,4 +68,4 @@ "istanbul": "^0.4.5", | ||
"jasmine-core": "^2.5.2", | ||
"zombie": "^5.0.5" | ||
"zombie": "^5.0.7" | ||
} | ||
} |
@@ -12,3 +12,3 @@ # [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser) | ||
[![bitHound Dev Dependencies](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser/badges/devDependencies.svg)](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser/master/dependencies/npm) | ||
[![bitHound Overall Score](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser/badges/score.svg)](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser) | ||
[![bitHound Overall Score](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser/badges/score.svg)](https://www.bithound.io/github/NaturalIntelligence/fast-xml-parser) [![NPM total downloads](https://img.shields.io/npm/dt/fast-xml-parser.svg)](https://npm.im/fast-xml-parser) | ||
@@ -15,0 +15,0 @@ ### How to use |
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
196520