Skip to content

Commit 61c3ee9

Browse files
committedOct 9, 2023
deps: minipass@7.0.4
1 parent 14d31fd commit 61c3ee9

File tree

8 files changed

+38
-42
lines changed

8 files changed

+38
-42
lines changed
 

‎node_modules/node-gyp/node_modules/cacache/node_modules/minipass/dist/cjs/package.json

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"type":"commonjs"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"type":"module"}

‎node_modules/node-gyp/node_modules/cacache/node_modules/minipass/dist/mjs/package.json

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
{
22
"name": "minipass",
3-
"version": "7.0.3",
3+
"version": "7.0.4",
44
"description": "minimal implementation of a PassThrough stream",
5-
"main": "./dist/cjs/index.js",
6-
"module": "./dist/mjs/index.js",
7-
"types": "./dist/cjs/index.js",
5+
"main": "./dist/commonjs/index.js",
6+
"types": "./dist/commonjs/index.d.ts",
7+
"type": "module",
8+
"tshy": {
9+
"main": true,
10+
"exports": {
11+
"./package.json": "./package.json",
12+
".": "./src/index.ts"
13+
}
14+
},
815
"exports": {
16+
"./package.json": "./package.json",
917
".": {
1018
"import": {
11-
"types": "./dist/mjs/index.d.ts",
12-
"default": "./dist/mjs/index.js"
19+
"types": "./dist/esm/index.d.ts",
20+
"default": "./dist/esm/index.js"
1321
},
1422
"require": {
15-
"types": "./dist/cjs/index.d.ts",
16-
"default": "./dist/cjs/index.js"
23+
"types": "./dist/commonjs/index.d.ts",
24+
"default": "./dist/commonjs/index.js"
1725
}
18-
},
19-
"./package.json": "./package.json"
26+
}
2027
},
2128
"files": [
2229
"dist"
@@ -25,24 +32,13 @@
2532
"preversion": "npm test",
2633
"postversion": "npm publish",
2734
"prepublishOnly": "git push origin --follow-tags",
28-
"preprepare": "rm -rf dist",
29-
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh",
35+
"prepare": "tshy",
3036
"pretest": "npm run prepare",
3137
"presnap": "npm run prepare",
32-
"test": "c8 tap",
33-
"snap": "c8 tap",
38+
"test": "tap",
39+
"snap": "tap",
3440
"format": "prettier --write . --loglevel warn",
35-
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
36-
},
37-
"tap": {
38-
"coverage": false,
39-
"node-arg": [
40-
"--enable-source-maps",
41-
"--no-warnings",
42-
"--loader",
43-
"ts-node/esm"
44-
],
45-
"ts": false
41+
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
4642
},
4743
"prettier": {
4844
"semi": false,
@@ -56,18 +52,17 @@
5652
"endOfLine": "lf"
5753
},
5854
"devDependencies": {
55+
"@types/end-of-stream": "^1.4.2",
5956
"@types/node": "^20.1.2",
60-
"@types/tap": "^15.0.8",
61-
"c8": "^7.13.0",
62-
"prettier": "^2.6.2",
63-
"tap": "^16.3.0",
64-
"ts-node": "^10.9.1",
65-
"typedoc": "^0.24.8",
66-
"typescript": "^5.1.3",
6757
"end-of-stream": "^1.4.0",
6858
"node-abort-controller": "^3.1.1",
59+
"prettier": "^2.6.2",
6960
"sync-content": "^1.0.2",
70-
"through2": "^2.0.3"
61+
"tap": "^18.3.0",
62+
"through2": "^2.0.3",
63+
"tshy": "^1.2.2",
64+
"typedoc": "^0.25.1",
65+
"typescript": "^5.2.2"
7166
},
7267
"repository": "https://github.com/isaacs/minipass",
7368
"keywords": [
@@ -78,5 +73,10 @@
7873
"license": "ISC",
7974
"engines": {
8075
"node": ">=16 || 14 >=14.17"
76+
},
77+
"tap": {
78+
"include": [
79+
"test/*.ts"
80+
]
8181
}
8282
}

‎package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10588,9 +10588,9 @@
1058810588
}
1058910589
},
1059010590
"node_modules/node-gyp/node_modules/cacache/node_modules/minipass": {
10591-
"version": "7.0.3",
10592-
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz",
10593-
"integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==",
10591+
"version": "7.0.4",
10592+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
10593+
"integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
1059410594
"inBundle": true,
1059510595
"engines": {
1059610596
"node": ">=16 || 14 >=14.17"

0 commit comments

Comments
 (0)
Please sign in to comment.