first commit
This commit is contained in:
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Editor configuration, see http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
max_line_length = off
|
||||||
|
trim_trailing_whitespace = false
|
4
.eslintignore
Normal file
4
.eslintignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
node_modules
|
||||||
|
thirdparty
|
||||||
|
dist
|
||||||
|
!js
|
34
.eslintrc.json
Normal file
34
.eslintrc.json
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{"parserOptions":
|
||||||
|
{"ecmaVersion": 6},
|
||||||
|
"rules": {
|
||||||
|
"quotes": [2, "single", {"allowTemplateLiterals": true, "avoidEscape": true}],
|
||||||
|
"curly": [2, "all"],
|
||||||
|
"keyword-spacing": [2, {"overrides": {"else": {"before": true}, "catch": {"before": true, "after": false}}}],
|
||||||
|
"space-before-blocks": [2, "always"],
|
||||||
|
"wrap-iife": [2, "inside"],
|
||||||
|
"space-before-function-paren": [2, "never"],
|
||||||
|
"one-var": [2, "never"],
|
||||||
|
"vars-on-top": 0, "no-empty": [2, {"allowEmptyCatch": true}],
|
||||||
|
"array-bracket-spacing": [2, "never"],
|
||||||
|
"space-in-parens": [2, "never"],
|
||||||
|
"no-underscore-dangle": 0,
|
||||||
|
"comma-style": [2, "last"],
|
||||||
|
"comma-spacing": [2, {"before": false, "after": true}],
|
||||||
|
"space-unary-ops": [2, {"words": false, "nonwords": false}],
|
||||||
|
"no-multi-spaces": 2,
|
||||||
|
"space-infix-ops": 2,
|
||||||
|
"no-with": 2,
|
||||||
|
"indent": [2, "tab", {"SwitchCase": 1, "FunctionExpression": {"body": 1, "parameters": 1}, "MemberExpression": 0}],
|
||||||
|
"no-mixed-spaces-and-tabs": 2,
|
||||||
|
"no-trailing-spaces": 2,
|
||||||
|
"comma-dangle": [2, "never"],
|
||||||
|
"semi": [2, "always"],
|
||||||
|
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
|
||||||
|
"eol-last": 2,
|
||||||
|
"dot-notation": 0,
|
||||||
|
"no-multi-str": 2,
|
||||||
|
"key-spacing": [2, {"afterColon": true}],
|
||||||
|
"func-call-spacing": [2, "never"],
|
||||||
|
"no-console": 1
|
||||||
|
}
|
||||||
|
}
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/dist
|
||||||
|
/.vscode
|
22
README.md
Normal file
22
README.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# vanilla JS project template
|
||||||
|
|
||||||
|
## Getting ready
|
||||||
|
|
||||||
|
Run `npx -p local-web-server ws` and open `http://localhost:8000/` in your favorite browser!
|
||||||
|
|
||||||
|
## Development notes
|
||||||
|
|
||||||
|
### Generate translations
|
||||||
|
|
||||||
|
Run `npm run generate-translations`
|
||||||
|
|
||||||
|
## Useful links
|
||||||
|
|
||||||
|
- This project uses [EJS](https://ejs.co/).
|
||||||
|
- Translations powered by [i18next](https://www.i18next.com/overview/getting-started).
|
||||||
|
- Notifications popups by [Noty](https://ned.im/noty/).
|
||||||
|
- Routing is done by [Page.js](https://visionmedia.github.io/page.js/).
|
||||||
|
- Form validation by [jQuery Validation](https://jqueryvalidation.org/).
|
||||||
|
- Date picker rendered by [bootstrap-datepicker](https://bootstrap-datepicker.readthedocs.io/en/latest/).
|
||||||
|
- Searchable drop down sponsored for free by [select2](https://select2.org/).
|
||||||
|
- Awesomeness added by [jQuery](https://jquery.com/).
|
17
app/about/about.js
Normal file
17
app/about/about.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
(function() {
|
||||||
|
// globals
|
||||||
|
MyApp.About = {};
|
||||||
|
|
||||||
|
|
||||||
|
// utility functions
|
||||||
|
|
||||||
|
// app functions
|
||||||
|
MyApp.About.renderAboutPage = function() {
|
||||||
|
$('.js-page-container').html(ejs.rr('/app/about/templates/about.ejs'));
|
||||||
|
};
|
||||||
|
|
||||||
|
// events
|
||||||
|
|
||||||
|
// app startup
|
||||||
|
page('/about', MyApp.About.renderAboutPage);
|
||||||
|
})();
|
11
app/about/templates/about.ejs
Normal file
11
app/about/templates/about.ejs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<p>This is the coolest app ever.<p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>simple</li>
|
||||||
|
<li>fast</li>
|
||||||
|
<li>easy to understand</li>
|
||||||
|
<li>easy to mantain</li>
|
||||||
|
<li>easy to evolve</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>yay!<p>
|
12
app/config.js
Normal file
12
app/config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// env dependent config goes here
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
if (typeof(window.MyApp) === 'undefined') {
|
||||||
|
window.MyApp = {};
|
||||||
|
}
|
||||||
|
|
||||||
|
MyApp.config = {
|
||||||
|
somePath: '/blabla/',
|
||||||
|
someOtherGlobalConfig: 'https://...'
|
||||||
|
};
|
||||||
|
})();
|
63
app/index.js
Normal file
63
app/index.js
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
(function() {
|
||||||
|
// globals
|
||||||
|
MyApp.Utils = {};
|
||||||
|
|
||||||
|
// utility functions
|
||||||
|
|
||||||
|
// app functions
|
||||||
|
|
||||||
|
// events
|
||||||
|
|
||||||
|
// app startup
|
||||||
|
|
||||||
|
//configure noty
|
||||||
|
Noty.overrideDefaults({
|
||||||
|
layout: 'topRight',
|
||||||
|
theme: 'bootstrap-v4',
|
||||||
|
closeWith: ['click', 'button']
|
||||||
|
});
|
||||||
|
|
||||||
|
// set language
|
||||||
|
i18next
|
||||||
|
.use(i18nextBrowserLanguageDetector)
|
||||||
|
.use(i18nextXHRBackend)
|
||||||
|
.init({
|
||||||
|
detection: {
|
||||||
|
order: ['querystring', 'cookie', 'navigator'],
|
||||||
|
lookupQuerystring: 'lang',
|
||||||
|
lookupCookie: 'current-language',
|
||||||
|
caches: ['cookie'],
|
||||||
|
cookieMinutes: 5256000,
|
||||||
|
cookieOptions: {samesite: 'lax'}
|
||||||
|
},
|
||||||
|
whitelist: ['en', 'de', 'it'],
|
||||||
|
load: 'languageOnly',
|
||||||
|
fallbackLng: 'it',
|
||||||
|
backend: {
|
||||||
|
loadPath: '/i18n/{{lng}}.json'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.then(function() {
|
||||||
|
// language initialized
|
||||||
|
// if there is a lang query string parameter, remove it and reload: we save the language in a cookie so the url stays nice
|
||||||
|
var urlQueryString = new URLSearchParams(window.location.search);
|
||||||
|
if (urlQueryString.has('lang')) {
|
||||||
|
urlQueryString.delete('lang');
|
||||||
|
var newUrl = [location.protocol, '//', location.host, location.pathname].join('') +
|
||||||
|
(urlQueryString.toString() !== '' ? '?' + urlQueryString.toString() : '') +
|
||||||
|
window.location.hash;
|
||||||
|
window.location = newUrl;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// render main shell
|
||||||
|
MyApp.Shell.renderShell()
|
||||||
|
.then(function() {
|
||||||
|
//setup routing
|
||||||
|
page({
|
||||||
|
hashbang: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
})();
|
30
app/shell/shell.js
Normal file
30
app/shell/shell.js
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
(function() {
|
||||||
|
// globals
|
||||||
|
MyApp.Shell = {};
|
||||||
|
|
||||||
|
// utility functions
|
||||||
|
|
||||||
|
// app functions
|
||||||
|
MyApp.Shell.renderShell = function() {
|
||||||
|
document.title = i18next.t('vanillaJS');
|
||||||
|
|
||||||
|
var d = $.Deferred();
|
||||||
|
|
||||||
|
//preload this template, so we can be sure the dom in rendered when we resolve
|
||||||
|
ejs.preloadTemplate('/app/shell/templates/main.ejs')
|
||||||
|
.then(function(templateUrl) {
|
||||||
|
$('.js-main-content').html(ejs.rr(templateUrl));
|
||||||
|
d.resolve();
|
||||||
|
});
|
||||||
|
return d;
|
||||||
|
};
|
||||||
|
|
||||||
|
MyApp.Shell.renderHomePage = function() {
|
||||||
|
$('.js-page-container').html(ejs.rr('/app/shell/templates/home.ejs'));
|
||||||
|
};
|
||||||
|
|
||||||
|
// events
|
||||||
|
|
||||||
|
// app startup
|
||||||
|
page('/', MyApp.Shell.renderHomePage);
|
||||||
|
})();
|
8
app/shell/templates/home.ejs
Normal file
8
app/shell/templates/home.ejs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<ul class="list-group">
|
||||||
|
<li class="list-group-item">
|
||||||
|
<a href="/text">Here is a page with some example text and something happens when you click</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item">
|
||||||
|
<a href="/about">This is just an about page</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
12
app/shell/templates/main.ejs
Normal file
12
app/shell/templates/main.ejs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<div class="container">
|
||||||
|
<p class="js-language">
|
||||||
|
<a href="?lang=de" target="_self">Deutsch</a> <a href="?lang=it" target="_self">Italiano</a> <a href="?lang=en" target="_self">English</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="alert alert-primary">
|
||||||
|
<h1><%= i18next.t('awesome') %></h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="js-page-container">
|
||||||
|
</div>
|
||||||
|
</div>
|
5
app/text/templates/sometext.ejs
Normal file
5
app/text/templates/sometext.ejs
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<ul>
|
||||||
|
<% for (var i=0; i<texts.length; i++) { %>
|
||||||
|
<li data-id="<%= texts[i].id %>" class="js-link"><%= texts[i].description %></li>
|
||||||
|
<% } %>
|
||||||
|
</ul>
|
36
app/text/text.js
Normal file
36
app/text/text.js
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
(function() {
|
||||||
|
// globals
|
||||||
|
MyApp.Text = {};
|
||||||
|
|
||||||
|
// utility functions
|
||||||
|
|
||||||
|
// app functions
|
||||||
|
MyApp.Text.renderTextPage = function() {
|
||||||
|
$('.js-page-container').html(ejs.rr('/app/text/templates/sometext.ejs', {
|
||||||
|
texts: [
|
||||||
|
{
|
||||||
|
id: 100,
|
||||||
|
description: 'Some text with id 100'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 200,
|
||||||
|
description: 'Some other text with id 200. Click it!'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}));
|
||||||
|
};
|
||||||
|
|
||||||
|
// events
|
||||||
|
$(document).on('click', '.js-link', function(ev) {
|
||||||
|
var el = $(ev.currentTarget);
|
||||||
|
var linkId = el.attr('data-id');
|
||||||
|
new Noty({
|
||||||
|
type: 'success',
|
||||||
|
text: 'The text you clicked had id ' + linkId + '. Maybe next time I will do something with this id.',
|
||||||
|
timeout: 5000
|
||||||
|
}).show();
|
||||||
|
});
|
||||||
|
|
||||||
|
// app startup
|
||||||
|
page('/text', MyApp.Text.renderTextPage);
|
||||||
|
})();
|
11
build.cmd
Normal file
11
build.cmd
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
rem This bat file minifies all js and css and creates a dist folder with everything in it
|
||||||
|
|
||||||
|
rmdir "dist" /S /Q
|
||||||
|
mkdir dist
|
||||||
|
|
||||||
|
node node_modules\minifyfromhtml\minifyfromhtml.js --js=dist\myapp.js --css=dist\myapp.css < index.html
|
||||||
|
|
||||||
|
copy /Y index.production.html dist\index.html
|
||||||
|
copy /Y favicon.ico dist\favicon.ico
|
||||||
|
xcopy /F /Y /I /S app dist\app
|
||||||
|
xcopy /F /Y /I i18n dist\i18n
|
12
css/styles.css
Normal file
12
css/styles.css
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
/* application styles go here */
|
||||||
|
.js-main-content {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.js-link {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.js-language {
|
||||||
|
text-align: right;
|
||||||
|
}
|
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
4
i18n/de.json
Normal file
4
i18n/de.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"vanillaJS": "vanillaJS Beispiel Projekt",
|
||||||
|
"awesome": "Coole app."
|
||||||
|
}
|
4
i18n/en.json
Normal file
4
i18n/en.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"vanillaJS": "vanillaJS seed project",
|
||||||
|
"awesome": "This is an awesome app!"
|
||||||
|
}
|
4
i18n/it.json
Normal file
4
i18n/it.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"vanillaJS": "progetto di esempio vanillaJS",
|
||||||
|
"awesome": "Questa app è fantastica!"
|
||||||
|
}
|
47
i18next-scanner.config.js
Normal file
47
i18next-scanner.config.js
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
input: [
|
||||||
|
'src/**/*.{js,ejs}'
|
||||||
|
],
|
||||||
|
output: './',
|
||||||
|
options: {
|
||||||
|
debug: false,
|
||||||
|
func: {
|
||||||
|
list: ['i18next.t', 'i18n.t', 'this.i18n.tr'],
|
||||||
|
extensions: ['.js', '.ejs']
|
||||||
|
},
|
||||||
|
lngs: ['en', 'it', 'de'],
|
||||||
|
ns: [
|
||||||
|
'translation'
|
||||||
|
],
|
||||||
|
defaultLng: 'en',
|
||||||
|
defaultNs: 'translation',
|
||||||
|
resource: {
|
||||||
|
loadPath: 'i18n/{{lng}}.json',
|
||||||
|
savePath: 'i18n/{{lng}}.json',
|
||||||
|
jsonIndent: 4,
|
||||||
|
lineEnding: '\n'
|
||||||
|
},
|
||||||
|
nsSeparator: false, // namespace separator
|
||||||
|
keySeparator: false, // key separator
|
||||||
|
interpolation: {
|
||||||
|
prefix: '{{',
|
||||||
|
suffix: '}}'
|
||||||
|
},
|
||||||
|
removeUnusedKeys: true
|
||||||
|
},
|
||||||
|
transform: function customTransform(file, enc, done) {
|
||||||
|
const {ext} = path.parse(file.path);
|
||||||
|
const content = fs.readFileSync(file.path, enc);
|
||||||
|
if (ext === '.js' || ext === '.ejs') {
|
||||||
|
let p = this.parser;
|
||||||
|
p.parseFuncFromString(content, function(key) {
|
||||||
|
p.set(key, '⚠ ' + key + ' ⚠');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
done();
|
||||||
|
}
|
||||||
|
};
|
38
index.html
Normal file
38
index.html
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="node_modules/noty/lib/noty.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="node_modules/noty/lib/themes/bootstrap-v4.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="css/styles.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="js-main-content"></div>
|
||||||
|
|
||||||
|
<!-- ie support -->
|
||||||
|
<script type="text/javascript" src="node_modules/es6-promise/dist/es6-promise.auto.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/@ungap/url-search-params/index.js"></script>
|
||||||
|
<!-- /ie support -->
|
||||||
|
|
||||||
|
<script type="text/javascript" src="node_modules/jquery/dist/jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/i18next/i18next.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/i18next-browser-languagedetector/i18nextBrowserLanguageDetector.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/i18next-xhr-backend/i18nextXHRBackend.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/noty/lib/noty.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/page/page.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/ejs/ejs.js"></script>
|
||||||
|
<script type="text/javascript" src="node_modules/ejs-render-remote/ejs-render-remote.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="app/config.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="app/shell/shell.js"></script>
|
||||||
|
<script type="text/javascript" src="app/about/about.js"></script>
|
||||||
|
<script type="text/javascript" src="app/text/text.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="app/index.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
14
index.production.html
Normal file
14
index.production.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="myapp.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="js-main-content"></div>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="myapp.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
15
node_modules/.bin/acorn
generated
vendored
Normal file
15
node_modules/.bin/acorn
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../acorn/bin/acorn" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/acorn.cmd
generated
vendored
Normal file
17
node_modules/.bin/acorn.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\acorn\bin\acorn" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/acorn.ps1
generated
vendored
Normal file
18
node_modules/.bin/acorn.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../acorn/bin/acorn" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/ejs
generated
vendored
Normal file
15
node_modules/.bin/ejs
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../ejs/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../ejs/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/ejs.cmd
generated
vendored
Normal file
17
node_modules/.bin/ejs.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\ejs\bin\cli.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/ejs.ps1
generated
vendored
Normal file
18
node_modules/.bin/ejs.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../ejs/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../ejs/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/escodegen
generated
vendored
Normal file
15
node_modules/.bin/escodegen
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../escodegen/bin/escodegen.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../escodegen/bin/escodegen.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/escodegen.cmd
generated
vendored
Normal file
17
node_modules/.bin/escodegen.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\escodegen\bin\escodegen.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/escodegen.ps1
generated
vendored
Normal file
18
node_modules/.bin/escodegen.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../escodegen/bin/escodegen.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../escodegen/bin/escodegen.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/esgenerate
generated
vendored
Normal file
15
node_modules/.bin/esgenerate
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../escodegen/bin/esgenerate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../escodegen/bin/esgenerate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/esgenerate.cmd
generated
vendored
Normal file
17
node_modules/.bin/esgenerate.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\escodegen\bin\esgenerate.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/esgenerate.ps1
generated
vendored
Normal file
18
node_modules/.bin/esgenerate.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/esparse
generated
vendored
Normal file
15
node_modules/.bin/esparse
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../esprima/bin/esparse.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/esparse.cmd
generated
vendored
Normal file
17
node_modules/.bin/esparse.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\esprima\bin\esparse.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/esparse.ps1
generated
vendored
Normal file
18
node_modules/.bin/esparse.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../esprima/bin/esparse.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/esvalidate
generated
vendored
Normal file
15
node_modules/.bin/esvalidate
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/esvalidate.cmd
generated
vendored
Normal file
17
node_modules/.bin/esvalidate.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/esvalidate.ps1
generated
vendored
Normal file
18
node_modules/.bin/esvalidate.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/i18next-scanner
generated
vendored
Normal file
15
node_modules/.bin/i18next-scanner
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../i18next-scanner/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../i18next-scanner/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/i18next-scanner.cmd
generated
vendored
Normal file
17
node_modules/.bin/i18next-scanner.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\i18next-scanner\bin\cli.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/i18next-scanner.ps1
generated
vendored
Normal file
18
node_modules/.bin/i18next-scanner.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../i18next-scanner/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../i18next-scanner/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/jake
generated
vendored
Normal file
15
node_modules/.bin/jake
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../jake/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../jake/bin/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/jake.cmd
generated
vendored
Normal file
17
node_modules/.bin/jake.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\jake\bin\cli.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/jake.ps1
generated
vendored
Normal file
18
node_modules/.bin/jake.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../jake/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../jake/bin/cli.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
9
node_modules/.bin/minifyfromhtml
generated
vendored
Normal file
9
node_modules/.bin/minifyfromhtml
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
"$basedir/../minifyfromhtml/minifyfromhtml.js" "$@"
|
||||||
|
exit $?
|
9
node_modules/.bin/minifyfromhtml.cmd
generated
vendored
Normal file
9
node_modules/.bin/minifyfromhtml.cmd
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
"%dp0%\..\minifyfromhtml\minifyfromhtml.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
11
node_modules/.bin/minifyfromhtml.ps1
generated
vendored
Normal file
11
node_modules/.bin/minifyfromhtml.ps1
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
& "$basedir/../minifyfromhtml/minifyfromhtml.js" $args
|
||||||
|
exit $LASTEXITCODE
|
15
node_modules/.bin/semver
generated
vendored
Normal file
15
node_modules/.bin/semver
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../semver/bin/semver.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/semver.cmd
generated
vendored
Normal file
17
node_modules/.bin/semver.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/semver.ps1
generated
vendored
Normal file
18
node_modules/.bin/semver.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../semver/bin/semver.js" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/sshpk-conv
generated
vendored
Normal file
15
node_modules/.bin/sshpk-conv
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/sshpk-conv.cmd
generated
vendored
Normal file
17
node_modules/.bin/sshpk-conv.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\sshpk\bin\sshpk-conv" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/sshpk-conv.ps1
generated
vendored
Normal file
18
node_modules/.bin/sshpk-conv.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../sshpk/bin/sshpk-conv" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../sshpk/bin/sshpk-conv" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/sshpk-sign
generated
vendored
Normal file
15
node_modules/.bin/sshpk-sign
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/sshpk-sign.cmd
generated
vendored
Normal file
17
node_modules/.bin/sshpk-sign.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\sshpk\bin\sshpk-sign" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/sshpk-sign.ps1
generated
vendored
Normal file
18
node_modules/.bin/sshpk-sign.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../sshpk/bin/sshpk-sign" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../sshpk/bin/sshpk-sign" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/sshpk-verify
generated
vendored
Normal file
15
node_modules/.bin/sshpk-verify
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/sshpk-verify.cmd
generated
vendored
Normal file
17
node_modules/.bin/sshpk-verify.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\sshpk\bin\sshpk-verify" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/sshpk-verify.ps1
generated
vendored
Normal file
18
node_modules/.bin/sshpk-verify.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../sshpk/bin/sshpk-verify" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../sshpk/bin/sshpk-verify" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/terser
generated
vendored
Normal file
15
node_modules/.bin/terser
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../terser/bin/terser" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../terser/bin/terser" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/terser.cmd
generated
vendored
Normal file
17
node_modules/.bin/terser.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\terser\bin\terser" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/terser.ps1
generated
vendored
Normal file
18
node_modules/.bin/terser.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../terser/bin/terser" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../terser/bin/terser" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
15
node_modules/.bin/uuid
generated
vendored
Normal file
15
node_modules/.bin/uuid
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../uuid/bin/uuid" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
17
node_modules/.bin/uuid.cmd
generated
vendored
Normal file
17
node_modules/.bin/uuid.cmd
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
@ECHO off
|
||||||
|
SETLOCAL
|
||||||
|
CALL :find_dp0
|
||||||
|
|
||||||
|
IF EXIST "%dp0%\node.exe" (
|
||||||
|
SET "_prog=%dp0%\node.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET "_prog=node"
|
||||||
|
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
)
|
||||||
|
|
||||||
|
"%_prog%" "%dp0%\..\uuid\bin\uuid" %*
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /b %errorlevel%
|
||||||
|
:find_dp0
|
||||||
|
SET dp0=%~dp0
|
||||||
|
EXIT /b
|
18
node_modules/.bin/uuid.ps1
generated
vendored
Normal file
18
node_modules/.bin/uuid.ps1
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
|
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
|
||||||
|
$exe=""
|
||||||
|
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||||
|
# Fix case when both the Windows and Linux builds of Node
|
||||||
|
# are installed in the same directory
|
||||||
|
$exe=".exe"
|
||||||
|
}
|
||||||
|
$ret=0
|
||||||
|
if (Test-Path "$basedir/node$exe") {
|
||||||
|
& "$basedir/node$exe" "$basedir/../uuid/bin/uuid" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
} else {
|
||||||
|
& "node$exe" "$basedir/../uuid/bin/uuid" $args
|
||||||
|
$ret=$LASTEXITCODE
|
||||||
|
}
|
||||||
|
exit $ret
|
22
node_modules/@babel/runtime/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/runtime/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||||
|
|
||||||
|
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.
|
19
node_modules/@babel/runtime/README.md
generated
vendored
Normal file
19
node_modules/@babel/runtime/README.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# @babel/runtime
|
||||||
|
|
||||||
|
> babel's modular runtime helpers
|
||||||
|
|
||||||
|
See our website [@babel/runtime](https://babeljs.io/docs/en/next/babel-runtime.html) for more information.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
Using npm:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install --save @babel/runtime
|
||||||
|
```
|
||||||
|
|
||||||
|
or using yarn:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn add @babel/runtime
|
||||||
|
```
|
100
node_modules/@babel/runtime/helpers/AsyncGenerator.js
generated
vendored
Normal file
100
node_modules/@babel/runtime/helpers/AsyncGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
var AwaitValue = require("./AwaitValue");
|
||||||
|
|
||||||
|
function AsyncGenerator(gen) {
|
||||||
|
var front, back;
|
||||||
|
|
||||||
|
function send(key, arg) {
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var request = {
|
||||||
|
key: key,
|
||||||
|
arg: arg,
|
||||||
|
resolve: resolve,
|
||||||
|
reject: reject,
|
||||||
|
next: null
|
||||||
|
};
|
||||||
|
|
||||||
|
if (back) {
|
||||||
|
back = back.next = request;
|
||||||
|
} else {
|
||||||
|
front = back = request;
|
||||||
|
resume(key, arg);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function resume(key, arg) {
|
||||||
|
try {
|
||||||
|
var result = gen[key](arg);
|
||||||
|
var value = result.value;
|
||||||
|
var wrappedAwait = value instanceof AwaitValue;
|
||||||
|
Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
|
||||||
|
if (wrappedAwait) {
|
||||||
|
resume(key === "return" ? "return" : "next", arg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
settle(result.done ? "return" : "normal", arg);
|
||||||
|
}, function (err) {
|
||||||
|
resume("throw", err);
|
||||||
|
});
|
||||||
|
} catch (err) {
|
||||||
|
settle("throw", err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function settle(type, value) {
|
||||||
|
switch (type) {
|
||||||
|
case "return":
|
||||||
|
front.resolve({
|
||||||
|
value: value,
|
||||||
|
done: true
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "throw":
|
||||||
|
front.reject(value);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
front.resolve({
|
||||||
|
value: value,
|
||||||
|
done: false
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
front = front.next;
|
||||||
|
|
||||||
|
if (front) {
|
||||||
|
resume(front.key, front.arg);
|
||||||
|
} else {
|
||||||
|
back = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this._invoke = send;
|
||||||
|
|
||||||
|
if (typeof gen["return"] !== "function") {
|
||||||
|
this["return"] = undefined;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof Symbol === "function" && Symbol.asyncIterator) {
|
||||||
|
AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
|
||||||
|
return this;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
AsyncGenerator.prototype.next = function (arg) {
|
||||||
|
return this._invoke("next", arg);
|
||||||
|
};
|
||||||
|
|
||||||
|
AsyncGenerator.prototype["throw"] = function (arg) {
|
||||||
|
return this._invoke("throw", arg);
|
||||||
|
};
|
||||||
|
|
||||||
|
AsyncGenerator.prototype["return"] = function (arg) {
|
||||||
|
return this._invoke("return", arg);
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = AsyncGenerator;
|
5
node_modules/@babel/runtime/helpers/AwaitValue.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/AwaitValue.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function _AwaitValue(value) {
|
||||||
|
this.wrapped = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _AwaitValue;
|
30
node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
generated
vendored
Normal file
30
node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
|
||||||
|
var desc = {};
|
||||||
|
Object.keys(descriptor).forEach(function (key) {
|
||||||
|
desc[key] = descriptor[key];
|
||||||
|
});
|
||||||
|
desc.enumerable = !!desc.enumerable;
|
||||||
|
desc.configurable = !!desc.configurable;
|
||||||
|
|
||||||
|
if ('value' in desc || desc.initializer) {
|
||||||
|
desc.writable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
|
||||||
|
return decorator(target, property, desc) || desc;
|
||||||
|
}, desc);
|
||||||
|
|
||||||
|
if (context && desc.initializer !== void 0) {
|
||||||
|
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
||||||
|
desc.initializer = undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (desc.initializer === void 0) {
|
||||||
|
Object.defineProperty(target, property, desc);
|
||||||
|
desc = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return desc;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _applyDecoratedDescriptor;
|
11
node_modules/@babel/runtime/helpers/arrayLikeToArray.js
generated
vendored
Normal file
11
node_modules/@babel/runtime/helpers/arrayLikeToArray.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
function _arrayLikeToArray(arr, len) {
|
||||||
|
if (len == null || len > arr.length) len = arr.length;
|
||||||
|
|
||||||
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
||||||
|
arr2[i] = arr[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
return arr2;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _arrayLikeToArray;
|
5
node_modules/@babel/runtime/helpers/arrayWithHoles.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/arrayWithHoles.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function _arrayWithHoles(arr) {
|
||||||
|
if (Array.isArray(arr)) return arr;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _arrayWithHoles;
|
7
node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||||
|
|
||||||
|
function _arrayWithoutHoles(arr) {
|
||||||
|
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _arrayWithoutHoles;
|
9
node_modules/@babel/runtime/helpers/assertThisInitialized.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/assertThisInitialized.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function _assertThisInitialized(self) {
|
||||||
|
if (self === void 0) {
|
||||||
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||||
|
}
|
||||||
|
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _assertThisInitialized;
|
58
node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
generated
vendored
Normal file
58
node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
function _asyncGeneratorDelegate(inner, awaitWrap) {
|
||||||
|
var iter = {},
|
||||||
|
waiting = false;
|
||||||
|
|
||||||
|
function pump(key, value) {
|
||||||
|
waiting = true;
|
||||||
|
value = new Promise(function (resolve) {
|
||||||
|
resolve(inner[key](value));
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
done: false,
|
||||||
|
value: awaitWrap(value)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
if (typeof Symbol === "function" && Symbol.iterator) {
|
||||||
|
iter[Symbol.iterator] = function () {
|
||||||
|
return this;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
iter.next = function (value) {
|
||||||
|
if (waiting) {
|
||||||
|
waiting = false;
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return pump("next", value);
|
||||||
|
};
|
||||||
|
|
||||||
|
if (typeof inner["throw"] === "function") {
|
||||||
|
iter["throw"] = function (value) {
|
||||||
|
if (waiting) {
|
||||||
|
waiting = false;
|
||||||
|
throw value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return pump("throw", value);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof inner["return"] === "function") {
|
||||||
|
iter["return"] = function (value) {
|
||||||
|
if (waiting) {
|
||||||
|
waiting = false;
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return pump("return", value);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return iter;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _asyncGeneratorDelegate;
|
19
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
19
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
function _asyncIterator(iterable) {
|
||||||
|
var method;
|
||||||
|
|
||||||
|
if (typeof Symbol !== "undefined") {
|
||||||
|
if (Symbol.asyncIterator) {
|
||||||
|
method = iterable[Symbol.asyncIterator];
|
||||||
|
if (method != null) return method.call(iterable);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Symbol.iterator) {
|
||||||
|
method = iterable[Symbol.iterator];
|
||||||
|
if (method != null) return method.call(iterable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new TypeError("Object is not async iterable");
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _asyncIterator;
|
37
node_modules/@babel/runtime/helpers/asyncToGenerator.js
generated
vendored
Normal file
37
node_modules/@babel/runtime/helpers/asyncToGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||||
|
try {
|
||||||
|
var info = gen[key](arg);
|
||||||
|
var value = info.value;
|
||||||
|
} catch (error) {
|
||||||
|
reject(error);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (info.done) {
|
||||||
|
resolve(value);
|
||||||
|
} else {
|
||||||
|
Promise.resolve(value).then(_next, _throw);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function _asyncToGenerator(fn) {
|
||||||
|
return function () {
|
||||||
|
var self = this,
|
||||||
|
args = arguments;
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var gen = fn.apply(self, args);
|
||||||
|
|
||||||
|
function _next(value) {
|
||||||
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||||
|
}
|
||||||
|
|
||||||
|
function _throw(err) {
|
||||||
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||||
|
}
|
||||||
|
|
||||||
|
_next(undefined);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _asyncToGenerator;
|
7
node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
var AwaitValue = require("./AwaitValue");
|
||||||
|
|
||||||
|
function _awaitAsyncGenerator(value) {
|
||||||
|
return new AwaitValue(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _awaitAsyncGenerator;
|
7
node_modules/@babel/runtime/helpers/classCallCheck.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/classCallCheck.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
function _classCallCheck(instance, Constructor) {
|
||||||
|
if (!(instance instanceof Constructor)) {
|
||||||
|
throw new TypeError("Cannot call a class as a function");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classCallCheck;
|
5
node_modules/@babel/runtime/helpers/classNameTDZError.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/classNameTDZError.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function _classNameTDZError(name) {
|
||||||
|
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classNameTDZError;
|
28
node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
28
node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
||||||
|
if (!privateMap.has(receiver)) {
|
||||||
|
throw new TypeError("attempted to set private field on non-instance");
|
||||||
|
}
|
||||||
|
|
||||||
|
var descriptor = privateMap.get(receiver);
|
||||||
|
|
||||||
|
if (descriptor.set) {
|
||||||
|
if (!("__destrObj" in descriptor)) {
|
||||||
|
descriptor.__destrObj = {
|
||||||
|
set value(v) {
|
||||||
|
descriptor.set.call(receiver, v);
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return descriptor.__destrObj;
|
||||||
|
} else {
|
||||||
|
if (!descriptor.writable) {
|
||||||
|
throw new TypeError("attempted to set read only private field");
|
||||||
|
}
|
||||||
|
|
||||||
|
return descriptor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateFieldDestructureSet;
|
15
node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
generated
vendored
Normal file
15
node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
function _classPrivateFieldGet(receiver, privateMap) {
|
||||||
|
var descriptor = privateMap.get(receiver);
|
||||||
|
|
||||||
|
if (!descriptor) {
|
||||||
|
throw new TypeError("attempted to get private field on non-instance");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (descriptor.get) {
|
||||||
|
return descriptor.get.call(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
return descriptor.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateFieldGet;
|
9
node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function _classPrivateFieldBase(receiver, privateKey) {
|
||||||
|
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
||||||
|
throw new TypeError("attempted to use private field on non-instance");
|
||||||
|
}
|
||||||
|
|
||||||
|
return receiver;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateFieldBase;
|
7
node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
var id = 0;
|
||||||
|
|
||||||
|
function _classPrivateFieldKey(name) {
|
||||||
|
return "__private_" + id++ + "_" + name;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateFieldKey;
|
21
node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
generated
vendored
Normal file
21
node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
function _classPrivateFieldSet(receiver, privateMap, value) {
|
||||||
|
var descriptor = privateMap.get(receiver);
|
||||||
|
|
||||||
|
if (!descriptor) {
|
||||||
|
throw new TypeError("attempted to set private field on non-instance");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (descriptor.set) {
|
||||||
|
descriptor.set.call(receiver, value);
|
||||||
|
} else {
|
||||||
|
if (!descriptor.writable) {
|
||||||
|
throw new TypeError("attempted to set read only private field");
|
||||||
|
}
|
||||||
|
|
||||||
|
descriptor.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateFieldSet;
|
9
node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
||||||
|
if (!privateSet.has(receiver)) {
|
||||||
|
throw new TypeError("attempted to get private field on non-instance");
|
||||||
|
}
|
||||||
|
|
||||||
|
return fn;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateMethodGet;
|
5
node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function _classPrivateMethodSet() {
|
||||||
|
throw new TypeError("attempted to reassign private method");
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classPrivateMethodSet;
|
13
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
13
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
||||||
|
if (receiver !== classConstructor) {
|
||||||
|
throw new TypeError("Private static access of wrong provenance");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (descriptor.get) {
|
||||||
|
return descriptor.get.call(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
return descriptor.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classStaticPrivateFieldSpecGet;
|
19
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
19
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
||||||
|
if (receiver !== classConstructor) {
|
||||||
|
throw new TypeError("Private static access of wrong provenance");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (descriptor.set) {
|
||||||
|
descriptor.set.call(receiver, value);
|
||||||
|
} else {
|
||||||
|
if (!descriptor.writable) {
|
||||||
|
throw new TypeError("attempted to set read only private field");
|
||||||
|
}
|
||||||
|
|
||||||
|
descriptor.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classStaticPrivateFieldSpecSet;
|
9
node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
||||||
|
if (receiver !== classConstructor) {
|
||||||
|
throw new TypeError("Private static access of wrong provenance");
|
||||||
|
}
|
||||||
|
|
||||||
|
return method;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classStaticPrivateMethodGet;
|
5
node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function _classStaticPrivateMethodSet() {
|
||||||
|
throw new TypeError("attempted to set read only static private field");
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _classStaticPrivateMethodSet;
|
22
node_modules/@babel/runtime/helpers/construct.js
generated
vendored
Normal file
22
node_modules/@babel/runtime/helpers/construct.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
var setPrototypeOf = require("./setPrototypeOf");
|
||||||
|
|
||||||
|
var isNativeReflectConstruct = require("./isNativeReflectConstruct");
|
||||||
|
|
||||||
|
function _construct(Parent, args, Class) {
|
||||||
|
if (isNativeReflectConstruct()) {
|
||||||
|
module.exports = _construct = Reflect.construct;
|
||||||
|
} else {
|
||||||
|
module.exports = _construct = function _construct(Parent, args, Class) {
|
||||||
|
var a = [null];
|
||||||
|
a.push.apply(a, args);
|
||||||
|
var Constructor = Function.bind.apply(Parent, a);
|
||||||
|
var instance = new Constructor();
|
||||||
|
if (Class) setPrototypeOf(instance, Class.prototype);
|
||||||
|
return instance;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return _construct.apply(null, arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _construct;
|
17
node_modules/@babel/runtime/helpers/createClass.js
generated
vendored
Normal file
17
node_modules/@babel/runtime/helpers/createClass.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
function _defineProperties(target, props) {
|
||||||
|
for (var i = 0; i < props.length; i++) {
|
||||||
|
var descriptor = props[i];
|
||||||
|
descriptor.enumerable = descriptor.enumerable || false;
|
||||||
|
descriptor.configurable = true;
|
||||||
|
if ("value" in descriptor) descriptor.writable = true;
|
||||||
|
Object.defineProperty(target, descriptor.key, descriptor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function _createClass(Constructor, protoProps, staticProps) {
|
||||||
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||||
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||||
|
return Constructor;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _createClass;
|
60
node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
generated
vendored
Normal file
60
node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
generated
vendored
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
|
||||||
|
|
||||||
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
||||||
|
var it;
|
||||||
|
|
||||||
|
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
||||||
|
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
||||||
|
if (it) o = it;
|
||||||
|
var i = 0;
|
||||||
|
|
||||||
|
var F = function F() {};
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: F,
|
||||||
|
n: function n() {
|
||||||
|
if (i >= o.length) return {
|
||||||
|
done: true
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
done: false,
|
||||||
|
value: o[i++]
|
||||||
|
};
|
||||||
|
},
|
||||||
|
e: function e(_e) {
|
||||||
|
throw _e;
|
||||||
|
},
|
||||||
|
f: F
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||||
|
}
|
||||||
|
|
||||||
|
var normalCompletion = true,
|
||||||
|
didErr = false,
|
||||||
|
err;
|
||||||
|
return {
|
||||||
|
s: function s() {
|
||||||
|
it = o[Symbol.iterator]();
|
||||||
|
},
|
||||||
|
n: function n() {
|
||||||
|
var step = it.next();
|
||||||
|
normalCompletion = step.done;
|
||||||
|
return step;
|
||||||
|
},
|
||||||
|
e: function e(_e2) {
|
||||||
|
didErr = true;
|
||||||
|
err = _e2;
|
||||||
|
},
|
||||||
|
f: function f() {
|
||||||
|
try {
|
||||||
|
if (!normalCompletion && it["return"] != null) it["return"]();
|
||||||
|
} finally {
|
||||||
|
if (didErr) throw err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _createForOfIteratorHelper;
|
28
node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
generated
vendored
Normal file
28
node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
|
||||||
|
|
||||||
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
||||||
|
var it;
|
||||||
|
|
||||||
|
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
||||||
|
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
||||||
|
if (it) o = it;
|
||||||
|
var i = 0;
|
||||||
|
return function () {
|
||||||
|
if (i >= o.length) return {
|
||||||
|
done: true
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
done: false,
|
||||||
|
value: o[i++]
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||||
|
}
|
||||||
|
|
||||||
|
it = o[Symbol.iterator]();
|
||||||
|
return it.next.bind(it);
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _createForOfIteratorHelperLoose;
|
24
node_modules/@babel/runtime/helpers/createSuper.js
generated
vendored
Normal file
24
node_modules/@babel/runtime/helpers/createSuper.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
var getPrototypeOf = require("./getPrototypeOf");
|
||||||
|
|
||||||
|
var isNativeReflectConstruct = require("./isNativeReflectConstruct");
|
||||||
|
|
||||||
|
var possibleConstructorReturn = require("./possibleConstructorReturn");
|
||||||
|
|
||||||
|
function _createSuper(Derived) {
|
||||||
|
var hasNativeReflectConstruct = isNativeReflectConstruct();
|
||||||
|
return function _createSuperInternal() {
|
||||||
|
var Super = getPrototypeOf(Derived),
|
||||||
|
result;
|
||||||
|
|
||||||
|
if (hasNativeReflectConstruct) {
|
||||||
|
var NewTarget = getPrototypeOf(this).constructor;
|
||||||
|
result = Reflect.construct(Super, arguments, NewTarget);
|
||||||
|
} else {
|
||||||
|
result = Super.apply(this, arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
return possibleConstructorReturn(this, result);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = _createSuper;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user