libnpmfund 7.0.8 → 7.0.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/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -75,14 +75,14 @@ things such as printing a `6 packages are looking for funding` msg.
|
|
|
75
75
|
- `workspaces`: `Array<String>` List of workspaces names to filter for,
|
|
76
76
|
the result will only include a subset of the resulting tree that includes
|
|
77
77
|
only the nodes that are children of the listed workspaces names.
|
|
78
|
-
- `path`, `registry` and more [Arborist](https://github.com/npm/arborist/)
|
|
78
|
+
- `path`, `registry` and more [Arborist options](https://github.com/npm/cli/blob/latest/workspaces/arborist/README.md#usage).
|
|
79
79
|
|
|
80
80
|
##### <a name="fund.readTree"></a> `> fund.readTree(tree, [opts]) -> Promise<Object>`
|
|
81
81
|
|
|
82
82
|
Reads **funding** info from a given install tree and returns a tree object
|
|
83
83
|
that only contains packages in which funding info is defined.
|
|
84
84
|
|
|
85
|
-
- `tree`: An [`arborist`](https://github.com/npm/arborist) tree to be used, e.g:
|
|
85
|
+
- `tree`: An [`arborist`](https://github.com/npm/cli/blob/latest/workspaces/arborist/README.md) tree to be used, e.g:
|
|
86
86
|
|
|
87
87
|
```js
|
|
88
88
|
const Arborist = require('@npmcli/arborist')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libnpmfund",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"bin/",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tap": "^16.3.8"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@npmcli/arborist": "^9.1.
|
|
49
|
+
"@npmcli/arborist": "^9.1.6"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": "^20.17.0 || >=22.9.0"
|