{"_id":"codsen-format-diagnostic-value","_rev":"3-b4929d1bc74bdf6484627cde6a6aae3b","name":"codsen-format-diagnostic-value","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.1":{"name":"codsen-format-diagnostic-value","version":"0.0.1","keywords":["diagnostic"],"author":{"name":"Roy Revelt"},"license":"MIT","_id":"codsen-format-diagnostic-value@0.0.1","maintainers":[{"name":"royston","email":"roy@codsen.com"}],"homepage":"https://github.com/codsen/codsen#readme","bugs":{"url":"https://github.com/codsen/codsen/issues"},"dist":{"shasum":"07b0f99053ff8a68e1ac4a882c6e6c4c147a143c","tarball":"https://registry.npmjs.org/codsen-format-diagnostic-value/-/codsen-format-diagnostic-value-0.0.1.tgz","fileCount":2,"integrity":"sha512-fZMI8tiBRT5fb0bZ25/6TF+fFo4LtYhrXbAbKjXFRKKKj7+SfSLeiumlx7Xq9Q670BgNwE09LiwPyNTuYL/2Dw==","signatures":[{"sig":"MEYCIQCPVed/DB4DBcyOlUXJR/ccWhevCLnuVTAaAE5AoLlYLgIhAOBCVEGjrU7B32y32ymoA8w7WHDLqSZCQW+eMKFWOjuw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540},"main":"index.js","type":"module","gitHead":"f16cf34f4fa5c976ea073b5742427f1180c1da9b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"royston","email":"roy@codsen.com"},"repository":{"url":"git+https://github.com/codsen/codsen.git","type":"git"},"_npmVersion":"11.19.0","description":"tbc","directories":{},"_nodeVersion":"26.8.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/codsen-format-diagnostic-value_0.0.1_1787895444874_0.9456065532917193","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"codsen-format-diagnostic-value","version":"1.1.0","keywords":["diagnostic","error","format","safe","serialize","value"],"author":{"url":"https://codsen.com","name":"Roy Revelt","email":"roy@codsen.com"},"license":"MIT","_id":"codsen-format-diagnostic-value@1.1.0","maintainers":[{"name":"royston","email":"roy@codsen.com"}],"homepage":"https://codsen.com/os/codsen-format-diagnostic-value","bugs":{"url":"https://github.com/codsen/codsen/issues"},"c8":{"all":true,"lines":100,"exclude":["**/test/**/*.*"],"include":["dist/*.esm.js"],"check-coverage":true},"dist":{"shasum":"46bb07b8032c29252d47d6341cc83662d6bd3eba","tarball":"https://registry.npmjs.org/codsen-format-diagnostic-value/-/codsen-format-diagnostic-value-1.1.0.tgz","fileCount":7,"integrity":"sha512-Zlza4Webzp1e7/9EaOF6AYZjkdeUnbqMLMCbgJx0Zfw9+aDSDR+xZxExRLYz0zk7YvG5ZHVxSLU0OLzH2PbJEQ==","signatures":[{"sig":"MEUCIQCvlf9Ra8CvcJebpbWAJuo2wWharsa2cUFVxtQcd3Q0cQIgXQ0SRfadM+2F5R7+YVs8ihKwufphxDVKUSeA9tkE77Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/codsen-format-diagnostic-value@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13350},"lect":{"licence":{"extras":[""]}},"type":"module","_from":"file:/home/runner/work/codsen/codsen/npm-release-artifacts/codsen-format-diagnostic-value-1.1.0.tgz","types":"types/index.d.ts","engines":{"node":">=18.20.8"},"exports":{"types":"./types/index.d.ts","script":"./dist/codsen-format-diagnostic-value.umd.js","default":"./dist/codsen-format-diagnostic-value.esm.js"},"scripts":{"dev":"node ../../ops/scripts/esbuild.js --dev && npm run dts","dts":"rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts","lect":"node '../../ops/lect/lect.js'","lint":"biome lint --error-on-warnings . && npm run typecheck","perf":"node perf/check.js","prep":"echo 'ready'","test":"npm run devtest","unit":"uvu test","build":"node ../../ops/scripts/esbuild.js && npm run dts","devtest":"c8 npm run unit && npm run examples && npm run lint","pretest":"npm run lect:check && npm run build","coverage":"c8 uvu test","examples":"node '../../ops/scripts/run-examples.js'","lint:fix":"biome lint --write --error-on-warnings . && npm run typecheck","prettier":"biome format","typecheck":"tsc --noEmit --pretty false --project tsconfig.json","lect:check":"node '../../ops/lect/lect.js' --check","prettier:format":"biome format --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:676c5edb-7a8e-4d74-976a-978096d63c50"}},"_resolved":"/home/runner/work/codsen/codsen/npm-release-artifacts/codsen-format-diagnostic-value-1.1.0.tgz","_integrity":"sha512-Zlza4Webzp1e7/9EaOF6AYZjkdeUnbqMLMCbgJx0Zfw9+aDSDR+xZxExRLYz0zk7YvG5ZHVxSLU0OLzH2PbJEQ==","repository":{"url":"git+https://github.com/codsen/codsen.git","type":"git","directory":"packages/codsen-format-diagnostic-value"},"_npmVersion":"11.16.0","description":"Safely format untrusted JavaScript values for diagnostics","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/codsen-format-diagnostic-value_1.1.0_1788305440996_0.5121340509640209","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"codsen-format-diagnostic-value","version":"1.1.1","description":"Safely format untrusted JavaScript values for diagnostics","keywords":["diagnostic","error","format","safe","serialize","value"],"homepage":"https://codsen.com/os/codsen-format-diagnostic-value","repository":{"type":"git","url":"git+https://github.com/codsen/codsen.git","directory":"packages/codsen-format-diagnostic-value"},"license":"MIT","author":{"name":"Roy Revelt","email":"roy@codsen.com","url":"https://codsen.com"},"type":"module","exports":{"types":"./types/index.d.ts","script":"./dist/codsen-format-diagnostic-value.umd.js","default":"./dist/codsen-format-diagnostic-value.esm.js"},"types":"types/index.d.ts","scripts":{"build":"node ../../ops/scripts/esbuild.js && npm run dts","coverage":"c8 uvu test","dev":"node ../../ops/scripts/esbuild.js --dev && npm run dts","devtest":"c8 npm run unit && npm run examples && npm run lint","dts":"rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts","examples":"node '../../ops/scripts/run-examples.js'","lect":"node '../../ops/lect/lect.js'","lect:check":"node '../../ops/lect/lect.js' --check","lint":"biome lint --error-on-warnings . && npm run typecheck","lint:fix":"biome lint --write --error-on-warnings . && npm run typecheck","perf":"node perf/check.js","prep":"echo 'ready'","prettier":"biome format","prettier:format":"biome format --write .","pretest":"npm run lect:check && npm run build","test":"npm run devtest","typecheck":"tsc --noEmit --pretty false --project tsconfig.json","unit":"uvu test"},"c8":{"all":true,"check-coverage":true,"exclude":["**/test/**/*.*"],"include":["dist/*.esm.js"],"lines":100},"lect":{"licence":{"extras":[""]}},"engines":{"node":">=18.20.8"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_id":"codsen-format-diagnostic-value@1.1.1","bugs":{"url":"https://github.com/codsen/codsen/issues"},"_integrity":"sha512-h/5wY3WiUCVOYvJG5aWu9kh/+Ik+rv3qEvM0UNner4E4bPPbs6YYzvIt/Ilz9gnkNp7Tw5aC1nMqDkUGQ57k7g==","_resolved":"/home/runner/work/codsen/codsen/npm-release-artifacts/codsen-format-diagnostic-value-1.1.1.tgz","_from":"file:/home/runner/work/codsen/codsen/npm-release-artifacts/codsen-format-diagnostic-value-1.1.1.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-h/5wY3WiUCVOYvJG5aWu9kh/+Ik+rv3qEvM0UNner4E4bPPbs6YYzvIt/Ilz9gnkNp7Tw5aC1nMqDkUGQ57k7g==","shasum":"3d9490bc5284e9a5fed8943a1dc129512e01c87b","tarball":"https://registry.npmjs.org/codsen-format-diagnostic-value/-/codsen-format-diagnostic-value-1.1.1.tgz","fileCount":7,"unpackedSize":13507,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/codsen-format-diagnostic-value@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF7JLB83MSZo5byEqx1FuxFna1X6c3Rf5LWF0dzWrX0lAiEAv6HhlBV2VIOJejF6RAbkEylapSRlQmq1Gb9UMNWYMgE="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:676c5edb-7a8e-4d74-976a-978096d63c50"}},"directories":{},"maintainers":[{"name":"royston","email":"roy@codsen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/codsen-format-diagnostic-value_1.1.1_1788678195570_0.7986690257058684"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T05:37:24.803Z","modified":"2026-09-06T07:03:16.029Z","0.0.1":"2026-08-28T05:37:24.999Z","1.1.0":"2026-09-01T23:30:41.139Z","1.1.1":"2026-09-06T07:03:15.727Z"},"bugs":{"url":"https://github.com/codsen/codsen/issues"},"author":{"name":"Roy Revelt","email":"roy@codsen.com","url":"https://codsen.com"},"license":"MIT","homepage":"https://codsen.com/os/codsen-format-diagnostic-value","keywords":["diagnostic","error","format","safe","serialize","value"],"repository":{"type":"git","url":"git+https://github.com/codsen/codsen.git","directory":"packages/codsen-format-diagnostic-value"},"description":"Safely format untrusted JavaScript values for diagnostics","maintainers":[{"name":"royston","email":"roy@codsen.com"}],"readme":"<h1 align=\"center\">codsen-format-diagnostic-value</h1>\n\n<p align=\"center\">Safely format untrusted JavaScript values for diagnostics</p>\n\n<p align=\"center\">\n  <a href=\"https://codsen.com/os/codsen-format-diagnostic-value\" rel=\"nofollow noreferrer noopener\">\n    <img src=\"https://img.shields.io/badge/-codsen-blue?style=flat-square\" alt=\"page on codsen.com\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/codsen-format-diagnostic-value\" rel=\"nofollow noreferrer noopener\">\n    <img src=\"https://img.shields.io/badge/-npm-blue?style=flat-square\" alt=\"page on npm\">\n  </a>\n  <a href=\"https://github.com/codsen/codsen/tree/main/packages/codsen-format-diagnostic-value\" rel=\"nofollow noreferrer noopener\">\n    <img src=\"https://img.shields.io/badge/-github-blue?style=flat-square\" alt=\"page on github\">\n  </a>\n  <a href=\"https://npmcharts.com/compare/codsen-format-diagnostic-value?interval=30\" rel=\"nofollow noreferrer noopener\" target=\"_blank\">\n    <img src=\"https://img.shields.io/npm/dm/codsen-format-diagnostic-value.svg?style=flat-square\" alt=\"Downloads per month\">\n  </a>\n  <a href=\"https://codsen.com/os/codsen-format-diagnostic-value/changelog\" rel=\"nofollow noreferrer noopener\">\n    <img src=\"https://img.shields.io/badge/changelog-here-brightgreen?style=flat-square\" alt=\"changelog\">\n  </a>\n  <img src=\"https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square\" alt=\"MIT Licence\">\n</p>\n\n**No dependencies whatsoever.** This package declares no dependencies or devDependencies.\n\n## Install\n\nThis package is [pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).\n\n```bash\nnpm i codsen-format-diagnostic-value\n```\n\n## Quick Take\n\n```js\nimport { strict as assert } from \"node:assert\";\n\nimport { formatDiagnosticValue } from \"codsen-format-diagnostic-value\";\n\nassert.equal(\n  formatDiagnosticValue({ input: Symbol(\"marker\") }),\n  '{\"input\":Symbol(\"marker\")}',\n);\n```\n\n\n## Documentation\n\nPlease [visit codsen.com](https://codsen.com/os/codsen-format-diagnostic-value/) for a full description of the API. For **Changelog**, see [raw md on GitHub](https://github.com/codsen/codsen/blob/main/packages/codsen-format-diagnostic-value/CHANGELOG.md) or [the website](https://codsen.com/os/codsen-format-diagnostic-value/changelog).\n\n## Contributing\n\nTo report bugs or request features or assistance, [raise an issue](https://github.com/codsen/codsen/issues/new/choose) on GitHub.\n\n## Licence\n\nMIT License\n\nCopyright © 2010-2026 Roy Revelt and other contributors\n\n<p align=\"center\"><img src=\"https://codsen.com/images/png-codsen-ok.png\" width=\"98\" alt=\"ok\" align=\"center\"> <img src=\"https://codsen.com/images/png-codsen-1.png\" width=\"148\" alt=\"codsen\" align=\"center\"> <img src=\"https://codsen.com/images/png-codsen-star-small.png\" width=\"32\" alt=\"star\" align=\"center\"></p>\n","readmeFilename":"README.md"}