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

xy-parser

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xy-parser - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

lib/index.js

@@ -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) {

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