{"_id":"@signpdf/utils","_rev":"15-c9423768bf8a216320a3e95db816a59e","name":"@signpdf/utils","dist-tags":{"latest":"3.3.0"},"versions":{"3.0.0":{"name":"@signpdf/utils","version":"3.0.0","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"license":"MIT","_id":"@signpdf/utils@3.0.0","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"homepage":"https://github.com/vbuch/node-signpdf#readme","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"dist":{"shasum":"0880d02b697fc3d88887a421fe92159d83ca7b89","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.0.0.tgz","fileCount":23,"integrity":"sha512-Ug/cWP9W7mpi6fcKgTD/cu89UdDmelQRFa51FQavhBvSGGQ8bAYa5TfU5QdkbOrxmzTzz7iU9taz3/BwUiid4w==","signatures":[{"sig":"MEUCIGlXshemYawFS2rTpEADPcHgAGVrI2SeJ6qLXv/a1vjYAiEA0N/dPEGv9yOmRr1ZuNGVFC0t45j9cbxFx0gupRUQJCk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14365},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"gitHead":"cf8d5f40b2e2e513919ba586df03bad4fb87982c","scripts":{"lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./","test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc"},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"repository":{"url":"git+https://github.com/vbuch/node-signpdf.git","type":"git"},"_npmVersion":"9.5.1","description":"Utilities for the @signpdf packages.","directories":{},"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","husky":"^7.0.4","eslint":"^8.50.0","pdfkit":"~0.10.0","coveralls":"^3.0.2","@babel/cli":"^7.0.0","babel-jest":"^27.3.1","node-forge":"^1.2.1","typescript":"^5.2.2","@babel/core":"^7.4.0","@babel/node":"^7.0.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","@babel/preset-env":"^7.4.2","@types/node-forge":"^1.2.1","eslint-plugin-jest":"^25.2.4","@babel/eslint-parser":"^7.16.3","eslint-plugin-import":"^2.25.3","@signpdf/eslint-config":"^3.0.0","@signpdf/internal-utils":"^3.0.0","eslint-config-airbnb-base":"^15.0.0","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-babel-module":"^5.3.1","@babel/plugin-syntax-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.0.0_1696841381460_0.37630851146007016","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@signpdf/utils","version":"3.1.0","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"license":"MIT","_id":"@signpdf/utils@3.1.0","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"homepage":"https://github.com/vbuch/node-signpdf#readme","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"dist":{"shasum":"39fbd21dd31217ef4e6bf4be9060c4500e49c1a2","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.1.0.tgz","fileCount":24,"integrity":"sha512-0dQvSjQ6HJnk377tzOFlP6zoYxmG9MynBXkcG0xK7LVEsNStT70e3I8s06b0U+F5w1qdmOxDvha20FHQ5jrNNw==","signatures":[{"sig":"MEUCIQDlG3q2lTel3/CNg2A+X8His+bJjzxN9kAAobSNcDjZLAIgMsL64r/bPiAuvc1oPqUftlbVixLfQN8yN2pMpnoXCtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19297},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"gitHead":"5d5ec00c21e072613acb9776c7c6ac7697314955","scripts":{"lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./","test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc"},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"repository":{"url":"git+https://github.com/vbuch/node-signpdf.git","type":"git"},"_npmVersion":"lerna/7.3.0/node@v18.18.2+x64 (win32)","description":"Utilities for the @signpdf packages.","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","husky":"^7.0.4","eslint":"^8.50.0","pdfkit":"~0.10.0","coveralls":"^3.0.2","@babel/cli":"^7.0.0","babel-jest":"^27.3.1","node-forge":"^1.2.1","typescript":"^5.2.2","@babel/core":"^7.4.0","@babel/node":"^7.0.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","@babel/preset-env":"^7.4.2","@types/node-forge":"^1.2.1","eslint-plugin-jest":"^25.2.4","@babel/eslint-parser":"^7.16.3","eslint-plugin-import":"^2.25.3","@signpdf/eslint-config":"^3.1.0","@signpdf/internal-utils":"^3.0.0","eslint-config-airbnb-base":"^15.0.0","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-babel-module":"^5.3.1","@babel/plugin-syntax-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.1.0_1700811380092_0.185140003722031","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@signpdf/utils","version":"3.2.0","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"license":"MIT","_id":"@signpdf/utils@3.2.0","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"homepage":"https://github.com/vbuch/node-signpdf#readme","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"dist":{"shasum":"379d24f21e9656da85cdf3bc8ec1aa9b57be7f40","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.2.0.tgz","fileCount":27,"integrity":"sha512-l4Jb8n8tdj93lY2KRGh91nzCLbxpsavpbfkOYTypNzCWEmkJd7RWoVJzpKdfX4xUsC/t1bN0Xvtypgl38Fqo3A==","signatures":[{"sig":"MEYCIQDMCgC8Lq6dA7x0G7KBePFcn3HBFQh4YDtOauzZG6EdsQIhAMrt+HbQm+KIu1MMlaGf91pyN8uG+fTfq7eIkTksKFPf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21086},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"gitHead":"17a9e6ba4133e75af2916340683d7b4189ad47f0","scripts":{"lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./","test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc"},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"repository":{"url":"git+https://github.com/vbuch/node-signpdf.git","type":"git"},"_npmVersion":"lerna/7.3.0/node@v18.18.2+x64 (win32)","description":"Utilities for the @signpdf packages.","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","husky":"^7.0.4","eslint":"^8.50.0","pdfkit":"~0.10.0","coveralls":"^3.0.2","@babel/cli":"^7.0.0","babel-jest":"^27.3.1","node-forge":"^1.2.1","typescript":"^5.2.2","@babel/core":"^7.4.0","@babel/node":"^7.0.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","@babel/preset-env":"^7.4.2","@types/node-forge":"^1.2.1","eslint-plugin-jest":"^25.2.4","@babel/eslint-parser":"^7.16.3","eslint-plugin-import":"^2.25.3","@signpdf/eslint-config":"^3.1.0","@signpdf/internal-utils":"^3.2.0","eslint-config-airbnb-base":"^15.0.0","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-babel-module":"^5.3.1","@babel/plugin-syntax-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.2.0_1705673230386_0.6410223264976065","host":"s3://npm-registry-packages"}},"3.2.3":{"name":"@signpdf/utils","version":"3.2.3","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"license":"MIT","_id":"@signpdf/utils@3.2.3","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"homepage":"https://github.com/vbuch/node-signpdf#readme","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"dist":{"shasum":"d349b389ae351ef683416777e93ec87d44c110a9","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.2.3.tgz","fileCount":27,"integrity":"sha512-mp81wd9mEOQHRdI2zMXHrBH4EkAkVOhOH4lBUlFubj9DsDoob+uGOT+DbYFoc9VWbu0Y91lXGJOmcgbyFK7llg==","signatures":[{"sig":"MEUCIQCSVEOPcx1u+lvUjvXd5x5pOUcMhYrOpC1NDE5UJYei6AIgKzOcbUNx5ZmOCC1RQCi7aJ7NTgKHynPctOnH1v5tejU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21086},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"gitHead":"8e24e2cf0db275bc20dfd565cb19e268702a3599","scripts":{"lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./","test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc"},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"repository":{"url":"git+https://github.com/vbuch/node-signpdf.git","type":"git"},"_npmVersion":"lerna/7.3.0/node@v21.1.0+x64 (darwin)","description":"Utilities for the @signpdf packages.","directories":{},"_nodeVersion":"21.1.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","husky":"^7.0.4","eslint":"^8.50.0","pdfkit":"~0.10.0","coveralls":"^3.0.2","@babel/cli":"^7.0.0","babel-jest":"^27.3.1","node-forge":"^1.2.1","typescript":"^5.2.2","@babel/core":"^7.4.0","@babel/node":"^7.0.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","@babel/preset-env":"^7.4.2","@types/node-forge":"^1.2.1","eslint-plugin-jest":"^25.2.4","@babel/eslint-parser":"^7.16.3","eslint-plugin-import":"^2.25.3","@signpdf/eslint-config":"^3.2.3","@signpdf/internal-utils":"^3.2.0","eslint-config-airbnb-base":"^15.0.0","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-babel-module":"^5.3.1","@babel/plugin-syntax-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.2.3_1708683889346_0.08912450623949897","host":"s3://npm-registry-packages"}},"3.2.4":{"name":"@signpdf/utils","version":"3.2.4","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"license":"MIT","_id":"@signpdf/utils@3.2.4","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"homepage":"https://github.com/vbuch/node-signpdf#readme","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"dist":{"shasum":"f9288ed2eb2b360458f698f600a0d000ab42571b","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.2.4.tgz","fileCount":27,"integrity":"sha512-6e7OZugRY6obyTbAKdj6yCIywCJqN0FDywsIrhkRnOTAKm4J3WVXq18NjzmE6iEXLknxok9EXNW/eVvY9Vp1gg==","signatures":[{"sig":"MEYCIQCS2o2YthNgBlqbHjf47bbV0hZ4keQcm6SC725HfP8LfwIhANCSEgolP2kNoF/ZxpS5l4X3vl5/L1ig+HTDoOvBMI8e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21071},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"funding":[{"url":"https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf","type":"individual"}],"gitHead":"402c4a229b392aa08c290de1bf0b92d398326415","scripts":{"lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./","test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc"},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"repository":{"url":"git+https://github.com/vbuch/node-signpdf.git","type":"git"},"_npmVersion":"lerna/7.3.0/node@v18.18.2+x64 (win32)","description":"Utilities for the @signpdf packages.","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","husky":"^7.0.4","eslint":"^8.50.0","pdfkit":"~0.10.0","coveralls":"^3.0.2","@babel/cli":"^7.0.0","babel-jest":"^27.3.1","node-forge":"^1.2.1","typescript":"^5.2.2","@babel/core":"^7.4.0","@babel/node":"^7.0.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","@babel/preset-env":"^7.4.2","@types/node-forge":"^1.2.1","eslint-plugin-jest":"^25.2.4","@babel/eslint-parser":"^7.16.3","eslint-plugin-import":"^2.25.3","@signpdf/eslint-config":"^3.2.3","@signpdf/internal-utils":"^3.2.0","eslint-config-airbnb-base":"^15.0.0","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-babel-module":"^5.3.1","@babel/plugin-syntax-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_3.2.4_1710752640393_0.6116652348392324","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@signpdf/utils","version":"3.3.0","description":"Utilities for the @signpdf packages.","repository":{"type":"git","url":"git+https://github.com/vbuch/node-signpdf.git"},"license":"MIT","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"funding":[{"type":"individual","url":"https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"}],"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12","yarn":">=1.22.18"},"scripts":{"test":"jest","build":"rm -rf ./dist/* & babel ./src -d ./dist --ignore \"**/*.test.js\" & tsc","lint":"eslint -c .eslintrc --ignore-path ../../.eslintignore ./"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.4.0","@babel/eslint-parser":"^7.16.3","@babel/node":"^7.0.0","@babel/plugin-syntax-object-rest-spread":"^7.0.0","@babel/preset-env":"^7.4.2","@signpdf/eslint-config":"^3.2.3","@signpdf/internal-utils":"^3.2.0","@types/node":">=12.0.0","assertion-error":"^1.1.0","babel-jest":"^27.3.1","babel-plugin-module-resolver":"^3.1.1","coveralls":"^3.0.2","eslint":"^8.50.0","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-babel-module":"^5.3.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jest":"^25.2.4","husky":"^7.0.4","jest":"^27.3.1","pdfkit":"~0.10.0","typescript":"^5.2.2"},"gitHead":"e74b26bb945bc111c3a7638c0760547c75b7acd7","bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"homepage":"https://github.com/vbuch/node-signpdf#readme","_id":"@signpdf/utils@3.3.0","_nodeVersion":"18.20.7","_npmVersion":"lerna/7.3.0/node@v18.20.7+arm64 (darwin)","dist":{"integrity":"sha512-ArOP0MIhCfdChh1oZkog81TPeSY2e5TvHQmXJ682T4+SKb6Z609uAZhqMQZ9xm+YenEf/eNMSE5KVwU+EudXug==","shasum":"b30daf5d2755c614afa56093e35e33d559658644","tarball":"https://registry.npmjs.org/@signpdf/utils/-/utils-3.3.0.tgz","fileCount":36,"unpackedSize":28929,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC3KeGeKNEISebUhJXwkngd0z254xJD8vfIvnlrZ2PkAgIhANOluQZ5/WO773S5qsvz4YQRXJI57hJkriMyFZRhkgFy"}]},"_npmUser":{"name":"vbuch","email":"djmute@abv.bg"},"directories":{},"maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils_3.3.0_1767000352696_0.8722408662169914"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-09T08:49:41.389Z","modified":"2025-12-29T09:25:53.151Z","3.0.2":"2023-10-04T13:26:43.790Z","3.0.3":"2023-10-04T15:58:28.800Z","3.0.4":"2023-10-05T09:25:27.370Z","3.0.5":"2023-10-05T11:36:39.729Z","3.0.6":"2023-10-05T12:30:38.603Z","3.0.7":"2023-10-06T08:36:27.377Z","3.0.8":"2023-10-06T08:45:55.940Z","3.0.0":"2023-10-09T08:49:41.671Z","3.1.0":"2023-11-24T07:36:20.292Z","3.2.0":"2024-01-19T14:07:10.557Z","3.2.3":"2024-02-23T10:24:49.500Z","3.2.4":"2024-03-18T09:04:00.542Z","3.3.0":"2025-12-29T09:25:52.943Z"},"bugs":{"url":"https://github.com/vbuch/node-signpdf/issues"},"license":"MIT","homepage":"https://github.com/vbuch/node-signpdf#readme","keywords":["sign","pdf","node","nodejs","esign","adobe","ppklite","sign detached","pkcs7","pkcs#7","pades","digital signature"],"repository":{"type":"git","url":"git+https://github.com/vbuch/node-signpdf.git"},"description":"Utilities for the @signpdf packages.","maintainers":[{"name":"vbuch","email":"djmute@abv.bg"}],"readme":"# Utilities\n\nfor [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)\n\n[![npm version](https://badge.fury.io/js/@signpdf%2Futils.svg)](https://badge.fury.io/js/@signpdf%2Futils)\n\n## Usage\n\nUsed by the other `@signpdf` packages internally. Additionally, needed for **PAdES compliant signatures**\"\n\n```js\nimport { plainAddPlaceholder } from '@signpdf/placeholder-plain';\nimport { SUBFILTER_ETSI_CADES_DETACHED } from '@signpdf/utils';\n\nconst pdfToSign = plainAddPlaceholder({\n  ...,\n  subFilter: SUBFILTER_ETSI_CADES_DETACHED,\n});\n```\n\n## Notes\n\n* Feel free to copy and paste any part of this code. See its defined [Purpose](https://github.com/vbuch/node-signpdf#purpose).\n","readmeFilename":"README.md"}