New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sgratzl/boxplots

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sgratzl/boxplots - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

build/index.d.ts

94

package.json
{
"name": "@sgratzl/boxplots",
"description": "simple boxplot stats helper",
"version": "1.2.1",
"version": "1.2.2",
"publishConfig": {

@@ -19,3 +19,5 @@ "access": "public"

"keywords": [
"TODO"
"boxplot",
"whisker",
"quantiles"
],

@@ -26,60 +28,58 @@ "repository": {

},
"module": "dist/boxplots.esm.js",
"main": "dist/boxplots.umd.development.js",
"unpkg": "dist/boxplots.umd.production.min.js",
"jsdelivr": "dist/boxplots.umd.production.min.js",
"types": "dist/index.d.ts",
"global": "BoxPlots",
"module": "build/index.esm.js",
"main": "build/index.js",
"unpkg": "build/index.umd.min.js",
"jsdelivr": "build/index.umd.min.js",
"types": "build/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"build",
"src/**/*.ts"
],
"browserslist": [
"Firefox ESR",
"last 2 Chrome versions",
"last 2 Firefox versions"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^13.0.0",
"@types/jest": "^26.0.4",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"@yarnpkg/pnpify": "^2.1.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-typescript": "^8.0.0",
"@types/jest": "^26.0.19",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"@yarnpkg/pnpify": "^2.4.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.6",
"prettier": "^2.0.5",
"release-it": "^13.6.5",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"release-it": "^14.2.2",
"rimraf": "^3.0.2",
"rollup": "^2.21.0",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-dts": "^1.4.7",
"rollup-plugin-pnp-resolve": "^2.0.0",
"tsdx": "~0.13.2",
"tslib": "^2.0.0",
"typedoc": "^0.17.8",
"typescript": "^3.9.6"
"rollup": "^2.34.2",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-dts": "^2.0.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typedoc": "^0.19.2",
"typescript": "^4.1.2"
},
"scripts": {
"clean": "rimraf dist node_modules \"*.tgz\"",
"clean": "rimraf build node_modules \"*.tgz\"",
"compile": "tsc -p tsconfig.json --noEmit",
"start": "npm run watch",
"watch": "tsdx watch --noClean --name BoxPlots --format esm,umd",
"build": "tsdx build --name BoxPlots --format esm,umd && npm run typings",
"typings": "rollup -c rollup.dts.config.js",
"test": "tsdx test --passWithNoTests",
"test:watch": "tsdx test --passWithNoTests --watch",
"test:coverage": "tsdx test --passWithNoTests --coverage",
"watch": "rollup -c -w",
"build": "rollup -c",
"test": "jest --passWithNoTests",
"test:watch": "jest --passWithNoTests --watch",
"test:coverage": "jest --passWithNoTests --coverage",
"lint": "npm run eslint && npm run prettier",
"fix": "npm run eslint:fix && npm run prettier:write",
"prettier:impl": "prettier \"*.{md,json,js,yml}\" \"{.github,src,samples}/**\"",
"prettier:write": "npm run prettier:impl -- --write",
"prettier": "npm run prettier:impl -- --check",
"eslint": "tsdx lint src --ext .ts,.tsx",
"prettier:write": "prettier */** --write",
"prettier": "prettier */** --check",
"eslint": "eslint src --ext .ts,.tsx",
"eslint:fix": "npm run eslint -- --fix",

@@ -86,0 +86,0 @@ "docs": "typedoc",

@@ -46,3 +46,3 @@ /// <reference types="jest" />

1.3709885,
] as any[];
] as number[];
const b = boxplot(arr);

@@ -49,0 +49,0 @@ expect(b.missing).toBe(3);

@@ -107,3 +107,3 @@ import { quantilesType7 } from './quantiles';

let valid = 0;
let length = data.length;
const length = data.length;

@@ -142,3 +142,5 @@ const vs = data instanceof Float64Array ? new Float64Array(length) : new Float32Array(length);

// add comparator since the polyfill doesn't to a real sorting
const s = (valid === length ? vs : vs.subarray(0, valid)).sort((a, b) => (a === b ? 0 : a < b ? -1 : 1));
const s = valid === length ? vs : vs.subarray(0, valid);
// sort in place
s.sort((a, b) => (a === b ? 0 : a < b ? -1 : 1));

@@ -145,0 +147,0 @@ // use real number for better precision

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