UNPKG

@hapi/bourne

Version:

JSON parse with prototype poisoning protection

50 lines (49 loc) 1.2 kB
{ "name": "@hapi/bourne", "version": "4.0.1", "description": "JSON parse with prototype poisoning protection", "keywords": [ "JSON", "parse", "prototype", "safe" ], "license": "BSD-3-Clause", "repository": { "type": "git", "url": "git://github.com/hapijs/bourne.git" }, "files": [ "src", "API.md" ], "type": "module", "types": "src/index.d.ts", "exports": { ".": { "types": "./src/index.d.ts", "default": "./src/index.js" } }, "scripts": { "test": "vitest run --coverage", "typecheck": "tsc --noEmit", "lint": "oxlint", "lint:fix": "oxlint --fix", "fmt": "oxfmt --check", "fmt:fix": "oxfmt", "check": "npm run lint && npm run fmt && npm run typecheck && npm test" }, "devDependencies": { "@hapi/oxc-plugin": "^1.0.1", "@vitest/coverage-v8": "^4.1.9", "oxfmt": "^0.57.0", "oxlint": "^1.72.0", "tinybench": "6.0.2", "typescript": "^6.0.3", "vitest": "^4.1.9" }, "engines": { "node": ">=22" } }