{"_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","_rev":"6-8d31ce22610b677b7e10c49f7559f62f","name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"0.0.0","keywords":["oidc","trusted-publishing","setup"],"_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@0.0.0","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"dist":{"shasum":"1d2706a8367b4564522911faf57d7c9012b9f57b","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-0.0.0.tgz","fileCount":2,"integrity":"sha512-9Rr8fG4i4qbkbYCFJ6VgRuZAG/U31Fbk7VqRkc4smgDodA0xuDg/jkbcG3H9i9+tY3z8XIw7CBJE6RxGaA5Gwg==","signatures":[{"sig":"MEUCIQCBlZ8rvMFFb2cyaPm28BMFuUYsVwzKmYiY6xhvmrlTUAIgAbisvL495xdUkGashEKUrQb+TkSOUm+NASwxH7nZ1lg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2179},"_npmUser":{"name":"cffnpwr","email":"cffnpwr@gmail.com"},"_npmVersion":"11.17.0","description":"OIDC trusted publishing setup package for @cffnpwr/textlint-rule-preset-ja-writing-extras-shared","directories":{},"_nodeVersion":"26.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_0.0.0_1783862711628_0.7901342780397542","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"1.0.1","keywords":["textlint"],"author":{"name":"cffnpwr"},"license":"MIT","_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@1.0.1","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"dist":{"shasum":"2c7ce69d882cb926724562ef6b6c610b69ad3fea","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-1.0.1.tgz","fileCount":10,"integrity":"sha512-yS99IHq8YUcBDBJdhCEkYpOx/RBPEEKdDC6EpP/TpsDluazuWMMvPWZDpFVXTMoTE7pHPRS/ajyxp6Uyvl43ig==","signatures":[{"sig":"MEYCIQDdIAQmDRK3IG+gs3LWj3XX3LVu7pqzS+CZMqah6CtrOAIhAMrsVZdYemgVpY+toQqH6iuOp7DxOPuYUsTt2oLE2ywQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cffnpwr%2ftextlint-rule-preset-ja-writing-extras-shared@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13292},"type":"module","_from":"file:cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.1.tgz","types":"./dist/index.d.cts","exports":{".":"./src/index.ts","./package.json":"./package.json"},"scripts":{"test":"bun test src","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162be9bd-4ca8-4e64-990b-e691497f5f08"}},"_resolved":"/home/runner/work/textlint-rule-preset-ja-writing-extras/textlint-rule-preset-ja-writing-extras/packages/shared/cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.1.tgz","_integrity":"sha512-yS99IHq8YUcBDBJdhCEkYpOx/RBPEEKdDC6EpP/TpsDluazuWMMvPWZDpFVXTMoTE7pHPRS/ajyxp6Uyvl43ig==","repository":{"url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","type":"git","directory":"packages/shared"},"_npmVersion":"11.16.0","description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","directories":{},"_nodeVersion":"24.18.0","dependencies":{"unist-util-map":"4.0.0","textlint-util-to-string":"3.3.4"},"publishConfig":{"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"arktype":"2.2.2","@textlint/kernel":"15.7.1","@textlint/textlint-plugin-markdown":"15.7.1"},"_npmOperationalInternal":{"tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_1.0.1_1783867860289_0.23032143264449756","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"1.0.3","keywords":["textlint"],"author":{"name":"cffnpwr"},"license":"MIT","_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@1.0.3","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"dist":{"shasum":"acde400ea0c2632e8940944a69bd6fd25128e8c2","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-1.0.3.tgz","fileCount":10,"integrity":"sha512-5Ho/DUQF0+YTn4CfvUOySZ+LpyB799/Rk/YPMMtprcmSj3E+gAO1tqPzg3WpmirVk59Ac/gq8jus49V47Hopww==","signatures":[{"sig":"MEQCIAPjZwHSvake23YhDRDjhGJwd+aGDlKgElpjG2pZrZMZAiBUqiTSeEqoajsRfGBfHFRGI3IL1cU3fcvbtqQca65q+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cffnpwr%2ftextlint-rule-preset-ja-writing-extras-shared@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12988},"type":"module","_from":"file:cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.3.tgz","types":"./dist/index.d.cts","exports":{".":"./src/index.ts","./package.json":"./package.json"},"scripts":{"test":"bun test src","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162be9bd-4ca8-4e64-990b-e691497f5f08"}},"_resolved":"/home/runner/work/textlint-rule-preset-ja-writing-extras/textlint-rule-preset-ja-writing-extras/packages/shared/cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.3.tgz","_integrity":"sha512-5Ho/DUQF0+YTn4CfvUOySZ+LpyB799/Rk/YPMMtprcmSj3E+gAO1tqPzg3WpmirVk59Ac/gq8jus49V47Hopww==","repository":{"url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","type":"git","directory":"packages/shared"},"_npmVersion":"11.16.0","description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","directories":{},"_nodeVersion":"24.18.0","dependencies":{"unist-util-map":"4.0.0","textlint-util-to-string":"3.3.4"},"publishConfig":{"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"arktype":"2.2.3","@textlint/kernel":"15.7.1","@textlint/textlint-plugin-markdown":"15.7.1"},"_npmOperationalInternal":{"tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_1.0.3_1783870228467_0.2919130679286772","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"1.0.4","keywords":["textlint"],"author":{"name":"cffnpwr"},"license":"MIT","_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@1.0.4","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"dist":{"shasum":"aae019af98d19ae8e998536cc6947fe5503f9c07","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-1.0.4.tgz","fileCount":10,"integrity":"sha512-C1MQvUPQgjtjydmfLShGQSv4niWzgRzZaPI+sMLAfR7UWfbjuIe9W+e4OJUVHggnnPDQpHqJxFc2RJdTK0Ardw==","signatures":[{"sig":"MEUCIQCZNuqYFGxpohc24ojfMCrrGR3+LmG5f58blhmVyNQX5wIgXUqOVvIthpC69c1RPNi9FxjeI+Pl8sEsfjdL5fOYBF8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cffnpwr%2ftextlint-rule-preset-ja-writing-extras-shared@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12988},"type":"module","_from":"file:cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.4.tgz","types":"./dist/index.d.cts","exports":{".":"./src/index.ts","./package.json":"./package.json"},"scripts":{"test":"bun test src","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162be9bd-4ca8-4e64-990b-e691497f5f08"}},"_resolved":"/home/runner/work/textlint-rule-preset-ja-writing-extras/textlint-rule-preset-ja-writing-extras/packages/shared/cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.4.tgz","_integrity":"sha512-C1MQvUPQgjtjydmfLShGQSv4niWzgRzZaPI+sMLAfR7UWfbjuIe9W+e4OJUVHggnnPDQpHqJxFc2RJdTK0Ardw==","repository":{"url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","type":"git","directory":"packages/shared"},"_npmVersion":"11.16.0","description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","directories":{},"_nodeVersion":"24.18.0","dependencies":{"unist-util-map":"4.0.0","textlint-util-to-string":"3.3.4"},"publishConfig":{"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"arktype":"2.2.3","@textlint/kernel":"15.7.1","@textlint/textlint-plugin-markdown":"15.7.1"},"_npmOperationalInternal":{"tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_1.0.4_1783875095720_0.40278492893526363","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"1.0.5","keywords":["textlint"],"author":{"name":"cffnpwr"},"license":"MIT","_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@1.0.5","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"dist":{"shasum":"38c23639b5f87709480ef8158f1eba09a63351d2","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-1.0.5.tgz","fileCount":10,"integrity":"sha512-9xpoFeCabszCrFa+sQ3WVbxNBLcxPsVMW0HUNwHWOPHWeF8uIYki1oNkgSwXQ2yGicBqXd+8JUzeZKnIO8UppA==","signatures":[{"sig":"MEQCIDGfuF/vToZzNgFEtt8q7eIj8oBuwpJax03u0iov7CxRAiBZfngdAlbzq03IsDGSye+1Dw8clflgKywtP5rjS3X++w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cffnpwr%2ftextlint-rule-preset-ja-writing-extras-shared@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12962},"type":"module","_from":"file:cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.5.tgz","types":"./dist/index.d.cts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"bun test src","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162be9bd-4ca8-4e64-990b-e691497f5f08"}},"_resolved":"/home/runner/work/textlint-rule-preset-ja-writing-extras/textlint-rule-preset-ja-writing-extras/packages/shared/cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.0.5.tgz","_integrity":"sha512-9xpoFeCabszCrFa+sQ3WVbxNBLcxPsVMW0HUNwHWOPHWeF8uIYki1oNkgSwXQ2yGicBqXd+8JUzeZKnIO8UppA==","repository":{"url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","type":"git","directory":"packages/shared"},"_npmVersion":"11.16.0","description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","directories":{},"_nodeVersion":"24.18.0","dependencies":{"unist-util-map":"4.0.0","textlint-util-to-string":"3.3.4"},"_hasShrinkwrap":false,"devDependencies":{"arktype":"2.2.3","@textlint/kernel":"15.7.1","@textlint/textlint-plugin-markdown":"15.7.1"},"_npmOperationalInternal":{"tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_1.0.5_1783878163786_0.1438545623553349","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared","version":"1.1.0","description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"repository":{"type":"git","url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","directory":"packages/shared"},"license":"MIT","author":{"name":"cffnpwr"},"type":"module","keywords":["textlint"],"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"types":"./dist/index.d.cts","scripts":{"test":"bun test src","typecheck":"tsc --noEmit"},"dependencies":{"textlint-util-to-string":"3.3.4","unist-util-map":"4.0.0"},"devDependencies":{"@textlint/kernel":"15.7.1","@textlint/textlint-plugin-markdown":"15.7.1","arktype":"2.2.3"},"_id":"@cffnpwr/textlint-rule-preset-ja-writing-extras-shared@1.1.0","_integrity":"sha512-zHrI8yVqZKO6AGddANixzzYMWf3ArdQYRWKCVHUXh/7EdBs+mOkQelJLXMrP/oc4TbM9wtVj/v9d8NFFwcl+rQ==","_resolved":"/home/runner/work/textlint-rule-preset-ja-writing-extras/textlint-rule-preset-ja-writing-extras/packages/shared/cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.1.0.tgz","_from":"file:cffnpwr-textlint-rule-preset-ja-writing-extras-shared-1.1.0.tgz","_nodeVersion":"24.18.1","_npmVersion":"11.16.0","dist":{"integrity":"sha512-zHrI8yVqZKO6AGddANixzzYMWf3ArdQYRWKCVHUXh/7EdBs+mOkQelJLXMrP/oc4TbM9wtVj/v9d8NFFwcl+rQ==","shasum":"05e33e056cca00f91a75f0ce45286ed92d4a8d79","tarball":"https://registry.npmjs.org/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared/-/textlint-rule-preset-ja-writing-extras-shared-1.1.0.tgz","fileCount":10,"unpackedSize":16147,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cffnpwr%2ftextlint-rule-preset-ja-writing-extras-shared@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCLECtm2/Qv8Ek8+6sC7qtT0zRx2cbPFERekxwCzqyIsQIhAMxD1Jpgay3byd4Ds36pfcYNn1++E2PHxwzP96+DM4FC"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1fa66998-0616-4d6f-99ab-db7366f9f427"}},"directories":{},"maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/textlint-rule-preset-ja-writing-extras-shared_1.1.0_1785720943488_0.8514306767223707"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-12T13:25:11.423Z","modified":"2026-08-03T01:35:43.924Z","0.0.0":"2026-07-12T13:25:11.771Z","1.0.1":"2026-07-12T14:51:00.439Z","1.0.3":"2026-07-12T15:30:28.617Z","1.0.4":"2026-07-12T16:51:35.887Z","1.0.5":"2026-07-12T17:42:43.924Z","1.1.0":"2026-08-03T01:35:43.633Z"},"bugs":{"url":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras/issues"},"author":{"name":"cffnpwr"},"license":"MIT","homepage":"https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras","keywords":["textlint"],"repository":{"type":"git","url":"git+https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras.git","directory":"packages/shared"},"description":"textlint-rule-preset-ja-writing-extrasの各ルールが共有する内部ユーティリティ","maintainers":[{"name":"cffnpwr","email":"cffnpwr@gmail.com"}],"readme":"# @cffnpwr/textlint-rule-preset-ja-writing-extras-shared\n\n[![GitHub License](https://img.shields.io/github/license/cffnpwr/textlint-rule-preset-ja-writing-extras?style=flat)](./LICENSE)\n[![npm Version](https://img.shields.io/npm/v/%40cffnpwr%2Ftextlint-rule-preset-ja-writing-extras-shared?style=flat)](https://www.npmjs.com/package/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared)\n[![JSR Version](https://jsr.io/badges/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared)](https://jsr.io/@cffnpwr/textlint-rule-preset-ja-writing-extras-shared)\n\nInternal utilities shared by the rules of\n[textlint-rule-preset-ja-writing-extras](https://github.com/cffnpwr/textlint-rule-preset-ja-writing-extras).\n\n[日本語のREADMEはこちら](./README-ja.md)\n\nThis package is published only for internal reuse within the preset. Standalone use is not intended.\n\n## Exported Functions\n\n| Function | Purpose |\n| --- | --- |\n| `validateOptions(schema, options)` | Validates options against an arktype schema and throws a `TypeError` with a Japanese-prefixed message on failure |\n| `createBlockQuoteDepth()` | Manages BlockQuote nesting depth and determines whether the position is under a quote |\n| `toMaskedStringSource(node, extraMask?)` | Returns a `StringSource` in which inline code, HTML, and images are replaced with dummy characters of the same length |\n| `maskValue(length)` | Returns a dummy string of the specified length |\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}