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

@huggingface/tasks

Package Overview
Dependencies
Maintainers
4
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huggingface/tasks - npm Package Compare versions

Comparing version

to
0.13.0-test3

dist/dataset-libraries.d.cts

7

package.json
{
"name": "@huggingface/tasks",
"packageManager": "pnpm@8.10.5",
"version": "0.13.0-test2",
"version": "0.13.0-test3",
"description": "List of ML tasks for huggingface.co/tasks",

@@ -12,4 +12,6 @@ "repository": "https://github.com/huggingface/huggingface.js.git",

"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"require": "./dist/index.cjs",

@@ -43,3 +45,3 @@ "import": "./dist/index.js"

"format:check": "prettier --check .",
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration && pnpm run generate-cts",
"watch:export": "tsup src/index.ts --format cjs,esm --watch",

@@ -50,2 +52,3 @@ "watch:types": "tsc --emitDeclarationOnly --declaration --watch",

"test": "vitest run",
"generate-cts": "tsx scripts/generate-cts.ts",
"inference-codegen": "tsx scripts/inference-codegen.ts && prettier --write src/tasks/*/inference.ts",

@@ -52,0 +55,0 @@ "inference-tgi-import": "tsx scripts/inference-tgi-import.ts && prettier --write src/tasks/text-generation/spec/*.json && prettier --write src/tasks/chat-completion/spec/*.json",

@@ -18,4 +18,4 @@ {

},
"include": ["src", "scripts"],
"include": ["src"],
"exclude": ["dist"]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display