|
2 | 2 | "name": "generic-filehandle2", |
3 | 3 | "description": "uniform interface for accessing binary data from local files, remote HTTP resources, and browser Blob data", |
4 | 4 | "version": "2.0.5", |
5 | | - "main": "dist/index.js", |
6 | | - "module": "esm/index.js", |
| 5 | + "type": "module", |
| 6 | + "module": "./esm/index.js", |
| 7 | + "types": "./dist/index.d.ts", |
| 8 | + "exports": { |
| 9 | + "import": { |
| 10 | + "import": "./esm/index.js" |
| 11 | + }, |
| 12 | + "require": { |
| 13 | + "require": "./dist/index.js" |
| 14 | + } |
| 15 | + }, |
7 | 16 | "repository": "GMOD/generic-filehandle2", |
8 | 17 | "license": "MIT", |
9 | 18 | "author": { |
|
12 | 21 | "url": "https://github.com/cmdcolin" |
13 | 22 | }, |
14 | 23 | "engines": { |
15 | | - "node": ">=12" |
| 24 | + "node": ">=14" |
16 | 25 | }, |
17 | 26 | "files": [ |
18 | 27 | "dist", |
|
45 | 54 | "eslint": "^9.16.0", |
46 | 55 | "eslint-plugin-import": "^2.31.0", |
47 | 56 | "eslint-plugin-unicorn": "^59.0.0", |
| 57 | + "node-fetch": "^2.0.0", |
48 | 58 | "prettier": "^3.4.1", |
49 | 59 | "range-parser": "^1.2.1", |
50 | 60 | "rimraf": "^6.0.0", |
51 | | - "standard-changelog": "^6.0.0", |
| 61 | + "standard-changelog": "^7.0.1", |
52 | 62 | "typescript": "^5.7.0", |
53 | 63 | "typescript-eslint": "^8.18.0", |
54 | 64 | "vitest": "^3.0.1" |
|
58 | 68 | }, |
59 | 69 | "browser": { |
60 | 70 | "./dist/localFile.js": false, |
61 | | - "./esm/localFile.js": false |
| 71 | + "./esm/localFile.js": false, |
| 72 | + "fs": false, |
| 73 | + "fs/promises": false |
62 | 74 | } |
63 | 75 | } |
0 commit comments