|
5 | 5 | "author": "Travis Fischer <[email protected]>",
|
6 | 6 | "repository": "transitive-bullshit/chatgpt-api",
|
7 | 7 | "license": "MIT",
|
8 |
| - "type": "module", |
9 | 8 | "source": "./src/index.ts",
|
10 | 9 | "types": "./build/index.d.ts",
|
| 10 | + "main": "./build/index.js", |
11 | 11 | "exports": {
|
12 | 12 | ".": {
|
13 |
| - "import": "./build/index.js", |
| 13 | + "import": "./build/index.mjs", |
| 14 | + "require": "./build/index.js", |
14 | 15 | "types": "./build/index.d.ts",
|
15 |
| - "default": "./build/index.js" |
| 16 | + "default": "./build/index.mjs" |
16 | 17 | }
|
17 | 18 | },
|
18 | 19 | "files": [
|
|
38 | 39 | "dependencies": {
|
39 | 40 | "eventsource-parser": "^0.0.5",
|
40 | 41 | "expiry-map": "^2.0.0",
|
41 |
| - "node-fetch": "2", |
42 |
| - "remark": "^14.0.2", |
43 |
| - "strip-markdown": "^5.0.0", |
| 42 | + "node-fetch": "^2.6.7", |
| 43 | + "remark": "^13.0.0", |
| 44 | + "strip-markdown": "^4.2.0", |
44 | 45 | "uuid": "^9.0.0"
|
45 | 46 | },
|
46 | 47 | "devDependencies": {
|
47 | 48 | "@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
48 | 49 | "@types/node": "^18.11.9",
|
49 |
| - "@types/node-fetch": "2", |
| 50 | + "@types/node-fetch": "^2.6.2", |
50 | 51 | "@types/uuid": "^9.0.0",
|
51 | 52 | "ava": "^5.1.0",
|
52 | 53 | "del-cli": "^5.0.0",
|
|
0 commit comments