Skip to content

Commit

Permalink
Revert "Support PDF encryption (#1)" (#2)
Browse files Browse the repository at this point in the history
This reverts commit ac4325b.
  • Loading branch information
terurou authored Mar 9, 2023
1 parent ac4325b commit 67bbf32
Show file tree
Hide file tree
Showing 25 changed files with 171 additions and 1,450 deletions.
15 changes: 0 additions & 15 deletions MODIFICATIONS.md

This file was deleted.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
**A modified version of [pdf-lib](https://pdf-lib.js.org) for [yagisan-reports](https://denkiyagi.jp/yagisan-reports/).**

See also: [MODIFICATIONS.md](MODIFICATIONS.md)
* Used `fontkit 2` instead of `@pdf-lib/fontkit`.
* Removed `PDFDocument#registerFontkit()`. `fontkit` is included by default.
* Added vertical text option.
* Removed support for deno and react-native.
* Upgraded TypeScript version to 4.9.
* Used `import type` and removed `export default` from any internal packages.

<hr>

Expand Down
4 changes: 1 addition & 3 deletions apps/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import test15 from './tests/test15';
import test16 from './tests/test16';
import test17 from './tests/test17';
import test18 from './tests/test18';
import test19 from './tests/test19';
import test20 from './tests/test20';

const cli = readline.createInterface({
input: process.stdin,
Expand Down Expand Up @@ -167,7 +165,7 @@ const main = async () => {
// prettier-ignore
const allTests = [
test1, test2, test3, test4, test5, test6, test7, test8, test9, test10,
test11, test12, test13, test14, test15, test16, test17, test18, test19, test20
test11, test12, test13, test14, test15, test16, test17, test18,
];

const tests = testIdx ? [allTests[testIdx - 1]] : allTests;
Expand Down
260 changes: 0 additions & 260 deletions apps/node/tests/test19.ts

This file was deleted.

Loading

0 comments on commit 67bbf32

Please sign in to comment.