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

xy-parser

Package Overview
Dependencies
Maintainers
4
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 5.0.3 to 5.0.4

4

lib-esm/parse.js
import { ensureString } from 'ensure-string';
import { xyUniqueX, xMaxValue, xIsMonotone } from 'ml-spectra-processing';
import { xyUniqueX, xMaxValue, xIsMonotonic } from 'ml-spectra-processing';
/**

@@ -67,3 +67,3 @@ * General internal parsing function

}
if (xIsMonotone(xs)) {
if (xIsMonotonic(xs)) {
numberColumns = 2;

@@ -70,0 +70,0 @@ }

@@ -70,3 +70,3 @@ "use strict";

}
if ((0, ml_spectra_processing_1.xIsMonotone)(xs)) {
if ((0, ml_spectra_processing_1.xIsMonotonic)(xs)) {
numberColumns = 2;

@@ -73,0 +73,0 @@ }

{
"name": "xy-parser",
"version": "5.0.3",
"version": "5.0.4",
"description": "Parse a text-file and convert it to an array of XY points",

@@ -44,13 +44,13 @@ "main": "./lib/index.js",

"devDependencies": {
"@types/jest": "^29.2.3",
"@types/jest": "^29.5.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"cheminfo-tools": "^1.23.3",
"codecov": "^3.8.3",
"eslint": "^8.28.0",
"eslint-config-cheminfo-typescript": "^11.2.2",
"jest": "^29.3.1",
"prettier": "^2.8.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "^4.9.3"
"eslint": "^8.36.0",
"eslint-config-cheminfo-typescript": "^11.3.1",
"jest": "^29.5.0",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2"
},

@@ -60,4 +60,4 @@ "dependencies": {

"ensure-string": "^1.2.0",
"ml-spectra-processing": "^11.14.0"
"ml-spectra-processing": "^12.0.0"
}
}
import { DataXY, TextData } from 'cheminfo-types';
import { ensureString } from 'ensure-string';
import { xyUniqueX, xMaxValue, xIsMonotone } from 'ml-spectra-processing';
import { xyUniqueX, xMaxValue, xIsMonotonic } from 'ml-spectra-processing';

@@ -97,3 +97,3 @@ import { ParseXYOptions } from './ParseXYOptions';

}
if (xIsMonotone(xs)) {
if (xIsMonotonic(xs)) {
numberColumns = 2;

@@ -100,0 +100,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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