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

ml-array-standard-deviation

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-array-standard-deviation - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.1.6](https://github.com/mljs/array/compare/ml-array-standard-deviation@1.1.5...ml-array-standard-deviation@1.1.6) (2021-03-24)
### Bug Fixes
* update is-any-array to v1 ([578e6d6](https://github.com/mljs/array/commit/578e6d68a429ebc72a2eaa991eec6baf377f2405))
## [1.1.5](https://github.com/mljs/array/compare/ml-array-standard-deviation@1.1.4...ml-array-standard-deviation@1.1.5) (2020-10-07)

@@ -8,0 +19,0 @@

8

lib/index.js
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var variance = require('ml-array-variance');
var variance = _interopDefault(require('ml-array-variance'));
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var variance__default = /*#__PURE__*/_interopDefaultLegacy(variance);
function standardDeviation(values, options = {}) {
return Math.sqrt(variance(values, options));
return Math.sqrt(variance__default['default'](values, options));
}
module.exports = standardDeviation;
{
"name": "ml-array-standard-deviation",
"version": "1.1.5",
"version": "1.1.6",
"description": "Get the standard deviation in an array",

@@ -26,6 +26,6 @@ "main": "lib/index.js",

"dependencies": {
"is-any-array": "^0.1.0",
"ml-array-variance": "^1.1.5"
"is-any-array": "^1.0.0",
"ml-array-variance": "^1.1.6"
},
"gitHead": "942138d036d4c0753ad4c261cc692652c0a9cac1"
"gitHead": "d06a16075e582be7b7c553cd1aecbe1d03c64b7a"
}
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