diff --git a/LICENSE b/LICENSE index be87934..6d9cc49 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020-2023 Kyle McNally +Copyright (c) 2020-2024 Kyle McNally Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 83c77c6..11ae955 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ await encrypt(pdf); ### Options for Encryption -Please see [src/encrypt.ts](https://github.com/Sparticuz/node-qpdf2/blob/master/src/encrypt.ts#L9) for the latest options, as well as [QPDF's documentation](https://qpdf.readthedocs.io/en/stable/cli.html#encryption) for information on what each restriction does. +Please see [src/encrypt.ts](https://github.com/Sparticuz/node-qpdf2/blob/master/src/encrypt.ts) for the latest options, as well as [QPDF's documentation](https://qpdf.readthedocs.io/en/stable/cli.html#encryption) for information on what each restriction does. ### Examples @@ -103,15 +103,17 @@ If the file is not encrypted, the result will be "File is not encrypted". ## Coverage -| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -| ---------- | ------- | -------- | ------- | ------- | ----------------- | -| All files | 100 | 100 | 100 | 100 | -| decrypt.ts | 100 | 100 | 100 | 100 | -| encrypt.ts | 100 | 100 | 100 | 100 | -| index.ts | 100 | 100 | 100 | 100 | -| info.ts | 100 | 100 | 100 | 100 | -| spawn.ts | 100 | 100 | 100 | 100 | -| utils.ts | 100 | 100 | 100 | 100 | +------------|---------|----------|---------|---------|------------------- +File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s +------------|---------|----------|---------|---------|------------------- +All files | 100 | 100 | 100 | 100 | +decrypt.ts | 100 | 100 | 100 | 100 | +encrypt.ts | 100 | 100 | 100 | 100 | +index.ts | 100 | 100 | 100 | 100 | +info.ts | 100 | 100 | 100 | 100 | +spawn.ts | 100 | 100 | 100 | 100 | +utils.ts | 100 | 100 | 100 | 100 | +------------|---------|----------|---------|---------|------------------- ## Contributing diff --git a/tsconfig.build.json b/tsconfig.build.json index d94ca22..131e5dc 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -4,5 +4,5 @@ "outDir": "dist", "sourceMap": false }, - "exclude": ["test"] + "exclude": ["test", "vitest.config.ts"] }