Comparing version 5.0.3 to 5.0.4
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
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
43713
+ Addedml-spectra-processing@12.11.0(transitive)
- Removedml-spectra-processing@11.17.0(transitive)