parent
0473f700a1
commit
90474e9393
|
@ -37,9 +37,12 @@ signing with a timestamp from [TSA](https://github.com/zboris12/zgapdfsigner/wik
|
|||
|
||||
* [pdf-lib](https://pdf-lib.js.org/)
|
||||
* [node-forge](https://github.com/digitalbazaar/forge)
|
||||
* [follow-redirects](https://github.com/follow-redirects/follow-redirects)
|
||||
|
||||
## How to use this tool
|
||||
|
||||
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
||||
|
||||
### Web Browser
|
||||
Just import the dependencies and this tool.
|
||||
```html
|
||||
|
@ -265,8 +268,6 @@ async function main(){
|
|||
}
|
||||
```
|
||||
|
||||
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
||||
|
||||
## Let's protect the pdf
|
||||
|
||||
Set password protection to the pdf.
|
||||
|
@ -372,8 +373,6 @@ async function signAndProtect2(pdf, cert, pwd){
|
|||
}
|
||||
```
|
||||
|
||||
:question: For more details please see the [wiki](https://github.com/zboris12/zgapdfsigner/wiki/API).
|
||||
|
||||
## Thanks
|
||||
* The module of setting protection was almost migrated from [TCPDF](http://www.tcpdf.org).
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"name": "zgapdfsigner",
|
||||
"version": "2.5.1",
|
||||
"version": "2.5.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "zgapdfsigner",
|
||||
"version": "2.5.1",
|
||||
"version": "2.5.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"follow-redirects": "1.15.2",
|
||||
"follow-redirects": "1.15.6",
|
||||
"node-forge": "1.3.1",
|
||||
"pdf-lib": "1.17.1"
|
||||
},
|
||||
|
@ -124,9 +124,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.15.2",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
|
||||
"version": "1.15.6",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
|
||||
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
|
@ -466,9 +466,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.15.2",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
|
||||
"version": "1.15.6",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
|
||||
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA=="
|
||||
},
|
||||
"google-closure-compiler": {
|
||||
"version": "20231112.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "zgapdfsigner",
|
||||
"version": "2.5.1",
|
||||
"version": "2.5.2",
|
||||
"author": "zboris12",
|
||||
"description": "A javascript tool to sign a pdf or set protection to a pdf in web browser, Google Apps Script and nodejs.",
|
||||
"homepage": "https://github.com/zboris12/zgapdfsigner",
|
||||
|
@ -33,7 +33,7 @@
|
|||
"test": "node test4node.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"follow-redirects": "1.15.2",
|
||||
"follow-redirects": "1.15.6",
|
||||
"pdf-lib": "1.17.1",
|
||||
"node-forge": "1.3.1"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue