Files
zeekay 4bddc6ffe7 feat: remove Snow consensus and achieve 100% test pass rate
- 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
2025-09-16 13:34:59 -05:00

55 lines
1.3 KiB
JSON

{
"name": "@ungap/structured-clone",
"version": "1.3.0",
"description": "A structuredClone polyfill",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:json && npm run test",
"cjs": "ascjs esm cjs",
"coverage": "c8 report --reporter=text-lcov > ./coverage/lcov.info",
"rollup:json": "rollup --config rollup/json.config.js",
"test": "c8 node test/index.js"
},
"keywords": [
"recursion",
"structured",
"clone",
"algorithm"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"ascjs": "^6.0.3",
"c8": "^10.1.3",
"coveralls": "^3.1.1",
"rollup": "^4.31.0"
},
"module": "./esm/index.js",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./json": {
"import": "./esm/json.js",
"default": "./cjs/json.js"
},
"./package.json": "./package.json"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ungap/structured-clone.git"
},
"bugs": {
"url": "https://github.com/ungap/structured-clone/issues"
},
"homepage": "https://github.com/ungap/structured-clone#readme"
}