chore: add pkg dependencies

This commit is contained in:
Rim
2025-04-01 23:48:10 -04:00
parent e32a4c6abc
commit 86f0782a98
1210 changed files with 125948 additions and 3593 deletions

16
node_modules/p-is-promise/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,16 @@
/**
Check if `value` is a ES2015 promise.
@param value - Value to be checked.
@example
```
import isPromise = require('p-is-promise');
isPromise(Promise.resolve('🦄'));
//=> true
```
*/
declare function pIsPromise(value: unknown): value is Promise<unknown>;
export = pIsPromise;

13
node_modules/p-is-promise/index.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
'use strict';
const isObject = value => value !== null &&
(typeof value === 'object' || typeof value === 'function');
module.exports = value => (
value instanceof Promise ||
(
isObject(value) &&
typeof value.then === 'function' &&
typeof value.catch === 'function'
)
);

47
node_modules/p-is-promise/package.json generated vendored Normal file
View File

@ -0,0 +1,47 @@
{
"name": "p-is-promise",
"version": "3.0.0",
"description": "Check if something is a promise",
"license": "MIT",
"repository": "sindresorhus/p-is-promise",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"promise",
"is",
"detect",
"check",
"kind",
"type",
"thenable",
"es2015",
"async",
"await",
"promises",
"bluebird"
],
"devDependencies": {
"ava": "^2.1.0",
"bluebird": "^3.5.4",
"tsd": "^0.7.2",
"xo": "^0.24.0"
},
"xo": {
"rules": {
"promise/prefer-await-to-then": "off"
}
}
}