@apple/hierarchical-confusion-matrix
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4767247
87
49603
1
25
Updatedd3-array@^3.2.4