{
  "name": "@hackylabs/deep-redact",
  "version": "4.0.2",
  "description": "Deeply redact sensitive data from objects, arrays and arbitrary strings (e.g. XML or raw cookies data) with a composable, function-first API.",
  "private": false,
  "license": "MIT",
  "author": "Benjamin Green (https://bengreen.dev)",
  "funding": "https://ko-fi.com/hackylabs",
  "type": "module",
  "packageManager": "pnpm@10.33.0",
  "volta": {
    "node": "24.14.1",
    "pnpm": "10.33.0"
  },
  "engines": {
    "node": ">=22.18.0"
  },
  "sideEffects": false,
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.cjs",
      "types": "./dist/index.d.ts"
    },
    "./adapters/console": {
      "import": "./dist/adapters/console/index.js",
      "require": "./dist/adapters/console/index.cjs",
      "types": "./dist/adapters/console/index.d.ts"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "json",
    "xml",
    "document",
    "fast",
    "redact",
    "redaction",
    "redactor",
    "redacting",
    "redacted",
    "secrets",
    "sensitive data",
    "sensitive information",
    "personal data",
    "personally identifiable information",
    "general data protection regulation",
    "data protection",
    "data security",
    "GDPR",
    "PII"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hackylabs/deep-redact"
  },
  "scripts": {
    "bench": "pnpm run bench:speed",
    "build": "pnpm run verify-generated-files && pnpm exec tsdown",
    "generate": "pnpm run generate-exports && pnpm run generate-readme && pnpm run generate-precedence-doc && pnpm run generate-one-way-redaction-doc && pnpm run generate-fast-redact-migration-doc && pnpm run generate-v3-migration-doc && pnpm run generate-example-docs && pnpm run generate:standardisation-guide",
    "generate-exports": "node --experimental-strip-types ./scripts/generate-exports.ts",
    "generate-fast-redact-migration-doc": "node --experimental-strip-types ./scripts/generate-fast-redact-migration-doc.ts",
    "generate-v3-migration-doc": "node --experimental-strip-types ./scripts/generate-v3-migration-doc.ts",
    "generate-one-way-redaction-doc": "node --experimental-strip-types ./scripts/generate-one-way-redaction-doc.ts",
    "generate-precedence-doc": "node --experimental-strip-types ./scripts/generate-precedence-doc.ts",
    "generate-readme": "node --experimental-strip-types ./scripts/generate-readme.ts",
    "generate:standardisation-guide": "node --experimental-strip-types ./scripts/generate-standardisation-guide.ts",
    "lint": "pnpm exec eslint . && pnpm exec tsc --noEmit",
    "test": "pnpm run build && pnpm run test:contract",
    "test:contract": "pnpm exec vitest run test/build.test.ts test/contract/**/*.test.ts test/security/*.test.ts --reporter=verbose",
    "verify:install-matrix": "pnpm run build && node --experimental-strip-types ./scripts/verify-install-matrix.ts",
    "verify:migration:fast-redact": "pnpm run build && node --experimental-strip-types ./scripts/verify-fast-redact-migration.ts",
    "verify:migration:v3": "pnpm run build && node --experimental-strip-types ./scripts/verify-v3-migration.ts",
    "verify:examples": "pnpm run build && node --experimental-strip-types ./scripts/verify-examples.ts",
    "verify-generated-files": "node --experimental-strip-types ./scripts/verify-generated-files.ts",
    "generate-example-docs": "node --experimental-strip-types ./scripts/generate-example-docs.ts",
    "bench:resource": "pnpm run build && node --expose-gc --experimental-strip-types ./scripts/run-resource-benchmarks.ts",
    "bench:runtime-containers": "pnpm run build && node --expose-gc --experimental-strip-types ./scripts/run-runtime-container-benchmarks.ts",
    "bench:resource:generate-doc": "node --experimental-strip-types ./scripts/generate-resource-benchmark-doc.ts",
    "bench:speed": "pnpm run build && node --experimental-strip-types ./scripts/run-benchmarks.ts",
    "bench:speed:generate-doc": "node --experimental-strip-types ./scripts/generate-benchmark-doc.ts",
    "bench:generate-charts": "node --experimental-strip-types ./scripts/generate-benchmark-charts.ts",
    "verify:resource-benchmarks": "pnpm run build && node --experimental-strip-types ./scripts/verify-resource-benchmarks.ts",
    "verify:speed-benchmarks": "pnpm run build && node --experimental-strip-types ./scripts/verify-speed-benchmarks.ts"
  },
  "//": [
    "deep-redact-v2, deep-redact-v3, deep-redact-v4-baseline (released 4.0.0) and fast-redact are installed only as internal benchmark comparisons and are not used in the library",
    "all dependencies are for development purposes only"
  ],
  "devDependencies": {
    "@eslint/js": "9.39.4",
    "@stylistic/eslint-plugin": "4.4.1",
    "@types/fast-redact": "3.0.4",
    "@types/node": "24.1.0",
    "deep-redact-v2": "npm:@hackylabs/deep-redact@2.2.1",
    "deep-redact-v3": "npm:@hackylabs/deep-redact@^3.0.0",
    "deep-redact-v4-baseline": "npm:@hackylabs/deep-redact@4.0.0",
    "eslint": "9.39.4",
    "eslint-plugin-unicorn": "59.0.1",
    "fast-redact": "3.5.0",
    "globals": "16.5.0",
    "tsdown": "0.21.7",
    "typescript": "6.0.2",
    "typescript-eslint": "8.59.0",
    "vega": "6.2.0",
    "vega-lite": "6.4.3",
    "vitest": "4.1.4"
  },
  "editor.formatOnSave": true,
  "editor.formatOnPaste": true,
  "editor.defaultFormatter": "EditorConfig.editorconfig"
}
