mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 21:53:47 +00:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
24
node_modules/is-generator-fn/index.d.ts
generated
vendored
24
node_modules/is-generator-fn/index.d.ts
generated
vendored
|
@ -1,24 +0,0 @@
|
|||
declare const isGeneratorFn: {
|
||||
/**
|
||||
Check if something is a generator function.
|
||||
|
||||
@example
|
||||
```
|
||||
import isGeneratorFn = require('is-generator-fn');
|
||||
|
||||
isGeneratorFn(function * () {});
|
||||
//=> true
|
||||
|
||||
isGeneratorFn(function () {});
|
||||
//=> false
|
||||
```
|
||||
*/
|
||||
(value: unknown): value is GeneratorFunction;
|
||||
|
||||
// TODO: Remove this for the next major release, refactor the whole definition to:
|
||||
// declare function isGeneratorFn(value: unknown): value is GeneratorFunction;
|
||||
// export = isGeneratorFn;
|
||||
default: typeof isGeneratorFn;
|
||||
};
|
||||
|
||||
export = isGeneratorFn;
|
14
node_modules/is-generator-fn/index.js
generated
vendored
14
node_modules/is-generator-fn/index.js
generated
vendored
|
@ -1,14 +0,0 @@
|
|||
'use strict';
|
||||
const {toString} = Object.prototype;
|
||||
|
||||
module.exports = value => {
|
||||
if (typeof value !== 'function') {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (value.constructor && value.constructor.name === 'GeneratorFunction') ||
|
||||
toString.call(value) === '[object GeneratorFunction]';
|
||||
};
|
||||
|
||||
// TODO: Remove this for the next major release
|
||||
module.exports.default = module.exports;
|
9
node_modules/is-generator-fn/license
generated
vendored
9
node_modules/is-generator-fn/license
generated
vendored
|
@ -1,9 +0,0 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
75
node_modules/is-generator-fn/package.json
generated
vendored
75
node_modules/is-generator-fn/package.json
generated
vendored
|
@ -1,75 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"is-generator-fn@2.1.0",
|
||||
"C:\\Users\\Administrator\\Documents\\setup-python"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "is-generator-fn@2.1.0",
|
||||
"_id": "is-generator-fn@2.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
|
||||
"_location": "/is-generator-fn",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "is-generator-fn@2.1.0",
|
||||
"name": "is-generator-fn",
|
||||
"escapedName": "is-generator-fn",
|
||||
"rawSpec": "2.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jest-circus",
|
||||
"/jest-jasmine2"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
|
||||
"_spec": "2.1.0",
|
||||
"_where": "C:\\Users\\Administrator\\Documents\\setup-python",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/is-generator-fn/issues"
|
||||
},
|
||||
"description": "Check if something is a generator function",
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/is-generator-fn#readme",
|
||||
"keywords": [
|
||||
"generator",
|
||||
"function",
|
||||
"func",
|
||||
"fn",
|
||||
"is",
|
||||
"check",
|
||||
"detect",
|
||||
"yield",
|
||||
"type"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "is-generator-fn",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/is-generator-fn.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"version": "2.1.0"
|
||||
}
|
33
node_modules/is-generator-fn/readme.md
generated
vendored
33
node_modules/is-generator-fn/readme.md
generated
vendored
|
@ -1,33 +0,0 @@
|
|||
# is-generator-fn [](https://travis-ci.org/sindresorhus/is-generator-fn)
|
||||
|
||||
> Check if something is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install is-generator-fn
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const isGeneratorFn = require('is-generator-fn');
|
||||
|
||||
isGeneratorFn(function * () {});
|
||||
//=> true
|
||||
|
||||
isGeneratorFn(function () {});
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [is](https://github.com/sindresorhus/is) - Type check values
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue