+147
-128
lines changedFilter options
+147
-128
lines changed Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
1
-
module.exports = require('./binary-extensions.json');
1
+
import binaryExtensions from './binary-extensions.json' with {type: 'json'};
2
+
3
+
export default binaryExtensions;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "binary-extensions",
3
-
"version": "2.3.0",
3
+
"version": "3.0.0",
4
4
"description": "List of binary file extensions",
5
5
"license": "MIT",
6
6
"repository": "sindresorhus/binary-extensions",
@@ -10,18 +10,23 @@
10
10
"email": "sindresorhus@gmail.com",
11
11
"url": "https://sindresorhus.com"
12
12
},
13
+
"type": "module",
14
+
"exports": {
15
+
"types": "./index.d.ts",
16
+
"default": "./index.js"
17
+
},
13
18
"sideEffects": false,
14
19
"engines": {
15
-
"node": ">=8"
20
+
"node": ">=18.20"
16
21
},
17
22
"scripts": {
18
-
"test": "xo && ava && tsd"
23
+
"//test": "xo && ava && tsd",
24
+
"test": "ava && tsd"
19
25
},
20
26
"files": [
21
27
"index.js",
22
28
"index.d.ts",
23
-
"binary-extensions.json",
24
-
"binary-extensions.json.d.ts"
29
+
"binary-extensions.json"
25
30
],
26
31
"keywords": [
27
32
"binary",
@@ -33,8 +38,8 @@
33
38
"array"
34
39
],
35
40
"devDependencies": {
36
-
"ava": "^1.4.1",
37
-
"tsd": "^0.7.2",
38
-
"xo": "^0.24.0"
41
+
"ava": "^6.1.2",
42
+
"tsd": "^0.31.0",
43
+
"xo": "^0.58.0"
39
44
}
40
45
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
The ISC License
2
2
3
-
Copyright (c) Isaac Z. Schlueter
3
+
Copyright (c) 2020-2023 Isaac Z. Schlueter
4
4
5
5
Permission to use, copy, modify, and/or distribute this software for any
6
6
purpose with or without fee is hereby granted, provided that the above
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
1
1
{
2
2
"name": "walk-up-path",
3
-
"version": "3.0.1",
3
+
"version": "4.0.0",
4
4
"files": [
5
5
"dist"
6
6
],
7
-
"main": "./dist/cjs/index.js",
8
-
"module": "./dist/mjs/index.js",
9
-
"types": "./dist/mjs/index.d.ts",
10
-
"exports": {
11
-
".": {
12
-
"require": {
13
-
"types": "./dist/cjs/index.d.ts",
14
-
"default": "./dist/cjs/index.js"
15
-
},
16
-
"import": {
17
-
"types": "./dist/mjs/index.d.ts",
18
-
"default": "./dist/mjs/index.js"
19
-
}
20
-
}
21
-
},
22
7
"description": "Given a path string, return a generator that walks up the path, emitting each dirname.",
23
8
"repository": {
24
9
"type": "git",
@@ -30,15 +15,16 @@
30
15
"preversion": "npm test",
31
16
"postversion": "npm publish",
32
17
"prepublishOnly": "git push origin --follow-tags",
33
-
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh",
18
+
"prepare": "tshy",
34
19
"pretest": "npm run prepare",
35
20
"presnap": "npm run prepare",
36
-
"test": "c8 tap",
37
-
"snap": "c8 tap",
38
-
"format": "prettier --write . --loglevel warn",
21
+
"test": "tap",
22
+
"snap": "tap",
23
+
"format": "prettier --write . --log-level warn",
39
24
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
40
25
},
41
26
"prettier": {
27
+
"experimentalTernaries": true,
42
28
"semi": false,
43
29
"printWidth": 75,
44
30
"tabWidth": 2,
@@ -49,24 +35,37 @@
49
35
"arrowParens": "avoid",
50
36
"endOfLine": "lf"
51
37
},
52
-
"tap": {
53
-
"coverage": false,
54
-
"node-arg": [
55
-
"--no-warnings",
56
-
"--loader",
57
-
"ts-node/esm"
58
-
],
59
-
"ts": false
60
-
},
61
38
"devDependencies": {
62
-
"@types/node": "^18.15.5",
63
-
"@types/tap": "^15.0.8",
64
-
"c8": "^7.13.0",
65
-
"eslint-config-prettier": "^8.8.0",
66
-
"prettier": "^2.8.6",
67
-
"tap": "^16.3.4",
68
-
"ts-node": "^10.9.1",
69
-
"typedoc": "^0.23.28",
70
-
"typescript": "^5.0.2"
39
+
"@types/node": "^20.14.10",
40
+
"prettier": "^3.3.2",
41
+
"tap": "^20.0.3",
42
+
"tshy": "^3.0.0",
43
+
"typedoc": "^0.26.3"
44
+
},
45
+
"type": "module",
46
+
"tshy": {
47
+
"exports": {
48
+
"./package.json": "./package.json",
49
+
".": "./src/index.ts"
50
+
}
51
+
},
52
+
"exports": {
53
+
"./package.json": "./package.json",
54
+
".": {
55
+
"import": {
56
+
"types": "./dist/esm/index.d.ts",
57
+
"default": "./dist/esm/index.js"
58
+
},
59
+
"require": {
60
+
"types": "./dist/commonjs/index.d.ts",
61
+
"default": "./dist/commonjs/index.js"
62
+
}
63
+
}
64
+
},
65
+
"main": "./dist/commonjs/index.js",
66
+
"types": "./dist/commonjs/index.d.ts",
67
+
"module": "./dist/esm/index.js",
68
+
"engines": {
69
+
"node": "20 || >=22"
71
70
}
72
71
}
Original file line number Diff line number Diff line change
@@ -2164,6 +2164,13 @@
2164
2164
"node": "^18.17.0 || >=20.5.0"
2165
2165
}
2166
2166
},
2167
+
"mock-registry/node_modules/walk-up-path": {
2168
+
"version": "3.0.1",
2169
+
"resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz",
2170
+
"integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==",
2171
+
"dev": true,
2172
+
"license": "ISC"
2173
+
},
2167
2174
"node_modules/@actions/core": {
2168
2175
"version": "1.11.1",
2169
2176
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz",
@@ -4462,6 +4469,13 @@
4462
4469
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
4463
4470
}
4464
4471
},
4472
+
"node_modules/@npmcli/template-oss/node_modules/walk-up-path": {
4473
+
"version": "3.0.1",
4474
+
"resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz",
4475
+
"integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==",
4476
+
"dev": true,
4477
+
"license": "ISC"
4478
+
},
4465
4479
"node_modules/@npmcli/template-oss/node_modules/which": {
4466
4480
"version": "4.0.0",
4467
4481
"resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
@@ -5495,12 +5509,12 @@
5495
5509
}
5496
5510
},
5497
5511
"node_modules/binary-extensions": {
5498
-
"version": "2.3.0",
5499
-
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
5500
-
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
5512
+
"version": "3.0.0",
5513
+
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-3.0.0.tgz",
5514
+
"integrity": "sha512-X0RfwMgXPEesg6PCXzytQZt9Unh9gtc4SfeTNJvKifUL//Oegcc/Yf31z6hThNZ8dnD3Ir3wkHVN0eWrTvP5ww==",
5501
5515
"license": "MIT",
5502
5516
"engines": {
5503
-
"node": ">=8"
5517
+
"node": ">=18.20"
5504
5518
},
5505
5519
"funding": {
5506
5520
"url": "https://github.com/sponsors/sindresorhus"
@@ -9325,6 +9339,19 @@
9325
9339
"node": ">=8"
9326
9340
}
9327
9341
},
9342
+
"node_modules/is-binary-path/node_modules/binary-extensions": {
9343
+
"version": "2.3.0",
9344
+
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
9345
+
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
9346
+
"dev": true,
9347
+
"license": "MIT",
9348
+
"engines": {
9349
+
"node": ">=8"
9350
+
},
9351
+
"funding": {
9352
+
"url": "https://github.com/sponsors/sindresorhus"
9353
+
}
9354
+
},
9328
9355
"node_modules/is-boolean-object": {
9329
9356
"version": "1.1.2",
9330
9357
"resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
@@ -17966,10 +17993,13 @@
17966
17993
}
17967
17994
},
17968
17995
"node_modules/walk-up-path": {
17969
-
"version": "3.0.1",
17970
-
"resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz",
17971
-
"integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==",
17972
-
"license": "ISC"
17996
+
"version": "4.0.0",
17997
+
"resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-4.0.0.tgz",
17998
+
"integrity": "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==",
17999
+
"license": "ISC",
18000
+
"engines": {
18001
+
"node": "20 || >=22"
18002
+
}
17973
18003
},
17974
18004
"node_modules/web-namespaces": {
17975
18005
"version": "2.0.1",
@@ -18476,7 +18506,7 @@
18476
18506
"semver": "^7.3.7",
18477
18507
"ssri": "^12.0.0",
18478
18508
"treeverse": "^3.0.0",
18479
-
"walk-up-path": "^3.0.1"
18509
+
"walk-up-path": "^4.0.0"
18480
18510
},
18481
18511
"bin": {
18482
18512
"arborist": "bin/index.js"
@@ -18508,7 +18538,7 @@
18508
18538
"nopt": "^8.0.0",
18509
18539
"proc-log": "^5.0.0",
18510
18540
"semver": "^7.3.5",
18511
-
"walk-up-path": "^3.0.1"
18541
+
"walk-up-path": "^4.0.0"
18512
18542
},
18513
18543
"devDependencies": {
18514
18544
"@npmcli/eslint-config": "^5.0.1",
@@ -18543,7 +18573,7 @@
18543
18573
"dependencies": {
18544
18574
"@npmcli/arborist": "^9.0.0-pre.0",
18545
18575
"@npmcli/installed-package-contents": "^3.0.0",
18546
-
"binary-extensions": "^2.3.0",
18576
+
"binary-extensions": "^3.0.0",
18547
18577
"diff": "^5.1.0",
18548
18578
"minimatch": "^9.0.4",
18549
18579
"npm-package-arg": "^12.0.0",
@@ -18572,7 +18602,7 @@
18572
18602
"read": "^4.0.0",
18573
18603
"read-package-json-fast": "^4.0.0",
18574
18604
"semver": "^7.3.7",
18575
-
"walk-up-path": "^3.0.1"
18605
+
"walk-up-path": "^4.0.0"
18576
18606
},
18577
18607
"devDependencies": {
18578
18608
"@npmcli/eslint-config": "^5.0.1",
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
36
36
"semver": "^7.3.7",
37
37
"ssri": "^12.0.0",
38
38
"treeverse": "^3.0.0",
39
-
"walk-up-path": "^3.0.1"
39
+
"walk-up-path": "^4.0.0"
40
40
},
41
41
"devDependencies": {
42
42
"@npmcli/eslint-config": "^5.0.1",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4