pdfjs-serverless 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +107 -1
  2. package/package.json +6 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pdfjs-serverless",
3
3
  "type": "module",
4
- "version": "1.2.1",
4
+ "version": "1.2.3",
5
5
  "packageManager": "pnpm@10.33.0",
6
6
  "description": "PDF.js redistributed as a single bundle for edge and serverless runtimes",
7
7
  "author": "Johann Schopplich <hello@johannschopplich.com>",
@@ -41,22 +41,25 @@
41
41
  "build:pre": "rollup --config rollup.config.ts --configPlugin typescript",
42
42
  "build:post": "cp -R node_modules/pdfjs-dist/types dist",
43
43
  "build": "pnpm run build:pre && pnpm run build:post",
44
+ "test": "vitest",
44
45
  "lint": "eslint .",
45
46
  "lint:fix": "eslint . --fix",
46
47
  "release": "bumpp"
47
48
  },
48
49
  "devDependencies": {
49
50
  "@antfu/eslint-config": "^8.2.0",
51
+ "@cloudflare/vitest-pool-workers": "^0.14.4",
50
52
  "@rollup/plugin-node-resolve": "^16.0.3",
51
53
  "@rollup/plugin-replace": "^6.0.3",
52
- "@rollup/plugin-terser": "^1.0.0",
53
54
  "@rollup/plugin-typescript": "^12.3.0",
54
55
  "@types/node": "^24.12.2",
55
56
  "bumpp": "^11.0.1",
56
57
  "eslint": "^10.2.0",
57
58
  "pdfjs-dist": "~5.6.205",
58
59
  "rollup": "^4.60.1",
60
+ "rollup-plugin-esbuild": "^6.2.1",
59
61
  "tslib": "^2.8.1",
60
- "typescript": "^6.0.2"
62
+ "typescript": "^6.0.2",
63
+ "vitest": "^4.1.4"
61
64
  }
62
65
  }