forked from nrhirani/node-qpdf
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Sparticuz/feature/esm
- Loading branch information
Showing
13 changed files
with
1,209 additions
and
1,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,6 @@ | |
"name": "node-qpdf2", | ||
"version": "4.1.0", | ||
"description": "A Content Preserving transformations on PDFs wrapped around QPDF", | ||
"main": "./dist/index.js", | ||
"scripts": { | ||
"test": "c8 --reporter=lcov --reporter=text --all --include=src ava test/ --timeout=30s", | ||
"lint": "eslint --ignore-path .gitignore '**/*.[jt]s'", | ||
"build": "tsc -p tsconfig.build.json" | ||
}, | ||
"engines": { | ||
"node": ">=14.18.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Sparticuz/node-qpdf2.git" | ||
}, | ||
"keywords": [ | ||
"pdf", | ||
"qpdf", | ||
|
@@ -31,33 +18,45 @@ | |
"rc4-128", | ||
"rc4-40" | ||
], | ||
"author": "Kyle McNally <[email protected]>", | ||
"homepage": "https://github.com/Sparticuz/node-qpdf2", | ||
"bugs": { | ||
"url": "https://github.com/Sparticuz/node-qpdf2/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Sparticuz/node-qpdf2.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Kyle McNally <[email protected]>", | ||
"type": "module", | ||
"exports": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"build": "tsc -p tsconfig.build.json", | ||
"lint": "eslint --ignore-path .gitignore '**/*.[jt]s'", | ||
"test": "c8 --reporter=lcov --reporter=text --all --include=src ava test/ --timeout=30s" | ||
}, | ||
"ava": { | ||
"extensions": [ | ||
"ts" | ||
], | ||
"require": [ | ||
"ts-node/register/transpile-only" | ||
"extensions": { | ||
"ts": "module" | ||
}, | ||
"nodeArguments": [ | ||
"--loader=ts-node/esm/transpile-only" | ||
] | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"bugs": { | ||
"url": "https://github.com/Sparticuz/node-qpdf2/issues" | ||
}, | ||
"homepage": "https://github.com/Sparticuz/node-qpdf2", | ||
"devDependencies": { | ||
"@rushstack/eslint-patch": "^1.2.0", | ||
"@sparticuz/eslint-config": "^7.1.11", | ||
"@tsconfig/node14": "^1.0.3", | ||
"@types/node": "^14.18.29", | ||
"@typescript-eslint/eslint-plugin": "^5.48.0", | ||
"@typescript-eslint/parser": "^5.48.0", | ||
"ava": "^5.1.0", | ||
"@sparticuz/eslint-config": "^7.2.0", | ||
"@tsconfig/node16-strictest-esm": "^1.0.3", | ||
"@types/node": "^18.13.0", | ||
"ava": "^5.2.0", | ||
"c8": "^7.12.0", | ||
"eslint": "^8.31.0", | ||
"prettier": "^2.8.1", | ||
"eslint": "^8.33.0", | ||
"prettier": "^2.8.4", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4" | ||
"typescript": "^4.9.5" | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export type { DecryptSettings } from "./decrypt"; | ||
export { decrypt } from "./decrypt"; | ||
export type { EncryptOptions } from "./encrypt"; | ||
export { encrypt } from "./encrypt"; | ||
export type { DecryptSettings } from "./decrypt.js"; | ||
export { decrypt } from "./decrypt.js"; | ||
export type { EncryptOptions } from "./encrypt.js"; | ||
export { encrypt } from "./encrypt.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters