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

ml-spectra-fitting

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-spectra-fitting - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

7

CHANGELOG.md
# Changelog
### [0.7.1](https://www.github.com/mljs/spectra-fitting/compare/v0.7.0...v0.7.1) (2020-11-14)
### Bug Fixes
* avoid inplace modification of shape option ([5d54fe3](https://www.github.com/mljs/spectra-fitting/commit/5d54fe36e926fad7dc36e8e41ff5fe3411d128b0))
## [0.7.0](https://www.github.com/mljs/spectra-fitting/compare/v0.6.0...v0.7.0) (2020-11-13)

@@ -4,0 +11,0 @@

4

lib/index.js

@@ -144,3 +144,3 @@ 'use strict';

shape.kind = mlPeakShapeGenerator.getKind(shape.kind);
let kind = mlPeakShapeGenerator.getKind(shape.kind);

@@ -157,3 +157,3 @@ let x = data.x;

let paramsFunc;
switch (shape.kind) {
switch (kind) {
case 1:

@@ -160,0 +160,0 @@ nbParams = 3;

{
"name": "ml-spectra-fitting",
"version": "0.7.0",
"version": "0.7.1",
"description": "Fit spectra using gaussian or lorentzian",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -34,3 +34,3 @@ import getMaxValue from 'ml-array-max';

shape.kind = getKind(shape.kind);
let kind = getKind(shape.kind);

@@ -47,3 +47,3 @@ let x = data.x;

let paramsFunc;
switch (shape.kind) {
switch (kind) {
case 1:

@@ -50,0 +50,0 @@ nbParams = 3;

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