deps: upgrade npm to 10.8.2 · nodejs/node@7e17b15

@@ -225,23 +225,35 @@ npm also sets a top-level "maintainers" field with your npm user info.

225225

### funding

226226227227

You can specify an object containing a URL that provides up-to-date

228-

information about ways to help fund development of your package, or a

229-

string URL, or an array of these:

228+

information about ways to help fund development of your package, a

229+

string URL, or an array of objects and string URLs:

230230231231

```json

232232

{

233233

"funding": {

234234

"type" : "individual",

235235

"url" : "http://example.com/donate"

236-

},

236+

}

237+

}

238+

```

237239240+

```json

241+

{

238242

"funding": {

239243

"type" : "patreon",

240244

"url" : "https://www.patreon.com/my-account"

241-

},

245+

}

246+

}

247+

```

242248243-

"funding": "http://example.com/donate",

249+

```json

250+

{

251+

"funding": "http://example.com/donate"

252+

}

253+

```

244254255+

```json

256+

{

245257

"funding": [

246258

{

247259

"type" : "individual",

@@ -258,7 +270,7 @@ string URL, or an array of these:

258270259271

Users can use the `npm fund` subcommand to list the `funding` URLs of all

260272

dependencies of their project, direct and indirect. A shortcut to visit

261-

each funding url is also available when providing the project name such as:

273+

each funding URL is also available when providing the project name such as:

262274

`npm fund <projectname>` (when there are multiple URLs, the first one will

263275

be visited)

264276

@@ -506,7 +518,7 @@ Do it like this:

506518

{

507519

"repository": {

508520

"type": "git",

509-

"url": "https://github.com/npm/cli.git"

521+

"url": "git+https://github.com/npm/cli.git"

510522

}

511523

}

512524

```

@@ -541,8 +553,8 @@ which it lives:

541553

{

542554

"repository": {

543555

"type": "git",

544-

"url": "https://github.com/facebook/react.git",

545-

"directory": "packages/react-dom"

556+

"url": "git+https://github.com/npm/cli.git",

557+

"directory": "workspaces/libnpmpublish"

546558

}

547559

}

548560

```