Comparing version 2.2.1 to 2.2.2
@@ -49,3 +49,3 @@ 'use strict'; | ||
// we will consider only lines that contains only numbers | ||
if (line.match(/[0-9]+/) && line.match(/^[0-9eE,;. \t-]+$/)) { | ||
if (line.match(/[0-9]+/) && line.match(/^[0-9eE,;. \t+-]+$/)) { | ||
var fields = line.split(/,[; \t]+|[; \t]+/); | ||
@@ -52,0 +52,0 @@ if (fields.length === 1) { |
{ | ||
"name": "xy-parser", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Parse a text-file and convert it to an array of XY points", | ||
@@ -43,4 +43,4 @@ "main": "lib/index.js", | ||
"eslint": "^4.19.1", | ||
"eslint-config-cheminfo": "^1.17.4", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-config-cheminfo": "^1.18.0", | ||
"eslint-plugin-import": "^2.13.0", | ||
"eslint-plugin-jest": "^21.17.0", | ||
@@ -47,0 +47,0 @@ "eslint-plugin-no-only-tests": "^2.0.0", |
@@ -43,3 +43,3 @@ import uniqueXFunction from 'ml-arrayxy-uniquex'; | ||
// we will consider only lines that contains only numbers | ||
if (line.match(/[0-9]+/) && line.match(/^[0-9eE,;. \t-]+$/)) { | ||
if (line.match(/[0-9]+/) && line.match(/^[0-9eE,;. \t+-]+$/)) { | ||
var fields = line.split(/,[; \t]+|[; \t]+/); | ||
@@ -46,0 +46,0 @@ if (fields.length === 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14535
0