$
This commit is contained in:
21
node_modules/regenerator-runtime/LICENSE
generated
vendored
Normal file
21
node_modules/regenerator-runtime/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present, Facebook, Inc.
|
||||
|
||||
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/regenerator-runtime/README.md
generated
vendored
Normal file
31
node_modules/regenerator-runtime/README.md
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
# regenerator-runtime
|
||||
|
||||
Standalone runtime for
|
||||
[Regenerator](https://github.com/facebook/regenerator)-compiled generator
|
||||
and `async` functions.
|
||||
|
||||
To import the runtime as a module (recommended), either of the following
|
||||
import styles will work:
|
||||
```js
|
||||
// CommonJS
|
||||
const regeneratorRuntime = require("regenerator-runtime");
|
||||
|
||||
// ECMAScript 2015
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
```
|
||||
|
||||
To ensure that `regeneratorRuntime` is defined globally, either of the
|
||||
following styles will work:
|
||||
```js
|
||||
// CommonJS
|
||||
require("regenerator-runtime/runtime");
|
||||
|
||||
// ECMAScript 2015
|
||||
import "regenerator-runtime/runtime.js";
|
||||
```
|
||||
|
||||
To get the absolute file system path of `runtime.js`, evaluate the
|
||||
following expression:
|
||||
```js
|
||||
require("regenerator-runtime/path").path
|
||||
```
|
19
node_modules/regenerator-runtime/package.json
generated
vendored
Normal file
19
node_modules/regenerator-runtime/package.json
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "regenerator-runtime",
|
||||
"author": "Ben Newman <bn@cs.stanford.edu>",
|
||||
"description": "Runtime for Regenerator-compiled generator and async functions.",
|
||||
"version": "0.13.9",
|
||||
"main": "runtime.js",
|
||||
"keywords": [
|
||||
"regenerator",
|
||||
"runtime",
|
||||
"generator",
|
||||
"async"
|
||||
],
|
||||
"sideEffects": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/regenerator/tree/master/packages/runtime"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
11
node_modules/regenerator-runtime/path.js
generated
vendored
Normal file
11
node_modules/regenerator-runtime/path.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Copyright (c) 2014-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
exports.path = require("path").join(
|
||||
__dirname,
|
||||
"runtime.js"
|
||||
);
|
754
node_modules/regenerator-runtime/runtime.js
generated
vendored
Normal file
754
node_modules/regenerator-runtime/runtime.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user