Update test framework: fix run_tests.py to support all test files, add auto-import-check for test files

This commit is contained in:
qiaoxinjiu
2026-05-09 15:11:30 +08:00
parent eb053a347f
commit eaba8328da
21739 changed files with 2236758 additions and 719 deletions

49
node_modules/throttleit/package.json generated vendored Normal file
View File

@@ -0,0 +1,49 @@
{
"name": "throttleit",
"version": "2.1.0",
"description": "Throttle a function to limit its execution rate",
"license": "MIT",
"repository": "sindresorhus/throttleit",
"funding": "https://github.com/sponsors/sindresorhus",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"main": "./index.js",
"types": "./index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"throttle",
"rate",
"limit",
"limited",
"rate-limit",
"ratelimit",
"throttling",
"optimization",
"performance",
"function",
"execution",
"interval",
"batch"
],
"devDependencies": {
"ava": "^5.3.1",
"xo": "^0.56.0"
},
"xo": {
"rules": {
"unicorn/prefer-module": "off"
}
}
}