mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 14:31:52 +01:00
composer and npm
This commit is contained in:
1
conf/site/node_modules/.bin/concat
generated
vendored
Symbolic link
1
conf/site/node_modules/.bin/concat
generated
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
../concat/bin/concat
|
||||
BIN
conf/site/node_modules/.cache/babel-loader/05236425f9f4d117c91562283d00ec26.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/05236425f9f4d117c91562283d00ec26.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/0a2a5b93f3fdbc7696e5d546809a81c8.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/0a2a5b93f3fdbc7696e5d546809a81c8.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/104b7b8597e4a028c758f9b5eceeebd4.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/104b7b8597e4a028c758f9b5eceeebd4.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/10e5da54868df49d00ccc22ce06a7b29.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/10e5da54868df49d00ccc22ce06a7b29.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/124611295ef6dba483cab42717a9ea63.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/124611295ef6dba483cab42717a9ea63.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/1b429f29396aced57033ddd892e394aa.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/1b429f29396aced57033ddd892e394aa.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/30ebca58f1e42610169b24d787f0a44d.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/30ebca58f1e42610169b24d787f0a44d.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/3f6260c6b4791e9b84256a1d458ac5d8.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/3f6260c6b4791e9b84256a1d458ac5d8.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/44748be5f9ba985fcd958a58595f265b.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/44748be5f9ba985fcd958a58595f265b.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/4fc0785e6723e48306e628e4b25b564f.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/4fc0785e6723e48306e628e4b25b564f.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/5718c1882e44047f0d4f9a119fa3737a.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/5718c1882e44047f0d4f9a119fa3737a.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/6b9f950ef00cf8b8b0db37f37b7ffca7.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/6b9f950ef00cf8b8b0db37f37b7ffca7.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/76eaa84e4918cd59a5633529fb46efe0.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/76eaa84e4918cd59a5633529fb46efe0.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/8694a4226aea66374fc8d3ec361144bb.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/8694a4226aea66374fc8d3ec361144bb.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/8add2910478ad5ee9c459b04d8a23cdf.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/8add2910478ad5ee9c459b04d8a23cdf.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/934aa7a7feee46b92be56f533a57357a.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/934aa7a7feee46b92be56f533a57357a.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/a15c13d2f3f7a5754ae3e894819e11c8.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/a15c13d2f3f7a5754ae3e894819e11c8.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/d03a7cc5bb6c8e4727bfa3c3dc7401df.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/d03a7cc5bb6c8e4727bfa3c3dc7401df.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/d0f0c74bafebf9972bf974d692347b4e.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/d0f0c74bafebf9972bf974d692347b4e.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/d428155118d3682841cfe7ca23bea7ab.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/d428155118d3682841cfe7ca23bea7ab.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/dd81e34cf1f7f8ec708b6c642b8aed3d.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/dd81e34cf1f7f8ec708b6c642b8aed3d.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/e0513cf3326e99aa3e5a1020d9583333.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/e0513cf3326e99aa3e5a1020d9583333.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/e2fda1b21731ec45a1deeaac6cb9a69d.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/e2fda1b21731ec45a1deeaac6cb9a69d.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/e3c7f9ba85a9f0d081e23931e5ce4a5d.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/e3c7f9ba85a9f0d081e23931e5ce4a5d.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/e4154e48a88398eb67c88e689046e4f4.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/e4154e48a88398eb67c88e689046e4f4.json.gz
generated
vendored
Normal file
Binary file not shown.
BIN
conf/site/node_modules/.cache/babel-loader/e94627f7618df08202b4cb00cd0324d9.json.gz
generated
vendored
Normal file
BIN
conf/site/node_modules/.cache/babel-loader/e94627f7618df08202b4cb00cd0324d9.json.gz
generated
vendored
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
2
conf/site/node_modules/.cache/terser-webpack-plugin/index-v5/b1/2b/b2849d51dad0bf2d32341d20081e1a5adf0fbb16ff3c273b90501631fdc4
generated
vendored
Normal file
2
conf/site/node_modules/.cache/terser-webpack-plugin/index-v5/b1/2b/b2849d51dad0bf2d32341d20081e1a5adf0fbb16ff3c273b90501631fdc4
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
edbcf0fd32687d1da744f8d671afba76581f5cd9 {"key":"{\"terser\":\"4.8.0\",\"terser-webpack-plugin\":\"2.3.8\",\"terser-webpack-plugin-options\":{\"test\":new RegExp(\"\\\\.m?js(\\\\?.*)?$\", \"i\"),\"chunkFilter\":() => true,\"warningsFilter\":() => true,\"extractComments\":true,\"sourceMap\":true,\"cache\":true,\"cacheKeys\":defaultCacheKeys => defaultCacheKeys,\"parallel\":true,\"include\":undefined,\"exclude\":undefined,\"minify\":undefined,\"terserOptions\":{\"compress\":{\"warnings\":false},\"output\":{\"comments\":false}}},\"nodeVersion\":\"v10.19.0\",\"filename\":\"\\u002Fjs\\u002Fapp.js\",\"contentHash\":\"854548aafcea8c682c63\"}","integrity":"sha512-aBoX6yui7lGU6PlT6Pa0S6SMsggGfMQCRndKoZHVkEgjGnpR8pkMovqcupG4deIOtHCd1vt+uXp8VSRsHGK88w==","time":1598313571881,"size":2654352}
|
||||
2
conf/site/node_modules/@babel/code-frame/lib/index.js
generated
vendored
2
conf/site/node_modules/@babel/code-frame/lib/index.js
generated
vendored
@@ -29,7 +29,7 @@ function getMarkerLines(loc, source, opts) {
|
||||
column: 0,
|
||||
line: -1
|
||||
}, loc.start);
|
||||
const endLoc = Object.assign({}, startLoc, {}, loc.end);
|
||||
const endLoc = Object.assign({}, startLoc, loc.end);
|
||||
const {
|
||||
linesAbove = 2,
|
||||
linesBelow = 3
|
||||
|
||||
30
conf/site/node_modules/@babel/code-frame/package.json
generated
vendored
30
conf/site/node_modules/@babel/code-frame/package.json
generated
vendored
@@ -1,49 +1,52 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/code-frame@7.8.3",
|
||||
"@babel/code-frame@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/code-frame@7.8.3",
|
||||
"_id": "@babel/code-frame@7.8.3",
|
||||
"_from": "@babel/code-frame@7.10.4",
|
||||
"_id": "@babel/code-frame@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
|
||||
"_integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
|
||||
"_location": "/@babel/code-frame",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/code-frame@7.8.3",
|
||||
"raw": "@babel/code-frame@7.10.4",
|
||||
"name": "@babel/code-frame",
|
||||
"escapedName": "@babel%2fcode-frame",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/core",
|
||||
"/@babel/template",
|
||||
"/@babel/traverse"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Sebastian McKenzie",
|
||||
"email": "sebmck@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/highlight": "^7.8.3"
|
||||
"@babel/highlight": "^7.10.4"
|
||||
},
|
||||
"description": "Generate errors that contain a code frame that point to source locations.",
|
||||
"devDependencies": {
|
||||
"chalk": "^2.0.0",
|
||||
"strip-ansi": "^4.0.0"
|
||||
},
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -53,7 +56,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-code-frame"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-code-frame"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
466
conf/site/node_modules/@babel/compat-data/data/corejs2-built-ins.json
generated
vendored
466
conf/site/node_modules/@babel/compat-data/data/corejs2-built-ins.json
generated
vendored
File diff suppressed because it is too large
Load Diff
17
conf/site/node_modules/@babel/compat-data/data/native-modules.json
generated
vendored
17
conf/site/node_modules/@babel/compat-data/data/native-modules.json
generated
vendored
@@ -1,15 +1,16 @@
|
||||
{
|
||||
"es6.module": {
|
||||
"chrome": "61",
|
||||
"and_chr": "61",
|
||||
"edge": "16",
|
||||
"firefox": "60",
|
||||
"chrome": "61",
|
||||
"safari": "10.1",
|
||||
"opera": "48",
|
||||
"ios_saf": "10.3",
|
||||
"android": "61",
|
||||
"op_mob": "48",
|
||||
"and_chr": "61",
|
||||
"and_ff": "60",
|
||||
"samsung": "8.2"
|
||||
"node": "13.2.0",
|
||||
"opera": "48",
|
||||
"op_mob": "48",
|
||||
"safari": "10.1",
|
||||
"ios_saf": "10.3",
|
||||
"samsung": "8.2",
|
||||
"android": "61"
|
||||
}
|
||||
}
|
||||
|
||||
36
conf/site/node_modules/@babel/compat-data/data/plugin-bugfixes.json
generated
vendored
36
conf/site/node_modules/@babel/compat-data/data/plugin-bugfixes.json
generated
vendored
@@ -1,83 +1,84 @@
|
||||
{
|
||||
"transform-async-to-generator": {
|
||||
"chrome": "55",
|
||||
"opera": "42",
|
||||
"edge": "15",
|
||||
"firefox": "52",
|
||||
"safari": "10.1",
|
||||
"node": "7.6",
|
||||
"ios": "10.3",
|
||||
"samsung": "6",
|
||||
"opera": "42",
|
||||
"electron": "1.6"
|
||||
},
|
||||
"bugfix/transform-async-arrows-in-class": {
|
||||
"chrome": "55",
|
||||
"opera": "42",
|
||||
"edge": "15",
|
||||
"firefox": "52",
|
||||
"safari": "11",
|
||||
"node": "7.6",
|
||||
"ios": "11",
|
||||
"samsung": "6",
|
||||
"opera": "42",
|
||||
"electron": "1.6"
|
||||
},
|
||||
"transform-parameters": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "15",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"bugfix/transform-edge-default-parameters": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "18",
|
||||
"firefox": "52",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"transform-function-name": {
|
||||
"chrome": "51",
|
||||
"opera": "38",
|
||||
"edge": "14",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"bugfix/transform-edge-function-name": {
|
||||
"chrome": "51",
|
||||
"opera": "38",
|
||||
"edge": "79",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-block-scoping": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "14",
|
||||
"firefox": "51",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"bugfix/transform-safari-block-shadowing": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "12",
|
||||
"firefox": "44",
|
||||
"safari": "11",
|
||||
@@ -85,11 +86,11 @@
|
||||
"ie": "11",
|
||||
"ios": "11",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"bugfix/transform-safari-for-shadowing": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "12",
|
||||
"firefox": "4",
|
||||
"safari": "11",
|
||||
@@ -97,29 +98,28 @@
|
||||
"ie": "11",
|
||||
"ios": "11",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"transform-template-literals": {
|
||||
"chrome": "41",
|
||||
"opera": "28",
|
||||
"edge": "13",
|
||||
"firefox": "34",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
"electron": "0.21"
|
||||
},
|
||||
"bugfix/transform-tagged-template-caching": {
|
||||
"chrome": "41",
|
||||
"opera": "28",
|
||||
"edge": "12",
|
||||
"firefox": "34",
|
||||
"safari": "13",
|
||||
"node": "4",
|
||||
"ios": "13",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
"electron": "0.21"
|
||||
}
|
||||
}
|
||||
|
||||
156
conf/site/node_modules/@babel/compat-data/data/plugins.json
generated
vendored
156
conf/site/node_modules/@babel/compat-data/data/plugins.json
generated
vendored
@@ -1,183 +1,211 @@
|
||||
{
|
||||
"proposal-class-properties": {
|
||||
"chrome": "74",
|
||||
"opera": "61",
|
||||
"edge": "79",
|
||||
"node": "12",
|
||||
"samsung": "11",
|
||||
"electron": "6"
|
||||
},
|
||||
"proposal-private-methods": {
|
||||
"chrome": "84",
|
||||
"edge": "84",
|
||||
"electron": "10"
|
||||
},
|
||||
"proposal-numeric-separator": {
|
||||
"chrome": "75",
|
||||
"opera": "62",
|
||||
"edge": "79",
|
||||
"firefox": "70",
|
||||
"safari": "13",
|
||||
"node": "12.5",
|
||||
"ios": "13",
|
||||
"opera": "62",
|
||||
"electron": "6.1"
|
||||
"samsung": "11",
|
||||
"electron": "6"
|
||||
},
|
||||
"proposal-logical-assignment-operators": {
|
||||
"chrome": "85",
|
||||
"firefox": "79",
|
||||
"safari": "14",
|
||||
"electron": "10"
|
||||
},
|
||||
"proposal-nullish-coalescing-operator": {
|
||||
"chrome": "80",
|
||||
"opera": "67",
|
||||
"edge": "80",
|
||||
"firefox": "72",
|
||||
"safari": "13.1",
|
||||
"opera": "67",
|
||||
"electron": "8.1"
|
||||
"node": "14",
|
||||
"ios": "13.4",
|
||||
"electron": "8"
|
||||
},
|
||||
"proposal-optional-chaining": {
|
||||
"chrome": "80",
|
||||
"opera": "67",
|
||||
"edge": "80",
|
||||
"firefox": "74",
|
||||
"safari": "13.1",
|
||||
"opera": "67",
|
||||
"electron": "8.1"
|
||||
"node": "14",
|
||||
"ios": "13.4",
|
||||
"electron": "8"
|
||||
},
|
||||
"proposal-json-strings": {
|
||||
"chrome": "66",
|
||||
"opera": "53",
|
||||
"edge": "79",
|
||||
"firefox": "62",
|
||||
"safari": "12",
|
||||
"node": "10",
|
||||
"ios": "12",
|
||||
"samsung": "9",
|
||||
"opera": "53",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"proposal-optional-catch-binding": {
|
||||
"chrome": "66",
|
||||
"opera": "53",
|
||||
"edge": "79",
|
||||
"firefox": "58",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"samsung": "9",
|
||||
"opera": "53",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"transform-parameters": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "18",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"proposal-async-generator-functions": {
|
||||
"chrome": "63",
|
||||
"opera": "50",
|
||||
"edge": "79",
|
||||
"firefox": "57",
|
||||
"safari": "12",
|
||||
"node": "10",
|
||||
"ios": "12",
|
||||
"samsung": "8",
|
||||
"opera": "50",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"proposal-object-rest-spread": {
|
||||
"chrome": "60",
|
||||
"opera": "47",
|
||||
"edge": "79",
|
||||
"firefox": "55",
|
||||
"safari": "11.1",
|
||||
"node": "8.3",
|
||||
"ios": "11.3",
|
||||
"samsung": "8",
|
||||
"opera": "47",
|
||||
"electron": "2.1"
|
||||
"electron": "2"
|
||||
},
|
||||
"transform-dotall-regex": {
|
||||
"chrome": "62",
|
||||
"opera": "49",
|
||||
"edge": "79",
|
||||
"firefox": "78",
|
||||
"safari": "11.1",
|
||||
"node": "8.10",
|
||||
"ios": "11.3",
|
||||
"samsung": "8",
|
||||
"opera": "49",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"proposal-unicode-property-regex": {
|
||||
"chrome": "64",
|
||||
"opera": "51",
|
||||
"edge": "79",
|
||||
"firefox": "78",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"samsung": "9",
|
||||
"opera": "51",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"transform-named-capturing-groups-regex": {
|
||||
"chrome": "64",
|
||||
"opera": "51",
|
||||
"edge": "79",
|
||||
"firefox": "78",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"samsung": "9",
|
||||
"opera": "51",
|
||||
"electron": "3.1"
|
||||
"electron": "3"
|
||||
},
|
||||
"transform-async-to-generator": {
|
||||
"chrome": "55",
|
||||
"opera": "42",
|
||||
"edge": "15",
|
||||
"firefox": "52",
|
||||
"safari": "11",
|
||||
"node": "7.6",
|
||||
"ios": "11",
|
||||
"samsung": "6",
|
||||
"opera": "42",
|
||||
"electron": "1.6"
|
||||
},
|
||||
"transform-exponentiation-operator": {
|
||||
"chrome": "52",
|
||||
"opera": "39",
|
||||
"edge": "14",
|
||||
"firefox": "52",
|
||||
"safari": "10.1",
|
||||
"node": "7",
|
||||
"ios": "10.3",
|
||||
"samsung": "6",
|
||||
"opera": "39",
|
||||
"electron": "1.3"
|
||||
},
|
||||
"transform-template-literals": {
|
||||
"chrome": "41",
|
||||
"opera": "28",
|
||||
"edge": "13",
|
||||
"firefox": "34",
|
||||
"safari": "13",
|
||||
"node": "4",
|
||||
"ios": "13",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
"electron": "0.21"
|
||||
},
|
||||
"transform-literals": {
|
||||
"chrome": "44",
|
||||
"opera": "31",
|
||||
"edge": "12",
|
||||
"firefox": "53",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "4",
|
||||
"opera": "31",
|
||||
"electron": "0.31"
|
||||
"electron": "0.30"
|
||||
},
|
||||
"transform-function-name": {
|
||||
"chrome": "51",
|
||||
"opera": "38",
|
||||
"edge": "79",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-arrow-functions": {
|
||||
"chrome": "47",
|
||||
"opera": "34",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "34",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-block-scoped-functions": {
|
||||
"chrome": "41",
|
||||
"opera": "28",
|
||||
"edge": "12",
|
||||
"firefox": "46",
|
||||
"safari": "10",
|
||||
@@ -185,161 +213,171 @@
|
||||
"ie": "11",
|
||||
"ios": "10",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
"electron": "0.21"
|
||||
},
|
||||
"transform-classes": {
|
||||
"chrome": "46",
|
||||
"opera": "33",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-object-super": {
|
||||
"chrome": "46",
|
||||
"opera": "33",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-shorthand-properties": {
|
||||
"chrome": "43",
|
||||
"opera": "30",
|
||||
"edge": "12",
|
||||
"firefox": "33",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "4",
|
||||
"opera": "30",
|
||||
"electron": "0.29"
|
||||
"electron": "0.27"
|
||||
},
|
||||
"transform-duplicate-keys": {
|
||||
"chrome": "42",
|
||||
"opera": "29",
|
||||
"edge": "12",
|
||||
"firefox": "34",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "3.4",
|
||||
"opera": "29",
|
||||
"electron": "0.27"
|
||||
"electron": "0.25"
|
||||
},
|
||||
"transform-computed-properties": {
|
||||
"chrome": "44",
|
||||
"opera": "31",
|
||||
"edge": "12",
|
||||
"firefox": "34",
|
||||
"safari": "7.1",
|
||||
"node": "4",
|
||||
"ios": "8",
|
||||
"samsung": "4",
|
||||
"opera": "31",
|
||||
"electron": "0.31"
|
||||
"electron": "0.30"
|
||||
},
|
||||
"transform-for-of": {
|
||||
"chrome": "51",
|
||||
"opera": "38",
|
||||
"edge": "15",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-sticky-regex": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "13",
|
||||
"firefox": "3",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"transform-unicode-escapes": {
|
||||
"chrome": "44",
|
||||
"opera": "31",
|
||||
"edge": "12",
|
||||
"firefox": "53",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "4",
|
||||
"electron": "0.30"
|
||||
},
|
||||
"transform-unicode-regex": {
|
||||
"chrome": "50",
|
||||
"opera": "37",
|
||||
"edge": "13",
|
||||
"firefox": "46",
|
||||
"safari": "12",
|
||||
"node": "6",
|
||||
"ios": "12",
|
||||
"samsung": "5",
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
"transform-spread": {
|
||||
"chrome": "46",
|
||||
"opera": "33",
|
||||
"edge": "13",
|
||||
"firefox": "36",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-destructuring": {
|
||||
"chrome": "51",
|
||||
"opera": "38",
|
||||
"edge": "15",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-block-scoping": {
|
||||
"chrome": "49",
|
||||
"opera": "36",
|
||||
"edge": "14",
|
||||
"firefox": "51",
|
||||
"safari": "11",
|
||||
"node": "6",
|
||||
"ios": "11",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
"electron": "0.37"
|
||||
},
|
||||
"transform-typeof-symbol": {
|
||||
"chrome": "38",
|
||||
"opera": "25",
|
||||
"edge": "12",
|
||||
"firefox": "36",
|
||||
"safari": "9",
|
||||
"node": "0.12",
|
||||
"ios": "9",
|
||||
"samsung": "3",
|
||||
"opera": "25",
|
||||
"electron": "0.2"
|
||||
"electron": "0.20"
|
||||
},
|
||||
"transform-new-target": {
|
||||
"chrome": "46",
|
||||
"opera": "33",
|
||||
"edge": "14",
|
||||
"firefox": "41",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-regenerator": {
|
||||
"chrome": "50",
|
||||
"opera": "37",
|
||||
"edge": "13",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
"transform-member-expression-literals": {
|
||||
@@ -354,7 +392,7 @@
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "1",
|
||||
"electron": "5"
|
||||
"electron": "0.20"
|
||||
},
|
||||
"transform-property-literals": {
|
||||
"chrome": "7",
|
||||
@@ -368,7 +406,7 @@
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "1",
|
||||
"electron": "5"
|
||||
"electron": "0.20"
|
||||
},
|
||||
"transform-reserved-words": {
|
||||
"chrome": "13",
|
||||
@@ -382,6 +420,14 @@
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "1",
|
||||
"electron": "0.2"
|
||||
"electron": "0.20"
|
||||
},
|
||||
"proposal-export-namespace-from": {
|
||||
"chrome": "72",
|
||||
"edge": "79",
|
||||
"opera": "60",
|
||||
"firefox": "80",
|
||||
"node": "13.2",
|
||||
"samsung": "11.0"
|
||||
}
|
||||
}
|
||||
|
||||
41
conf/site/node_modules/@babel/compat-data/package.json
generated
vendored
41
conf/site/node_modules/@babel/compat-data/package.json
generated
vendored
@@ -1,50 +1,53 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/compat-data@7.9.0",
|
||||
"@babel/compat-data@7.11.0",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/compat-data@7.9.0",
|
||||
"_id": "@babel/compat-data@7.9.0",
|
||||
"_from": "@babel/compat-data@7.11.0",
|
||||
"_id": "@babel/compat-data@7.11.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-zeFQrr+284Ekvd9e7KAX954LkapWiOmQtsfHirhxqfdlX6MEC32iRE+pqUGlYIBchdevaCwvzxWGSy/YBNI85g==",
|
||||
"_integrity": "sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ==",
|
||||
"_location": "/@babel/compat-data",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/compat-data@7.9.0",
|
||||
"raw": "@babel/compat-data@7.11.0",
|
||||
"name": "@babel/compat-data",
|
||||
"escapedName": "@babel%2fcompat-data",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.9.0",
|
||||
"rawSpec": "7.11.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.9.0"
|
||||
"fetchSpec": "7.11.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-compilation-targets",
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.9.0.tgz",
|
||||
"_spec": "7.9.0",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz",
|
||||
"_spec": "7.11.0",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "The Babel Team",
|
||||
"url": "https://babeljs.io/team"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"browserslist": "^4.9.1",
|
||||
"browserslist": "^4.12.0",
|
||||
"invariant": "^2.2.4",
|
||||
"semver": "^5.5.0"
|
||||
},
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"@babel/helper-compilation-targets": "^7.8.6",
|
||||
"caniuse-db": "1.0.30001035",
|
||||
"electron-to-chromium": "1.3.377",
|
||||
"lodash": "^4.17.15"
|
||||
"@babel/helper-compilation-targets": "^7.10.4",
|
||||
"electron-to-chromium": "1.3.513",
|
||||
"lodash": "^4.17.19",
|
||||
"mdn-browser-compat-data": "1.0.31"
|
||||
},
|
||||
"exports": {
|
||||
"./plugins": "./data/plugins.json",
|
||||
@@ -54,7 +57,8 @@
|
||||
"./overlapping-plugins": "./data/overlapping-plugins.json",
|
||||
"./plugin-bugfixes": "./data/plugin-bugfixes.json"
|
||||
},
|
||||
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02",
|
||||
"gitHead": "38dda069eeac2e31bce3f56290998d30bee1ed6b",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"keywords": [
|
||||
"babel",
|
||||
"compat-table",
|
||||
@@ -67,10 +71,11 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-compat-data"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-compat-data"
|
||||
},
|
||||
"scripts": {
|
||||
"build-data": "./scripts/download-compat-table.sh; node ./scripts/build-data.js; node ./scripts/build-modules-support.js; node ./scripts/build-bugfixes-targets.js"
|
||||
"build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.js && node ./scripts/build-modules-support.js && node ./scripts/build-bugfixes-targets.js"
|
||||
},
|
||||
"version": "7.9.0"
|
||||
"version": "7.11.0"
|
||||
}
|
||||
|
||||
126
conf/site/node_modules/@babel/core/lib/config/config-chain.js
generated
vendored
126
conf/site/node_modules/@babel/core/lib/config/config-chain.js
generated
vendored
@@ -31,6 +31,8 @@ var _options = require("./validation/options");
|
||||
|
||||
var _patternToRegex = _interopRequireDefault(require("./pattern-to-regex"));
|
||||
|
||||
var _printer = require("./printer");
|
||||
|
||||
var _files = require("./files");
|
||||
|
||||
var _caching = require("./caching");
|
||||
@@ -52,11 +54,11 @@ function* buildPresetChain(arg, context) {
|
||||
}
|
||||
|
||||
const buildPresetChainWalker = makeChainWalker({
|
||||
init: arg => arg,
|
||||
root: preset => loadPresetDescriptors(preset),
|
||||
env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),
|
||||
overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),
|
||||
overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName)
|
||||
overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName),
|
||||
createLogger: () => () => {}
|
||||
});
|
||||
exports.buildPresetChainWalker = buildPresetChainWalker;
|
||||
const loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors));
|
||||
@@ -65,11 +67,14 @@ const loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset =>
|
||||
const loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName))));
|
||||
|
||||
function* buildRootChain(opts, context) {
|
||||
let configReport, babelRcReport;
|
||||
const programmaticLogger = new _printer.ConfigPrinter();
|
||||
const programmaticChain = yield* loadProgrammaticChain({
|
||||
options: opts,
|
||||
dirname: context.cwd
|
||||
}, context);
|
||||
}, context, undefined, programmaticLogger);
|
||||
if (!programmaticChain) return null;
|
||||
const programmaticReport = programmaticLogger.output();
|
||||
let configFile;
|
||||
|
||||
if (typeof opts.configFile === "string") {
|
||||
@@ -84,11 +89,13 @@ function* buildRootChain(opts, context) {
|
||||
} = opts;
|
||||
let babelrcRootsDirectory = context.cwd;
|
||||
const configFileChain = emptyChain();
|
||||
const configFileLogger = new _printer.ConfigPrinter();
|
||||
|
||||
if (configFile) {
|
||||
const validatedFile = validateConfigFile(configFile);
|
||||
const result = yield* loadFileChain(validatedFile, context);
|
||||
const result = yield* loadFileChain(validatedFile, context, undefined, configFileLogger);
|
||||
if (!result) return null;
|
||||
configReport = configFileLogger.output();
|
||||
|
||||
if (babelrc === undefined) {
|
||||
babelrc = validatedFile.options.babelrc;
|
||||
@@ -117,12 +124,20 @@ function* buildRootChain(opts, context) {
|
||||
}
|
||||
|
||||
if (babelrcFile) {
|
||||
const result = yield* loadFileChain(validateBabelrcFile(babelrcFile), context);
|
||||
const validatedFile = validateBabelrcFile(babelrcFile);
|
||||
const babelrcLogger = new _printer.ConfigPrinter();
|
||||
const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger);
|
||||
if (!result) return null;
|
||||
babelRcReport = babelrcLogger.output();
|
||||
mergeChain(fileChain, result);
|
||||
}
|
||||
}
|
||||
|
||||
if (context.showConfig) {
|
||||
console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\n\n"));
|
||||
return null;
|
||||
}
|
||||
|
||||
const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
|
||||
return {
|
||||
plugins: dedupDescriptors(chain.plugins),
|
||||
@@ -182,19 +197,31 @@ const loadProgrammaticChain = makeChainWalker({
|
||||
root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors),
|
||||
env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName),
|
||||
overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index),
|
||||
overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName)
|
||||
overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName),
|
||||
createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger)
|
||||
});
|
||||
const loadFileChain = makeChainWalker({
|
||||
root: file => loadFileDescriptors(file),
|
||||
env: (file, envName) => loadFileEnvDescriptors(file)(envName),
|
||||
overrides: (file, index) => loadFileOverridesDescriptors(file)(index),
|
||||
overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName)
|
||||
overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName),
|
||||
createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger)
|
||||
});
|
||||
const loadFileDescriptors = (0, _caching.makeWeakCacheSync)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors));
|
||||
const loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName)));
|
||||
const loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index)));
|
||||
const loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName))));
|
||||
|
||||
function buildFileLogger(filepath, context, baseLogger) {
|
||||
if (!baseLogger) {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Config, {
|
||||
filepath
|
||||
});
|
||||
}
|
||||
|
||||
function buildRootDescriptors({
|
||||
dirname,
|
||||
options
|
||||
@@ -202,6 +229,18 @@ function buildRootDescriptors({
|
||||
return descriptors(dirname, options, alias);
|
||||
}
|
||||
|
||||
function buildProgrammaticLogger(_, context, baseLogger) {
|
||||
var _context$caller;
|
||||
|
||||
if (!baseLogger) {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Programmatic, {
|
||||
callerName: (_context$caller = context.caller) == null ? void 0 : _context$caller.name
|
||||
});
|
||||
}
|
||||
|
||||
function buildEnvDescriptors({
|
||||
dirname,
|
||||
options
|
||||
@@ -233,9 +272,10 @@ function makeChainWalker({
|
||||
root,
|
||||
env,
|
||||
overrides,
|
||||
overridesEnv
|
||||
overridesEnv,
|
||||
createLogger
|
||||
}) {
|
||||
return function* (input, context, files = new Set()) {
|
||||
return function* (input, context, files = new Set(), baseLogger) {
|
||||
const {
|
||||
dirname
|
||||
} = input;
|
||||
@@ -243,51 +283,75 @@ function makeChainWalker({
|
||||
const rootOpts = root(input);
|
||||
|
||||
if (configIsApplicable(rootOpts, dirname, context)) {
|
||||
flattenedConfigs.push(rootOpts);
|
||||
flattenedConfigs.push({
|
||||
config: rootOpts,
|
||||
envName: undefined,
|
||||
index: undefined
|
||||
});
|
||||
const envOpts = env(input, context.envName);
|
||||
|
||||
if (envOpts && configIsApplicable(envOpts, dirname, context)) {
|
||||
flattenedConfigs.push(envOpts);
|
||||
flattenedConfigs.push({
|
||||
config: envOpts,
|
||||
envName: context.envName,
|
||||
index: undefined
|
||||
});
|
||||
}
|
||||
|
||||
(rootOpts.options.overrides || []).forEach((_, index) => {
|
||||
const overrideOps = overrides(input, index);
|
||||
|
||||
if (configIsApplicable(overrideOps, dirname, context)) {
|
||||
flattenedConfigs.push(overrideOps);
|
||||
flattenedConfigs.push({
|
||||
config: overrideOps,
|
||||
index,
|
||||
envName: undefined
|
||||
});
|
||||
const overrideEnvOpts = overridesEnv(input, index, context.envName);
|
||||
|
||||
if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) {
|
||||
flattenedConfigs.push(overrideEnvOpts);
|
||||
flattenedConfigs.push({
|
||||
config: overrideEnvOpts,
|
||||
index,
|
||||
envName: context.envName
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (flattenedConfigs.some(({
|
||||
options: {
|
||||
ignore,
|
||||
only
|
||||
config: {
|
||||
options: {
|
||||
ignore,
|
||||
only
|
||||
}
|
||||
}
|
||||
}) => shouldIgnore(context, ignore, only, dirname))) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const chain = emptyChain();
|
||||
const logger = createLogger(input, context, baseLogger);
|
||||
|
||||
for (const op of flattenedConfigs) {
|
||||
if (!(yield* mergeExtendsChain(chain, op.options, dirname, context, files))) {
|
||||
for (const {
|
||||
config,
|
||||
index,
|
||||
envName
|
||||
} of flattenedConfigs) {
|
||||
if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) {
|
||||
return null;
|
||||
}
|
||||
|
||||
mergeChainOpts(chain, op);
|
||||
logger(config, index, envName);
|
||||
mergeChainOpts(chain, config);
|
||||
}
|
||||
|
||||
return chain;
|
||||
};
|
||||
}
|
||||
|
||||
function* mergeExtendsChain(chain, opts, dirname, context, files) {
|
||||
function* mergeExtendsChain(chain, opts, dirname, context, files, baseLogger) {
|
||||
if (opts.extends === undefined) return true;
|
||||
const file = yield* (0, _files.loadConfig)(opts.extends, dirname, context.envName, context.caller);
|
||||
|
||||
@@ -296,7 +360,7 @@ function* mergeExtendsChain(chain, opts, dirname, context, files) {
|
||||
}
|
||||
|
||||
files.add(file);
|
||||
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files);
|
||||
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
|
||||
files.delete(file);
|
||||
if (!fileChain) return false;
|
||||
mergeChain(chain, fileChain);
|
||||
@@ -402,12 +466,28 @@ function configFieldIsApplicable(context, test, dirname) {
|
||||
|
||||
function shouldIgnore(context, ignore, only, dirname) {
|
||||
if (ignore && matchesPatterns(context, ignore, dirname)) {
|
||||
debug("Ignored %o because it matched one of %O from %o", context.filename, ignore, dirname);
|
||||
var _context$filename;
|
||||
|
||||
const message = `No config is applied to "${(_context$filename = context.filename) != null ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore)}\` from "${dirname}"`;
|
||||
debug(message);
|
||||
|
||||
if (context.showConfig) {
|
||||
console.log(message);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
if (only && !matchesPatterns(context, only, dirname)) {
|
||||
debug("Ignored %o because it failed to match one of %O from %o", context.filename, only, dirname);
|
||||
var _context$filename2;
|
||||
|
||||
const message = `No config is applied to "${(_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only)}\` from "${dirname}"`;
|
||||
debug(message);
|
||||
|
||||
if (context.showConfig) {
|
||||
console.log(message);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
23
conf/site/node_modules/@babel/core/lib/config/files/configuration.js
generated
vendored
23
conf/site/node_modules/@babel/core/lib/config/files/configuration.js
generated
vendored
@@ -7,6 +7,7 @@ exports.findConfigUpwards = findConfigUpwards;
|
||||
exports.findRelativeConfig = findRelativeConfig;
|
||||
exports.findRootConfig = findRootConfig;
|
||||
exports.loadConfig = loadConfig;
|
||||
exports.resolveShowConfigPath = resolveShowConfigPath;
|
||||
exports.ROOT_CONFIG_FILENAMES = void 0;
|
||||
|
||||
function _debug() {
|
||||
@@ -102,7 +103,9 @@ function* findRelativeConfig(packageData, envName, caller) {
|
||||
|
||||
for (const loc of packageData.directories) {
|
||||
if (!config) {
|
||||
config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, packageData.pkg && packageData.pkg.dirname === loc ? packageToBabelConfig(packageData.pkg) : null);
|
||||
var _packageData$pkg;
|
||||
|
||||
config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, ((_packageData$pkg = packageData.pkg) == null ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null);
|
||||
}
|
||||
|
||||
if (!ignore) {
|
||||
@@ -276,6 +279,24 @@ const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) =>
|
||||
};
|
||||
});
|
||||
|
||||
function* resolveShowConfigPath(dirname) {
|
||||
const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;
|
||||
|
||||
if (targetPath != null) {
|
||||
const absolutePath = _path().default.resolve(dirname, targetPath);
|
||||
|
||||
const stats = yield* fs.stat(absolutePath);
|
||||
|
||||
if (!stats.isFile()) {
|
||||
throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);
|
||||
}
|
||||
|
||||
return absolutePath;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function throwConfigError() {
|
||||
throw new Error(`\
|
||||
Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
||||
|
||||
5
conf/site/node_modules/@babel/core/lib/config/files/index-browser.js
generated
vendored
5
conf/site/node_modules/@babel/core/lib/config/files/index-browser.js
generated
vendored
@@ -8,6 +8,7 @@ exports.findPackageData = findPackageData;
|
||||
exports.findRelativeConfig = findRelativeConfig;
|
||||
exports.findRootConfig = findRootConfig;
|
||||
exports.loadConfig = loadConfig;
|
||||
exports.resolveShowConfigPath = resolveShowConfigPath;
|
||||
exports.resolvePlugin = resolvePlugin;
|
||||
exports.resolvePreset = resolvePreset;
|
||||
exports.loadPlugin = loadPlugin;
|
||||
@@ -43,6 +44,10 @@ function* loadConfig(name, dirname, envName, caller) {
|
||||
throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`);
|
||||
}
|
||||
|
||||
function* resolveShowConfigPath(dirname) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const ROOT_CONFIG_FILENAMES = [];
|
||||
exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES;
|
||||
|
||||
|
||||
6
conf/site/node_modules/@babel/core/lib/config/files/index.js
generated
vendored
6
conf/site/node_modules/@babel/core/lib/config/files/index.js
generated
vendored
@@ -33,6 +33,12 @@ Object.defineProperty(exports, "loadConfig", {
|
||||
return _configuration.loadConfig;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "resolveShowConfigPath", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _configuration.resolveShowConfigPath;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "ROOT_CONFIG_FILENAMES", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
|
||||
2
conf/site/node_modules/@babel/core/lib/config/files/package.js
generated
vendored
2
conf/site/node_modules/@babel/core/lib/config/files/package.js
generated
vendored
@@ -60,6 +60,8 @@ const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) =>
|
||||
throw err;
|
||||
}
|
||||
|
||||
if (!options) throw new Error(`${filepath}: No config detected`);
|
||||
|
||||
if (typeof options !== "object") {
|
||||
throw new Error(`${filepath}: Config returned typeof ${typeof options}`);
|
||||
}
|
||||
|
||||
6
conf/site/node_modules/@babel/core/lib/config/files/plugins.js
generated
vendored
6
conf/site/node_modules/@babel/core/lib/config/files/plugins.js
generated
vendored
@@ -113,7 +113,7 @@ function resolveStandardizedName(type, name, dirname = process.cwd()) {
|
||||
});
|
||||
|
||||
resolvedOriginal = true;
|
||||
} catch (e2) {}
|
||||
} catch (_unused) {}
|
||||
|
||||
if (resolvedOriginal) {
|
||||
e.message += `\n- If you want to resolve "${name}", use "module:${name}"`;
|
||||
@@ -128,7 +128,7 @@ function resolveStandardizedName(type, name, dirname = process.cwd()) {
|
||||
});
|
||||
|
||||
resolvedBabel = true;
|
||||
} catch (e2) {}
|
||||
} catch (_unused2) {}
|
||||
|
||||
if (resolvedBabel) {
|
||||
e.message += `\n- Did you mean "@babel/${name}"?`;
|
||||
@@ -143,7 +143,7 @@ function resolveStandardizedName(type, name, dirname = process.cwd()) {
|
||||
});
|
||||
|
||||
resolvedOppositeType = true;
|
||||
} catch (e2) {}
|
||||
} catch (_unused3) {}
|
||||
|
||||
if (resolvedOppositeType) {
|
||||
e.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`;
|
||||
|
||||
3
conf/site/node_modules/@babel/core/lib/config/files/utils.js
generated
vendored
3
conf/site/node_modules/@babel/core/lib/config/files/utils.js
generated
vendored
@@ -30,11 +30,10 @@ function makeStaticFileCache(fn) {
|
||||
const cached = cache.invalidate(() => fileMtime(filepath));
|
||||
|
||||
if (cached === null) {
|
||||
cache.forever();
|
||||
return null;
|
||||
}
|
||||
|
||||
return fn(filepath, (yield* fs.readFile(filepath, "utf8")));
|
||||
return fn(filepath, yield* fs.readFile(filepath, "utf8"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
8
conf/site/node_modules/@babel/core/lib/config/full.js
generated
vendored
8
conf/site/node_modules/@babel/core/lib/config/full.js
generated
vendored
@@ -85,7 +85,7 @@ var _default = (0, _gensync().default)(function* loadFullConfig(inputOpts) {
|
||||
|
||||
if (descriptor.options !== false) {
|
||||
try {
|
||||
plugins.push((yield* loadPluginDescriptor(descriptor, context)));
|
||||
plugins.push(yield* loadPluginDescriptor(descriptor, context));
|
||||
} catch (e) {
|
||||
if (i > 0 && e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") {
|
||||
(0, _options.checkNoUnwrappedItemOptionPairs)(config.plugins[i - 1], descriptor, "plugin", i, e);
|
||||
@@ -193,7 +193,7 @@ const loadDescriptor = (0, _caching.makeWeakCache)(function* ({
|
||||
let item = value;
|
||||
|
||||
if (typeof value === "function") {
|
||||
const api = Object.assign({}, context, {}, (0, _configApi.default)(cache));
|
||||
const api = Object.assign({}, context, (0, _configApi.default)(cache));
|
||||
|
||||
try {
|
||||
item = value(api, options, dirname);
|
||||
@@ -232,7 +232,7 @@ function* loadPluginDescriptor(descriptor, context) {
|
||||
return descriptor.value;
|
||||
}
|
||||
|
||||
return yield* instantiatePlugin((yield* loadDescriptor(descriptor, context)), context);
|
||||
return yield* instantiatePlugin(yield* loadDescriptor(descriptor, context), context);
|
||||
}
|
||||
|
||||
const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({
|
||||
@@ -289,7 +289,7 @@ const validatePreset = (preset, context, descriptor) => {
|
||||
};
|
||||
|
||||
function* loadPresetDescriptor(descriptor, context) {
|
||||
const preset = instantiatePreset((yield* loadDescriptor(descriptor, context)));
|
||||
const preset = instantiatePreset(yield* loadDescriptor(descriptor, context));
|
||||
validatePreset(preset, context, descriptor);
|
||||
return yield* (0, _configChain.buildPresetChain)(preset, context);
|
||||
}
|
||||
|
||||
3
conf/site/node_modules/@babel/core/lib/config/helpers/config-api.js
generated
vendored
3
conf/site/node_modules/@babel/core/lib/config/helpers/config-api.js
generated
vendored
@@ -47,8 +47,7 @@ function makeAPI(cache) {
|
||||
env,
|
||||
async: () => false,
|
||||
caller,
|
||||
assertVersion,
|
||||
tokTypes: undefined
|
||||
assertVersion
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
4
conf/site/node_modules/@babel/core/lib/config/index.js
generated
vendored
4
conf/site/node_modules/@babel/core/lib/config/index.js
generated
vendored
@@ -28,8 +28,10 @@ var _partial = require("./partial");
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
const loadOptionsRunner = (0, _gensync().default)(function* (opts) {
|
||||
var _config$options;
|
||||
|
||||
const config = yield* (0, _full.default)(opts);
|
||||
return config ? config.options : null;
|
||||
return (_config$options = config == null ? void 0 : config.options) != null ? _config$options : null;
|
||||
});
|
||||
|
||||
const maybeErrback = runner => (opts, callback) => {
|
||||
|
||||
11
conf/site/node_modules/@babel/core/lib/config/partial.js
generated
vendored
11
conf/site/node_modules/@babel/core/lib/config/partial.js
generated
vendored
@@ -79,18 +79,22 @@ function* loadPrivatePartialConfig(inputOpts) {
|
||||
cwd = ".",
|
||||
root: rootDir = ".",
|
||||
rootMode = "root",
|
||||
caller
|
||||
caller,
|
||||
cloneInputAst = true
|
||||
} = args;
|
||||
|
||||
const absoluteCwd = _path().default.resolve(cwd);
|
||||
|
||||
const absoluteRootDir = yield* resolveRootMode(_path().default.resolve(absoluteCwd, rootDir), rootMode);
|
||||
const filename = typeof args.filename === "string" ? _path().default.resolve(cwd, args.filename) : undefined;
|
||||
const showConfigPath = yield* (0, _files.resolveShowConfigPath)(absoluteCwd);
|
||||
const context = {
|
||||
filename: typeof args.filename === "string" ? _path().default.resolve(cwd, args.filename) : undefined,
|
||||
filename,
|
||||
cwd: absoluteCwd,
|
||||
root: absoluteRootDir,
|
||||
envName,
|
||||
caller
|
||||
caller,
|
||||
showConfig: showConfigPath === filename
|
||||
};
|
||||
const configChain = yield* (0, _configChain.buildRootChain)(args, context);
|
||||
if (!configChain) return null;
|
||||
@@ -98,6 +102,7 @@ function* loadPrivatePartialConfig(inputOpts) {
|
||||
configChain.options.forEach(opts => {
|
||||
(0, _util.mergeOptions)(options, opts);
|
||||
});
|
||||
options.cloneInputAst = cloneInputAst;
|
||||
options.babelrc = false;
|
||||
options.configFile = false;
|
||||
options.passPerPreset = false;
|
||||
|
||||
127
conf/site/node_modules/@babel/core/lib/config/printer.js
generated
vendored
Normal file
127
conf/site/node_modules/@babel/core/lib/config/printer.js
generated
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.ConfigPrinter = exports.ChainFormatter = void 0;
|
||||
const ChainFormatter = {
|
||||
Programmatic: 0,
|
||||
Config: 1
|
||||
};
|
||||
exports.ChainFormatter = ChainFormatter;
|
||||
const Formatter = {
|
||||
title(type, callerName, filepath) {
|
||||
let title = "";
|
||||
|
||||
if (type === ChainFormatter.Programmatic) {
|
||||
title = "programmatic options";
|
||||
|
||||
if (callerName) {
|
||||
title += " from " + callerName;
|
||||
}
|
||||
} else {
|
||||
title = "config " + filepath;
|
||||
}
|
||||
|
||||
return title;
|
||||
},
|
||||
|
||||
loc(index, envName) {
|
||||
let loc = "";
|
||||
|
||||
if (index != null) {
|
||||
loc += `.overrides[${index}]`;
|
||||
}
|
||||
|
||||
if (envName != null) {
|
||||
loc += `.env["${envName}"]`;
|
||||
}
|
||||
|
||||
return loc;
|
||||
},
|
||||
|
||||
optionsAndDescriptors(opt) {
|
||||
const content = Object.assign({}, opt.options);
|
||||
delete content.overrides;
|
||||
delete content.env;
|
||||
const pluginDescriptors = [...opt.plugins()];
|
||||
|
||||
if (pluginDescriptors.length) {
|
||||
content.plugins = pluginDescriptors.map(d => descriptorToConfig(d));
|
||||
}
|
||||
|
||||
const presetDescriptors = [...opt.presets()];
|
||||
|
||||
if (presetDescriptors.length) {
|
||||
content.presets = [...presetDescriptors].map(d => descriptorToConfig(d));
|
||||
}
|
||||
|
||||
return JSON.stringify(content, undefined, 2);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
function descriptorToConfig(d) {
|
||||
var _d$file;
|
||||
|
||||
let name = (_d$file = d.file) == null ? void 0 : _d$file.request;
|
||||
|
||||
if (name == null) {
|
||||
if (typeof d.value === "object") {
|
||||
name = d.value;
|
||||
} else if (typeof d.value === "function") {
|
||||
name = `[Function: ${d.value.toString().substr(0, 50)} ... ]`;
|
||||
}
|
||||
}
|
||||
|
||||
if (name == null) {
|
||||
name = "[Unknown]";
|
||||
}
|
||||
|
||||
if (d.options === undefined) {
|
||||
return name;
|
||||
} else if (d.name == null) {
|
||||
return [name, d.options];
|
||||
} else {
|
||||
return [name, d.options, d.name];
|
||||
}
|
||||
}
|
||||
|
||||
class ConfigPrinter {
|
||||
constructor() {
|
||||
this._stack = [];
|
||||
}
|
||||
|
||||
configure(enabled, type, {
|
||||
callerName,
|
||||
filepath
|
||||
}) {
|
||||
if (!enabled) return () => {};
|
||||
return (content, index, envName) => {
|
||||
this._stack.push({
|
||||
type,
|
||||
callerName,
|
||||
filepath,
|
||||
content,
|
||||
index,
|
||||
envName
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
static format(config) {
|
||||
let title = Formatter.title(config.type, config.callerName, config.filepath);
|
||||
const loc = Formatter.loc(config.index, config.envName);
|
||||
if (loc) title += ` ${loc}`;
|
||||
const content = Formatter.optionsAndDescriptors(config.content);
|
||||
return `${title}\n${content}`;
|
||||
}
|
||||
|
||||
output() {
|
||||
if (this._stack.length === 0) return "";
|
||||
return this._stack.map(s => ConfigPrinter.format(s)).join("\n\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
exports.ConfigPrinter = ConfigPrinter;
|
||||
1
conf/site/node_modules/@babel/core/lib/config/validation/options.js
generated
vendored
1
conf/site/node_modules/@babel/core/lib/config/validation/options.js
generated
vendored
@@ -24,6 +24,7 @@ const ROOT_VALIDATORS = {
|
||||
filenameRelative: _optionAssertions.assertString,
|
||||
code: _optionAssertions.assertBoolean,
|
||||
ast: _optionAssertions.assertBoolean,
|
||||
cloneInputAst: _optionAssertions.assertBoolean,
|
||||
envName: _optionAssertions.assertString
|
||||
};
|
||||
const BABELRC_VALIDATORS = {
|
||||
|
||||
21
conf/site/node_modules/@babel/core/lib/config/validation/plugins.js
generated
vendored
21
conf/site/node_modules/@babel/core/lib/config/validation/plugins.js
generated
vendored
@@ -18,14 +18,14 @@ const VALIDATORS = {
|
||||
generatorOverride: _optionAssertions.assertFunction
|
||||
};
|
||||
|
||||
function assertVisitorMap(key, value) {
|
||||
const obj = (0, _optionAssertions.assertObject)(key, value);
|
||||
function assertVisitorMap(loc, value) {
|
||||
const obj = (0, _optionAssertions.assertObject)(loc, value);
|
||||
|
||||
if (obj) {
|
||||
Object.keys(obj).forEach(prop => assertVisitorHandler(prop, obj[prop]));
|
||||
|
||||
if (obj.enter || obj.exit) {
|
||||
throw new Error(`.${key} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);
|
||||
throw new Error(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,12 +53,15 @@ function validatePluginObject(obj) {
|
||||
};
|
||||
Object.keys(obj).forEach(key => {
|
||||
const validator = VALIDATORS[key];
|
||||
const optLoc = {
|
||||
type: "option",
|
||||
name: key,
|
||||
parent: rootPath
|
||||
};
|
||||
if (validator) validator(optLoc, obj[key]);else {
|
||||
|
||||
if (validator) {
|
||||
const optLoc = {
|
||||
type: "option",
|
||||
name: key,
|
||||
parent: rootPath
|
||||
};
|
||||
validator(optLoc, obj[key]);
|
||||
} else {
|
||||
const invalidPluginPropertyError = new Error(`.${key} is not a valid Plugin property`);
|
||||
invalidPluginPropertyError.code = "BABEL_UNKNOWN_PLUGIN_PROPERTY";
|
||||
throw invalidPluginPropertyError;
|
||||
|
||||
9
conf/site/node_modules/@babel/core/lib/gensync-utils/fs.js
generated
vendored
9
conf/site/node_modules/@babel/core/lib/gensync-utils/fs.js
generated
vendored
@@ -3,7 +3,7 @@
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.exists = exports.readFile = void 0;
|
||||
exports.stat = exports.exists = exports.readFile = void 0;
|
||||
|
||||
function _fs() {
|
||||
const data = _interopRequireDefault(require("fs"));
|
||||
@@ -45,4 +45,9 @@ const exists = (0, _gensync().default)({
|
||||
|
||||
errback: (path, cb) => _fs().default.access(path, undefined, err => cb(null, !err))
|
||||
});
|
||||
exports.exists = exists;
|
||||
exports.exists = exists;
|
||||
const stat = (0, _gensync().default)({
|
||||
sync: _fs().default.statSync,
|
||||
errback: _fs().default.stat
|
||||
});
|
||||
exports.stat = stat;
|
||||
76
conf/site/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js
generated
vendored
76
conf/site/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js
generated
vendored
@@ -15,6 +15,32 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4SL"
|
||||
}
|
||||
},
|
||||
classPrivateProperties: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-class-properties",
|
||||
url: "https://git.io/vb4yQ"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-class-properties",
|
||||
url: "https://git.io/vb4SL"
|
||||
}
|
||||
},
|
||||
classPrivateMethods: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-class-properties",
|
||||
url: "https://git.io/vb4yQ"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-private-methods",
|
||||
url: "https://git.io/JvpRG"
|
||||
}
|
||||
},
|
||||
decimal: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-decimal",
|
||||
url: "https://git.io/JfKOH"
|
||||
}
|
||||
},
|
||||
decorators: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-decorators",
|
||||
@@ -67,8 +93,8 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4yb"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-transform-flow-strip-types",
|
||||
url: "https://git.io/vb49g"
|
||||
name: "@babel/preset-flow",
|
||||
url: "https://git.io/JfeDn"
|
||||
}
|
||||
},
|
||||
functionBind: {
|
||||
@@ -103,18 +129,14 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4yA"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-transform-react-jsx",
|
||||
url: "https://git.io/vb4yd"
|
||||
name: "@babel/preset-react",
|
||||
url: "https://git.io/JfeDR"
|
||||
}
|
||||
},
|
||||
logicalAssignment: {
|
||||
moduleAttributes: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-logical-assignment-operators",
|
||||
url: "https://git.io/vAlBp"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-logical-assignment-operators",
|
||||
url: "https://git.io/vAlRe"
|
||||
name: "@babel/plugin-syntax-module-attributes",
|
||||
url: "https://git.io/JfK3k"
|
||||
}
|
||||
},
|
||||
numericSeparator: {
|
||||
@@ -147,6 +169,16 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4SU"
|
||||
}
|
||||
},
|
||||
privateIn: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-private-property-in-object",
|
||||
url: "https://git.io/JfK3q"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-private-property-in-object",
|
||||
url: "https://git.io/JfK3O"
|
||||
}
|
||||
},
|
||||
recordAndTuple: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-record-and-tuple",
|
||||
@@ -169,8 +201,8 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4SC"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-transform-typescript",
|
||||
url: "https://git.io/vb4Sm"
|
||||
name: "@babel/preset-typescript",
|
||||
url: "https://git.io/JfeDz"
|
||||
}
|
||||
},
|
||||
asyncGenerators: {
|
||||
@@ -183,6 +215,16 @@ const pluginNameMap = {
|
||||
url: "https://git.io/vb4yp"
|
||||
}
|
||||
},
|
||||
logicalAssignment: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-logical-assignment-operators",
|
||||
url: "https://git.io/vAlBp"
|
||||
},
|
||||
transform: {
|
||||
name: "@babel/plugin-proposal-logical-assignment-operators",
|
||||
url: "https://git.io/vAlRe"
|
||||
}
|
||||
},
|
||||
nullishCoalescingOperator: {
|
||||
syntax: {
|
||||
name: "@babel/plugin-syntax-nullish-coalescing-operator",
|
||||
@@ -214,6 +256,7 @@ const pluginNameMap = {
|
||||
}
|
||||
}
|
||||
};
|
||||
pluginNameMap.privateIn.syntax = pluginNameMap.privateIn.transform;
|
||||
|
||||
const getNameURLCombination = ({
|
||||
name,
|
||||
@@ -231,11 +274,14 @@ function generateMissingPluginMessage(missingPluginName, loc, codeFrame) {
|
||||
} = pluginInfo;
|
||||
|
||||
if (syntaxPlugin) {
|
||||
const syntaxPluginInfo = getNameURLCombination(syntaxPlugin);
|
||||
|
||||
if (transformPlugin) {
|
||||
const transformPluginInfo = getNameURLCombination(transformPlugin);
|
||||
helpMessage += `\n\nAdd ${transformPluginInfo} to the 'plugins' section of your Babel config ` + `to enable transformation.`;
|
||||
const sectionType = transformPlugin.name.startsWith("@babel/plugin") ? "plugins" : "presets";
|
||||
helpMessage += `\n\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation.
|
||||
If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`;
|
||||
} else {
|
||||
const syntaxPluginInfo = getNameURLCombination(syntaxPlugin);
|
||||
helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`;
|
||||
}
|
||||
}
|
||||
|
||||
24
conf/site/node_modules/@babel/core/lib/tools/build-external-helpers.js
generated
vendored
24
conf/site/node_modules/@babel/core/lib/tools/build-external-helpers.js
generated
vendored
@@ -67,30 +67,30 @@ const buildUmdWrapper = replacements => (0, _template().default)`
|
||||
});
|
||||
`(replacements);
|
||||
|
||||
function buildGlobal(whitelist) {
|
||||
function buildGlobal(allowlist) {
|
||||
const namespace = t().identifier("babelHelpers");
|
||||
const body = [];
|
||||
const container = t().functionExpression(null, [t().identifier("global")], t().blockStatement(body));
|
||||
const tree = t().program([t().expressionStatement(t().callExpression(container, [t().conditionalExpression(t().binaryExpression("===", t().unaryExpression("typeof", t().identifier("global")), t().stringLiteral("undefined")), t().identifier("self"), t().identifier("global"))]))]);
|
||||
body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().assignmentExpression("=", t().memberExpression(t().identifier("global"), namespace), t().objectExpression([])))]));
|
||||
buildHelpers(body, namespace, whitelist);
|
||||
buildHelpers(body, namespace, allowlist);
|
||||
return tree;
|
||||
}
|
||||
|
||||
function buildModule(whitelist) {
|
||||
function buildModule(allowlist) {
|
||||
const body = [];
|
||||
const refs = buildHelpers(body, null, whitelist);
|
||||
const refs = buildHelpers(body, null, allowlist);
|
||||
body.unshift(t().exportNamedDeclaration(null, Object.keys(refs).map(name => {
|
||||
return t().exportSpecifier(t().cloneNode(refs[name]), t().identifier(name));
|
||||
})));
|
||||
return t().program(body, [], "module");
|
||||
}
|
||||
|
||||
function buildUmd(whitelist) {
|
||||
function buildUmd(allowlist) {
|
||||
const namespace = t().identifier("babelHelpers");
|
||||
const body = [];
|
||||
body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().identifier("global"))]));
|
||||
buildHelpers(body, namespace, whitelist);
|
||||
buildHelpers(body, namespace, allowlist);
|
||||
return t().program([buildUmdWrapper({
|
||||
FACTORY_PARAMETERS: t().identifier("global"),
|
||||
BROWSER_ARGUMENTS: t().assignmentExpression("=", t().memberExpression(t().identifier("root"), namespace), t().objectExpression([])),
|
||||
@@ -101,24 +101,24 @@ function buildUmd(whitelist) {
|
||||
})]);
|
||||
}
|
||||
|
||||
function buildVar(whitelist) {
|
||||
function buildVar(allowlist) {
|
||||
const namespace = t().identifier("babelHelpers");
|
||||
const body = [];
|
||||
body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().objectExpression([]))]));
|
||||
const tree = t().program(body);
|
||||
buildHelpers(body, namespace, whitelist);
|
||||
buildHelpers(body, namespace, allowlist);
|
||||
body.push(t().expressionStatement(namespace));
|
||||
return tree;
|
||||
}
|
||||
|
||||
function buildHelpers(body, namespace, whitelist) {
|
||||
function buildHelpers(body, namespace, allowlist) {
|
||||
const getHelperReference = name => {
|
||||
return namespace ? t().memberExpression(namespace, t().identifier(name)) : t().identifier(`_${name}`);
|
||||
};
|
||||
|
||||
const refs = {};
|
||||
helpers().list.forEach(function (name) {
|
||||
if (whitelist && whitelist.indexOf(name) < 0) return;
|
||||
if (allowlist && allowlist.indexOf(name) < 0) return;
|
||||
const ref = refs[name] = getHelperReference(name);
|
||||
helpers().ensure(name, _file.default);
|
||||
const {
|
||||
@@ -129,7 +129,7 @@ function buildHelpers(body, namespace, whitelist) {
|
||||
return refs;
|
||||
}
|
||||
|
||||
function _default(whitelist, outputType = "global") {
|
||||
function _default(allowlist, outputType = "global") {
|
||||
let tree;
|
||||
const build = {
|
||||
global: buildGlobal,
|
||||
@@ -139,7 +139,7 @@ function _default(whitelist, outputType = "global") {
|
||||
}[outputType];
|
||||
|
||||
if (build) {
|
||||
tree = build(whitelist);
|
||||
tree = build(allowlist);
|
||||
} else {
|
||||
throw new Error(`Unsupported output type ${outputType}`);
|
||||
}
|
||||
|
||||
15
conf/site/node_modules/@babel/core/lib/transform-file.js
generated
vendored
15
conf/site/node_modules/@babel/core/lib/transform-file.js
generated
vendored
@@ -29,18 +29,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
||||
|
||||
({});
|
||||
const transformFileRunner = (0, _gensync().default)(function* (filename, opts) {
|
||||
let options;
|
||||
|
||||
if (opts == null) {
|
||||
options = {
|
||||
filename
|
||||
};
|
||||
} else if (opts && typeof opts === "object") {
|
||||
options = Object.assign({}, opts, {
|
||||
filename
|
||||
});
|
||||
}
|
||||
|
||||
const options = Object.assign({}, opts, {
|
||||
filename
|
||||
});
|
||||
const config = yield* (0, _config.default)(options);
|
||||
if (config === null) return null;
|
||||
const code = yield* fs.readFile(filename, "utf8");
|
||||
|
||||
4
conf/site/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js
generated
vendored
4
conf/site/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js
generated
vendored
@@ -48,7 +48,7 @@ const blockHoistPlugin = {
|
||||
for (let i = 0; i < node.body.length; i++) {
|
||||
const bodyNode = node.body[i];
|
||||
|
||||
if (bodyNode && bodyNode._blockHoist != null) {
|
||||
if ((bodyNode == null ? void 0 : bodyNode._blockHoist) != null) {
|
||||
hasChange = true;
|
||||
break;
|
||||
}
|
||||
@@ -56,7 +56,7 @@ const blockHoistPlugin = {
|
||||
|
||||
if (!hasChange) return;
|
||||
node.body = (0, _sortBy().default)(node.body, function (bodyNode) {
|
||||
let priority = bodyNode && bodyNode._blockHoist;
|
||||
let priority = bodyNode == null ? void 0 : bodyNode._blockHoist;
|
||||
if (priority == null) priority = 1;
|
||||
if (priority === true) priority = 2;
|
||||
return -1 * priority;
|
||||
|
||||
8
conf/site/node_modules/@babel/core/lib/transformation/normalize-file.js
generated
vendored
8
conf/site/node_modules/@babel/core/lib/transformation/normalize-file.js
generated
vendored
@@ -88,7 +88,13 @@ function* normalizeFile(pluginPasses, options, code, ast) {
|
||||
throw new Error("AST root must be a Program or File node");
|
||||
}
|
||||
|
||||
ast = (0, _cloneDeep().default)(ast);
|
||||
const {
|
||||
cloneInputAst
|
||||
} = options;
|
||||
|
||||
if (cloneInputAst) {
|
||||
ast = (0, _cloneDeep().default)(ast);
|
||||
}
|
||||
} else {
|
||||
ast = yield* (0, _parser.default)(pluginPasses, options, code);
|
||||
}
|
||||
|
||||
48
conf/site/node_modules/@babel/core/package.json
generated
vendored
48
conf/site/node_modules/@babel/core/package.json
generated
vendored
@@ -1,34 +1,34 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/core@7.9.0",
|
||||
"@babel/core@7.11.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/core@7.9.0",
|
||||
"_id": "@babel/core@7.9.0",
|
||||
"_from": "@babel/core@7.11.4",
|
||||
"_id": "@babel/core@7.11.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w==",
|
||||
"_integrity": "sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg==",
|
||||
"_location": "/@babel/core",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/core@7.9.0",
|
||||
"raw": "@babel/core@7.11.4",
|
||||
"name": "@babel/core",
|
||||
"escapedName": "@babel%2fcore",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.9.0",
|
||||
"rawSpec": "7.11.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.9.0"
|
||||
"fetchSpec": "7.11.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-merge",
|
||||
"/laravel-mix"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.0.tgz",
|
||||
"_spec": "7.9.0",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.4.tgz",
|
||||
"_spec": "7.11.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Sebastian McKenzie",
|
||||
@@ -40,27 +40,30 @@
|
||||
"./src/config/files/index.js": "./src/config/files/index-browser.js",
|
||||
"./src/transform-file.js": "./src/transform-file-browser.js"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "^7.8.3",
|
||||
"@babel/generator": "^7.9.0",
|
||||
"@babel/helper-module-transforms": "^7.9.0",
|
||||
"@babel/helpers": "^7.9.0",
|
||||
"@babel/parser": "^7.9.0",
|
||||
"@babel/template": "^7.8.6",
|
||||
"@babel/traverse": "^7.9.0",
|
||||
"@babel/types": "^7.9.0",
|
||||
"@babel/code-frame": "^7.10.4",
|
||||
"@babel/generator": "^7.11.4",
|
||||
"@babel/helper-module-transforms": "^7.11.0",
|
||||
"@babel/helpers": "^7.10.4",
|
||||
"@babel/parser": "^7.11.4",
|
||||
"@babel/template": "^7.10.4",
|
||||
"@babel/traverse": "^7.11.0",
|
||||
"@babel/types": "^7.11.0",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.1",
|
||||
"json5": "^2.1.2",
|
||||
"lodash": "^4.17.13",
|
||||
"lodash": "^4.17.19",
|
||||
"resolve": "^1.3.2",
|
||||
"semver": "^5.4.1",
|
||||
"source-map": "^0.5.0"
|
||||
},
|
||||
"description": "Babel compiler core.",
|
||||
"devDependencies": {
|
||||
"@babel/helper-transform-fixture-test-runner": "^7.8.3"
|
||||
"@babel/helper-transform-fixture-test-runner": "^7.11.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
@@ -69,7 +72,7 @@
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/babel"
|
||||
},
|
||||
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02",
|
||||
"gitHead": "90b198956995195ea00e7ac9912c2260e44d8746",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"keywords": [
|
||||
"6to5",
|
||||
@@ -94,7 +97,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-core"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-core"
|
||||
},
|
||||
"version": "7.9.0"
|
||||
"version": "7.11.4"
|
||||
}
|
||||
|
||||
10
conf/site/node_modules/@babel/generator/lib/buffer.js
generated
vendored
10
conf/site/node_modules/@babel/generator/lib/buffer.js
generated
vendored
@@ -33,7 +33,7 @@ class Buffer {
|
||||
const result = {
|
||||
code: this._buf.join("").trimRight(),
|
||||
map: null,
|
||||
rawMappings: map && map.getRawMappings()
|
||||
rawMappings: map == null ? void 0 : map.getRawMappings()
|
||||
};
|
||||
|
||||
if (map) {
|
||||
@@ -208,10 +208,10 @@ class Buffer {
|
||||
const origLine = targetObj.line;
|
||||
const origColumn = targetObj.column;
|
||||
const origFilename = targetObj.filename;
|
||||
targetObj.identifierName = prop === "start" && loc && loc.identifierName || null;
|
||||
targetObj.line = pos ? pos.line : null;
|
||||
targetObj.column = pos ? pos.column : null;
|
||||
targetObj.filename = loc && loc.filename || null;
|
||||
targetObj.identifierName = prop === "start" && (loc == null ? void 0 : loc.identifierName) || null;
|
||||
targetObj.line = pos == null ? void 0 : pos.line;
|
||||
targetObj.column = pos == null ? void 0 : pos.column;
|
||||
targetObj.filename = loc == null ? void 0 : loc.filename;
|
||||
|
||||
if (force || targetObj.line !== origLine || targetObj.column !== origColumn || targetObj.filename !== origFilename) {
|
||||
targetObj.force = force;
|
||||
|
||||
4
conf/site/node_modules/@babel/generator/lib/generators/base.js
generated
vendored
4
conf/site/node_modules/@babel/generator/lib/generators/base.js
generated
vendored
@@ -28,9 +28,11 @@ function Program(node) {
|
||||
}
|
||||
|
||||
function BlockStatement(node) {
|
||||
var _node$directives;
|
||||
|
||||
this.token("{");
|
||||
this.printInnerComments(node);
|
||||
const hasDirectives = node.directives && node.directives.length;
|
||||
const hasDirectives = (_node$directives = node.directives) == null ? void 0 : _node$directives.length;
|
||||
|
||||
if (node.body.length || hasDirectives) {
|
||||
this.newline();
|
||||
|
||||
5
conf/site/node_modules/@babel/generator/lib/generators/flow.js
generated
vendored
5
conf/site/node_modules/@babel/generator/lib/generators/flow.js
generated
vendored
@@ -688,6 +688,11 @@ function ObjectTypeProperty(node) {
|
||||
this.space();
|
||||
}
|
||||
|
||||
if (node.kind === "get" || node.kind === "set") {
|
||||
this.word(node.kind);
|
||||
this.space();
|
||||
}
|
||||
|
||||
this._variance(node);
|
||||
|
||||
this.print(node.key, node);
|
||||
|
||||
4
conf/site/node_modules/@babel/generator/lib/generators/methods.js
generated
vendored
4
conf/site/node_modules/@babel/generator/lib/generators/methods.js
generated
vendored
@@ -56,6 +56,8 @@ function _methodHead(node) {
|
||||
}
|
||||
|
||||
if (node.async) {
|
||||
this._catchUp("start", key.loc);
|
||||
|
||||
this.word("async");
|
||||
this.space();
|
||||
}
|
||||
@@ -127,7 +129,7 @@ function ArrowFunctionExpression(node) {
|
||||
const firstParam = node.params[0];
|
||||
|
||||
if (node.params.length === 1 && t.isIdentifier(firstParam) && !hasTypes(node, firstParam)) {
|
||||
if (this.format.retainLines && node.loc && node.body.loc && node.loc.start.line < node.body.loc.start.line) {
|
||||
if ((this.format.retainLines || node.async) && node.loc && node.body.loc && node.loc.start.line < node.body.loc.start.line) {
|
||||
this.token("(");
|
||||
|
||||
if (firstParam.loc && firstParam.loc.start.line > node.loc.start.line) {
|
||||
|
||||
20
conf/site/node_modules/@babel/generator/lib/generators/modules.js
generated
vendored
20
conf/site/node_modules/@babel/generator/lib/generators/modules.js
generated
vendored
@@ -12,6 +12,7 @@ exports.ExportAllDeclaration = ExportAllDeclaration;
|
||||
exports.ExportNamedDeclaration = ExportNamedDeclaration;
|
||||
exports.ExportDefaultDeclaration = ExportDefaultDeclaration;
|
||||
exports.ImportDeclaration = ImportDeclaration;
|
||||
exports.ImportAttribute = ImportAttribute;
|
||||
exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
|
||||
|
||||
var t = _interopRequireWildcard(require("@babel/types"));
|
||||
@@ -156,6 +157,8 @@ function ExportDeclaration(node) {
|
||||
}
|
||||
|
||||
function ImportDeclaration(node) {
|
||||
var _node$attributes;
|
||||
|
||||
this.word("import");
|
||||
this.space();
|
||||
|
||||
@@ -166,7 +169,7 @@ function ImportDeclaration(node) {
|
||||
|
||||
const specifiers = node.specifiers.slice(0);
|
||||
|
||||
if (specifiers && specifiers.length) {
|
||||
if (specifiers == null ? void 0 : specifiers.length) {
|
||||
for (;;) {
|
||||
const first = specifiers[0];
|
||||
|
||||
@@ -196,9 +199,24 @@ function ImportDeclaration(node) {
|
||||
}
|
||||
|
||||
this.print(node.source, node);
|
||||
|
||||
if ((_node$attributes = node.attributes) == null ? void 0 : _node$attributes.length) {
|
||||
this.space();
|
||||
this.word("with");
|
||||
this.space();
|
||||
this.printList(node.attributes, node);
|
||||
}
|
||||
|
||||
this.semicolon();
|
||||
}
|
||||
|
||||
function ImportAttribute(node) {
|
||||
this.print(node.key);
|
||||
this.token(":");
|
||||
this.space();
|
||||
this.print(node.value);
|
||||
}
|
||||
|
||||
function ImportNamespaceSpecifier(node) {
|
||||
this.token("*");
|
||||
this.space();
|
||||
|
||||
1
conf/site/node_modules/@babel/generator/lib/generators/statements.js
generated
vendored
1
conf/site/node_modules/@babel/generator/lib/generators/statements.js
generated
vendored
@@ -202,6 +202,7 @@ function CatchClause(node) {
|
||||
if (node.param) {
|
||||
this.token("(");
|
||||
this.print(node.param, node);
|
||||
this.print(node.param.typeAnnotation, node);
|
||||
this.token(")");
|
||||
this.space();
|
||||
}
|
||||
|
||||
14
conf/site/node_modules/@babel/generator/lib/generators/types.js
generated
vendored
14
conf/site/node_modules/@babel/generator/lib/generators/types.js
generated
vendored
@@ -18,6 +18,7 @@ exports.NullLiteral = NullLiteral;
|
||||
exports.NumericLiteral = NumericLiteral;
|
||||
exports.StringLiteral = StringLiteral;
|
||||
exports.BigIntLiteral = BigIntLiteral;
|
||||
exports.DecimalLiteral = DecimalLiteral;
|
||||
exports.PipelineTopicExpression = PipelineTopicExpression;
|
||||
exports.PipelineBareFunction = PipelineBareFunction;
|
||||
exports.PipelinePrimaryTopicReference = PipelinePrimaryTopicReference;
|
||||
@@ -235,7 +236,18 @@ function BigIntLiteral(node) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.token(node.value);
|
||||
this.token(node.value + "n");
|
||||
}
|
||||
|
||||
function DecimalLiteral(node) {
|
||||
const raw = this.getPossibleRaw(node);
|
||||
|
||||
if (!this.format.minified && raw != null) {
|
||||
this.token(raw);
|
||||
return;
|
||||
}
|
||||
|
||||
this.token(node.value + "m");
|
||||
}
|
||||
|
||||
function PipelineTopicExpression(node) {
|
||||
|
||||
9
conf/site/node_modules/@babel/generator/lib/generators/typescript.js
generated
vendored
9
conf/site/node_modules/@babel/generator/lib/generators/typescript.js
generated
vendored
@@ -42,6 +42,7 @@ exports.TSArrayType = TSArrayType;
|
||||
exports.TSTupleType = TSTupleType;
|
||||
exports.TSOptionalType = TSOptionalType;
|
||||
exports.TSRestType = TSRestType;
|
||||
exports.TSNamedTupleMember = TSNamedTupleMember;
|
||||
exports.TSUnionType = TSUnionType;
|
||||
exports.TSIntersectionType = TSIntersectionType;
|
||||
exports.tsPrintUnionOrIntersectionType = tsPrintUnionOrIntersectionType;
|
||||
@@ -370,6 +371,14 @@ function TSRestType(node) {
|
||||
this.print(node.typeAnnotation, node);
|
||||
}
|
||||
|
||||
function TSNamedTupleMember(node) {
|
||||
this.print(node.label, node);
|
||||
if (node.optional) this.token("?");
|
||||
this.token(":");
|
||||
this.space();
|
||||
this.print(node.elementType, node);
|
||||
}
|
||||
|
||||
function TSUnionType(node) {
|
||||
this.tsPrintUnionOrIntersectionType(node, "|");
|
||||
}
|
||||
|
||||
41
conf/site/node_modules/@babel/generator/lib/node/parentheses.js
generated
vendored
41
conf/site/node_modules/@babel/generator/lib/node/parentheses.js
generated
vendored
@@ -22,8 +22,7 @@ exports.UnaryLike = UnaryLike;
|
||||
exports.FunctionExpression = FunctionExpression;
|
||||
exports.ArrowFunctionExpression = ArrowFunctionExpression;
|
||||
exports.ConditionalExpression = ConditionalExpression;
|
||||
exports.OptionalMemberExpression = OptionalMemberExpression;
|
||||
exports.OptionalCallExpression = OptionalCallExpression;
|
||||
exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemberExpression;
|
||||
exports.AssignmentExpression = AssignmentExpression;
|
||||
exports.LogicalExpression = LogicalExpression;
|
||||
|
||||
@@ -63,6 +62,8 @@ const PRECEDENCE = {
|
||||
|
||||
const isClassExtendsClause = (node, parent) => (t.isClassDeclaration(parent) || t.isClassExpression(parent)) && parent.superClass === node;
|
||||
|
||||
const hasPostfixPart = (node, parent) => (t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent)) && parent.object === node || (t.isCallExpression(parent) || t.isOptionalCallExpression(parent) || t.isNewExpression(parent)) && parent.callee === node || t.isTaggedTemplateExpression(parent) && parent.tag === node || t.isTSNonNullExpression(parent);
|
||||
|
||||
function NullableTypeAnnotation(node, parent) {
|
||||
return t.isArrayTypeAnnotation(parent);
|
||||
}
|
||||
@@ -72,17 +73,7 @@ function FunctionTypeAnnotation(node, parent, printStack) {
|
||||
}
|
||||
|
||||
function UpdateExpression(node, parent) {
|
||||
return t.isMemberExpression(parent, {
|
||||
object: node
|
||||
}) || t.isOptionalMemberExpression(parent, {
|
||||
object: node
|
||||
}) || t.isCallExpression(parent, {
|
||||
callee: node
|
||||
}) || t.isOptionalCallExpression(parent, {
|
||||
callee: node
|
||||
}) || t.isNewExpression(parent, {
|
||||
callee: node
|
||||
}) || isClassExtendsClause(node, parent);
|
||||
return hasPostfixPart(node, parent) || isClassExtendsClause(node, parent);
|
||||
}
|
||||
|
||||
function ObjectExpression(node, parent, printStack) {
|
||||
@@ -106,7 +97,7 @@ function Binary(node, parent) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ((t.isCallExpression(parent) || t.isOptionalCallExpression(parent) || t.isNewExpression(parent)) && parent.callee === node || t.isUnaryLike(parent) || (t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent)) && parent.object === node || t.isAwaitExpression(parent)) {
|
||||
if (hasPostfixPart(node, parent) || t.isUnaryLike(parent) || t.isAwaitExpression(parent)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -155,7 +146,7 @@ function SequenceExpression(node, parent) {
|
||||
}
|
||||
|
||||
function YieldExpression(node, parent) {
|
||||
return t.isBinary(parent) || t.isUnaryLike(parent) || t.isCallExpression(parent) || t.isOptionalCallExpression(parent) || t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent) || t.isNewExpression(parent) || t.isAwaitExpression(parent) && t.isYieldExpression(node) || t.isConditionalExpression(parent) && node === parent.test || isClassExtendsClause(node, parent);
|
||||
return t.isBinary(parent) || t.isUnaryLike(parent) || hasPostfixPart(node, parent) || t.isAwaitExpression(parent) && t.isYieldExpression(node) || t.isConditionalExpression(parent) && node === parent.test || isClassExtendsClause(node, parent);
|
||||
}
|
||||
|
||||
function ClassExpression(node, parent, printStack) {
|
||||
@@ -165,7 +156,7 @@ function ClassExpression(node, parent, printStack) {
|
||||
}
|
||||
|
||||
function UnaryLike(node, parent) {
|
||||
return (t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent)) && parent.object === node || (t.isCallExpression(parent) || t.isOptionalCallExpression(parent) || t.isNewExpression(parent)) && parent.callee === node || t.isBinaryExpression(parent, {
|
||||
return hasPostfixPart(node, parent) || t.isBinaryExpression(parent, {
|
||||
operator: "**",
|
||||
left: node
|
||||
}) || isClassExtendsClause(node, parent);
|
||||
@@ -184,11 +175,7 @@ function ArrowFunctionExpression(node, parent) {
|
||||
function ConditionalExpression(node, parent) {
|
||||
if (t.isUnaryLike(parent) || t.isBinary(parent) || t.isConditionalExpression(parent, {
|
||||
test: node
|
||||
}) || t.isAwaitExpression(parent) || t.isOptionalMemberExpression(parent, {
|
||||
object: node
|
||||
}) || t.isOptionalCallExpression(parent, {
|
||||
callee: node
|
||||
}) || t.isTaggedTemplateExpression(parent) || t.isTSTypeAssertion(parent) || t.isTSAsExpression(parent)) {
|
||||
}) || t.isAwaitExpression(parent) || t.isTSTypeAssertion(parent) || t.isTSAsExpression(parent)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -203,14 +190,6 @@ function OptionalMemberExpression(node, parent) {
|
||||
});
|
||||
}
|
||||
|
||||
function OptionalCallExpression(node, parent) {
|
||||
return t.isCallExpression(parent, {
|
||||
callee: node
|
||||
}) || t.isMemberExpression(parent, {
|
||||
object: node
|
||||
});
|
||||
}
|
||||
|
||||
function AssignmentExpression(node, parent, printStack) {
|
||||
if (t.isObjectPattern(node.left)) {
|
||||
return true;
|
||||
@@ -247,7 +226,7 @@ function isFirstInStatement(printStack, {
|
||||
while (i > 0) {
|
||||
if (t.isExpressionStatement(parent, {
|
||||
expression: node
|
||||
}) || t.isTaggedTemplateExpression(parent) || considerDefaultExports && t.isExportDefaultDeclaration(parent, {
|
||||
}) || considerDefaultExports && t.isExportDefaultDeclaration(parent, {
|
||||
declaration: node
|
||||
}) || considerArrow && t.isArrowFunctionExpression(parent, {
|
||||
body: node
|
||||
@@ -255,7 +234,7 @@ function isFirstInStatement(printStack, {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ((t.isCallExpression(parent) || t.isOptionalCallExpression(parent)) && parent.callee === node || t.isSequenceExpression(parent) && parent.expressions[0] === node || (t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent)) && parent.object === node || t.isConditional(parent, {
|
||||
if (hasPostfixPart(node, parent) && !t.isNewExpression(parent) || t.isSequenceExpression(parent) && parent.expressions[0] === node || t.isConditional(parent, {
|
||||
test: node
|
||||
}) || t.isBinary(parent, {
|
||||
left: node
|
||||
|
||||
25
conf/site/node_modules/@babel/generator/lib/node/whitespace.js
generated
vendored
25
conf/site/node_modules/@babel/generator/lib/node/whitespace.js
generated
vendored
@@ -12,13 +12,13 @@ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
||||
|
||||
function crawl(node, state = {}) {
|
||||
if (t.isMemberExpression(node)) {
|
||||
if (t.isMemberExpression(node) || t.isOptionalMemberExpression(node)) {
|
||||
crawl(node.object, state);
|
||||
if (node.computed) crawl(node.property, state);
|
||||
} else if (t.isBinary(node) || t.isAssignmentExpression(node)) {
|
||||
crawl(node.left, state);
|
||||
crawl(node.right, state);
|
||||
} else if (t.isCallExpression(node)) {
|
||||
} else if (t.isCallExpression(node) || t.isOptionalCallExpression(node)) {
|
||||
state.hasCall = true;
|
||||
crawl(node.callee, state);
|
||||
} else if (t.isFunction(node)) {
|
||||
@@ -92,6 +92,15 @@ const nodes = {
|
||||
}
|
||||
},
|
||||
|
||||
OptionalCallExpression(node) {
|
||||
if (t.isFunction(node.callee)) {
|
||||
return {
|
||||
before: true,
|
||||
after: true
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
VariableDeclaration(node) {
|
||||
for (let i = 0; i < node.declarations.length; i++) {
|
||||
const declar = node.declarations[i];
|
||||
@@ -132,7 +141,9 @@ nodes.ObjectProperty = nodes.ObjectTypeProperty = nodes.ObjectMethod = function
|
||||
};
|
||||
|
||||
nodes.ObjectTypeCallProperty = function (node, parent) {
|
||||
if (parent.callProperties[0] === node && (!parent.properties || !parent.properties.length)) {
|
||||
var _parent$properties;
|
||||
|
||||
if (parent.callProperties[0] === node && !((_parent$properties = parent.properties) == null ? void 0 : _parent$properties.length)) {
|
||||
return {
|
||||
before: true
|
||||
};
|
||||
@@ -140,7 +151,9 @@ nodes.ObjectTypeCallProperty = function (node, parent) {
|
||||
};
|
||||
|
||||
nodes.ObjectTypeIndexer = function (node, parent) {
|
||||
if (parent.indexers[0] === node && (!parent.properties || !parent.properties.length) && (!parent.callProperties || !parent.callProperties.length)) {
|
||||
var _parent$properties2, _parent$callPropertie;
|
||||
|
||||
if (parent.indexers[0] === node && !((_parent$properties2 = parent.properties) == null ? void 0 : _parent$properties2.length) && !((_parent$callPropertie = parent.callProperties) == null ? void 0 : _parent$callPropertie.length)) {
|
||||
return {
|
||||
before: true
|
||||
};
|
||||
@@ -148,7 +161,9 @@ nodes.ObjectTypeIndexer = function (node, parent) {
|
||||
};
|
||||
|
||||
nodes.ObjectTypeInternalSlot = function (node, parent) {
|
||||
if (parent.internalSlots[0] === node && (!parent.properties || !parent.properties.length) && (!parent.callProperties || !parent.callProperties.length) && (!parent.indexers || !parent.indexers.length)) {
|
||||
var _parent$properties3, _parent$callPropertie2, _parent$indexers;
|
||||
|
||||
if (parent.internalSlots[0] === node && !((_parent$properties3 = parent.properties) == null ? void 0 : _parent$properties3.length) && !((_parent$callPropertie2 = parent.callProperties) == null ? void 0 : _parent$callPropertie2.length) && !((_parent$indexers = parent.indexers) == null ? void 0 : _parent$indexers.length)) {
|
||||
return {
|
||||
before: true
|
||||
};
|
||||
|
||||
28
conf/site/node_modules/@babel/generator/lib/printer.js
generated
vendored
28
conf/site/node_modules/@babel/generator/lib/printer.js
generated
vendored
@@ -5,10 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _isInteger = _interopRequireDefault(require("lodash/isInteger"));
|
||||
|
||||
var _repeat = _interopRequireDefault(require("lodash/repeat"));
|
||||
|
||||
var _buffer = _interopRequireDefault(require("./buffer"));
|
||||
|
||||
var n = _interopRequireWildcard(require("./node"));
|
||||
@@ -99,7 +95,7 @@ class Printer {
|
||||
|
||||
number(str) {
|
||||
this.word(str);
|
||||
this._endsWithInteger = (0, _isInteger.default)(+str) && !NON_DECIMAL_LITERAL.test(str) && !SCIENTIFIC_NOTATION.test(str) && !ZERO_DECIMAL_INTEGER.test(str) && str[str.length - 1] !== ".";
|
||||
this._endsWithInteger = Number.isInteger(+str) && !NON_DECIMAL_LITERAL.test(str) && !SCIENTIFIC_NOTATION.test(str) && !ZERO_DECIMAL_INTEGER.test(str) && str[str.length - 1] !== ".";
|
||||
}
|
||||
|
||||
token(str) {
|
||||
@@ -221,7 +217,7 @@ class Printer {
|
||||
if (!this.format.retainLines) return;
|
||||
const pos = loc ? loc[prop] : null;
|
||||
|
||||
if (pos && pos.line !== null) {
|
||||
if ((pos == null ? void 0 : pos.line) != null) {
|
||||
const count = pos.line - this._buf.getCurrentLine();
|
||||
|
||||
for (let i = 0; i < count; i++) {
|
||||
@@ -231,7 +227,7 @@ class Printer {
|
||||
}
|
||||
|
||||
_getIndent() {
|
||||
return (0, _repeat.default)(this.format.indent.style, this._indent);
|
||||
return this.format.indent.style.repeat(this._indent);
|
||||
}
|
||||
|
||||
startTerminatorless(isLabel = false) {
|
||||
@@ -248,7 +244,7 @@ class Printer {
|
||||
endTerminatorless(state) {
|
||||
this._noLineTerminator = false;
|
||||
|
||||
if (state && state.printed) {
|
||||
if (state == null ? void 0 : state.printed) {
|
||||
this.dedent();
|
||||
this.newline();
|
||||
this.token(")");
|
||||
@@ -266,7 +262,7 @@ class Printer {
|
||||
const printMethod = this[node.type];
|
||||
|
||||
if (!printMethod) {
|
||||
throw new ReferenceError(`unknown node of type ${JSON.stringify(node.type)} with constructor ${JSON.stringify(node && node.constructor.name)}`);
|
||||
throw new ReferenceError(`unknown node of type ${JSON.stringify(node.type)} with constructor ${JSON.stringify(node == null ? void 0 : node.constructor.name)}`);
|
||||
}
|
||||
|
||||
this._printStack.push(node);
|
||||
@@ -341,7 +337,7 @@ class Printer {
|
||||
}
|
||||
|
||||
printJoin(nodes, parent, opts = {}) {
|
||||
if (!nodes || !nodes.length) return;
|
||||
if (!(nodes == null ? void 0 : nodes.length)) return;
|
||||
if (opts.indent) this.indent();
|
||||
const newlineOpts = {
|
||||
addNewlines: opts.addNewlines
|
||||
@@ -393,7 +389,9 @@ class Printer {
|
||||
}
|
||||
|
||||
printInnerComments(node, indent = true) {
|
||||
if (!node.innerComments || !node.innerComments.length) return;
|
||||
var _node$innerComments;
|
||||
|
||||
if (!((_node$innerComments = node.innerComments) == null ? void 0 : _node$innerComments.length)) return;
|
||||
if (indent) this.indent();
|
||||
|
||||
this._printComments(node.innerComments);
|
||||
@@ -457,7 +455,9 @@ class Printer {
|
||||
let val = !isBlockComment && !this._noLineTerminator ? `//${comment.value}\n` : `/*${comment.value}*/`;
|
||||
|
||||
if (isBlockComment && this.format.indent.adjustMultilineComment) {
|
||||
const offset = comment.loc && comment.loc.start.column;
|
||||
var _comment$loc;
|
||||
|
||||
const offset = (_comment$loc = comment.loc) == null ? void 0 : _comment$loc.start.column;
|
||||
|
||||
if (offset) {
|
||||
const newlineRegex = new RegExp("\\n\\s{1," + offset + "}", "g");
|
||||
@@ -465,7 +465,7 @@ class Printer {
|
||||
}
|
||||
|
||||
const indentSize = Math.max(this._getIndent().length, this._buf.getCurrentColumn());
|
||||
val = val.replace(/\n(?!$)/g, `\n${(0, _repeat.default)(" ", indentSize)}`);
|
||||
val = val.replace(/\n(?!$)/g, `\n${" ".repeat(indentSize)}`);
|
||||
}
|
||||
|
||||
if (this.endsWith("/")) this._space();
|
||||
@@ -476,7 +476,7 @@ class Printer {
|
||||
}
|
||||
|
||||
_printComments(comments, inlinePureAnnotation) {
|
||||
if (!comments || !comments.length) return;
|
||||
if (!(comments == null ? void 0 : comments.length)) return;
|
||||
|
||||
if (inlinePureAnnotation && comments.length === 1 && PURE_ANNOTATION_RE.test(comments[0].value)) {
|
||||
this._printComment(comments[0], this._buf.hasContent() && !this.endsWith("\n"));
|
||||
|
||||
35
conf/site/node_modules/@babel/generator/package.json
generated
vendored
35
conf/site/node_modules/@babel/generator/package.json
generated
vendored
@@ -1,54 +1,56 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/generator@7.9.4",
|
||||
"@babel/generator@7.11.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/generator@7.9.4",
|
||||
"_id": "@babel/generator@7.9.4",
|
||||
"_from": "@babel/generator@7.11.4",
|
||||
"_id": "@babel/generator@7.11.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-rjP8ahaDy/ouhrvCoU1E5mqaitWrxwuNGU+dy1EpaoK48jZay4MdkskKGIMHLZNewg8sAsqpGSREJwP0zH3YQA==",
|
||||
"_integrity": "sha512-Rn26vueFx0eOoz7iifCN2UHT6rGtnkSGWSoDRIy8jZN3B91PzeSULbswfLoOWuTuAcNwpG/mxy+uCTDnZ9Mp1g==",
|
||||
"_location": "/@babel/generator",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/generator@7.9.4",
|
||||
"raw": "@babel/generator@7.11.4",
|
||||
"name": "@babel/generator",
|
||||
"escapedName": "@babel%2fgenerator",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.9.4",
|
||||
"rawSpec": "7.11.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.9.4"
|
||||
"fetchSpec": "7.11.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/core",
|
||||
"/@babel/traverse"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.4.tgz",
|
||||
"_spec": "7.9.4",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.4.tgz",
|
||||
"_spec": "7.11.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Sebastian McKenzie",
|
||||
"email": "sebmck@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.9.0",
|
||||
"@babel/types": "^7.11.0",
|
||||
"jsesc": "^2.5.1",
|
||||
"lodash": "^4.17.13",
|
||||
"source-map": "^0.5.0"
|
||||
},
|
||||
"description": "Turns an AST into code.",
|
||||
"devDependencies": {
|
||||
"@babel/helper-fixtures": "^7.8.6",
|
||||
"@babel/parser": "^7.9.4"
|
||||
"@babel/helper-fixtures": "^7.10.5",
|
||||
"@babel/parser": "^7.11.4"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"gitHead": "d3cf5fb5f4b46a1f7e9e33f2d24a466e3ea1e50f",
|
||||
"gitHead": "90b198956995195ea00e7ac9912c2260e44d8746",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -58,7 +60,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-generator"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-generator"
|
||||
},
|
||||
"version": "7.9.4"
|
||||
"version": "7.11.4"
|
||||
}
|
||||
|
||||
31
conf/site/node_modules/@babel/helper-annotate-as-pure/package.json
generated
vendored
31
conf/site/node_modules/@babel/helper-annotate-as-pure/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-annotate-as-pure@7.8.3",
|
||||
"@babel/helper-annotate-as-pure@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-annotate-as-pure@7.8.3",
|
||||
"_id": "@babel/helper-annotate-as-pure@7.8.3",
|
||||
"_from": "@babel/helper-annotate-as-pure@7.10.4",
|
||||
"_id": "@babel/helper-annotate-as-pure@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw==",
|
||||
"_integrity": "sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==",
|
||||
"_location": "/@babel/helper-annotate-as-pure",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-annotate-as-pure@7.8.3",
|
||||
"raw": "@babel/helper-annotate-as-pure@7.10.4",
|
||||
"name": "@babel/helper-annotate-as-pure",
|
||||
"escapedName": "@babel%2fhelper-annotate-as-pure",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-create-regexp-features-plugin",
|
||||
@@ -29,14 +29,18 @@
|
||||
"/@babel/plugin-transform-classes",
|
||||
"/@babel/plugin-transform-template-literals"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to annotate paths and nodes with #__PURE__ comment",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-annotate-as-pure",
|
||||
@@ -45,7 +49,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-annotate-as-pure"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-annotate-as-pure"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
@@ -1,40 +1,44 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-builder-binary-assignment-operator-visitor@7.8.3",
|
||||
"@babel/helper-builder-binary-assignment-operator-visitor@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-builder-binary-assignment-operator-visitor@7.8.3",
|
||||
"_id": "@babel/helper-builder-binary-assignment-operator-visitor@7.8.3",
|
||||
"_from": "@babel/helper-builder-binary-assignment-operator-visitor@7.10.4",
|
||||
"_id": "@babel/helper-builder-binary-assignment-operator-visitor@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw==",
|
||||
"_integrity": "sha512-L0zGlFrGWZK4PbT8AszSfLTM5sDU1+Az/En9VrdT8/LmEiJt4zXt+Jve9DCAnQcbqDhCI+29y/L93mrDzddCcg==",
|
||||
"_location": "/@babel/helper-builder-binary-assignment-operator-visitor",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-builder-binary-assignment-operator-visitor@7.8.3",
|
||||
"raw": "@babel/helper-builder-binary-assignment-operator-visitor@7.10.4",
|
||||
"name": "@babel/helper-builder-binary-assignment-operator-visitor",
|
||||
"escapedName": "@babel%2fhelper-builder-binary-assignment-operator-visitor",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-transform-exponentiation-operator"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-explode-assignable-expression": "^7.8.3",
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/helper-explode-assignable-expression": "^7.10.4",
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to build binary assignment operator visitors",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-builder-binary-assignment-operator-visitor",
|
||||
@@ -43,7 +47,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-binary-assignment-operator-visitor"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-builder-binary-assignment-operator-visitor"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
4
conf/site/node_modules/@babel/helper-compilation-targets/lib/filter-items.js
generated
vendored
4
conf/site/node_modules/@babel/helper-compilation-targets/lib/filter-items.js
generated
vendored
@@ -53,8 +53,8 @@ function isRequired(name, targets, {
|
||||
includes,
|
||||
excludes
|
||||
} = {}) {
|
||||
if (excludes && excludes.has(name)) return false;
|
||||
if (includes && includes.has(name)) return true;
|
||||
if (excludes == null ? void 0 : excludes.has(name)) return false;
|
||||
if (includes == null ? void 0 : includes.has(name)) return true;
|
||||
return !targetsSupported(targets, compatData[name]);
|
||||
}
|
||||
|
||||
|
||||
70
conf/site/node_modules/@babel/helper-compilation-targets/lib/index.js
generated
vendored
70
conf/site/node_modules/@babel/helper-compilation-targets/lib/index.js
generated
vendored
@@ -85,6 +85,8 @@ function validateTargetNames(targets) {
|
||||
Maybe you meant to use '${(0, _levenary.default)(target, validTargets)}'?`);
|
||||
}
|
||||
}
|
||||
|
||||
return targets;
|
||||
}
|
||||
|
||||
function isBrowsersQueryValid(browsers) {
|
||||
@@ -92,20 +94,10 @@ function isBrowsersQueryValid(browsers) {
|
||||
}
|
||||
|
||||
function validateBrowsers(browsers) {
|
||||
(0, _invariant.default)(typeof browsers === "undefined" || isBrowsersQueryValid(browsers), `Invalid Option: '${browsers}' is not a valid browserslist query`);
|
||||
(0, _invariant.default)(typeof browsers === "undefined" || isBrowsersQueryValid(browsers), `Invalid Option: '${String(browsers)}' is not a valid browserslist query`);
|
||||
return browsers;
|
||||
}
|
||||
|
||||
function mergeBrowsers(fromQuery, fromTarget) {
|
||||
return Object.keys(fromTarget).reduce((queryObj, targKey) => {
|
||||
if (targKey !== _options.TargetNames.browsers) {
|
||||
queryObj[targKey] = fromTarget[targKey];
|
||||
}
|
||||
|
||||
return queryObj;
|
||||
}, fromQuery);
|
||||
}
|
||||
|
||||
function getLowestVersions(browsers) {
|
||||
return browsers.reduce((all, browser) => {
|
||||
const [browserName, browserVersion] = browser.split(" ");
|
||||
@@ -142,7 +134,7 @@ function getLowestVersions(browsers) {
|
||||
}
|
||||
|
||||
function outputDecimalWarning(decimalTargets) {
|
||||
if (!decimalTargets || !decimalTargets.length) {
|
||||
if (!(decimalTargets == null ? void 0 : decimalTargets.length)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -179,19 +171,24 @@ const targetParserMap = {
|
||||
|
||||
};
|
||||
|
||||
function getTargets(targets = {}, options = {}) {
|
||||
function getTargets(inputTargets = {}, options = {}) {
|
||||
const targetOpts = {};
|
||||
validateTargetNames(targets);
|
||||
let {
|
||||
browsers
|
||||
} = inputTargets;
|
||||
|
||||
if (targets.esmodules) {
|
||||
if (inputTargets.esmodules) {
|
||||
const supportsESModules = _nativeModules.default["es6.module"];
|
||||
targets.browsers = Object.keys(supportsESModules).map(browser => `${browser} ${supportsESModules[browser]}`).join(", ");
|
||||
browsers = Object.keys(supportsESModules).map(browser => `${browser} ${supportsESModules[browser]}`).join(", ");
|
||||
}
|
||||
|
||||
delete targets.esmodules;
|
||||
const browsersquery = validateBrowsers(targets.browsers);
|
||||
const hasTargets = Object.keys(targets).length > 0;
|
||||
const shouldParseBrowsers = !!targets.browsers;
|
||||
const browsersquery = validateBrowsers(browsers);
|
||||
const input = Object.assign({}, inputTargets);
|
||||
delete input.esmodules;
|
||||
delete input.browsers;
|
||||
let targets = validateTargetNames(input);
|
||||
const shouldParseBrowsers = !!browsersquery;
|
||||
const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0;
|
||||
const shouldSearchForConfig = !options.ignoreBrowserslistConfig && !hasTargets;
|
||||
|
||||
if (shouldParseBrowsers || shouldSearchForConfig) {
|
||||
@@ -201,30 +198,31 @@ function getTargets(targets = {}, options = {}) {
|
||||
|
||||
const browsers = (0, _browserslist.default)(browsersquery, {
|
||||
path: options.configPath,
|
||||
mobileToDesktop: true
|
||||
mobileToDesktop: true,
|
||||
env: options.browserslistEnv
|
||||
});
|
||||
const queryBrowsers = getLowestVersions(browsers);
|
||||
targets = mergeBrowsers(queryBrowsers, targets);
|
||||
targets = Object.assign(queryBrowsers, targets);
|
||||
_browserslist.default.defaults = browserslistDefaults;
|
||||
}
|
||||
|
||||
const parsed = Object.keys(targets).filter(value => value !== _options.TargetNames.esmodules).sort().reduce((results, target) => {
|
||||
if (target !== _options.TargetNames.browsers) {
|
||||
const value = targets[target];
|
||||
const parsed = Object.keys(targets).sort().reduce((results, target) => {
|
||||
var _targetParserMap$targ;
|
||||
|
||||
if (typeof value === "number" && value % 1 !== 0) {
|
||||
results.decimalWarnings.push({
|
||||
target,
|
||||
value
|
||||
});
|
||||
}
|
||||
const value = targets[target];
|
||||
|
||||
const parser = targetParserMap[target] || targetParserMap.__default;
|
||||
const [parsedTarget, parsedValue] = parser(target, value);
|
||||
if (typeof value === "number" && value % 1 !== 0) {
|
||||
results.decimalWarnings.push({
|
||||
target,
|
||||
value
|
||||
});
|
||||
}
|
||||
|
||||
if (parsedValue) {
|
||||
results.targets[parsedTarget] = parsedValue;
|
||||
}
|
||||
const parser = (_targetParserMap$targ = targetParserMap[target]) != null ? _targetParserMap$targ : targetParserMap.__default;
|
||||
const [parsedTarget, parsedValue] = parser(target, value);
|
||||
|
||||
if (parsedValue) {
|
||||
results.targets[parsedTarget] = parsedValue;
|
||||
}
|
||||
|
||||
return results;
|
||||
|
||||
5
conf/site/node_modules/@babel/helper-compilation-targets/lib/options.js
generated
vendored
5
conf/site/node_modules/@babel/helper-compilation-targets/lib/options.js
generated
vendored
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.TargetNames = void 0;
|
||||
const TargetNames = {
|
||||
esmodules: "esmodules",
|
||||
node: "node",
|
||||
browsers: "browsers",
|
||||
chrome: "chrome",
|
||||
opera: "opera",
|
||||
edge: "edge",
|
||||
@@ -17,7 +15,6 @@ const TargetNames = {
|
||||
ios: "ios",
|
||||
android: "android",
|
||||
electron: "electron",
|
||||
samsung: "samsung",
|
||||
uglify: "uglify"
|
||||
samsung: "samsung"
|
||||
};
|
||||
exports.TargetNames = TargetNames;
|
||||
37
conf/site/node_modules/@babel/helper-compilation-targets/package.json
generated
vendored
37
conf/site/node_modules/@babel/helper-compilation-targets/package.json
generated
vendored
@@ -1,54 +1,58 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-compilation-targets@7.8.7",
|
||||
"@babel/helper-compilation-targets@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-compilation-targets@7.8.7",
|
||||
"_id": "@babel/helper-compilation-targets@7.8.7",
|
||||
"_from": "@babel/helper-compilation-targets@7.10.4",
|
||||
"_id": "@babel/helper-compilation-targets@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-4mWm8DCK2LugIS+p1yArqvG1Pf162upsIsjE7cNBjez+NjliQpVhj20obE520nao0o14DaTnFJv+Fw5a0JpoUw==",
|
||||
"_integrity": "sha512-a3rYhlsGV0UHNDvrtOXBg8/OpfV0OKTkxKPzIplS1zpx7CygDcWWxckxZeDd3gzPzC4kUT0A4nVFDK0wGMh4MQ==",
|
||||
"_location": "/@babel/helper-compilation-targets",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-compilation-targets@7.8.7",
|
||||
"raw": "@babel/helper-compilation-targets@7.10.4",
|
||||
"name": "@babel/helper-compilation-targets",
|
||||
"escapedName": "@babel%2fhelper-compilation-targets",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.7",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.7"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz",
|
||||
"_spec": "7.8.7",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "The Babel Team",
|
||||
"url": "https://babeljs.io/team"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/compat-data": "^7.8.6",
|
||||
"browserslist": "^4.9.1",
|
||||
"@babel/compat-data": "^7.10.4",
|
||||
"browserslist": "^4.12.0",
|
||||
"invariant": "^2.2.4",
|
||||
"levenary": "^1.1.1",
|
||||
"semver": "^5.5.0"
|
||||
},
|
||||
"description": "Engine compat data used in @babel/preset-env",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.7",
|
||||
"@babel/helper-plugin-test-runner": "^7.8.3"
|
||||
"@babel/core": "^7.10.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.10.4"
|
||||
},
|
||||
"exports": {
|
||||
".": "./lib/index.js"
|
||||
},
|
||||
"gitHead": "595f65f33b8e948e34d12be83f700cf8d070c790",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"keywords": [
|
||||
"babel",
|
||||
"babel-plugin"
|
||||
@@ -64,7 +68,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-compilation-targets"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-compilation-targets"
|
||||
},
|
||||
"version": "7.8.7"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
30
conf/site/node_modules/@babel/helper-create-regexp-features-plugin/package.json
generated
vendored
30
conf/site/node_modules/@babel/helper-create-regexp-features-plugin/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-create-regexp-features-plugin@7.8.8",
|
||||
"@babel/helper-create-regexp-features-plugin@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-create-regexp-features-plugin@7.8.8",
|
||||
"_id": "@babel/helper-create-regexp-features-plugin@7.8.8",
|
||||
"_from": "@babel/helper-create-regexp-features-plugin@7.10.4",
|
||||
"_id": "@babel/helper-create-regexp-features-plugin@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-LYVPdwkrQEiX9+1R29Ld/wTrmQu1SSKYnuOk3g0CkcZMA1p0gsNxJFj/3gBdaJ7Cg0Fnek5z0DsMULePP7Lrqg==",
|
||||
"_integrity": "sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g==",
|
||||
"_location": "/@babel/helper-create-regexp-features-plugin",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-create-regexp-features-plugin@7.8.8",
|
||||
"raw": "@babel/helper-create-regexp-features-plugin@7.10.4",
|
||||
"name": "@babel/helper-create-regexp-features-plugin",
|
||||
"escapedName": "@babel%2fhelper-create-regexp-features-plugin",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.8",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.8"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-proposal-unicode-property-regex",
|
||||
@@ -29,8 +29,8 @@
|
||||
"/@babel/plugin-transform-named-capturing-groups-regex",
|
||||
"/@babel/plugin-transform-unicode-regex"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz",
|
||||
"_spec": "7.8.8",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "The Babel Team",
|
||||
@@ -40,16 +40,16 @@
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-annotate-as-pure": "^7.8.3",
|
||||
"@babel/helper-regex": "^7.8.3",
|
||||
"@babel/helper-annotate-as-pure": "^7.10.4",
|
||||
"@babel/helper-regex": "^7.10.4",
|
||||
"regexpu-core": "^4.7.0"
|
||||
},
|
||||
"description": "Compile ESNext Regular Expressions to ES5",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.6",
|
||||
"@babel/helper-plugin-test-runner": "^7.8.3"
|
||||
"@babel/core": "^7.10.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.10.4"
|
||||
},
|
||||
"gitHead": "c831a2450dbf252c75750a455c63e1016c2f2244",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"keywords": [
|
||||
"babel",
|
||||
@@ -69,5 +69,5 @@
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-create-regexp-features-plugin"
|
||||
},
|
||||
"version": "7.8.8"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
35
conf/site/node_modules/@babel/helper-define-map/package.json
generated
vendored
35
conf/site/node_modules/@babel/helper-define-map/package.json
generated
vendored
@@ -1,41 +1,45 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-define-map@7.8.3",
|
||||
"@babel/helper-define-map@7.10.5",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-define-map@7.8.3",
|
||||
"_id": "@babel/helper-define-map@7.8.3",
|
||||
"_from": "@babel/helper-define-map@7.10.5",
|
||||
"_id": "@babel/helper-define-map@7.10.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g==",
|
||||
"_integrity": "sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ==",
|
||||
"_location": "/@babel/helper-define-map",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-define-map@7.8.3",
|
||||
"raw": "@babel/helper-define-map@7.10.5",
|
||||
"name": "@babel/helper-define-map",
|
||||
"escapedName": "@babel%2fhelper-define-map",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-transform-classes"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz",
|
||||
"_spec": "7.10.5",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-function-name": "^7.8.3",
|
||||
"@babel/types": "^7.8.3",
|
||||
"lodash": "^4.17.13"
|
||||
"@babel/helper-function-name": "^7.10.4",
|
||||
"@babel/types": "^7.10.5",
|
||||
"lodash": "^4.17.19"
|
||||
},
|
||||
"description": "Helper function to define a map",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-define-map",
|
||||
@@ -44,7 +48,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-define-map"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-define-map"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.5"
|
||||
}
|
||||
|
||||
35
conf/site/node_modules/@babel/helper-explode-assignable-expression/package.json
generated
vendored
35
conf/site/node_modules/@babel/helper-explode-assignable-expression/package.json
generated
vendored
@@ -1,40 +1,46 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-explode-assignable-expression@7.8.3",
|
||||
"@babel/helper-explode-assignable-expression@7.11.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-explode-assignable-expression@7.8.3",
|
||||
"_id": "@babel/helper-explode-assignable-expression@7.8.3",
|
||||
"_from": "@babel/helper-explode-assignable-expression@7.11.4",
|
||||
"_id": "@babel/helper-explode-assignable-expression@7.11.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw==",
|
||||
"_integrity": "sha512-ux9hm3zR4WV1Y3xXxXkdG/0gxF9nvI0YVmKVhvK9AfMoaQkemL3sJpXw+Xbz65azo8qJiEz2XVDUpK3KYhH3ZQ==",
|
||||
"_location": "/@babel/helper-explode-assignable-expression",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-explode-assignable-expression@7.8.3",
|
||||
"raw": "@babel/helper-explode-assignable-expression@7.11.4",
|
||||
"name": "@babel/helper-explode-assignable-expression",
|
||||
"escapedName": "@babel%2fhelper-explode-assignable-expression",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.11.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.11.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-builder-binary-assignment-operator-visitor"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.11.4.tgz",
|
||||
"_spec": "7.11.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/traverse": "^7.8.3",
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to explode an assignable expression",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"devDependencies": {
|
||||
"@babel/traverse": "^7.10.4"
|
||||
},
|
||||
"gitHead": "90b198956995195ea00e7ac9912c2260e44d8746",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-explode-assignable-expression",
|
||||
@@ -43,7 +49,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-explode-assignable-expression"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-explode-assignable-expression"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.11.4"
|
||||
}
|
||||
|
||||
4
conf/site/node_modules/@babel/helper-function-name/lib/index.js
generated
vendored
4
conf/site/node_modules/@babel/helper-function-name/lib/index.js
generated
vendored
@@ -150,7 +150,9 @@ function _default({
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else if (t.isAssignmentExpression(parent)) {
|
||||
} else if (t.isAssignmentExpression(parent, {
|
||||
operator: "="
|
||||
})) {
|
||||
id = parent.left;
|
||||
} else if (!id) {
|
||||
return;
|
||||
|
||||
35
conf/site/node_modules/@babel/helper-function-name/package.json
generated
vendored
35
conf/site/node_modules/@babel/helper-function-name/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-function-name@7.8.3",
|
||||
"@babel/helper-function-name@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-function-name@7.8.3",
|
||||
"_id": "@babel/helper-function-name@7.8.3",
|
||||
"_from": "@babel/helper-function-name@7.10.4",
|
||||
"_id": "@babel/helper-function-name@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==",
|
||||
"_integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==",
|
||||
"_location": "/@babel/helper-function-name",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-function-name@7.8.3",
|
||||
"raw": "@babel/helper-function-name@7.10.4",
|
||||
"name": "@babel/helper-function-name",
|
||||
"escapedName": "@babel%2fhelper-function-name",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-define-map",
|
||||
@@ -30,16 +30,20 @@
|
||||
"/@babel/plugin-transform-function-name",
|
||||
"/@babel/traverse"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-get-function-arity": "^7.8.3",
|
||||
"@babel/template": "^7.8.3",
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/helper-get-function-arity": "^7.10.4",
|
||||
"@babel/template": "^7.10.4",
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to change the property 'name' of every function",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-function-name",
|
||||
@@ -48,7 +52,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-function-name"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
31
conf/site/node_modules/@babel/helper-get-function-arity/package.json
generated
vendored
31
conf/site/node_modules/@babel/helper-get-function-arity/package.json
generated
vendored
@@ -1,40 +1,44 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-get-function-arity@7.8.3",
|
||||
"@babel/helper-get-function-arity@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-get-function-arity@7.8.3",
|
||||
"_id": "@babel/helper-get-function-arity@7.8.3",
|
||||
"_from": "@babel/helper-get-function-arity@7.10.4",
|
||||
"_id": "@babel/helper-get-function-arity@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==",
|
||||
"_integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==",
|
||||
"_location": "/@babel/helper-get-function-arity",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-get-function-arity@7.8.3",
|
||||
"raw": "@babel/helper-get-function-arity@7.10.4",
|
||||
"name": "@babel/helper-get-function-arity",
|
||||
"escapedName": "@babel%2fhelper-get-function-arity",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-function-name",
|
||||
"/@babel/plugin-transform-parameters"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to get function arity",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-get-function-arity",
|
||||
@@ -43,7 +47,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-get-function-arity"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
31
conf/site/node_modules/@babel/helper-hoist-variables/package.json
generated
vendored
31
conf/site/node_modules/@babel/helper-hoist-variables/package.json
generated
vendored
@@ -1,39 +1,43 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-hoist-variables@7.8.3",
|
||||
"@babel/helper-hoist-variables@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-hoist-variables@7.8.3",
|
||||
"_id": "@babel/helper-hoist-variables@7.8.3",
|
||||
"_from": "@babel/helper-hoist-variables@7.10.4",
|
||||
"_id": "@babel/helper-hoist-variables@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg==",
|
||||
"_integrity": "sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA==",
|
||||
"_location": "/@babel/helper-hoist-variables",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-hoist-variables@7.8.3",
|
||||
"raw": "@babel/helper-hoist-variables@7.10.4",
|
||||
"name": "@babel/helper-hoist-variables",
|
||||
"escapedName": "@babel%2fhelper-hoist-variables",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-transform-modules-systemjs"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to hoist variables",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-hoist-variables",
|
||||
@@ -42,7 +46,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-hoist-variables"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
232
conf/site/node_modules/@babel/helper-member-expression-to-functions/lib/index.js
generated
vendored
232
conf/site/node_modules/@babel/helper-member-expression-to-functions/lib/index.js
generated
vendored
@@ -46,6 +46,55 @@ class AssignmentMemoiser {
|
||||
|
||||
}
|
||||
|
||||
function toNonOptional(path, base) {
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
|
||||
if (path.isOptionalMemberExpression()) {
|
||||
return t.memberExpression(base, node.property, node.computed);
|
||||
}
|
||||
|
||||
if (path.isOptionalCallExpression()) {
|
||||
const callee = path.get("callee");
|
||||
|
||||
if (path.node.optional && callee.isOptionalMemberExpression()) {
|
||||
const {
|
||||
object
|
||||
} = callee.node;
|
||||
const context = path.scope.maybeGenerateMemoised(object) || object;
|
||||
callee.get("object").replaceWith(t.assignmentExpression("=", context, object));
|
||||
return t.callExpression(t.memberExpression(base, t.identifier("call")), [context, ...node.arguments]);
|
||||
}
|
||||
|
||||
return t.callExpression(base, node.arguments);
|
||||
}
|
||||
|
||||
return path.node;
|
||||
}
|
||||
|
||||
function isInDetachedTree(path) {
|
||||
while (path) {
|
||||
if (path.isProgram()) break;
|
||||
const {
|
||||
parentPath,
|
||||
container,
|
||||
listKey
|
||||
} = path;
|
||||
const parentNode = parentPath.node;
|
||||
|
||||
if (listKey) {
|
||||
if (container !== parentNode[listKey]) return true;
|
||||
} else {
|
||||
if (container !== parentNode) return true;
|
||||
}
|
||||
|
||||
path = parentPath;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
const handle = {
|
||||
memoise() {},
|
||||
|
||||
@@ -56,9 +105,142 @@ const handle = {
|
||||
parentPath
|
||||
} = member;
|
||||
|
||||
if (member.isOptionalMemberExpression()) {
|
||||
if (isInDetachedTree(member)) return;
|
||||
const endPath = member.find(({
|
||||
node,
|
||||
parent,
|
||||
parentPath
|
||||
}) => {
|
||||
if (parentPath.isOptionalMemberExpression()) {
|
||||
return parent.optional || parent.object !== node;
|
||||
}
|
||||
|
||||
if (parentPath.isOptionalCallExpression()) {
|
||||
return node !== member.node && parent.optional || parent.callee !== node;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
const rootParentPath = endPath.parentPath;
|
||||
|
||||
if (rootParentPath.isUpdateExpression({
|
||||
argument: node
|
||||
}) || rootParentPath.isAssignmentExpression({
|
||||
left: node
|
||||
})) {
|
||||
throw member.buildCodeFrameError(`can't handle assignment`);
|
||||
}
|
||||
|
||||
const isDeleteOperation = rootParentPath.isUnaryExpression({
|
||||
operator: "delete"
|
||||
});
|
||||
|
||||
if (isDeleteOperation && endPath.isOptionalMemberExpression() && endPath.get("property").isPrivateName()) {
|
||||
throw member.buildCodeFrameError(`can't delete a private class element`);
|
||||
}
|
||||
|
||||
let startingOptional = member;
|
||||
|
||||
for (;;) {
|
||||
if (startingOptional.isOptionalMemberExpression()) {
|
||||
if (startingOptional.node.optional) break;
|
||||
startingOptional = startingOptional.get("object");
|
||||
continue;
|
||||
} else if (startingOptional.isOptionalCallExpression()) {
|
||||
if (startingOptional.node.optional) break;
|
||||
startingOptional = startingOptional.get("callee");
|
||||
continue;
|
||||
}
|
||||
|
||||
throw new Error(`Internal error: unexpected ${startingOptional.node.type}`);
|
||||
}
|
||||
|
||||
const {
|
||||
scope
|
||||
} = member;
|
||||
const startingProp = startingOptional.isOptionalMemberExpression() ? "object" : "callee";
|
||||
const startingNode = startingOptional.node[startingProp];
|
||||
const baseNeedsMemoised = scope.maybeGenerateMemoised(startingNode);
|
||||
const baseRef = baseNeedsMemoised != null ? baseNeedsMemoised : startingNode;
|
||||
const parentIsOptionalCall = parentPath.isOptionalCallExpression({
|
||||
callee: node
|
||||
});
|
||||
const parentIsCall = parentPath.isCallExpression({
|
||||
callee: node
|
||||
});
|
||||
startingOptional.replaceWith(toNonOptional(startingOptional, baseRef));
|
||||
|
||||
if (parentIsOptionalCall) {
|
||||
if (parent.optional) {
|
||||
parentPath.replaceWith(this.optionalCall(member, parent.arguments));
|
||||
} else {
|
||||
parentPath.replaceWith(this.call(member, parent.arguments));
|
||||
}
|
||||
} else if (parentIsCall) {
|
||||
member.replaceWith(this.boundGet(member));
|
||||
} else {
|
||||
member.replaceWith(this.get(member));
|
||||
}
|
||||
|
||||
let regular = member.node;
|
||||
|
||||
for (let current = member; current !== endPath;) {
|
||||
const {
|
||||
parentPath
|
||||
} = current;
|
||||
|
||||
if (parentPath === endPath && parentIsOptionalCall && parent.optional) {
|
||||
regular = parentPath.node;
|
||||
break;
|
||||
}
|
||||
|
||||
regular = toNonOptional(parentPath, regular);
|
||||
current = parentPath;
|
||||
}
|
||||
|
||||
let context;
|
||||
const endParentPath = endPath.parentPath;
|
||||
|
||||
if (t.isMemberExpression(regular) && endParentPath.isOptionalCallExpression({
|
||||
callee: endPath.node,
|
||||
optional: true
|
||||
})) {
|
||||
const {
|
||||
object
|
||||
} = regular;
|
||||
context = member.scope.maybeGenerateMemoised(object);
|
||||
|
||||
if (context) {
|
||||
regular.object = t.assignmentExpression("=", context, object);
|
||||
}
|
||||
}
|
||||
|
||||
let replacementPath = endPath;
|
||||
|
||||
if (isDeleteOperation) {
|
||||
replacementPath = endParentPath;
|
||||
regular = endParentPath.node;
|
||||
}
|
||||
|
||||
replacementPath.replaceWith(t.conditionalExpression(t.logicalExpression("||", t.binaryExpression("===", baseNeedsMemoised ? t.assignmentExpression("=", t.cloneNode(baseRef), t.cloneNode(startingNode)) : t.cloneNode(baseRef), t.nullLiteral()), t.binaryExpression("===", t.cloneNode(baseRef), scope.buildUndefinedNode())), isDeleteOperation ? t.booleanLiteral(true) : scope.buildUndefinedNode(), regular));
|
||||
|
||||
if (context) {
|
||||
const endParent = endParentPath.node;
|
||||
endParentPath.replaceWith(t.optionalCallExpression(t.optionalMemberExpression(endParent.callee, t.identifier("call"), false, true), [t.cloneNode(context), ...endParent.arguments], false));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (parentPath.isUpdateExpression({
|
||||
argument: node
|
||||
})) {
|
||||
if (this.simpleSet) {
|
||||
member.replaceWith(this.simpleSet(member));
|
||||
return;
|
||||
}
|
||||
|
||||
const {
|
||||
operator,
|
||||
prefix
|
||||
@@ -86,32 +268,50 @@ const handle = {
|
||||
if (parentPath.isAssignmentExpression({
|
||||
left: node
|
||||
})) {
|
||||
const {
|
||||
operator,
|
||||
right
|
||||
} = parent;
|
||||
let value = right;
|
||||
|
||||
if (operator !== "=") {
|
||||
this.memoise(member, 2);
|
||||
value = t.binaryExpression(operator.slice(0, -1), this.get(member), value);
|
||||
if (this.simpleSet) {
|
||||
member.replaceWith(this.simpleSet(member));
|
||||
return;
|
||||
}
|
||||
|
||||
const {
|
||||
operator,
|
||||
right: value
|
||||
} = parent;
|
||||
|
||||
if (operator === "=") {
|
||||
parentPath.replaceWith(this.set(member, value));
|
||||
} else {
|
||||
const operatorTrunc = operator.slice(0, -1);
|
||||
|
||||
if (t.LOGICAL_OPERATORS.includes(operatorTrunc)) {
|
||||
this.memoise(member, 1);
|
||||
parentPath.replaceWith(t.logicalExpression(operatorTrunc, this.get(member), this.set(member, value)));
|
||||
} else {
|
||||
this.memoise(member, 2);
|
||||
parentPath.replaceWith(this.set(member, t.binaryExpression(operatorTrunc, this.get(member), value)));
|
||||
}
|
||||
}
|
||||
|
||||
parentPath.replaceWith(this.set(member, value));
|
||||
return;
|
||||
}
|
||||
|
||||
if (parentPath.isCallExpression({
|
||||
callee: node
|
||||
})) {
|
||||
const {
|
||||
arguments: args
|
||||
} = parent;
|
||||
parentPath.replaceWith(this.call(member, args));
|
||||
parentPath.replaceWith(this.call(member, parent.arguments));
|
||||
return;
|
||||
}
|
||||
|
||||
if (parentPath.isObjectProperty({
|
||||
if (parentPath.isOptionalCallExpression({
|
||||
callee: node
|
||||
})) {
|
||||
parentPath.replaceWith(this.optionalCall(member, parent.arguments));
|
||||
return;
|
||||
}
|
||||
|
||||
if (parentPath.isForXStatement({
|
||||
left: node
|
||||
}) || parentPath.isObjectProperty({
|
||||
value: node
|
||||
}) && parentPath.parentPath.isObjectPattern() || parentPath.isAssignmentPattern({
|
||||
left: node
|
||||
@@ -130,7 +330,7 @@ const handle = {
|
||||
};
|
||||
|
||||
function memberExpressionToFunctions(path, visitor, state) {
|
||||
path.traverse(visitor, Object.assign({}, handle, {}, state, {
|
||||
path.traverse(visitor, Object.assign({}, handle, state, {
|
||||
memoiser: new AssignmentMemoiser()
|
||||
}));
|
||||
}
|
||||
30
conf/site/node_modules/@babel/helper-member-expression-to-functions/package.json
generated
vendored
30
conf/site/node_modules/@babel/helper-member-expression-to-functions/package.json
generated
vendored
@@ -1,43 +1,46 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-member-expression-to-functions@7.8.3",
|
||||
"@babel/helper-member-expression-to-functions@7.11.0",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-member-expression-to-functions@7.8.3",
|
||||
"_id": "@babel/helper-member-expression-to-functions@7.8.3",
|
||||
"_from": "@babel/helper-member-expression-to-functions@7.11.0",
|
||||
"_id": "@babel/helper-member-expression-to-functions@7.11.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA==",
|
||||
"_integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==",
|
||||
"_location": "/@babel/helper-member-expression-to-functions",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-member-expression-to-functions@7.8.3",
|
||||
"raw": "@babel/helper-member-expression-to-functions@7.11.0",
|
||||
"name": "@babel/helper-member-expression-to-functions",
|
||||
"escapedName": "@babel%2fhelper-member-expression-to-functions",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.11.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.11.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-replace-supers"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz",
|
||||
"_spec": "7.11.0",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Justin Ridgewell",
|
||||
"email": "justin@ridgewell.name"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.11.0"
|
||||
},
|
||||
"description": "Helper function to replace certain member expressions with function calls",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-member-expression-to-functions",
|
||||
@@ -46,7 +49,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-member-expression-to-functions"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-member-expression-to-functions"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.11.0"
|
||||
}
|
||||
|
||||
32
conf/site/node_modules/@babel/helper-module-imports/package.json
generated
vendored
32
conf/site/node_modules/@babel/helper-module-imports/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-module-imports@7.8.3",
|
||||
"@babel/helper-module-imports@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-module-imports@7.8.3",
|
||||
"_id": "@babel/helper-module-imports@7.8.3",
|
||||
"_from": "@babel/helper-module-imports@7.10.4",
|
||||
"_id": "@babel/helper-module-imports@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg==",
|
||||
"_integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==",
|
||||
"_location": "/@babel/helper-module-imports",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-module-imports@7.8.3",
|
||||
"raw": "@babel/helper-module-imports@7.10.4",
|
||||
"name": "@babel/helper-module-imports",
|
||||
"escapedName": "@babel%2fhelper-module-imports",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-module-transforms",
|
||||
@@ -29,21 +29,24 @@
|
||||
"/@babel/plugin-transform-runtime",
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Logan Smyth",
|
||||
"email": "loganfsmyth@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Babel helper functions for inserting module loads",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.3"
|
||||
"@babel/core": "^7.10.4"
|
||||
},
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -53,7 +56,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-imports"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-module-imports"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ const rewriteReferencesVisitor = {
|
||||
|
||||
const newLoopId = scope.generateUidIdentifierBasedOnNode(left);
|
||||
bodyPath.unshiftContainer("body", t.expressionStatement(t.assignmentExpression("=", left, newLoopId)));
|
||||
path.get("left").replaceWith(t.variableDeclaration("let", [t.variableDeclarator(newLoopId)]));
|
||||
path.get("left").replaceWith(t.variableDeclaration("let", [t.variableDeclarator(t.cloneNode(newLoopId))]));
|
||||
scope.registerDeclaration(path.get("left"));
|
||||
}
|
||||
}
|
||||
|
||||
41
conf/site/node_modules/@babel/helper-module-transforms/package.json
generated
vendored
41
conf/site/node_modules/@babel/helper-module-transforms/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-module-transforms@7.9.0",
|
||||
"@babel/helper-module-transforms@7.11.0",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-module-transforms@7.9.0",
|
||||
"_id": "@babel/helper-module-transforms@7.9.0",
|
||||
"_from": "@babel/helper-module-transforms@7.11.0",
|
||||
"_id": "@babel/helper-module-transforms@7.11.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-0FvKyu0gpPfIQ8EkxlrAydOWROdHpBmiCiRwLkUiBGhCUPRRbVD2/tm3sFr/c/GWFrQ/ffutGUAnx7V0FzT2wA==",
|
||||
"_integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==",
|
||||
"_location": "/@babel/helper-module-transforms",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-module-transforms@7.9.0",
|
||||
"raw": "@babel/helper-module-transforms@7.11.0",
|
||||
"name": "@babel/helper-module-transforms",
|
||||
"escapedName": "@babel%2fhelper-module-transforms",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.9.0",
|
||||
"rawSpec": "7.11.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.9.0"
|
||||
"fetchSpec": "7.11.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/core",
|
||||
@@ -30,24 +30,26 @@
|
||||
"/@babel/plugin-transform-modules-systemjs",
|
||||
"/@babel/plugin-transform-modules-umd"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz",
|
||||
"_spec": "7.9.0",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz",
|
||||
"_spec": "7.11.0",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Logan Smyth",
|
||||
"email": "loganfsmyth@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-module-imports": "^7.8.3",
|
||||
"@babel/helper-replace-supers": "^7.8.6",
|
||||
"@babel/helper-simple-access": "^7.8.3",
|
||||
"@babel/helper-split-export-declaration": "^7.8.3",
|
||||
"@babel/template": "^7.8.6",
|
||||
"@babel/types": "^7.9.0",
|
||||
"lodash": "^4.17.13"
|
||||
"@babel/helper-module-imports": "^7.10.4",
|
||||
"@babel/helper-replace-supers": "^7.10.4",
|
||||
"@babel/helper-simple-access": "^7.10.4",
|
||||
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||
"@babel/template": "^7.10.4",
|
||||
"@babel/types": "^7.11.0",
|
||||
"lodash": "^4.17.19"
|
||||
},
|
||||
"description": "Babel helper functions for implementing ES6 module transformations",
|
||||
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -57,7 +59,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-transforms"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-module-transforms"
|
||||
},
|
||||
"version": "7.9.0"
|
||||
"version": "7.11.0"
|
||||
}
|
||||
|
||||
6
conf/site/node_modules/@babel/helper-optimise-call-expression/lib/index.js
generated
vendored
6
conf/site/node_modules/@babel/helper-optimise-call-expression/lib/index.js
generated
vendored
@@ -11,12 +11,16 @@ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
||||
|
||||
function _default(callee, thisNode, args) {
|
||||
function _default(callee, thisNode, args, optional) {
|
||||
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, {
|
||||
name: "arguments"
|
||||
})) {
|
||||
return t.callExpression(t.memberExpression(callee, t.identifier("apply")), [thisNode, args[0].argument]);
|
||||
} else {
|
||||
if (optional) {
|
||||
return t.optionalCallExpression(t.optionalMemberExpression(callee, t.identifier("call"), false, true), [thisNode, ...args], false);
|
||||
}
|
||||
|
||||
return t.callExpression(t.memberExpression(callee, t.identifier("call")), [thisNode, ...args]);
|
||||
}
|
||||
}
|
||||
31
conf/site/node_modules/@babel/helper-optimise-call-expression/package.json
generated
vendored
31
conf/site/node_modules/@babel/helper-optimise-call-expression/package.json
generated
vendored
@@ -1,40 +1,44 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-optimise-call-expression@7.8.3",
|
||||
"@babel/helper-optimise-call-expression@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-optimise-call-expression@7.8.3",
|
||||
"_id": "@babel/helper-optimise-call-expression@7.8.3",
|
||||
"_from": "@babel/helper-optimise-call-expression@7.10.4",
|
||||
"_id": "@babel/helper-optimise-call-expression@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ==",
|
||||
"_integrity": "sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg==",
|
||||
"_location": "/@babel/helper-optimise-call-expression",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-optimise-call-expression@7.8.3",
|
||||
"raw": "@babel/helper-optimise-call-expression@7.10.4",
|
||||
"name": "@babel/helper-optimise-call-expression",
|
||||
"escapedName": "@babel%2fhelper-optimise-call-expression",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-replace-supers",
|
||||
"/@babel/plugin-transform-classes"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to optimise call expression",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-optimise-call-expression",
|
||||
@@ -43,7 +47,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-optimise-call-expression"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-optimise-call-expression"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
2
conf/site/node_modules/@babel/helper-plugin-utils/lib/index.js
generated
vendored
2
conf/site/node_modules/@babel/helper-plugin-utils/lib/index.js
generated
vendored
@@ -31,7 +31,7 @@ function copyApiObject(api) {
|
||||
}
|
||||
}
|
||||
|
||||
return Object.assign({}, proto, {}, api);
|
||||
return Object.assign({}, proto, api);
|
||||
}
|
||||
|
||||
function has(obj, key) {
|
||||
|
||||
35
conf/site/node_modules/@babel/helper-plugin-utils/package.json
generated
vendored
35
conf/site/node_modules/@babel/helper-plugin-utils/package.json
generated
vendored
@@ -1,41 +1,47 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-plugin-utils@7.8.3",
|
||||
"@babel/helper-plugin-utils@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-plugin-utils@7.8.3",
|
||||
"_id": "@babel/helper-plugin-utils@7.8.3",
|
||||
"_from": "@babel/helper-plugin-utils@7.10.4",
|
||||
"_id": "@babel/helper-plugin-utils@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==",
|
||||
"_integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==",
|
||||
"_location": "/@babel/helper-plugin-utils",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-plugin-utils@7.8.3",
|
||||
"raw": "@babel/helper-plugin-utils@7.10.4",
|
||||
"name": "@babel/helper-plugin-utils",
|
||||
"escapedName": "@babel%2fhelper-plugin-utils",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-proposal-async-generator-functions",
|
||||
"/@babel/plugin-proposal-dynamic-import",
|
||||
"/@babel/plugin-proposal-export-namespace-from",
|
||||
"/@babel/plugin-proposal-json-strings",
|
||||
"/@babel/plugin-proposal-logical-assignment-operators",
|
||||
"/@babel/plugin-proposal-nullish-coalescing-operator",
|
||||
"/@babel/plugin-proposal-numeric-separator",
|
||||
"/@babel/plugin-proposal-object-rest-spread",
|
||||
"/@babel/plugin-proposal-optional-catch-binding",
|
||||
"/@babel/plugin-proposal-optional-chaining",
|
||||
"/@babel/plugin-proposal-private-methods",
|
||||
"/@babel/plugin-proposal-unicode-property-regex",
|
||||
"/@babel/plugin-syntax-async-generators",
|
||||
"/@babel/plugin-syntax-class-properties",
|
||||
"/@babel/plugin-syntax-dynamic-import",
|
||||
"/@babel/plugin-syntax-export-namespace-from",
|
||||
"/@babel/plugin-syntax-json-strings",
|
||||
"/@babel/plugin-syntax-logical-assignment-operators",
|
||||
"/@babel/plugin-syntax-nullish-coalescing-operator",
|
||||
"/@babel/plugin-syntax-numeric-separator",
|
||||
"/@babel/plugin-syntax-object-rest-spread",
|
||||
@@ -71,19 +77,23 @@
|
||||
"/@babel/plugin-transform-sticky-regex",
|
||||
"/@babel/plugin-transform-template-literals",
|
||||
"/@babel/plugin-transform-typeof-symbol",
|
||||
"/@babel/plugin-transform-unicode-escapes",
|
||||
"/@babel/plugin-transform-unicode-regex",
|
||||
"/@babel/preset-env",
|
||||
"/@babel/preset-modules"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Logan Smyth",
|
||||
"email": "loganfsmyth@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"description": "General utilities for plugins to use",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -93,7 +103,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-plugin-utils"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-plugin-utils"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
95
conf/site/node_modules/@babel/helper-plugin-utils/src/index.js
generated
vendored
95
conf/site/node_modules/@babel/helper-plugin-utils/src/index.js
generated
vendored
@@ -1,95 +0,0 @@
|
||||
export function declare(builder) {
|
||||
return (api, options, dirname) => {
|
||||
if (!api.assertVersion) {
|
||||
// Inject a custom version of 'assertVersion' for Babel 6 and early
|
||||
// versions of Babel 7's beta that didn't have it.
|
||||
api = Object.assign(copyApiObject(api), {
|
||||
assertVersion(range) {
|
||||
throwVersionError(range, api.version);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
return builder(api, options || {}, dirname);
|
||||
};
|
||||
}
|
||||
|
||||
function copyApiObject(api) {
|
||||
// Babel >= 7 <= beta.41 passed the API as a new object that had
|
||||
// babel/core as the prototype. While slightly faster, it also
|
||||
// means that the Object.assign copy below fails. Rather than
|
||||
// keep complexity, the Babel 6 behavior has been reverted and this
|
||||
// normalizes all that for Babel 7.
|
||||
let proto = null;
|
||||
if (typeof api.version === "string" && /^7\./.test(api.version)) {
|
||||
proto = Object.getPrototypeOf(api);
|
||||
if (
|
||||
proto &&
|
||||
(!has(proto, "version") ||
|
||||
!has(proto, "transform") ||
|
||||
!has(proto, "template") ||
|
||||
!has(proto, "types"))
|
||||
) {
|
||||
proto = null;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
...proto,
|
||||
...api,
|
||||
};
|
||||
}
|
||||
|
||||
function has(obj, key) {
|
||||
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||
}
|
||||
|
||||
function throwVersionError(range, version) {
|
||||
if (typeof range === "number") {
|
||||
if (!Number.isInteger(range)) {
|
||||
throw new Error("Expected string or integer value.");
|
||||
}
|
||||
range = `^${range}.0.0-0`;
|
||||
}
|
||||
if (typeof range !== "string") {
|
||||
throw new Error("Expected string or integer value.");
|
||||
}
|
||||
|
||||
const limit = Error.stackTraceLimit;
|
||||
|
||||
if (typeof limit === "number" && limit < 25) {
|
||||
// Bump up the limit if needed so that users are more likely
|
||||
// to be able to see what is calling Babel.
|
||||
Error.stackTraceLimit = 25;
|
||||
}
|
||||
|
||||
let err;
|
||||
if (version.slice(0, 2) === "7.") {
|
||||
err = new Error(
|
||||
`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` +
|
||||
`You'll need to update your @babel/core version.`,
|
||||
);
|
||||
} else {
|
||||
err = new Error(
|
||||
`Requires Babel "${range}", but was loaded with "${version}". ` +
|
||||
`If you are sure you have a compatible version of @babel/core, ` +
|
||||
`it is likely that something in your build process is loading the ` +
|
||||
`wrong version. Inspect the stack trace of this error to look for ` +
|
||||
`the first entry that doesn't mention "@babel/core" or "babel-core" ` +
|
||||
`to see what is calling Babel.`,
|
||||
);
|
||||
}
|
||||
|
||||
if (typeof limit === "number") {
|
||||
Error.stackTraceLimit = limit;
|
||||
}
|
||||
|
||||
throw Object.assign(
|
||||
err,
|
||||
({
|
||||
code: "BABEL_VERSION_UNSUPPORTED",
|
||||
version,
|
||||
range,
|
||||
}: any),
|
||||
);
|
||||
}
|
||||
31
conf/site/node_modules/@babel/helper-regex/package.json
generated
vendored
31
conf/site/node_modules/@babel/helper-regex/package.json
generated
vendored
@@ -1,40 +1,44 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-regex@7.8.3",
|
||||
"@babel/helper-regex@7.10.5",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-regex@7.8.3",
|
||||
"_id": "@babel/helper-regex@7.8.3",
|
||||
"_from": "@babel/helper-regex@7.10.5",
|
||||
"_id": "@babel/helper-regex@7.10.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ==",
|
||||
"_integrity": "sha512-68kdUAzDrljqBrio7DYAEgCoJHxppJOERHOgOrDN7WjOzP0ZQ1LsSDRXcemzVZaLvjaJsJEESb6qt+znNuENDg==",
|
||||
"_location": "/@babel/helper-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-regex@7.8.3",
|
||||
"raw": "@babel/helper-regex@7.10.5",
|
||||
"name": "@babel/helper-regex",
|
||||
"escapedName": "@babel%2fhelper-regex",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-create-regexp-features-plugin",
|
||||
"/@babel/plugin-transform-sticky-regex"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.10.5.tgz",
|
||||
"_spec": "7.10.5",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"lodash": "^4.17.13"
|
||||
"lodash": "^4.17.19"
|
||||
},
|
||||
"description": "Helper function to check for literal RegEx",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-regex",
|
||||
@@ -43,7 +47,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-regex"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-regex"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.5"
|
||||
}
|
||||
|
||||
41
conf/site/node_modules/@babel/helper-remap-async-to-generator/package.json
generated
vendored
41
conf/site/node_modules/@babel/helper-remap-async-to-generator/package.json
generated
vendored
@@ -1,44 +1,50 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-remap-async-to-generator@7.8.3",
|
||||
"@babel/helper-remap-async-to-generator@7.11.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-remap-async-to-generator@7.8.3",
|
||||
"_id": "@babel/helper-remap-async-to-generator@7.8.3",
|
||||
"_from": "@babel/helper-remap-async-to-generator@7.11.4",
|
||||
"_id": "@babel/helper-remap-async-to-generator@7.11.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA==",
|
||||
"_integrity": "sha512-tR5vJ/vBa9wFy3m5LLv2faapJLnDFxNWff2SAYkSE4rLUdbp7CdObYFgI7wK4T/Mj4UzpjPwzR8Pzmr5m7MHGA==",
|
||||
"_location": "/@babel/helper-remap-async-to-generator",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-remap-async-to-generator@7.8.3",
|
||||
"raw": "@babel/helper-remap-async-to-generator@7.11.4",
|
||||
"name": "@babel/helper-remap-async-to-generator",
|
||||
"escapedName": "@babel%2fhelper-remap-async-to-generator",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.11.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.11.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/plugin-proposal-async-generator-functions",
|
||||
"/@babel/plugin-transform-async-to-generator"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.11.4.tgz",
|
||||
"_spec": "7.11.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-annotate-as-pure": "^7.8.3",
|
||||
"@babel/helper-wrap-function": "^7.8.3",
|
||||
"@babel/template": "^7.8.3",
|
||||
"@babel/traverse": "^7.8.3",
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/helper-annotate-as-pure": "^7.10.4",
|
||||
"@babel/helper-wrap-function": "^7.10.4",
|
||||
"@babel/template": "^7.10.4",
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to remap async functions to generators",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"devDependencies": {
|
||||
"@babel/traverse": "^7.10.4"
|
||||
},
|
||||
"gitHead": "90b198956995195ea00e7ac9912c2260e44d8746",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-remap-async-to-generator",
|
||||
@@ -47,7 +53,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-remap-async-to-generator"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-remap-async-to-generator"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.11.4"
|
||||
}
|
||||
|
||||
39
conf/site/node_modules/@babel/helper-replace-supers/lib/index.js
generated
vendored
39
conf/site/node_modules/@babel/helper-replace-supers/lib/index.js
generated
vendored
@@ -113,11 +113,33 @@ const specHandlers = {
|
||||
},
|
||||
|
||||
get(superMember) {
|
||||
return t.callExpression(this.file.addHelper("get"), [getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod), this.prop(superMember), t.thisExpression()]);
|
||||
return this._get(superMember, this._getThisRefs());
|
||||
},
|
||||
|
||||
_get(superMember, thisRefs) {
|
||||
const proto = getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod);
|
||||
return t.callExpression(this.file.addHelper("get"), [thisRefs.memo ? t.sequenceExpression([thisRefs.memo, proto]) : proto, this.prop(superMember), thisRefs.this]);
|
||||
},
|
||||
|
||||
_getThisRefs() {
|
||||
if (!this.isDerivedConstructor) {
|
||||
return {
|
||||
this: t.thisExpression()
|
||||
};
|
||||
}
|
||||
|
||||
const thisRef = this.scope.generateDeclaredUidIdentifier("thisSuper");
|
||||
return {
|
||||
memo: t.assignmentExpression("=", thisRef, t.thisExpression()),
|
||||
this: t.cloneNode(thisRef)
|
||||
};
|
||||
},
|
||||
|
||||
set(superMember, value) {
|
||||
return t.callExpression(this.file.addHelper("set"), [getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod), this.prop(superMember), value, t.thisExpression(), t.booleanLiteral(superMember.isInStrictMode())]);
|
||||
const thisRefs = this._getThisRefs();
|
||||
|
||||
const proto = getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod);
|
||||
return t.callExpression(this.file.addHelper("set"), [thisRefs.memo ? t.sequenceExpression([thisRefs.memo, proto]) : proto, this.prop(superMember), value, thisRefs.this, t.booleanLiteral(superMember.isInStrictMode())]);
|
||||
},
|
||||
|
||||
destructureSet(superMember) {
|
||||
@@ -125,7 +147,9 @@ const specHandlers = {
|
||||
},
|
||||
|
||||
call(superMember, args) {
|
||||
return (0, _helperOptimiseCallExpression.default)(this.get(superMember), t.thisExpression(), args);
|
||||
const thisRefs = this._getThisRefs();
|
||||
|
||||
return (0, _helperOptimiseCallExpression.default)(this._get(superMember, thisRefs), t.cloneNode(thisRefs.this), args, false);
|
||||
}
|
||||
|
||||
};
|
||||
@@ -176,6 +200,10 @@ const looseHandlers = Object.assign({}, specHandlers, {
|
||||
} = superMember.node;
|
||||
const prop = this.prop(superMember);
|
||||
return t.memberExpression(t.thisExpression(), prop, computed);
|
||||
},
|
||||
|
||||
call(superMember, args) {
|
||||
return (0, _helperOptimiseCallExpression.default)(this.get(superMember), t.thisExpression(), args, false);
|
||||
}
|
||||
|
||||
});
|
||||
@@ -184,6 +212,9 @@ class ReplaceSupers {
|
||||
constructor(opts) {
|
||||
const path = opts.methodPath;
|
||||
this.methodPath = path;
|
||||
this.isDerivedConstructor = path.isClassMethod({
|
||||
kind: "constructor"
|
||||
}) && !!opts.superRef;
|
||||
this.isStatic = path.isObjectMethod() || path.node.static;
|
||||
this.isPrivateMethod = path.isPrivate() && path.isMethod();
|
||||
this.file = opts.file;
|
||||
@@ -200,6 +231,8 @@ class ReplaceSupers {
|
||||
const handler = this.isLoose ? looseHandlers : specHandlers;
|
||||
(0, _helperMemberExpressionToFunctions.default)(this.methodPath, visitor, Object.assign({
|
||||
file: this.file,
|
||||
scope: this.methodPath.scope,
|
||||
isDerivedConstructor: this.isDerivedConstructor,
|
||||
isStatic: this.isStatic,
|
||||
isPrivateMethod: this.isPrivateMethod,
|
||||
getObjectRef: this.getObjectRef.bind(this),
|
||||
|
||||
37
conf/site/node_modules/@babel/helper-replace-supers/package.json
generated
vendored
37
conf/site/node_modules/@babel/helper-replace-supers/package.json
generated
vendored
@@ -1,44 +1,48 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-replace-supers@7.8.6",
|
||||
"@babel/helper-replace-supers@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-replace-supers@7.8.6",
|
||||
"_id": "@babel/helper-replace-supers@7.8.6",
|
||||
"_from": "@babel/helper-replace-supers@7.10.4",
|
||||
"_id": "@babel/helper-replace-supers@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA==",
|
||||
"_integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==",
|
||||
"_location": "/@babel/helper-replace-supers",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-replace-supers@7.8.6",
|
||||
"raw": "@babel/helper-replace-supers@7.10.4",
|
||||
"name": "@babel/helper-replace-supers",
|
||||
"escapedName": "@babel%2fhelper-replace-supers",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.6",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.6"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-module-transforms",
|
||||
"/@babel/plugin-transform-classes",
|
||||
"/@babel/plugin-transform-object-super"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz",
|
||||
"_spec": "7.8.6",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-member-expression-to-functions": "^7.8.3",
|
||||
"@babel/helper-optimise-call-expression": "^7.8.3",
|
||||
"@babel/traverse": "^7.8.6",
|
||||
"@babel/types": "^7.8.6"
|
||||
"@babel/helper-member-expression-to-functions": "^7.10.4",
|
||||
"@babel/helper-optimise-call-expression": "^7.10.4",
|
||||
"@babel/traverse": "^7.10.4",
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Helper function to replace supers",
|
||||
"gitHead": "750d3dde3bd2d390819820fd22c05441da78751b",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/helper-replace-supers",
|
||||
@@ -47,7 +51,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-replace-supers"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-replace-supers"
|
||||
},
|
||||
"version": "7.8.6"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
32
conf/site/node_modules/@babel/helper-simple-access/package.json
generated
vendored
32
conf/site/node_modules/@babel/helper-simple-access/package.json
generated
vendored
@@ -1,45 +1,48 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/helper-simple-access@7.8.3",
|
||||
"@babel/helper-simple-access@7.10.4",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/helper-simple-access@7.8.3",
|
||||
"_id": "@babel/helper-simple-access@7.8.3",
|
||||
"_from": "@babel/helper-simple-access@7.10.4",
|
||||
"_id": "@babel/helper-simple-access@7.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw==",
|
||||
"_integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==",
|
||||
"_location": "/@babel/helper-simple-access",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/helper-simple-access@7.8.3",
|
||||
"raw": "@babel/helper-simple-access@7.10.4",
|
||||
"name": "@babel/helper-simple-access",
|
||||
"escapedName": "@babel%2fhelper-simple-access",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.8.3",
|
||||
"rawSpec": "7.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.8.3"
|
||||
"fetchSpec": "7.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/helper-module-transforms",
|
||||
"/@babel/plugin-transform-modules-commonjs"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz",
|
||||
"_spec": "7.8.3",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz",
|
||||
"_spec": "7.10.4",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Logan Smyth",
|
||||
"email": "loganfsmyth@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/template": "^7.8.3",
|
||||
"@babel/types": "^7.8.3"
|
||||
"@babel/template": "^7.10.4",
|
||||
"@babel/types": "^7.10.4"
|
||||
},
|
||||
"description": "Babel helper for ensuring that access to a given value is performed through simple accesses",
|
||||
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017",
|
||||
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@@ -49,7 +52,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-simple-access"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-simple-access"
|
||||
},
|
||||
"version": "7.8.3"
|
||||
"version": "7.10.4"
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
(The MIT License)
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
|
||||
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
|
||||
"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
|
||||
@@ -13,10 +13,10 @@ 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,
|
||||
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.
|
||||
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.
|
||||
17
conf/site/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md
generated
vendored
Normal file
17
conf/site/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# @babel/helper-skip-transparent-expression-wrappers
|
||||
|
||||
> Helper which skips types and parentheses
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/helper-skip-transparent-expression-wrappers
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/helper-skip-transparent-expression-wrappers --dev
|
||||
```
|
||||
25
conf/site/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js
generated
vendored
Normal file
25
conf/site/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.isTransparentExprWrapper = isTransparentExprWrapper;
|
||||
exports.skipTransparentExprWrappers = skipTransparentExprWrappers;
|
||||
|
||||
var t = _interopRequireWildcard(require("@babel/types"));
|
||||
|
||||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
||||
|
||||
function isTransparentExprWrapper(node) {
|
||||
return t.isTSAsExpression(node) || t.isTSTypeAssertion(node) || t.isTSNonNullExpression(node) || t.isTypeCastExpression(node) || t.isParenthesizedExpression(node);
|
||||
}
|
||||
|
||||
function skipTransparentExprWrappers(path) {
|
||||
while (isTransparentExprWrapper(path.node)) {
|
||||
path = path.get("expression");
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user