Dep update

This commit is contained in:
2025-04-08 22:00:41 +02:00
committed by Philipp Horstenkamp
parent f79e41cbfe
commit 78549e06b4
966 changed files with 43637 additions and 158248 deletions

21
node_modules/which-pm-runs/LICENSE generated vendored
View File

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2017-2022 Zoltan Kochan <z@kochan.io>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

31
node_modules/which-pm-runs/README.md generated vendored
View File

@ -1,31 +0,0 @@
# which-pm-runs
> Detects what package manager executes the process
[![npm version](https://img.shields.io/npm/v/which-pm-runs.svg)](https://www.npmjs.com/package/which-pm-runs)
Supports npm, pnpm, Yarn, cnpm. And also any other package manager that sets the `npm_config_user_agent` env variable.
## Installation
```
pnpm add which-pm-runs
```
## Usage
```js
'use strict'
const whichPMRuns = require('which-pm-runs')
whichPMRuns()
//> {name: "pnpm", version: "0.64.2"}
```
## Related
* [which-pm](https://github.com/zkochan/packages/tree/main/which-pm) - Detects what package manager was used for installation
## License
[MIT](LICENSE) © [Zoltan Kochan](http://kochan.io)

18
node_modules/which-pm-runs/index.js generated vendored
View File

@ -1,18 +0,0 @@
'use strict'
module.exports = function () {
if (!process.env.npm_config_user_agent) {
return undefined
}
return pmFromUserAgent(process.env.npm_config_user_agent)
}
function pmFromUserAgent (userAgent) {
const pmSpec = userAgent.split(' ')[0]
const separatorPos = pmSpec.lastIndexOf('/')
const name = pmSpec.substring(0, separatorPos)
return {
name: name === 'npminstall' ? 'cnpm' : name,
version: pmSpec.substring(separatorPos + 1)
}
}

View File

@ -1,42 +0,0 @@
{
"name": "which-pm-runs",
"version": "1.1.0",
"description": "Detects what package manager executes the process",
"main": "index.js",
"files": [
"index.js"
],
"engines": {
"node": ">=4"
},
"repository": "https://github.com/zkochan/packages/tree/main/which-pm-runs",
"bugs": {
"url": "https://github.com/zkochan/packages/labels/package%3A%20which-pm-runs"
},
"keywords": [
"npm",
"pnpm",
"yarn",
"cnpm"
],
"author": "Zoltan Kochan",
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/main/which-pm-runs#readme",
"dependenciesMeta": {
"which-pm-runs": {
"injected": true
}
},
"devDependencies": {
"cnpm": "^7.1.1",
"execa": "^5.1.1",
"npm": "^8.2.0",
"pnpm": "^6.23.6",
"tape": "^5.3.2",
"which-pm-runs": "file:",
"yarn": "^1.22.17"
},
"scripts": {
"test": "tape test"
}
}