mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
- Removed all Snow consensus code and dependencies - Replaced snow.Context with consensuscontext.Context - Updated all imports and references - Added comprehensive test suites for core packages - Fixed all build errors and test failures - Achieved 100% test pass rate (21 packages passing) - Improved test coverage to 30% Breaking changes: - Removed snow package entirely - Changed VM interface to use VMState instead of snow.State - Updated ChainContext structure Tests added: - core/app_error_test.go: 100% coverage - core/bootstrap_test.go: comprehensive concurrent tests - core/health_test.go: full integration tests - validators/validators_test.go: complete interface tests - version/version_test.go: 100% coverage - codec/codec_test.go: marshal/unmarshal tests - context/context_test.go: all functions tested
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"name": "keyv",
|
|
"version": "4.5.4",
|
|
"description": "Simple key-value storage with support for multiple backends",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"build": "echo 'No build step required.'",
|
|
"prepare": "yarn build",
|
|
"test": "xo && c8 ava --serial",
|
|
"test:ci": "xo && ava --serial",
|
|
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite"
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"unicorn/prefer-module": 0,
|
|
"unicorn/prefer-node-protocol": 0,
|
|
"@typescript-eslint/consistent-type-definitions": 0,
|
|
"unicorn/no-typeof-undefined": 0,
|
|
"unicorn/prefer-event-target": 0
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jaredwray/keyv.git"
|
|
},
|
|
"keywords": [
|
|
"key",
|
|
"value",
|
|
"store",
|
|
"cache",
|
|
"ttl"
|
|
],
|
|
"author": "Jared Wray <[email protected]> (http://jaredwray.com)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/jaredwray/keyv/issues"
|
|
},
|
|
"homepage": "https://github.com/jaredwray/keyv",
|
|
"dependencies": {
|
|
"json-buffer": "3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@keyv/test-suite": "*",
|
|
"eslint": "^8.51.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"pify": "^5.0.0",
|
|
"timekeeper": "^2.3.1",
|
|
"tsd": "^0.29.0"
|
|
},
|
|
"tsd": {
|
|
"directory": "test"
|
|
},
|
|
"types": "./src/index.d.ts",
|
|
"files": [
|
|
"src"
|
|
]
|
|
}
|