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

@apple/hierarchical-confusion-matrix

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apple/hierarchical-confusion-matrix - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

package/confMat.js

52

package.json
{
"name": "@apple/hierarchical-confusion-matrix",
"author": "Apple Inc.",
"version": "1.1.0",
"version": "1.1.1",
"license": "SEE LICENSE IN `LICENSE`",
"main": "package/confMat.js",
"files": [
"src"
"src",
"package",
"README.md"
],
"main": "./package/confMat.umd.cjs",
"module": "./package/confMat.js",
"exports": {
".": {
"import": "./package/confMat.js",
"require": "./package/confMat.umd.cjs"
},
"./package/*.css": {
"import": "./package/*.css",
"require": "./package/*.css"
}
},
"types": "./dist/index.d.ts",
"style": "./dist/style.css",
"type": "module",
"devDependencies": {
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.16.3",
"@sveltejs/kit": "^1.22.4",
"@sveltejs/vite-plugin-svelte": "^2.4.5",
"@types/cwise": "^1.0.4",
"@types/d3-array": "^3.0.4",
"@types/d3-array": "^3.0.5",
"@types/d3-dsv": "^3.0.1",
"@types/d3-scale": "^4.0.3",
"@types/lodash": "^4.14.194",
"@types/lodash": "^4.14.195",
"@types/ndarray": "^1.0.11",
"@types/node": "^20.1.5",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint": "^8.40.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-svelte": "^2.28.0",
"gh-pages": "^5.0.0",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"svelte": "^3.59.1",
"svelte-check": "^3.3.2",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"vite": "^4.3.6",
"vitest": "^0.31.0"
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^3.59.2",
"svelte-check": "^3.4.6",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vite": "^4.3.9",
"vite-plugin-dts": "^3.5.1",
"vitest": "^0.34.1"
},
"scripts": {
"build": "vite build",
"build:lib": "vite build --config vite.config.lib.ts",
"prepack": "yarn build:lib",
"dev": "vite dev",

@@ -51,3 +69,3 @@ "preview": "vite preview",

"dependencies": {
"d3-array": "^3.2.3",
"d3-array": "^3.2.4",
"d3-dsv": "^3.0.1",

@@ -54,0 +72,0 @@ "d3-scale": "^4.0.2",

@@ -11,7 +11,6 @@ /*

export async function json(filename: string): Promise<Array<Confusion>> {
const response = await fetch(filename);
// TODO: should use https://kit.svelte.dev/docs/load or some other way to load data that does not involve using window.location.href
const response = await fetch(`${window.location.href}/${filename}`);
const json = await response.json();
const data = json.data.values;
return data;
return json.data.values;
}

Sorry, the diff of this file is not supported yet

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