tar 7.5.8 → 7.5.9

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Isaac Z. Schlueter",
3
3
  "name": "tar",
4
4
  "description": "tar for node",
5
- "version": "7.5.8",
5
+ "version": "7.5.9",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/isaacs/node-tar.git"
@@ -13,7 +13,7 @@
13
13
  "test": "tap",
14
14
  "pretest": "npm run prepare",
15
15
  "presnap": "npm run prepare",
16
- "prepare": "tshy",
16
+ "prepare": "tshy && bash scripts/build.sh",
17
17
  "preversion": "npm test",
18
18
  "postversion": "npm publish",
19
19
  "prepublishOnly": "git push origin --follow-tags",
@@ -31,6 +31,7 @@
31
31
  "@types/node": "^25.0.9",
32
32
  "chmodr": "^2.0.2",
33
33
  "end-of-stream": "^1.4.3",
34
+ "esbuild": "^0.27.3",
34
35
  "events-to-array": "^2.0.3",
35
36
  "mutate-fs": "^2.1.1",
36
37
  "nock": "^13.5.4",
@@ -50,7 +51,17 @@
50
51
  "tshy": {
51
52
  "exports": {
52
53
  "./package.json": "./package.json",
53
- ".": "./src/index.ts",
54
+ ".": {
55
+ "import": {
56
+ "types": "./dist/esm/index.d.ts",
57
+ "default": "./dist/esm/index.min.js"
58
+ },
59
+ "require": {
60
+ "types": "./dist/commonjs/index.d.ts",
61
+ "default": "./dist/commonjs/index.min.js"
62
+ }
63
+ },
64
+ "./raw": "./src/index.ts",
54
65
  "./c": "./src/create.ts",
55
66
  "./create": "./src/create.ts",
56
67
  "./replace": "./src/create.ts",
@@ -74,6 +85,16 @@
74
85
  "exports": {
75
86
  "./package.json": "./package.json",
76
87
  ".": {
88
+ "import": {
89
+ "types": "./dist/esm/index.d.ts",
90
+ "default": "./dist/esm/index.min.js"
91
+ },
92
+ "require": {
93
+ "types": "./dist/commonjs/index.d.ts",
94
+ "default": "./dist/commonjs/index.min.js"
95
+ }
96
+ },
97
+ "./raw": {
77
98
  "import": {
78
99
  "types": "./dist/esm/index.d.ts",
79
100
  "default": "./dist/esm/index.js"
@@ -265,7 +286,7 @@
265
286
  }
266
287
  },
267
288
  "type": "module",
268
- "main": "./dist/commonjs/index.js",
289
+ "main": "./dist/commonjs/index.min.js",
269
290
  "types": "./dist/commonjs/index.d.ts",
270
- "module": "./dist/esm/index.js"
291
+ "module": "./dist/esm/index.min.js"
271
292
  }