Luiz Américo Pereira Câmara
a76ab284a8
Apply prettier formatting
2025-04-12 12:57:31 -03:00
Luiz Américo
326350b7f9
Fix eslint and prettier warnings
2020-09-09 20:35:10 -03:00
Libor M
ba62aeff11
fix Buffer() is deprecation warning #1114
2020-07-25 11:25:56 +02:00
adrift2000
d520bf2e02
Update security.js
...
Access permissions are not applied to PDF if pdfVersion is "1.7ext3".
2020-07-02 11:51:33 +10:00
freund17
df33cbcbe3
Added valueOf() to generateFileID
...
Fixes https://github.com/foliojs/pdfkit/issues/1110
2020-05-19 16:13:27 +02:00
Sebastian
8dd2211ce2
simplified as per review comment by blikblum
2019-07-11 17:01:46 +02:00
Sebastian Maier
546a7f82a3
Fix bug with document properties being undefined
...
`generateFileID` builds a hash on some document properties, some of them might be undefined or null such that `toString()` will fail. Replaced `toString()` with `String(value)`
2019-07-11 14:54:23 +02:00
Luiz Américo
f80058a68a
Uses full saslprep path in import (fix build)
2019-06-06 20:08:10 -03:00
Luiz Américo
1d7a18c468
Use local, optimized version of saslprep package
2019-06-06 19:44:27 -03:00
Libor M
83c5557726
fix printing permission
2019-02-10 14:21:24 +01:00
Luiz Américo
a6af76467c
Add prettier npm script and run it in *.js files
2019-01-07 20:51:06 -03:00
Yang Liu
2651a74012
Organize permissions in option to an object
2018-12-17 21:20:20 +09:00
Yang Liu
2ef9d7d6a3
Allow customization of randomizer
2018-12-17 21:20:19 +09:00
Yang Liu
f5b6ddd2a9
Add PDF security features with ES6
2018-12-17 21:20:19 +09:00