@sgratzl/boxplots
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "@sgratzl/boxplots", | ||
"description": "simple boxplot stats helper", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"publishConfig": { | ||
@@ -36,2 +36,10 @@ "access": "public" | ||
"types": "build/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./build/index.js", | ||
"require": "./build/index.cjs", | ||
"scripts": "./build/index.umd.min.js", | ||
"types": "./build/index.d.ts" | ||
} | ||
}, | ||
"sideEffects": false, | ||
@@ -43,40 +51,31 @@ "files": [ | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/preset-env": "^7.24.7", | ||
"@babel/core": "^7.25.8", | ||
"@babel/preset-env": "^7.25.8", | ||
"@eslint/js": "^9.13.0", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-commonjs": "^26.0.1", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@rollup/plugin-replace": "^5.0.7", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@types/jest": "^29.5.12", | ||
"@typescript-eslint/eslint-plugin": "^7.12.0", | ||
"@typescript-eslint/parser": "^7.12.0", | ||
"@yarnpkg/sdks": "^3.1.2", | ||
"eslint": "^8.57.0", | ||
"eslint-config-airbnb-typescript": "^18.0.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
"eslint-plugin-flowtype": "^8.0.3", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsx-a11y": "^6.8.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-react": "^7.34.2", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.3.1", | ||
"rimraf": "^5.0.7", | ||
"rollup": "^4.18.0", | ||
"@rollup/plugin-commonjs": "^28.0.1", | ||
"@rollup/plugin-node-resolve": "^15.3.0", | ||
"@rollup/plugin-replace": "^6.0.1", | ||
"@rollup/plugin-typescript": "^12.1.1", | ||
"@types/node": "^22.7.7", | ||
"@vitest/coverage-v8": "^2.1.3", | ||
"@yarnpkg/sdks": "^3.2.0", | ||
"eslint": "^9.13.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"jsdom": "^25.0.1", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.24.0", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"ts-jest": "^29.1.4", | ||
"tslib": "^2.6.3", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5" | ||
"ts-jest": "^29.2.5", | ||
"tslib": "^2.8.0", | ||
"typedoc": "^0.26.10", | ||
"typescript": "^5.6.3", | ||
"typescript-eslint": "^8.10.0", | ||
"vite": "^5.4.9", | ||
"vitest": "^2.1.3" | ||
}, | ||
"resolutions": { | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.19.0" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"", | ||
"clean": "rimraf --glob build node_modules \"*.tgz\" \"*.tsbuildinfo\"", | ||
"compile": "tsc -b tsconfig.c.json", | ||
@@ -86,3 +85,3 @@ "start": "yarn run watch", | ||
"build": "rollup -c", | ||
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests --detectOpenHandles --forceExit", | ||
"test": "vitest --passWithNoTests", | ||
"test:watch": "yarn run test --watch", | ||
@@ -94,8 +93,8 @@ "test:coverage": "yarn run test --coverage", | ||
"prettier": "prettier \"*\" \"*/**\" --check", | ||
"eslint": "eslint src --ext .ts,.tsx", | ||
"eslint": "eslint src --cache", | ||
"eslint:fix": "yarn run eslint --fix", | ||
"docs": "typedoc src/index.ts", | ||
"docs": "typedoc --options typedoc.json", | ||
"prepare": "yarn run build" | ||
}, | ||
"packageManager": "yarn@4.2.2" | ||
} | ||
"packageManager": "yarn@4.5.1" | ||
} |
@@ -1,3 +0,2 @@ | ||
/// <reference types="jest" /> | ||
import { describe, test, expect } from 'vitest'; | ||
import boxplot from './boxplot'; | ||
@@ -4,0 +3,0 @@ |
@@ -119,3 +119,2 @@ import kde, { type KernelDensityEstimator } from './kde'; | ||
if (v == null || Number.isNaN(v)) { | ||
// eslint-disable-next-line no-continue | ||
continue; | ||
@@ -141,3 +140,3 @@ } | ||
// sort in place | ||
// eslint-disable-next-line no-nested-ternary | ||
validData.sort((a, b) => (a === b ? 0 : a < b ? -1 : 1)); | ||
@@ -144,0 +143,0 @@ |
@@ -1,3 +0,1 @@ | ||
/// <reference types="jest" /> | ||
import { | ||
@@ -12,2 +10,3 @@ quantilesType7, | ||
} from './quantiles'; | ||
import { describe, it, expect } from 'vitest'; | ||
@@ -14,0 +13,0 @@ function asc(a: number, b: number) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
26
86252
1484