{"name":"@peculiar/asn1-cms","version":"2.11.1","keywords":["asn","asn1","cms","pkcs7","cryptography","rfc5652"],"author":{"name":"PeculiarVentures, LLC"},"license":"MIT","_id":"@peculiar/asn1-cms@2.11.1","maintainers":[{"name":"rmhrisk","email":"ryan_hurst@hotmail.com"},{"name":"microshine","email":"microshine@mail.ru"},{"name":"yury.strozhevsky","email":"yury@strozhevsky.com"},{"name":"peculiarventures","email":"info@peculiarventures.com"},{"name":"apilguk","email":"apilguk@gmail.com"},{"name":"donskov","email":"donskovdmitriyv@gmail.com"},{"name":"worldthirteen","email":"mihailzachepilo@gmail.com"}],"homepage":"https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/cms#readme","bugs":{"url":"https://github.com/PeculiarVentures/asn1-schema/issues"},"dist":{"shasum":"d097d7e4a4266fd37d08228444bd521f9286db58","tarball":"http://registry-npm.ywwl.com/@peculiar/asn1-cms/download/@peculiar/asn1-cms-2.11.1.tgz","fileCount":81,"integrity":"sha512-Bk+oatE62dW0Tzzpfk6vdQxfGGEfvuGdWgmijnKjcv7HqZCJISs85z4zw2uDArrk+R1Oel1wts/BBl7HHrtAcA==","signatures":[{"sig":"MEUCIQCSgP/k2pLYqUoSNKSSupJ2UVGU7hTENwbcljj8q1sGRQIgDFg/nh342tALkIkTUP9/6VfVv7EoP2mEjTkFTu91ntU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDrZQSEKpAp2+MegYVKJOozN73I9EIMquE6rx4xyrIqtgIhAM/zpDN7cvMcXQScDTLa8hOsfSy20FOq8S753XCIY1kO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@peculiar%2fasn1-cms@2.11.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":101373,"size":13111,"noattachment":false,"key":"/@peculiar/asn1-cms/-/@peculiar/asn1-cms-2.11.1.tgz"},"main":"build/cjs/index.js","_from":"file:.release/tarballs/peculiar-asn1-cms-2.11.1.tgz","types":"build/types/index.d.ts","module":"build/es2015/index.js","engines":{"node":">=14"},"scripts":{"build":"npm run build:module && npm run build:types","clear":"rimraf build","rebuild":"npm run clear && npm run build","build:cjs":"tsc -p tsconfig.compile.json --removeComments --module commonjs --outDir build/cjs","build:types":"tsc -p tsconfig.compile.json --outDir build/types --declaration --emitDeclarationOnly","build:es2015":"tsc -p tsconfig.compile.json --removeComments --module ES2015 --outDir build/es2015","build:module":"npm run build:cjs && npm run build:es2015","prebuild:types":"rimraf build/types"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"81542080-4f53-4b79-8f34-19e1d87fe7da"}},"_resolved":"/home/runner/work/asn1-schema/asn1-schema/.release/tarballs/peculiar-asn1-cms-2.11.1.tgz","_integrity":"sha512-Bk+oatE62dW0Tzzpfk6vdQxfGGEfvuGdWgmijnKjcv7HqZCJISs85z4zw2uDArrk+R1Oel1wts/BBl7HHrtAcA==","repository":{"url":"git+https://github.com/PeculiarVentures/asn1-schema.git","type":"git","directory":"packages/cms"},"_npmVersion":"11.19.0","description":"ASN.1 schema for Cryptographic Message Syntax (CMS) defined in RFC 5652.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"tslib":"^2.8.1","asn1js":"^3.0.10","@peculiar/asn1-x509":"^2.11.1","@peculiar/asn1-schema":"^2.11.1","@peculiar/asn1-x509-attr":"^2.11.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/asn1-cms_2.11.1_1792929937800_0.94932026600352","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@peculiar/asn1-cms`\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/PeculiarVentures/asn1-schema/blob/master/packages/cms/LICENSE)\n[![npm version](https://badge.fury.io/js/%40peculiar%2Fasn1-cms.svg)](https://badge.fury.io/js/%40peculiar%2Fasn1-cms)\n\n[![NPM](https://nodei.co/npm/@peculiar/asn1-cms.png)](https://nodei.co/npm/@peculiar/asn1-cms/)\n\nASN.1 schema for Cryptographic Message Syntax (CMS) defined in RFC 5652.\n\nUse the exported classes with `@peculiar/asn1-schema` helpers such as `AsnConvert`, `AsnParser`, and `AsnSerializer` to parse or serialize DER-encoded data defined by the referenced specification.\n\n## Installation\n\n```bash\nnpm install @peculiar/asn1-cms\n```\n\n## Breaking Changes In v3\n\nv3 is ESM-only and requires Node.js `^20.19.0 || >=22.12.0` (was `>=14`). CommonJS code can still `require(\"@peculiar/asn1-cms\")` on these versions; Node.js 22.0–22.11 can't. The public API is unchanged. See the [full notes](https://github.com/PeculiarVentures/asn1-schema#breaking-changes-in-v3).\n\n- **TypeScript compiling to CommonJS:** use `\"module\": \"node20\"` or `\"nodenext\"` (`node16` fails with TS1479). ESM and bundler setups need no changes.\n- **Jest in CommonJS mode:** switch to ESM mode or Vitest, or configure an ESM-to-CommonJS transformer and make sure `transformIgnorePatterns` doesn't exclude the `@peculiar/*` packages and `asn1js`.\n- **Deep imports** (`@peculiar/asn1-cms/build/...`) are blocked by `exports`; import from `@peculiar/asn1-cms`.\n- **Peer dependencies:** `@peculiar/asn1-schema` (`^3.0.0`) is a peer instead of a dependency, so your app shares one copy with the other `@peculiar/asn1-*` packages. npm installs peers automatically.\n\n## Specifications\n\n- [RFC 5652: Cryptographic Message Syntax (CMS)](https://datatracker.ietf.org/doc/html/rfc5652)\n","publish_time":1792929937901,"_cnpm_publish_time":1792929937901,"dist-tags":{"latest":"3.0.0"}}