afpp 1.4.1 → 1.4.2

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.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pdf2string = exports.pdf2image = exports.parsePdf = void 0;
4
- var parsePdf_1 = require("#afpp/src/parsePdf");
4
+ var parsePdf_1 = require("./parsePdf");
5
5
  Object.defineProperty(exports, "parsePdf", { enumerable: true, get: function () { return parsePdf_1.parsePdf; } });
6
- var pdf2image_1 = require("#afpp/src/pdf2image");
6
+ var pdf2image_1 = require("./pdf2image");
7
7
  Object.defineProperty(exports, "pdf2image", { enumerable: true, get: function () { return pdf2image_1.pdf2image; } });
8
- var pdf2string_1 = require("#afpp/src/pdf2string");
8
+ var pdf2string_1 = require("./pdf2string");
9
9
  Object.defineProperty(exports, "pdf2string", { enumerable: true, get: function () { return pdf2string_1.pdf2string; } });
10
10
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { parsePdf } from '#afpp/src/parsePdf';
2
- export { pdf2image } from '#afpp/src/pdf2image';
3
- export { pdf2string } from '#afpp/src/pdf2string';
1
+ export { parsePdf } from '../parsePdf';
2
+ export { pdf2image } from '../pdf2image';
3
+ export { pdf2string } from '../pdf2string';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "afpp",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "another f*cking pdf parser",
5
5
  "types": "./dist/types/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -9,6 +9,7 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "tsc -p tsconfig.build.json",
12
+ "postbuild": "tsc-alias -p tsconfig.build.json",
12
13
  "commit": "git-cz",
13
14
  "lint": "eslint .",
14
15
  "prebuild": "rm -rf dist",
@@ -62,6 +63,7 @@
62
63
  "husky": "9.1.6",
63
64
  "lint-staged": "15.2.10",
64
65
  "semantic-release": "24.1.1",
66
+ "tsc-alias": "1.8.10",
65
67
  "tsx": "4.19.2",
66
68
  "typescript": "5.7.3"
67
69
  },