Bläddra i källkod

分批删除node_modules.bak数据4

wangsy 11 månader sedan
förälder
incheckning
2839981570
100 ändrade filer med 0 tillägg och 14287 borttagningar
  1. 0 22
      node_modules.bak/@babel/code-frame/LICENSE
  2. 0 19
      node_modules.bak/@babel/code-frame/README.md
  3. 0 167
      node_modules.bak/@babel/code-frame/lib/index.js
  4. 0 59
      node_modules.bak/@babel/code-frame/package.json
  5. 0 22
      node_modules.bak/@babel/compat-data/LICENSE
  6. 0 1
      node_modules.bak/@babel/compat-data/corejs2-built-ins.js
  7. 0 1
      node_modules.bak/@babel/compat-data/corejs3-shipped-proposals.js
  8. 0 1695
      node_modules.bak/@babel/compat-data/data/corejs2-built-ins.json
  9. 0 5
      node_modules.bak/@babel/compat-data/data/corejs3-shipped-proposals.json
  10. 0 18
      node_modules.bak/@babel/compat-data/data/native-modules.json
  11. 0 21
      node_modules.bak/@babel/compat-data/data/overlapping-plugins.json
  12. 0 141
      node_modules.bak/@babel/compat-data/data/plugin-bugfixes.json
  13. 0 447
      node_modules.bak/@babel/compat-data/data/plugins.json
  14. 0 1
      node_modules.bak/@babel/compat-data/native-modules.js
  15. 0 1
      node_modules.bak/@babel/compat-data/overlapping-plugins.js
  16. 0 72
      node_modules.bak/@babel/compat-data/package.json
  17. 0 1
      node_modules.bak/@babel/compat-data/plugin-bugfixes.js
  18. 0 1
      node_modules.bak/@babel/compat-data/plugins.js
  19. 0 22
      node_modules.bak/@babel/core/LICENSE
  20. 0 19
      node_modules.bak/@babel/core/README.md
  21. 0 0
      node_modules.bak/@babel/core/lib/config/cache-contexts.js
  22. 0 325
      node_modules.bak/@babel/core/lib/config/caching.js
  23. 0 556
      node_modules.bak/@babel/core/lib/config/config-chain.js
  24. 0 244
      node_modules.bak/@babel/core/lib/config/config-descriptors.js
  25. 0 357
      node_modules.bak/@babel/core/lib/config/files/configuration.js
  26. 0 10
      node_modules.bak/@babel/core/lib/config/files/import.js
  27. 0 67
      node_modules.bak/@babel/core/lib/config/files/index-browser.js
  28. 0 79
      node_modules.bak/@babel/core/lib/config/files/index.js
  29. 0 104
      node_modules.bak/@babel/core/lib/config/files/module-types.js
  30. 0 76
      node_modules.bak/@babel/core/lib/config/files/package.js
  31. 0 206
      node_modules.bak/@babel/core/lib/config/files/plugins.js
  32. 0 0
      node_modules.bak/@babel/core/lib/config/files/types.js
  33. 0 44
      node_modules.bak/@babel/core/lib/config/files/utils.js
  34. 0 336
      node_modules.bak/@babel/core/lib/config/full.js
  35. 0 103
      node_modules.bak/@babel/core/lib/config/helpers/config-api.js
  36. 0 10
      node_modules.bak/@babel/core/lib/config/helpers/environment.js
  37. 0 74
      node_modules.bak/@babel/core/lib/config/index.js
  38. 0 76
      node_modules.bak/@babel/core/lib/config/item.js
  39. 0 195
      node_modules.bak/@babel/core/lib/config/partial.js
  40. 0 44
      node_modules.bak/@babel/core/lib/config/pattern-to-regex.js
  41. 0 30
      node_modules.bak/@babel/core/lib/config/plugin.js
  42. 0 139
      node_modules.bak/@babel/core/lib/config/printer.js
  43. 0 42
      node_modules.bak/@babel/core/lib/config/resolve-targets-browser.js
  44. 0 68
      node_modules.bak/@babel/core/lib/config/resolve-targets.js
  45. 0 31
      node_modules.bak/@babel/core/lib/config/util.js
  46. 0 352
      node_modules.bak/@babel/core/lib/config/validation/option-assertions.js
  47. 0 210
      node_modules.bak/@babel/core/lib/config/validation/options.js
  48. 0 71
      node_modules.bak/@babel/core/lib/config/validation/plugins.js
  49. 0 66
      node_modules.bak/@babel/core/lib/config/validation/removed.js
  50. 0 93
      node_modules.bak/@babel/core/lib/gensync-utils/async.js
  51. 0 40
      node_modules.bak/@babel/core/lib/gensync-utils/fs.js
  52. 0 264
      node_modules.bak/@babel/core/lib/index.js
  53. 0 48
      node_modules.bak/@babel/core/lib/parse.js
  54. 0 95
      node_modules.bak/@babel/core/lib/parser/index.js
  55. 0 313
      node_modules.bak/@babel/core/lib/parser/util/missing-plugin-helper.js
  56. 0 142
      node_modules.bak/@babel/core/lib/tools/build-external-helpers.js
  57. 0 46
      node_modules.bak/@babel/core/lib/transform-ast.js
  58. 0 26
      node_modules.bak/@babel/core/lib/transform-file-browser.js
  59. 0 41
      node_modules.bak/@babel/core/lib/transform-file.js
  60. 0 42
      node_modules.bak/@babel/core/lib/transform.js
  61. 0 94
      node_modules.bak/@babel/core/lib/transformation/block-hoist-plugin.js
  62. 0 249
      node_modules.bak/@babel/core/lib/transformation/file/file.js
  63. 0 87
      node_modules.bak/@babel/core/lib/transformation/file/generate.js
  64. 0 245
      node_modules.bak/@babel/core/lib/transformation/file/merge-map.js
  65. 0 124
      node_modules.bak/@babel/core/lib/transformation/index.js
  66. 0 162
      node_modules.bak/@babel/core/lib/transformation/normalize-file.js
  67. 0 62
      node_modules.bak/@babel/core/lib/transformation/normalize-opts.js
  68. 0 54
      node_modules.bak/@babel/core/lib/transformation/plugin-pass.js
  69. 0 25
      node_modules.bak/@babel/core/lib/transformation/util/clone-deep-browser.js
  70. 0 26
      node_modules.bak/@babel/core/lib/transformation/util/clone-deep.js
  71. 0 108
      node_modules.bak/@babel/core/package.json
  72. 0 109
      node_modules.bak/@babel/core/src/config/files/index-browser.ts
  73. 0 29
      node_modules.bak/@babel/core/src/config/files/index.ts
  74. 0 33
      node_modules.bak/@babel/core/src/config/resolve-targets-browser.ts
  75. 0 49
      node_modules.bak/@babel/core/src/config/resolve-targets.ts
  76. 0 27
      node_modules.bak/@babel/core/src/transform-file-browser.ts
  77. 0 40
      node_modules.bak/@babel/core/src/transform-file.ts
  78. 0 19
      node_modules.bak/@babel/core/src/transformation/util/clone-deep-browser.ts
  79. 0 9
      node_modules.bak/@babel/core/src/transformation/util/clone-deep.ts
  80. 0 22
      node_modules.bak/@babel/generator/LICENSE
  81. 0 19
      node_modules.bak/@babel/generator/README.md
  82. 0 259
      node_modules.bak/@babel/generator/lib/buffer.js
  83. 0 98
      node_modules.bak/@babel/generator/lib/generators/base.js
  84. 0 168
      node_modules.bak/@babel/generator/lib/generators/classes.js
  85. 0 310
      node_modules.bak/@babel/generator/lib/generators/expressions.js
  86. 0 790
      node_modules.bak/@babel/generator/lib/generators/flow.js
  87. 0 148
      node_modules.bak/@babel/generator/lib/generators/index.js
  88. 0 147
      node_modules.bak/@babel/generator/lib/generators/jsx.js
  89. 0 145
      node_modules.bak/@babel/generator/lib/generators/methods.js
  90. 0 225
      node_modules.bak/@babel/generator/lib/generators/modules.js
  91. 0 314
      node_modules.bak/@babel/generator/lib/generators/statements.js
  92. 0 35
      node_modules.bak/@babel/generator/lib/generators/template-literals.js
  93. 0 254
      node_modules.bak/@babel/generator/lib/generators/types.js
  94. 0 808
      node_modules.bak/@babel/generator/lib/generators/typescript.js
  95. 0 96
      node_modules.bak/@babel/generator/lib/index.js
  96. 0 103
      node_modules.bak/@babel/generator/lib/node/index.js
  97. 0 293
      node_modules.bak/@babel/generator/lib/node/parentheses.js
  98. 0 197
      node_modules.bak/@babel/generator/lib/node/whitespace.js
  99. 0 505
      node_modules.bak/@babel/generator/lib/printer.js
  100. 0 0
      node_modules.bak/@babel/generator/lib/source-map.js

+ 0 - 22
node_modules.bak/@babel/code-frame/LICENSE

@@ -1,22 +0,0 @@
-MIT License
-
-Copyright (c) 2014-present Sebastian McKenzie and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 19
node_modules.bak/@babel/code-frame/README.md

@@ -1,19 +0,0 @@
-# @babel/code-frame
-
-> Generate errors that contain a code frame that point to source locations.
-
-See our website [@babel/code-frame](https://babeljs.io/docs/en/babel-code-frame) for more information.
-
-## Install
-
-Using npm:
-
-```sh
-npm install --save-dev @babel/code-frame
-```
-
-or using yarn:
-
-```sh
-yarn add @babel/code-frame --dev
-```

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 167
node_modules.bak/@babel/code-frame/lib/index.js


+ 0 - 59
node_modules.bak/@babel/code-frame/package.json

@@ -1,59 +0,0 @@
-{
-  "_from": "@babel/code-frame@^7.12.13",
-  "_id": "@babel/code-frame@7.12.13",
-  "_inBundle": false,
-  "_integrity": "sha1-3PyCa+72XnXFDiHTg319lXmN1lg=",
-  "_location": "/@babel/code-frame",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "@babel/code-frame@^7.12.13",
-    "name": "@babel/code-frame",
-    "escapedName": "@babel%2fcode-frame",
-    "scope": "@babel",
-    "rawSpec": "^7.12.13",
-    "saveSpec": null,
-    "fetchSpec": "^7.12.13"
-  },
-  "_requiredBy": [
-    "/@babel/core",
-    "/@babel/template",
-    "/@babel/traverse"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.12.13.tgz",
-  "_shasum": "dcfc826beef65e75c50e21d3837d7d95798dd658",
-  "_spec": "@babel/code-frame@^7.12.13",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\@babel\\core",
-  "author": {
-    "name": "Sebastian McKenzie",
-    "email": "sebmck@gmail.com"
-  },
-  "bugs": {
-    "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "@babel/highlight": "^7.12.13"
-  },
-  "deprecated": false,
-  "description": "Generate errors that contain a code frame that point to source locations.",
-  "devDependencies": {
-    "@types/chalk": "^2.0.0",
-    "chalk": "^2.0.0",
-    "strip-ansi": "^4.0.0"
-  },
-  "homepage": "https://babel.dev/docs/en/next/babel-code-frame",
-  "license": "MIT",
-  "main": "lib/index.js",
-  "name": "@babel/code-frame",
-  "publishConfig": {
-    "access": "public"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/babel/babel.git",
-    "directory": "packages/babel-code-frame"
-  },
-  "version": "7.12.13"
-}

+ 0 - 22
node_modules.bak/@babel/compat-data/LICENSE

@@ -1,22 +0,0 @@
-MIT License
-
-Copyright (c) 2014-present Sebastian McKenzie and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 1
node_modules.bak/@babel/compat-data/corejs2-built-ins.js

@@ -1 +0,0 @@
-module.exports = require("./data/corejs2-built-ins.json");

+ 0 - 1
node_modules.bak/@babel/compat-data/corejs3-shipped-proposals.js

@@ -1 +0,0 @@
-module.exports = require("./data/corejs3-shipped-proposals.json");

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 1695
node_modules.bak/@babel/compat-data/data/corejs2-built-ins.json


+ 0 - 5
node_modules.bak/@babel/compat-data/data/corejs3-shipped-proposals.json

@@ -1,5 +0,0 @@
-[
-  "esnext.global-this",
-  "esnext.promise.all-settled",
-  "esnext.string.match-all"
-]

+ 0 - 18
node_modules.bak/@babel/compat-data/data/native-modules.json

@@ -1,18 +0,0 @@
-{
-  "es6.module": {
-    "chrome": "61",
-    "and_chr": "61",
-    "edge": "16",
-    "firefox": "60",
-    "and_ff": "60",
-    "node": "13.2.0",
-    "opera": "48",
-    "op_mob": "48",
-    "safari": "10.1",
-    "ios": "10.3",
-    "samsung": "8.2",
-    "android": "61",
-    "electron": "2.0",
-    "ios_saf": "10.3"
-  }
-}

+ 0 - 21
node_modules.bak/@babel/compat-data/data/overlapping-plugins.json

@@ -1,21 +0,0 @@
-{
-  "transform-async-to-generator": [
-    "bugfix/transform-async-arrows-in-class"
-  ],
-  "transform-parameters": [
-    "bugfix/transform-edge-default-parameters"
-  ],
-  "transform-function-name": [
-    "bugfix/transform-edge-function-name"
-  ],
-  "transform-block-scoping": [
-    "bugfix/transform-safari-block-shadowing",
-    "bugfix/transform-safari-for-shadowing"
-  ],
-  "transform-template-literals": [
-    "bugfix/transform-tagged-template-caching"
-  ],
-  "proposal-optional-chaining": [
-    "bugfix/transform-v8-spread-parameters-in-optional-chaining"
-  ]
-}

+ 0 - 141
node_modules.bak/@babel/compat-data/data/plugin-bugfixes.json

@@ -1,141 +0,0 @@
-{
-  "transform-async-to-generator": {
-    "chrome": "55",
-    "opera": "42",
-    "edge": "15",
-    "firefox": "52",
-    "safari": "10.1",
-    "node": "7.6",
-    "ios": "10.3",
-    "samsung": "6",
-    "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",
-    "electron": "1.6"
-  },
-  "transform-parameters": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "15",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "bugfix/transform-edge-default-parameters": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "18",
-    "firefox": "52",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "transform-function-name": {
-    "chrome": "51",
-    "opera": "38",
-    "edge": "14",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6.5",
-    "ios": "10",
-    "samsung": "5",
-    "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",
-    "electron": "1.2"
-  },
-  "transform-block-scoping": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "14",
-    "firefox": "51",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "bugfix/transform-safari-block-shadowing": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "12",
-    "firefox": "44",
-    "safari": "11",
-    "node": "6",
-    "ie": "11",
-    "ios": "11",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "bugfix/transform-safari-for-shadowing": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "12",
-    "firefox": "4",
-    "safari": "11",
-    "node": "6",
-    "ie": "11",
-    "ios": "11",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "transform-template-literals": {
-    "chrome": "41",
-    "opera": "28",
-    "edge": "13",
-    "firefox": "34",
-    "safari": "9",
-    "node": "4",
-    "ios": "9",
-    "samsung": "3.4",
-    "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",
-    "electron": "0.21"
-  },
-  "proposal-optional-chaining": {
-    "chrome": "80",
-    "opera": "67",
-    "edge": "80",
-    "firefox": "74",
-    "safari": "13.1",
-    "node": "14",
-    "ios": "13.4",
-    "samsung": "13",
-    "electron": "8.0"
-  },
-  "bugfix/transform-v8-spread-parameters-in-optional-chaining": {
-    "firefox": "74",
-    "safari": "13.1",
-    "ios": "13.4"
-  }
-}

+ 0 - 447
node_modules.bak/@babel/compat-data/data/plugins.json

@@ -1,447 +0,0 @@
-{
-  "proposal-class-static-block": {
-    "chrome": "91"
-  },
-  "proposal-private-property-in-object": {
-    "chrome": "91"
-  },
-  "proposal-class-properties": {
-    "chrome": "74",
-    "opera": "62",
-    "edge": "79",
-    "safari": "14.1",
-    "node": "12",
-    "samsung": "11",
-    "electron": "6.0"
-  },
-  "proposal-private-methods": {
-    "chrome": "84",
-    "opera": "70",
-    "edge": "84",
-    "node": "14.6",
-    "electron": "10.0"
-  },
-  "proposal-numeric-separator": {
-    "chrome": "75",
-    "opera": "62",
-    "edge": "79",
-    "firefox": "70",
-    "safari": "13",
-    "node": "12.5",
-    "ios": "13",
-    "samsung": "11",
-    "electron": "6.0"
-  },
-  "proposal-logical-assignment-operators": {
-    "chrome": "85",
-    "opera": "71",
-    "edge": "85",
-    "firefox": "79",
-    "safari": "14",
-    "node": "15",
-    "ios": "14",
-    "electron": "10.0"
-  },
-  "proposal-nullish-coalescing-operator": {
-    "chrome": "80",
-    "opera": "67",
-    "edge": "80",
-    "firefox": "72",
-    "safari": "13.1",
-    "node": "14",
-    "ios": "13.4",
-    "samsung": "13",
-    "electron": "8.0"
-  },
-  "proposal-optional-chaining": {
-    "firefox": "74",
-    "safari": "13.1",
-    "ios": "13.4"
-  },
-  "proposal-json-strings": {
-    "chrome": "66",
-    "opera": "53",
-    "edge": "79",
-    "firefox": "62",
-    "safari": "12",
-    "node": "10",
-    "ios": "12",
-    "samsung": "9",
-    "electron": "3.0"
-  },
-  "proposal-optional-catch-binding": {
-    "chrome": "66",
-    "opera": "53",
-    "edge": "79",
-    "firefox": "58",
-    "safari": "11.1",
-    "node": "10",
-    "ios": "11.3",
-    "samsung": "9",
-    "electron": "3.0"
-  },
-  "transform-parameters": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "18",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "proposal-async-generator-functions": {
-    "chrome": "63",
-    "opera": "50",
-    "edge": "79",
-    "firefox": "57",
-    "safari": "12",
-    "node": "10",
-    "ios": "12",
-    "samsung": "8",
-    "electron": "3.0"
-  },
-  "proposal-object-rest-spread": {
-    "chrome": "60",
-    "opera": "47",
-    "edge": "79",
-    "firefox": "55",
-    "safari": "11.1",
-    "node": "8.3",
-    "ios": "11.3",
-    "samsung": "8",
-    "electron": "2.0"
-  },
-  "transform-dotall-regex": {
-    "chrome": "62",
-    "opera": "49",
-    "edge": "79",
-    "firefox": "78",
-    "safari": "11.1",
-    "node": "8.10",
-    "ios": "11.3",
-    "samsung": "8",
-    "electron": "3.0"
-  },
-  "proposal-unicode-property-regex": {
-    "chrome": "64",
-    "opera": "51",
-    "edge": "79",
-    "firefox": "78",
-    "safari": "11.1",
-    "node": "10",
-    "ios": "11.3",
-    "samsung": "9",
-    "electron": "3.0"
-  },
-  "transform-named-capturing-groups-regex": {
-    "chrome": "64",
-    "opera": "51",
-    "edge": "79",
-    "firefox": "78",
-    "safari": "11.1",
-    "node": "10",
-    "ios": "11.3",
-    "samsung": "9",
-    "electron": "3.0"
-  },
-  "transform-async-to-generator": {
-    "chrome": "55",
-    "opera": "42",
-    "edge": "15",
-    "firefox": "52",
-    "safari": "11",
-    "node": "7.6",
-    "ios": "11",
-    "samsung": "6",
-    "electron": "1.6"
-  },
-  "transform-exponentiation-operator": {
-    "chrome": "52",
-    "opera": "39",
-    "edge": "14",
-    "firefox": "52",
-    "safari": "10.1",
-    "node": "7",
-    "ios": "10.3",
-    "samsung": "6",
-    "electron": "1.3"
-  },
-  "transform-template-literals": {
-    "chrome": "41",
-    "opera": "28",
-    "edge": "13",
-    "firefox": "34",
-    "safari": "13",
-    "node": "4",
-    "ios": "13",
-    "samsung": "3.4",
-    "electron": "0.21"
-  },
-  "transform-literals": {
-    "chrome": "44",
-    "opera": "31",
-    "edge": "12",
-    "firefox": "53",
-    "safari": "9",
-    "node": "4",
-    "ios": "9",
-    "samsung": "4",
-    "electron": "0.30"
-  },
-  "transform-function-name": {
-    "chrome": "51",
-    "opera": "38",
-    "edge": "79",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6.5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "1.2"
-  },
-  "transform-arrow-functions": {
-    "chrome": "47",
-    "opera": "34",
-    "edge": "13",
-    "firefox": "45",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.36"
-  },
-  "transform-block-scoped-functions": {
-    "chrome": "41",
-    "opera": "28",
-    "edge": "12",
-    "firefox": "46",
-    "safari": "10",
-    "node": "4",
-    "ie": "11",
-    "ios": "10",
-    "samsung": "3.4",
-    "electron": "0.21"
-  },
-  "transform-classes": {
-    "chrome": "46",
-    "opera": "33",
-    "edge": "13",
-    "firefox": "45",
-    "safari": "10",
-    "node": "5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.36"
-  },
-  "transform-object-super": {
-    "chrome": "46",
-    "opera": "33",
-    "edge": "13",
-    "firefox": "45",
-    "safari": "10",
-    "node": "5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.36"
-  },
-  "transform-shorthand-properties": {
-    "chrome": "43",
-    "opera": "30",
-    "edge": "12",
-    "firefox": "33",
-    "safari": "9",
-    "node": "4",
-    "ios": "9",
-    "samsung": "4",
-    "electron": "0.27"
-  },
-  "transform-duplicate-keys": {
-    "chrome": "42",
-    "opera": "29",
-    "edge": "12",
-    "firefox": "34",
-    "safari": "9",
-    "node": "4",
-    "ios": "9",
-    "samsung": "3.4",
-    "electron": "0.25"
-  },
-  "transform-computed-properties": {
-    "chrome": "44",
-    "opera": "31",
-    "edge": "12",
-    "firefox": "34",
-    "safari": "7.1",
-    "node": "4",
-    "ios": "8",
-    "samsung": "4",
-    "electron": "0.30"
-  },
-  "transform-for-of": {
-    "chrome": "51",
-    "opera": "38",
-    "edge": "15",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6.5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "1.2"
-  },
-  "transform-sticky-regex": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "13",
-    "firefox": "3",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "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",
-    "electron": "1.1"
-  },
-  "transform-spread": {
-    "chrome": "46",
-    "opera": "33",
-    "edge": "13",
-    "firefox": "45",
-    "safari": "10",
-    "node": "5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.36"
-  },
-  "transform-destructuring": {
-    "chrome": "51",
-    "opera": "38",
-    "edge": "15",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6.5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "1.2"
-  },
-  "transform-block-scoping": {
-    "chrome": "49",
-    "opera": "36",
-    "edge": "14",
-    "firefox": "51",
-    "safari": "11",
-    "node": "6",
-    "ios": "11",
-    "samsung": "5",
-    "electron": "0.37"
-  },
-  "transform-typeof-symbol": {
-    "chrome": "38",
-    "opera": "25",
-    "edge": "12",
-    "firefox": "36",
-    "safari": "9",
-    "node": "0.12",
-    "ios": "9",
-    "samsung": "3",
-    "electron": "0.20"
-  },
-  "transform-new-target": {
-    "chrome": "46",
-    "opera": "33",
-    "edge": "14",
-    "firefox": "41",
-    "safari": "10",
-    "node": "5",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "0.36"
-  },
-  "transform-regenerator": {
-    "chrome": "50",
-    "opera": "37",
-    "edge": "13",
-    "firefox": "53",
-    "safari": "10",
-    "node": "6",
-    "ios": "10",
-    "samsung": "5",
-    "electron": "1.1"
-  },
-  "transform-member-expression-literals": {
-    "chrome": "7",
-    "opera": "12",
-    "edge": "12",
-    "firefox": "2",
-    "safari": "5.1",
-    "node": "0.10",
-    "ie": "9",
-    "android": "4",
-    "ios": "6",
-    "phantom": "2",
-    "samsung": "1",
-    "electron": "0.20"
-  },
-  "transform-property-literals": {
-    "chrome": "7",
-    "opera": "12",
-    "edge": "12",
-    "firefox": "2",
-    "safari": "5.1",
-    "node": "0.10",
-    "ie": "9",
-    "android": "4",
-    "ios": "6",
-    "phantom": "2",
-    "samsung": "1",
-    "electron": "0.20"
-  },
-  "transform-reserved-words": {
-    "chrome": "13",
-    "opera": "10.50",
-    "edge": "12",
-    "firefox": "2",
-    "safari": "3.1",
-    "node": "0.10",
-    "ie": "9",
-    "android": "4.4",
-    "ios": "6",
-    "phantom": "2",
-    "samsung": "1",
-    "electron": "0.20"
-  },
-  "proposal-export-namespace-from": {
-    "chrome": "72",
-    "and_chr": "72",
-    "edge": "79",
-    "firefox": "80",
-    "and_ff": "80",
-    "node": "13.2",
-    "opera": "60",
-    "op_mob": "51",
-    "samsung": "11.0",
-    "android": "72",
-    "electron": "5.0"
-  }
-}

+ 0 - 1
node_modules.bak/@babel/compat-data/native-modules.js

@@ -1 +0,0 @@
-module.exports = require("./data/native-modules.json");

+ 0 - 1
node_modules.bak/@babel/compat-data/overlapping-plugins.js

@@ -1 +0,0 @@
-module.exports = require("./data/overlapping-plugins.json");

+ 0 - 72
node_modules.bak/@babel/compat-data/package.json

@@ -1,72 +0,0 @@
-{
-  "_from": "@babel/compat-data@^7.13.15",
-  "_id": "@babel/compat-data@7.14.0",
-  "_inBundle": false,
-  "_integrity": "sha1-qQESi84q0CVl35Xm7L8ZXPlGWRk=",
-  "_location": "/@babel/compat-data",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "@babel/compat-data@^7.13.15",
-    "name": "@babel/compat-data",
-    "escapedName": "@babel%2fcompat-data",
-    "scope": "@babel",
-    "rawSpec": "^7.13.15",
-    "saveSpec": null,
-    "fetchSpec": "^7.13.15"
-  },
-  "_requiredBy": [
-    "/@babel/helper-compilation-targets",
-    "/@babel/plugin-proposal-object-rest-spread",
-    "/@babel/preset-env",
-    "/babel-plugin-polyfill-corejs2"
-  ],
-  "_resolved": "https://registry.nlark.com/@babel/compat-data/download/@babel/compat-data-7.14.0.tgz?cache=0&sync_timestamp=1619727645372&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fcompat-data%2Fdownload%2F%40babel%2Fcompat-data-7.14.0.tgz",
-  "_shasum": "a901128bce2ad02565df95e6ecbf195cf9465919",
-  "_spec": "@babel/compat-data@^7.13.15",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\@babel\\helper-compilation-targets",
-  "author": {
-    "name": "The Babel Team",
-    "url": "https://babel.dev/team"
-  },
-  "bugs": {
-    "url": "https://github.com/babel/babel/issues"
-  },
-  "bundleDependencies": false,
-  "deprecated": false,
-  "description": "",
-  "devDependencies": {
-    "@mdn/browser-compat-data": "^3.1.1",
-    "core-js-compat": "^3.9.0",
-    "electron-to-chromium": "1.3.672"
-  },
-  "exports": {
-    "./plugins": "./plugins.js",
-    "./native-modules": "./native-modules.js",
-    "./corejs2-built-ins": "./corejs2-built-ins.js",
-    "./corejs3-shipped-proposals": "./corejs3-shipped-proposals.js",
-    "./overlapping-plugins": "./overlapping-plugins.js",
-    "./plugin-bugfixes": "./plugin-bugfixes.js"
-  },
-  "homepage": "https://github.com/babel/babel#readme",
-  "keywords": [
-    "babel",
-    "compat-table",
-    "compat-data"
-  ],
-  "license": "MIT",
-  "name": "@babel/compat-data",
-  "publishConfig": {
-    "access": "public"
-  },
-  "repository": {
-    "type": "git",
-    "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"
-  },
-  "version": "7.14.0"
-}

+ 0 - 1
node_modules.bak/@babel/compat-data/plugin-bugfixes.js

@@ -1 +0,0 @@
-module.exports = require("./data/plugin-bugfixes.json");

+ 0 - 1
node_modules.bak/@babel/compat-data/plugins.js

@@ -1 +0,0 @@
-module.exports = require("./data/plugins.json");

+ 0 - 22
node_modules.bak/@babel/core/LICENSE

@@ -1,22 +0,0 @@
-MIT License
-
-Copyright (c) 2014-present Sebastian McKenzie and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 19
node_modules.bak/@babel/core/README.md

@@ -1,19 +0,0 @@
-# @babel/core
-
-> Babel compiler core.
-
-See our website [@babel/core](https://babeljs.io/docs/en/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package.
-
-## Install
-
-Using npm:
-
-```sh
-npm install --save-dev @babel/core
-```
-
-or using yarn:
-
-```sh
-yarn add @babel/core --dev
-```

+ 0 - 0
node_modules.bak/@babel/core/lib/config/cache-contexts.js


+ 0 - 325
node_modules.bak/@babel/core/lib/config/caching.js

@@ -1,325 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.makeWeakCache = makeWeakCache;
-exports.makeWeakCacheSync = makeWeakCacheSync;
-exports.makeStrongCache = makeStrongCache;
-exports.makeStrongCacheSync = makeStrongCacheSync;
-exports.assertSimpleType = assertSimpleType;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _async = require("../gensync-utils/async");
-
-var _util = require("./util");
-
-const synchronize = gen => {
-  return _gensync()(gen).sync;
-};
-
-function* genTrue() {
-  return true;
-}
-
-function makeWeakCache(handler) {
-  return makeCachedFunction(WeakMap, handler);
-}
-
-function makeWeakCacheSync(handler) {
-  return synchronize(makeWeakCache(handler));
-}
-
-function makeStrongCache(handler) {
-  return makeCachedFunction(Map, handler);
-}
-
-function makeStrongCacheSync(handler) {
-  return synchronize(makeStrongCache(handler));
-}
-
-function makeCachedFunction(CallCache, handler) {
-  const callCacheSync = new CallCache();
-  const callCacheAsync = new CallCache();
-  const futureCache = new CallCache();
-  return function* cachedFunction(arg, data) {
-    const asyncContext = yield* (0, _async.isAsync)();
-    const callCache = asyncContext ? callCacheAsync : callCacheSync;
-    const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data);
-    if (cached.valid) return cached.value;
-    const cache = new CacheConfigurator(data);
-    const handlerResult = handler(arg, cache);
-    let finishLock;
-    let value;
-
-    if ((0, _util.isIterableIterator)(handlerResult)) {
-      const gen = handlerResult;
-      value = yield* (0, _async.onFirstPause)(gen, () => {
-        finishLock = setupAsyncLocks(cache, futureCache, arg);
-      });
-    } else {
-      value = handlerResult;
-    }
-
-    updateFunctionCache(callCache, cache, arg, value);
-
-    if (finishLock) {
-      futureCache.delete(arg);
-      finishLock.release(value);
-    }
-
-    return value;
-  };
-}
-
-function* getCachedValue(cache, arg, data) {
-  const cachedValue = cache.get(arg);
-
-  if (cachedValue) {
-    for (const {
-      value,
-      valid
-    } of cachedValue) {
-      if (yield* valid(data)) return {
-        valid: true,
-        value
-      };
-    }
-  }
-
-  return {
-    valid: false,
-    value: null
-  };
-}
-
-function* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) {
-  const cached = yield* getCachedValue(callCache, arg, data);
-
-  if (cached.valid) {
-    return cached;
-  }
-
-  if (asyncContext) {
-    const cached = yield* getCachedValue(futureCache, arg, data);
-
-    if (cached.valid) {
-      const value = yield* (0, _async.waitFor)(cached.value.promise);
-      return {
-        valid: true,
-        value
-      };
-    }
-  }
-
-  return {
-    valid: false,
-    value: null
-  };
-}
-
-function setupAsyncLocks(config, futureCache, arg) {
-  const finishLock = new Lock();
-  updateFunctionCache(futureCache, config, arg, finishLock);
-  return finishLock;
-}
-
-function updateFunctionCache(cache, config, arg, value) {
-  if (!config.configured()) config.forever();
-  let cachedValue = cache.get(arg);
-  config.deactivate();
-
-  switch (config.mode()) {
-    case "forever":
-      cachedValue = [{
-        value,
-        valid: genTrue
-      }];
-      cache.set(arg, cachedValue);
-      break;
-
-    case "invalidate":
-      cachedValue = [{
-        value,
-        valid: config.validator()
-      }];
-      cache.set(arg, cachedValue);
-      break;
-
-    case "valid":
-      if (cachedValue) {
-        cachedValue.push({
-          value,
-          valid: config.validator()
-        });
-      } else {
-        cachedValue = [{
-          value,
-          valid: config.validator()
-        }];
-        cache.set(arg, cachedValue);
-      }
-
-  }
-}
-
-class CacheConfigurator {
-  constructor(data) {
-    this._active = true;
-    this._never = false;
-    this._forever = false;
-    this._invalidate = false;
-    this._configured = false;
-    this._pairs = [];
-    this._data = void 0;
-    this._data = data;
-  }
-
-  simple() {
-    return makeSimpleConfigurator(this);
-  }
-
-  mode() {
-    if (this._never) return "never";
-    if (this._forever) return "forever";
-    if (this._invalidate) return "invalidate";
-    return "valid";
-  }
-
-  forever() {
-    if (!this._active) {
-      throw new Error("Cannot change caching after evaluation has completed.");
-    }
-
-    if (this._never) {
-      throw new Error("Caching has already been configured with .never()");
-    }
-
-    this._forever = true;
-    this._configured = true;
-  }
-
-  never() {
-    if (!this._active) {
-      throw new Error("Cannot change caching after evaluation has completed.");
-    }
-
-    if (this._forever) {
-      throw new Error("Caching has already been configured with .forever()");
-    }
-
-    this._never = true;
-    this._configured = true;
-  }
-
-  using(handler) {
-    if (!this._active) {
-      throw new Error("Cannot change caching after evaluation has completed.");
-    }
-
-    if (this._never || this._forever) {
-      throw new Error("Caching has already been configured with .never or .forever()");
-    }
-
-    this._configured = true;
-    const key = handler(this._data);
-    const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`);
-
-    if ((0, _async.isThenable)(key)) {
-      return key.then(key => {
-        this._pairs.push([key, fn]);
-
-        return key;
-      });
-    }
-
-    this._pairs.push([key, fn]);
-
-    return key;
-  }
-
-  invalidate(handler) {
-    this._invalidate = true;
-    return this.using(handler);
-  }
-
-  validator() {
-    const pairs = this._pairs;
-    return function* (data) {
-      for (const [key, fn] of pairs) {
-        if (key !== (yield* fn(data))) return false;
-      }
-
-      return true;
-    };
-  }
-
-  deactivate() {
-    this._active = false;
-  }
-
-  configured() {
-    return this._configured;
-  }
-
-}
-
-function makeSimpleConfigurator(cache) {
-  function cacheFn(val) {
-    if (typeof val === "boolean") {
-      if (val) cache.forever();else cache.never();
-      return;
-    }
-
-    return cache.using(() => assertSimpleType(val()));
-  }
-
-  cacheFn.forever = () => cache.forever();
-
-  cacheFn.never = () => cache.never();
-
-  cacheFn.using = cb => cache.using(() => assertSimpleType(cb()));
-
-  cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb()));
-
-  return cacheFn;
-}
-
-function assertSimpleType(value) {
-  if ((0, _async.isThenable)(value)) {
-    throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously handle your caching logic.`);
-  }
-
-  if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") {
-    throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");
-  }
-
-  return value;
-}
-
-class Lock {
-  constructor() {
-    this.released = false;
-    this.promise = void 0;
-    this._resolve = void 0;
-    this.promise = new Promise(resolve => {
-      this._resolve = resolve;
-    });
-  }
-
-  release(value) {
-    this.released = true;
-
-    this._resolve(value);
-  }
-
-}

+ 0 - 556
node_modules.bak/@babel/core/lib/config/config-chain.js

@@ -1,556 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.buildPresetChain = buildPresetChain;
-exports.buildRootChain = buildRootChain;
-exports.buildPresetChainWalker = void 0;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _debug() {
-  const data = require("debug");
-
-  _debug = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _options = require("./validation/options");
-
-var _patternToRegex = require("./pattern-to-regex");
-
-var _printer = require("./printer");
-
-var _files = require("./files");
-
-var _caching = require("./caching");
-
-var _configDescriptors = require("./config-descriptors");
-
-const debug = _debug()("babel:config:config-chain");
-
-function* buildPresetChain(arg, context) {
-  const chain = yield* buildPresetChainWalker(arg, context);
-  if (!chain) return null;
-  return {
-    plugins: dedupDescriptors(chain.plugins),
-    presets: dedupDescriptors(chain.presets),
-    options: chain.options.map(o => normalizeOptions(o)),
-    files: new Set()
-  };
-}
-
-const buildPresetChainWalker = makeChainWalker({
-  root: preset => loadPresetDescriptors(preset),
-  env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),
-  overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),
-  overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName),
-  createLogger: () => () => {}
-});
-exports.buildPresetChainWalker = buildPresetChainWalker;
-const loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors));
-const loadPresetEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName)));
-const loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index)));
-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, undefined, programmaticLogger);
-  if (!programmaticChain) return null;
-  const programmaticReport = yield* programmaticLogger.output();
-  let configFile;
-
-  if (typeof opts.configFile === "string") {
-    configFile = yield* (0, _files.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller);
-  } else if (opts.configFile !== false) {
-    configFile = yield* (0, _files.findRootConfig)(context.root, context.envName, context.caller);
-  }
-
-  let {
-    babelrc,
-    babelrcRoots
-  } = 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, undefined, configFileLogger);
-    if (!result) return null;
-    configReport = yield* configFileLogger.output();
-
-    if (babelrc === undefined) {
-      babelrc = validatedFile.options.babelrc;
-    }
-
-    if (babelrcRoots === undefined) {
-      babelrcRootsDirectory = validatedFile.dirname;
-      babelrcRoots = validatedFile.options.babelrcRoots;
-    }
-
-    mergeChain(configFileChain, result);
-  }
-
-  let ignoreFile, babelrcFile;
-  let isIgnored = false;
-  const fileChain = emptyChain();
-
-  if ((babelrc === true || babelrc === undefined) && typeof context.filename === "string") {
-    const pkgData = yield* (0, _files.findPackageData)(context.filename);
-
-    if (pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) {
-      ({
-        ignore: ignoreFile,
-        config: babelrcFile
-      } = yield* (0, _files.findRelativeConfig)(pkgData, context.envName, context.caller));
-
-      if (ignoreFile) {
-        fileChain.files.add(ignoreFile.filepath);
-      }
-
-      if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) {
-        isIgnored = true;
-      }
-
-      if (babelrcFile && !isIgnored) {
-        const validatedFile = validateBabelrcFile(babelrcFile);
-        const babelrcLogger = new _printer.ConfigPrinter();
-        const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger);
-
-        if (!result) {
-          isIgnored = true;
-        } else {
-          babelRcReport = yield* babelrcLogger.output();
-          mergeChain(fileChain, result);
-        }
-      }
-
-      if (babelrcFile && isIgnored) {
-        fileChain.files.add(babelrcFile.filepath);
-      }
-    }
-  }
-
-  if (context.showConfig) {
-    console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\n\n") + "\n-----End Babel configs-----");
-  }
-
-  const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
-  return {
-    plugins: isIgnored ? [] : dedupDescriptors(chain.plugins),
-    presets: isIgnored ? [] : dedupDescriptors(chain.presets),
-    options: isIgnored ? [] : chain.options.map(o => normalizeOptions(o)),
-    fileHandling: isIgnored ? "ignored" : "transpile",
-    ignore: ignoreFile || undefined,
-    babelrc: babelrcFile || undefined,
-    config: configFile || undefined,
-    files: chain.files
-  };
-}
-
-function babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) {
-  if (typeof babelrcRoots === "boolean") return babelrcRoots;
-  const absoluteRoot = context.root;
-
-  if (babelrcRoots === undefined) {
-    return pkgData.directories.indexOf(absoluteRoot) !== -1;
-  }
-
-  let babelrcPatterns = babelrcRoots;
-
-  if (!Array.isArray(babelrcPatterns)) {
-    babelrcPatterns = [babelrcPatterns];
-  }
-
-  babelrcPatterns = babelrcPatterns.map(pat => {
-    return typeof pat === "string" ? _path().resolve(babelrcRootsDirectory, pat) : pat;
-  });
-
-  if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {
-    return pkgData.directories.indexOf(absoluteRoot) !== -1;
-  }
-
-  return babelrcPatterns.some(pat => {
-    if (typeof pat === "string") {
-      pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory);
-    }
-
-    return pkgData.directories.some(directory => {
-      return matchPattern(pat, babelrcRootsDirectory, directory, context);
-    });
-  });
-}
-
-const validateConfigFile = (0, _caching.makeWeakCacheSync)(file => ({
-  filepath: file.filepath,
-  dirname: file.dirname,
-  options: (0, _options.validate)("configfile", file.options)
-}));
-const validateBabelrcFile = (0, _caching.makeWeakCacheSync)(file => ({
-  filepath: file.filepath,
-  dirname: file.dirname,
-  options: (0, _options.validate)("babelrcfile", file.options)
-}));
-const validateExtendFile = (0, _caching.makeWeakCacheSync)(file => ({
-  filepath: file.filepath,
-  dirname: file.dirname,
-  options: (0, _options.validate)("extendsfile", file.options)
-}));
-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),
-  createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger)
-});
-const loadFileChainWalker = 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),
-  createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger)
-});
-
-function* loadFileChain(input, context, files, baseLogger) {
-  const chain = yield* loadFileChainWalker(input, context, files, baseLogger);
-
-  if (chain) {
-    chain.files.add(input.filepath);
-  }
-
-  return chain;
-}
-
-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
-}, alias, descriptors) {
-  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
-}, alias, descriptors, envName) {
-  const opts = options.env && options.env[envName];
-  return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null;
-}
-
-function buildOverrideDescriptors({
-  dirname,
-  options
-}, alias, descriptors, index) {
-  const opts = options.overrides && options.overrides[index];
-  if (!opts) throw new Error("Assertion failure - missing override");
-  return descriptors(dirname, opts, `${alias}.overrides[${index}]`);
-}
-
-function buildOverrideEnvDescriptors({
-  dirname,
-  options
-}, alias, descriptors, index, envName) {
-  const override = options.overrides && options.overrides[index];
-  if (!override) throw new Error("Assertion failure - missing override");
-  const opts = override.env && override.env[envName];
-  return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null;
-}
-
-function makeChainWalker({
-  root,
-  env,
-  overrides,
-  overridesEnv,
-  createLogger
-}) {
-  return function* (input, context, files = new Set(), baseLogger) {
-    const {
-      dirname
-    } = input;
-    const flattenedConfigs = [];
-    const rootOpts = root(input);
-
-    if (configIsApplicable(rootOpts, dirname, context)) {
-      flattenedConfigs.push({
-        config: rootOpts,
-        envName: undefined,
-        index: undefined
-      });
-      const envOpts = env(input, context.envName);
-
-      if (envOpts && configIsApplicable(envOpts, dirname, context)) {
-        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({
-            config: overrideOps,
-            index,
-            envName: undefined
-          });
-          const overrideEnvOpts = overridesEnv(input, index, context.envName);
-
-          if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) {
-            flattenedConfigs.push({
-              config: overrideEnvOpts,
-              index,
-              envName: context.envName
-            });
-          }
-        }
-      });
-    }
-
-    if (flattenedConfigs.some(({
-      config: {
-        options: {
-          ignore,
-          only
-        }
-      }
-    }) => shouldIgnore(context, ignore, only, dirname))) {
-      return null;
-    }
-
-    const chain = emptyChain();
-    const logger = createLogger(input, context, baseLogger);
-
-    for (const {
-      config,
-      index,
-      envName
-    } of flattenedConfigs) {
-      if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) {
-        return null;
-      }
-
-      logger(config, index, envName);
-      yield* mergeChainOpts(chain, config);
-    }
-
-    return chain;
-  };
-}
-
-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);
-
-  if (files.has(file)) {
-    throw new Error(`Configuration cycle detected loading ${file.filepath}.\n` + `File already loaded following the config chain:\n` + Array.from(files, file => ` - ${file.filepath}`).join("\n"));
-  }
-
-  files.add(file);
-  const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
-  files.delete(file);
-  if (!fileChain) return false;
-  mergeChain(chain, fileChain);
-  return true;
-}
-
-function mergeChain(target, source) {
-  target.options.push(...source.options);
-  target.plugins.push(...source.plugins);
-  target.presets.push(...source.presets);
-
-  for (const file of source.files) {
-    target.files.add(file);
-  }
-
-  return target;
-}
-
-function* mergeChainOpts(target, {
-  options,
-  plugins,
-  presets
-}) {
-  target.options.push(options);
-  target.plugins.push(...(yield* plugins()));
-  target.presets.push(...(yield* presets()));
-  return target;
-}
-
-function emptyChain() {
-  return {
-    options: [],
-    presets: [],
-    plugins: [],
-    files: new Set()
-  };
-}
-
-function normalizeOptions(opts) {
-  const options = Object.assign({}, opts);
-  delete options.extends;
-  delete options.env;
-  delete options.overrides;
-  delete options.plugins;
-  delete options.presets;
-  delete options.passPerPreset;
-  delete options.ignore;
-  delete options.only;
-  delete options.test;
-  delete options.include;
-  delete options.exclude;
-
-  if (Object.prototype.hasOwnProperty.call(options, "sourceMap")) {
-    options.sourceMaps = options.sourceMap;
-    delete options.sourceMap;
-  }
-
-  return options;
-}
-
-function dedupDescriptors(items) {
-  const map = new Map();
-  const descriptors = [];
-
-  for (const item of items) {
-    if (typeof item.value === "function") {
-      const fnKey = item.value;
-      let nameMap = map.get(fnKey);
-
-      if (!nameMap) {
-        nameMap = new Map();
-        map.set(fnKey, nameMap);
-      }
-
-      let desc = nameMap.get(item.name);
-
-      if (!desc) {
-        desc = {
-          value: item
-        };
-        descriptors.push(desc);
-        if (!item.ownPass) nameMap.set(item.name, desc);
-      } else {
-        desc.value = item;
-      }
-    } else {
-      descriptors.push({
-        value: item
-      });
-    }
-  }
-
-  return descriptors.reduce((acc, desc) => {
-    acc.push(desc.value);
-    return acc;
-  }, []);
-}
-
-function configIsApplicable({
-  options
-}, dirname, context) {
-  return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname));
-}
-
-function configFieldIsApplicable(context, test, dirname) {
-  const patterns = Array.isArray(test) ? test : [test];
-  return matchesPatterns(context, patterns, dirname);
-}
-
-function shouldIgnore(context, ignore, only, dirname) {
-  if (ignore && matchesPatterns(context, 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)) {
-    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;
-  }
-
-  return false;
-}
-
-function matchesPatterns(context, patterns, dirname) {
-  return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context));
-}
-
-function matchPattern(pattern, dirname, pathToTest, context) {
-  if (typeof pattern === "function") {
-    return !!pattern(pathToTest, {
-      dirname,
-      envName: context.envName,
-      caller: context.caller
-    });
-  }
-
-  if (typeof pathToTest !== "string") {
-    throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`);
-  }
-
-  if (typeof pattern === "string") {
-    pattern = (0, _patternToRegex.default)(pattern, dirname);
-  }
-
-  return pattern.test(pathToTest);
-}

+ 0 - 244
node_modules.bak/@babel/core/lib/config/config-descriptors.js

@@ -1,244 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.createCachedDescriptors = createCachedDescriptors;
-exports.createUncachedDescriptors = createUncachedDescriptors;
-exports.createDescriptor = createDescriptor;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _files = require("./files");
-
-var _item = require("./item");
-
-var _caching = require("./caching");
-
-var _resolveTargets = require("./resolve-targets");
-
-function isEqualDescriptor(a, b) {
-  return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && (a.file && a.file.request) === (b.file && b.file.request) && (a.file && a.file.resolved) === (b.file && b.file.resolved);
-}
-
-function* handlerOf(value) {
-  return value;
-}
-
-function optionsWithResolvedBrowserslistConfigFile(options, dirname) {
-  if (typeof options.browserslistConfigFile === "string") {
-    options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname);
-  }
-
-  return options;
-}
-
-function createCachedDescriptors(dirname, options, alias) {
-  const {
-    plugins,
-    presets,
-    passPerPreset
-  } = options;
-  return {
-    options: optionsWithResolvedBrowserslistConfigFile(options, dirname),
-    plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => handlerOf([]),
-    presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => handlerOf([])
-  };
-}
-
-function createUncachedDescriptors(dirname, options, alias) {
-  let plugins;
-  let presets;
-  return {
-    options: optionsWithResolvedBrowserslistConfigFile(options, dirname),
-
-    *plugins() {
-      if (!plugins) {
-        plugins = yield* createPluginDescriptors(options.plugins || [], dirname, alias);
-      }
-
-      return plugins;
-    },
-
-    *presets() {
-      if (!presets) {
-        presets = yield* createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset);
-      }
-
-      return presets;
-    }
-
-  };
-}
-
-const PRESET_DESCRIPTOR_CACHE = new WeakMap();
-const createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => {
-  const dirname = cache.using(dir => dir);
-  return (0, _caching.makeStrongCacheSync)(alias => (0, _caching.makeStrongCache)(function* (passPerPreset) {
-    const descriptors = yield* createPresetDescriptors(items, dirname, alias, passPerPreset);
-    return descriptors.map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc));
-  }));
-});
-const PLUGIN_DESCRIPTOR_CACHE = new WeakMap();
-const createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => {
-  const dirname = cache.using(dir => dir);
-  return (0, _caching.makeStrongCache)(function* (alias) {
-    const descriptors = yield* createPluginDescriptors(items, dirname, alias);
-    return descriptors.map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc));
-  });
-});
-const DEFAULT_OPTIONS = {};
-
-function loadCachedDescriptor(cache, desc) {
-  const {
-    value,
-    options = DEFAULT_OPTIONS
-  } = desc;
-  if (options === false) return desc;
-  let cacheByOptions = cache.get(value);
-
-  if (!cacheByOptions) {
-    cacheByOptions = new WeakMap();
-    cache.set(value, cacheByOptions);
-  }
-
-  let possibilities = cacheByOptions.get(options);
-
-  if (!possibilities) {
-    possibilities = [];
-    cacheByOptions.set(options, possibilities);
-  }
-
-  if (possibilities.indexOf(desc) === -1) {
-    const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc));
-
-    if (matches.length > 0) {
-      return matches[0];
-    }
-
-    possibilities.push(desc);
-  }
-
-  return desc;
-}
-
-function* createPresetDescriptors(items, dirname, alias, passPerPreset) {
-  return yield* createDescriptors("preset", items, dirname, alias, passPerPreset);
-}
-
-function* createPluginDescriptors(items, dirname, alias) {
-  return yield* createDescriptors("plugin", items, dirname, alias);
-}
-
-function* createDescriptors(type, items, dirname, alias, ownPass) {
-  const descriptors = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname, {
-    type,
-    alias: `${alias}$${index}`,
-    ownPass: !!ownPass
-  })));
-  assertNoDuplicates(descriptors);
-  return descriptors;
-}
-
-function* createDescriptor(pair, dirname, {
-  type,
-  alias,
-  ownPass
-}) {
-  const desc = (0, _item.getItemDescriptor)(pair);
-
-  if (desc) {
-    return desc;
-  }
-
-  let name;
-  let options;
-  let value = pair;
-
-  if (Array.isArray(value)) {
-    if (value.length === 3) {
-      [value, options, name] = value;
-    } else {
-      [value, options] = value;
-    }
-  }
-
-  let file = undefined;
-  let filepath = null;
-
-  if (typeof value === "string") {
-    if (typeof type !== "string") {
-      throw new Error("To resolve a string-based item, the type of item must be given");
-    }
-
-    const resolver = type === "plugin" ? _files.loadPlugin : _files.loadPreset;
-    const request = value;
-    ({
-      filepath,
-      value
-    } = yield* resolver(value, dirname));
-    file = {
-      request,
-      resolved: filepath
-    };
-  }
-
-  if (!value) {
-    throw new Error(`Unexpected falsy value: ${String(value)}`);
-  }
-
-  if (typeof value === "object" && value.__esModule) {
-    if (value.default) {
-      value = value.default;
-    } else {
-      throw new Error("Must export a default export when using ES6 modules.");
-    }
-  }
-
-  if (typeof value !== "object" && typeof value !== "function") {
-    throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`);
-  }
-
-  if (filepath !== null && typeof value === "object" && value) {
-    throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`);
-  }
-
-  return {
-    name,
-    alias: filepath || alias,
-    value,
-    options,
-    dirname,
-    ownPass,
-    file
-  };
-}
-
-function assertNoDuplicates(items) {
-  const map = new Map();
-
-  for (const item of items) {
-    if (typeof item.value !== "function") continue;
-    let nameMap = map.get(item.value);
-
-    if (!nameMap) {
-      nameMap = new Set();
-      map.set(item.value, nameMap);
-    }
-
-    if (nameMap.has(item.name)) {
-      const conflicts = items.filter(i => i.value === item.value);
-      throw new Error([`Duplicate plugin/preset detected.`, `If you'd like to use two separate instances of a plugin,`, `they need separate names, e.g.`, ``, `  plugins: [`, `    ['some-plugin', {}],`, `    ['some-plugin', {}, 'some unique name'],`, `  ]`, ``, `Duplicates detected are:`, `${JSON.stringify(conflicts, null, 2)}`].join("\n"));
-    }
-
-    nameMap.add(item.name);
-  }
-}

+ 0 - 357
node_modules.bak/@babel/core/lib/config/files/configuration.js

@@ -1,357 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.findConfigUpwards = findConfigUpwards;
-exports.findRelativeConfig = findRelativeConfig;
-exports.findRootConfig = findRootConfig;
-exports.loadConfig = loadConfig;
-exports.resolveShowConfigPath = resolveShowConfigPath;
-exports.ROOT_CONFIG_FILENAMES = void 0;
-
-function _debug() {
-  const data = require("debug");
-
-  _debug = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _fs() {
-  const data = require("fs");
-
-  _fs = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _json() {
-  const data = require("json5");
-
-  _json = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _caching = require("../caching");
-
-var _configApi = require("../helpers/config-api");
-
-var _utils = require("./utils");
-
-var _moduleTypes = require("./module-types");
-
-var _patternToRegex = require("../pattern-to-regex");
-
-var fs = require("../../gensync-utils/fs");
-
-function _module() {
-  const data = require("module");
-
-  _module = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const debug = _debug()("babel:config:loading:files:configuration");
-
-const ROOT_CONFIG_FILENAMES = ["babel.config.js", "babel.config.cjs", "babel.config.mjs", "babel.config.json"];
-exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES;
-const RELATIVE_CONFIG_FILENAMES = [".babelrc", ".babelrc.js", ".babelrc.cjs", ".babelrc.mjs", ".babelrc.json"];
-const BABELIGNORE_FILENAME = ".babelignore";
-
-function findConfigUpwards(rootDir) {
-  let dirname = rootDir;
-
-  for (;;) {
-    for (const filename of ROOT_CONFIG_FILENAMES) {
-      if (_fs().existsSync(_path().join(dirname, filename))) {
-        return dirname;
-      }
-    }
-
-    const nextDir = _path().dirname(dirname);
-
-    if (dirname === nextDir) break;
-    dirname = nextDir;
-  }
-
-  return null;
-}
-
-function* findRelativeConfig(packageData, envName, caller) {
-  let config = null;
-  let ignore = null;
-
-  const dirname = _path().dirname(packageData.filepath);
-
-  for (const loc of packageData.directories) {
-    if (!config) {
-      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) {
-      const ignoreLoc = _path().join(loc, BABELIGNORE_FILENAME);
-
-      ignore = yield* readIgnoreConfig(ignoreLoc);
-
-      if (ignore) {
-        debug("Found ignore %o from %o.", ignore.filepath, dirname);
-      }
-    }
-  }
-
-  return {
-    config,
-    ignore
-  };
-}
-
-function findRootConfig(dirname, envName, caller) {
-  return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller);
-}
-
-function* loadOneConfig(names, dirname, envName, caller, previousConfig = null) {
-  const configs = yield* _gensync().all(names.map(filename => readConfig(_path().join(dirname, filename), envName, caller)));
-  const config = configs.reduce((previousConfig, config) => {
-    if (config && previousConfig) {
-      throw new Error(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().basename(previousConfig.filepath)}\n` + ` - ${config.filepath}\n` + `from ${dirname}`);
-    }
-
-    return config || previousConfig;
-  }, previousConfig);
-
-  if (config) {
-    debug("Found configuration %o from %o.", config.filepath, dirname);
-  }
-
-  return config;
-}
-
-function* loadConfig(name, dirname, envName, caller) {
-  const filepath = (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
-    paths: [b]
-  }, M = require("module")) => {
-    let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
-
-    if (f) return f;
-    f = new Error(`Cannot resolve module '${r}'`);
-    f.code = "MODULE_NOT_FOUND";
-    throw f;
-  })(name, {
-    paths: [dirname]
-  });
-  const conf = yield* readConfig(filepath, envName, caller);
-
-  if (!conf) {
-    throw new Error(`Config file ${filepath} contains no configuration data`);
-  }
-
-  debug("Loaded config %o from %o.", name, dirname);
-  return conf;
-}
-
-function readConfig(filepath, envName, caller) {
-  const ext = _path().extname(filepath);
-
-  return ext === ".js" || ext === ".cjs" || ext === ".mjs" ? readConfigJS(filepath, {
-    envName,
-    caller
-  }) : readConfigJSON5(filepath);
-}
-
-const LOADING_CONFIGS = new Set();
-const readConfigJS = (0, _caching.makeStrongCache)(function* readConfigJS(filepath, cache) {
-  if (!_fs().existsSync(filepath)) {
-    cache.never();
-    return null;
-  }
-
-  if (LOADING_CONFIGS.has(filepath)) {
-    cache.never();
-    debug("Auto-ignoring usage of config %o.", filepath);
-    return {
-      filepath,
-      dirname: _path().dirname(filepath),
-      options: {}
-    };
-  }
-
-  let options;
-
-  try {
-    LOADING_CONFIGS.add(filepath);
-    options = yield* (0, _moduleTypes.default)(filepath, "You appear to be using a native ECMAScript module configuration " + "file, which is only supported when running Babel asynchronously.");
-  } catch (err) {
-    err.message = `${filepath}: Error while loading config - ${err.message}`;
-    throw err;
-  } finally {
-    LOADING_CONFIGS.delete(filepath);
-  }
-
-  let assertCache = false;
-
-  if (typeof options === "function") {
-    yield* [];
-    options = options((0, _configApi.makeConfigAPI)(cache));
-    assertCache = true;
-  }
-
-  if (!options || typeof options !== "object" || Array.isArray(options)) {
-    throw new Error(`${filepath}: Configuration should be an exported JavaScript object.`);
-  }
-
-  if (typeof options.then === "function") {
-    throw new Error(`You appear to be using an async configuration, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously return your config.`);
-  }
-
-  if (assertCache && !cache.configured()) throwConfigError();
-  return {
-    filepath,
-    dirname: _path().dirname(filepath),
-    options
-  };
-});
-const packageToBabelConfig = (0, _caching.makeWeakCacheSync)(file => {
-  const babel = file.options["babel"];
-  if (typeof babel === "undefined") return null;
-
-  if (typeof babel !== "object" || Array.isArray(babel) || babel === null) {
-    throw new Error(`${file.filepath}: .babel property must be an object`);
-  }
-
-  return {
-    filepath: file.filepath,
-    dirname: file.dirname,
-    options: babel
-  };
-});
-const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => {
-  let options;
-
-  try {
-    options = _json().parse(content);
-  } catch (err) {
-    err.message = `${filepath}: Error while parsing config - ${err.message}`;
-    throw err;
-  }
-
-  if (!options) throw new Error(`${filepath}: No config detected`);
-
-  if (typeof options !== "object") {
-    throw new Error(`${filepath}: Config returned typeof ${typeof options}`);
-  }
-
-  if (Array.isArray(options)) {
-    throw new Error(`${filepath}: Expected config object but found array`);
-  }
-
-  return {
-    filepath,
-    dirname: _path().dirname(filepath),
-    options
-  };
-});
-const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => {
-  const ignoreDir = _path().dirname(filepath);
-
-  const ignorePatterns = content.split("\n").map(line => line.replace(/#(.*?)$/, "").trim()).filter(line => !!line);
-
-  for (const pattern of ignorePatterns) {
-    if (pattern[0] === "!") {
-      throw new Error(`Negation of file paths is not supported.`);
-    }
-  }
-
-  return {
-    filepath,
-    dirname: _path().dirname(filepath),
-    ignore: ignorePatterns.map(pattern => (0, _patternToRegex.default)(pattern, ignoreDir))
-  };
-});
-
-function* resolveShowConfigPath(dirname) {
-  const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;
-
-  if (targetPath != null) {
-    const absolutePath = _path().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
-for various types of caching, using the first param of their handler functions:
-
-module.exports = function(api) {
-  // The API exposes the following:
-
-  // Cache the returned value forever and don't call this function again.
-  api.cache(true);
-
-  // Don't cache at all. Not recommended because it will be very slow.
-  api.cache(false);
-
-  // Cached based on the value of some function. If this function returns a value different from
-  // a previously-encountered value, the plugins will re-evaluate.
-  var env = api.cache(() => process.env.NODE_ENV);
-
-  // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
-  // any possible NODE_ENV value that might come up during plugin execution.
-  var isProd = api.cache(() => process.env.NODE_ENV === "production");
-
-  // .cache(fn) will perform a linear search though instances to find the matching plugin based
-  // based on previous instantiated plugins. If you want to recreate the plugin and discard the
-  // previous instance whenever something changes, you may use:
-  var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
-
-  // Note, we also expose the following more-verbose versions of the above examples:
-  api.cache.forever(); // api.cache(true)
-  api.cache.never();   // api.cache(false)
-  api.cache.using(fn); // api.cache(fn)
-
-  // Return the value that will be cached.
-  return { };
-};`);
-}

+ 0 - 10
node_modules.bak/@babel/core/lib/config/files/import.js

@@ -1,10 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = import_;
-
-function import_(filepath) {
-  return import(filepath);
-}

+ 0 - 67
node_modules.bak/@babel/core/lib/config/files/index-browser.js

@@ -1,67 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.findConfigUpwards = findConfigUpwards;
-exports.findPackageData = findPackageData;
-exports.findRelativeConfig = findRelativeConfig;
-exports.findRootConfig = findRootConfig;
-exports.loadConfig = loadConfig;
-exports.resolveShowConfigPath = resolveShowConfigPath;
-exports.resolvePlugin = resolvePlugin;
-exports.resolvePreset = resolvePreset;
-exports.loadPlugin = loadPlugin;
-exports.loadPreset = loadPreset;
-exports.ROOT_CONFIG_FILENAMES = void 0;
-
-function findConfigUpwards(rootDir) {
-  return null;
-}
-
-function* findPackageData(filepath) {
-  return {
-    filepath,
-    directories: [],
-    pkg: null,
-    isPackage: false
-  };
-}
-
-function* findRelativeConfig(pkgData, envName, caller) {
-  return {
-    config: null,
-    ignore: null
-  };
-}
-
-function* findRootConfig(dirname, envName, caller) {
-  return null;
-}
-
-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;
-
-function resolvePlugin(name, dirname) {
-  return null;
-}
-
-function resolvePreset(name, dirname) {
-  return null;
-}
-
-function loadPlugin(name, dirname) {
-  throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`);
-}
-
-function loadPreset(name, dirname) {
-  throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`);
-}

+ 0 - 79
node_modules.bak/@babel/core/lib/config/files/index.js

@@ -1,79 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-Object.defineProperty(exports, "findPackageData", {
-  enumerable: true,
-  get: function () {
-    return _package.findPackageData;
-  }
-});
-Object.defineProperty(exports, "findConfigUpwards", {
-  enumerable: true,
-  get: function () {
-    return _configuration.findConfigUpwards;
-  }
-});
-Object.defineProperty(exports, "findRelativeConfig", {
-  enumerable: true,
-  get: function () {
-    return _configuration.findRelativeConfig;
-  }
-});
-Object.defineProperty(exports, "findRootConfig", {
-  enumerable: true,
-  get: function () {
-    return _configuration.findRootConfig;
-  }
-});
-Object.defineProperty(exports, "loadConfig", {
-  enumerable: true,
-  get: function () {
-    return _configuration.loadConfig;
-  }
-});
-Object.defineProperty(exports, "resolveShowConfigPath", {
-  enumerable: true,
-  get: function () {
-    return _configuration.resolveShowConfigPath;
-  }
-});
-Object.defineProperty(exports, "ROOT_CONFIG_FILENAMES", {
-  enumerable: true,
-  get: function () {
-    return _configuration.ROOT_CONFIG_FILENAMES;
-  }
-});
-Object.defineProperty(exports, "resolvePlugin", {
-  enumerable: true,
-  get: function () {
-    return _plugins.resolvePlugin;
-  }
-});
-Object.defineProperty(exports, "resolvePreset", {
-  enumerable: true,
-  get: function () {
-    return _plugins.resolvePreset;
-  }
-});
-Object.defineProperty(exports, "loadPlugin", {
-  enumerable: true,
-  get: function () {
-    return _plugins.loadPlugin;
-  }
-});
-Object.defineProperty(exports, "loadPreset", {
-  enumerable: true,
-  get: function () {
-    return _plugins.loadPreset;
-  }
-});
-
-var _package = require("./package");
-
-var _configuration = require("./configuration");
-
-var _plugins = require("./plugins");
-
-({});

+ 0 - 104
node_modules.bak/@babel/core/lib/config/files/module-types.js

@@ -1,104 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = loadCjsOrMjsDefault;
-
-var _async = require("../../gensync-utils/async");
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _url() {
-  const data = require("url");
-
-  _url = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _module() {
-  const data = require("module");
-
-  _module = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
-
-function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
-
-let import_;
-
-try {
-  import_ = require("./import").default;
-} catch (_unused) {}
-
-function* loadCjsOrMjsDefault(filepath, asyncError, fallbackToTranspiledModule = false) {
-  switch (guessJSModuleType(filepath)) {
-    case "cjs":
-      return loadCjsDefault(filepath, fallbackToTranspiledModule);
-
-    case "unknown":
-      try {
-        return loadCjsDefault(filepath, fallbackToTranspiledModule);
-      } catch (e) {
-        if (e.code !== "ERR_REQUIRE_ESM") throw e;
-      }
-
-    case "mjs":
-      if (yield* (0, _async.isAsync)()) {
-        return yield* (0, _async.waitFor)(loadMjsDefault(filepath));
-      }
-
-      throw new Error(asyncError);
-  }
-}
-
-function guessJSModuleType(filename) {
-  switch (_path().extname(filename)) {
-    case ".cjs":
-      return "cjs";
-
-    case ".mjs":
-      return "mjs";
-
-    default:
-      return "unknown";
-  }
-}
-
-function loadCjsDefault(filepath, fallbackToTranspiledModule) {
-  const module = require(filepath);
-
-  return module != null && module.__esModule ? module.default || (fallbackToTranspiledModule ? module : undefined) : module;
-}
-
-function loadMjsDefault(_x) {
-  return _loadMjsDefault.apply(this, arguments);
-}
-
-function _loadMjsDefault() {
-  _loadMjsDefault = _asyncToGenerator(function* (filepath) {
-    if (!import_) {
-      throw new Error("Internal error: Native ECMAScript modules aren't supported" + " by this platform.\n");
-    }
-
-    const module = yield import_((0, _url().pathToFileURL)(filepath));
-    return module.default;
-  });
-  return _loadMjsDefault.apply(this, arguments);
-}

+ 0 - 76
node_modules.bak/@babel/core/lib/config/files/package.js

@@ -1,76 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.findPackageData = findPackageData;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _utils = require("./utils");
-
-const PACKAGE_FILENAME = "package.json";
-
-function* findPackageData(filepath) {
-  let pkg = null;
-  const directories = [];
-  let isPackage = true;
-
-  let dirname = _path().dirname(filepath);
-
-  while (!pkg && _path().basename(dirname) !== "node_modules") {
-    directories.push(dirname);
-    pkg = yield* readConfigPackage(_path().join(dirname, PACKAGE_FILENAME));
-
-    const nextLoc = _path().dirname(dirname);
-
-    if (dirname === nextLoc) {
-      isPackage = false;
-      break;
-    }
-
-    dirname = nextLoc;
-  }
-
-  return {
-    filepath,
-    directories,
-    pkg,
-    isPackage
-  };
-}
-
-const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => {
-  let options;
-
-  try {
-    options = JSON.parse(content);
-  } catch (err) {
-    err.message = `${filepath}: Error while parsing JSON - ${err.message}`;
-    throw err;
-  }
-
-  if (!options) throw new Error(`${filepath}: No config detected`);
-
-  if (typeof options !== "object") {
-    throw new Error(`${filepath}: Config returned typeof ${typeof options}`);
-  }
-
-  if (Array.isArray(options)) {
-    throw new Error(`${filepath}: Expected config object but found array`);
-  }
-
-  return {
-    filepath,
-    dirname: _path().dirname(filepath),
-    options
-  };
-});

+ 0 - 206
node_modules.bak/@babel/core/lib/config/files/plugins.js

@@ -1,206 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.resolvePlugin = resolvePlugin;
-exports.resolvePreset = resolvePreset;
-exports.loadPlugin = loadPlugin;
-exports.loadPreset = loadPreset;
-
-function _debug() {
-  const data = require("debug");
-
-  _debug = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _moduleTypes = require("./module-types");
-
-function _module() {
-  const data = require("module");
-
-  _module = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const debug = _debug()("babel:config:loading:files:plugins");
-
-const EXACT_RE = /^module:/;
-const BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-plugin-)/;
-const BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-preset-)/;
-const BABEL_PLUGIN_ORG_RE = /^(@babel\/)(?!plugin-|[^/]+\/)/;
-const BABEL_PRESET_ORG_RE = /^(@babel\/)(?!preset-|[^/]+\/)/;
-const OTHER_PLUGIN_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;
-const OTHER_PRESET_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;
-const OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/;
-
-function resolvePlugin(name, dirname) {
-  return resolveStandardizedName("plugin", name, dirname);
-}
-
-function resolvePreset(name, dirname) {
-  return resolveStandardizedName("preset", name, dirname);
-}
-
-function* loadPlugin(name, dirname) {
-  const filepath = resolvePlugin(name, dirname);
-
-  if (!filepath) {
-    throw new Error(`Plugin ${name} not found relative to ${dirname}`);
-  }
-
-  const value = yield* requireModule("plugin", filepath);
-  debug("Loaded plugin %o from %o.", name, dirname);
-  return {
-    filepath,
-    value
-  };
-}
-
-function* loadPreset(name, dirname) {
-  const filepath = resolvePreset(name, dirname);
-
-  if (!filepath) {
-    throw new Error(`Preset ${name} not found relative to ${dirname}`);
-  }
-
-  const value = yield* requireModule("preset", filepath);
-  debug("Loaded preset %o from %o.", name, dirname);
-  return {
-    filepath,
-    value
-  };
-}
-
-function standardizeName(type, name) {
-  if (_path().isAbsolute(name)) return name;
-  const isPreset = type === "preset";
-  return name.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, "");
-}
-
-function resolveStandardizedName(type, name, dirname = process.cwd()) {
-  const standardizedName = standardizeName(type, name);
-
-  try {
-    return (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
-      paths: [b]
-    }, M = require("module")) => {
-      let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
-
-      if (f) return f;
-      f = new Error(`Cannot resolve module '${r}'`);
-      f.code = "MODULE_NOT_FOUND";
-      throw f;
-    })(standardizedName, {
-      paths: [dirname]
-    });
-  } catch (e) {
-    if (e.code !== "MODULE_NOT_FOUND") throw e;
-
-    if (standardizedName !== name) {
-      let resolvedOriginal = false;
-
-      try {
-        (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
-          paths: [b]
-        }, M = require("module")) => {
-          let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
-
-          if (f) return f;
-          f = new Error(`Cannot resolve module '${r}'`);
-          f.code = "MODULE_NOT_FOUND";
-          throw f;
-        })(name, {
-          paths: [dirname]
-        });
-        resolvedOriginal = true;
-      } catch (_unused) {}
-
-      if (resolvedOriginal) {
-        e.message += `\n- If you want to resolve "${name}", use "module:${name}"`;
-      }
-    }
-
-    let resolvedBabel = false;
-
-    try {
-      (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
-        paths: [b]
-      }, M = require("module")) => {
-        let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
-
-        if (f) return f;
-        f = new Error(`Cannot resolve module '${r}'`);
-        f.code = "MODULE_NOT_FOUND";
-        throw f;
-      })(standardizeName(type, "@babel/" + name), {
-        paths: [dirname]
-      });
-      resolvedBabel = true;
-    } catch (_unused2) {}
-
-    if (resolvedBabel) {
-      e.message += `\n- Did you mean "@babel/${name}"?`;
-    }
-
-    let resolvedOppositeType = false;
-    const oppositeType = type === "preset" ? "plugin" : "preset";
-
-    try {
-      (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
-        paths: [b]
-      }, M = require("module")) => {
-        let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
-
-        if (f) return f;
-        f = new Error(`Cannot resolve module '${r}'`);
-        f.code = "MODULE_NOT_FOUND";
-        throw f;
-      })(standardizeName(oppositeType, name), {
-        paths: [dirname]
-      });
-      resolvedOppositeType = true;
-    } catch (_unused3) {}
-
-    if (resolvedOppositeType) {
-      e.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`;
-    }
-
-    throw e;
-  }
-}
-
-const LOADING_MODULES = new Set();
-
-function* requireModule(type, name) {
-  if (LOADING_MODULES.has(name)) {
-    throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored ` + "and is trying to load itself while compiling itself, leading to a dependency cycle. " + 'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.');
-  }
-
-  try {
-    LOADING_MODULES.add(name);
-    return yield* (0, _moduleTypes.default)(name, `You appear to be using a native ECMAScript module ${type}, ` + "which is only supported when running Babel asynchronously.", true);
-  } catch (err) {
-    err.message = `[BABEL]: ${err.message} (While processing: ${name})`;
-    throw err;
-  } finally {
-    LOADING_MODULES.delete(name);
-  }
-}

+ 0 - 0
node_modules.bak/@babel/core/lib/config/files/types.js


+ 0 - 44
node_modules.bak/@babel/core/lib/config/files/utils.js

@@ -1,44 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.makeStaticFileCache = makeStaticFileCache;
-
-var _caching = require("../caching");
-
-var fs = require("../../gensync-utils/fs");
-
-function _fs2() {
-  const data = require("fs");
-
-  _fs2 = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function makeStaticFileCache(fn) {
-  return (0, _caching.makeStrongCache)(function* (filepath, cache) {
-    const cached = cache.invalidate(() => fileMtime(filepath));
-
-    if (cached === null) {
-      return null;
-    }
-
-    return fn(filepath, yield* fs.readFile(filepath, "utf8"));
-  });
-}
-
-function fileMtime(filepath) {
-  if (!_fs2().existsSync(filepath)) return null;
-
-  try {
-    return +_fs2().statSync(filepath).mtime;
-  } catch (e) {
-    if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e;
-  }
-
-  return null;
-}

+ 0 - 336
node_modules.bak/@babel/core/lib/config/full.js

@@ -1,336 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _async = require("../gensync-utils/async");
-
-var _util = require("./util");
-
-var context = require("../index");
-
-var _plugin = require("./plugin");
-
-var _item = require("./item");
-
-var _configChain = require("./config-chain");
-
-function _traverse() {
-  const data = require("@babel/traverse");
-
-  _traverse = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _caching = require("./caching");
-
-var _options = require("./validation/options");
-
-var _plugins = require("./validation/plugins");
-
-var _configApi = require("./helpers/config-api");
-
-var _partial = require("./partial");
-
-var Context = require("./cache-contexts");
-
-var _default = _gensync()(function* loadFullConfig(inputOpts) {
-  var _options$assumptions;
-
-  const result = yield* (0, _partial.default)(inputOpts);
-
-  if (!result) {
-    return null;
-  }
-
-  const {
-    options,
-    context,
-    fileHandling
-  } = result;
-
-  if (fileHandling === "ignored") {
-    return null;
-  }
-
-  const optionDefaults = {};
-  const {
-    plugins,
-    presets
-  } = options;
-
-  if (!plugins || !presets) {
-    throw new Error("Assertion failure - plugins and presets exist");
-  }
-
-  const pluginContext = Object.assign({}, context, {
-    targets: options.targets,
-    assumptions: (_options$assumptions = options.assumptions) != null ? _options$assumptions : {}
-  });
-
-  const toDescriptor = item => {
-    const desc = (0, _item.getItemDescriptor)(item);
-
-    if (!desc) {
-      throw new Error("Assertion failure - must be config item");
-    }
-
-    return desc;
-  };
-
-  const presetsDescriptors = presets.map(toDescriptor);
-  const initialPluginsDescriptors = plugins.map(toDescriptor);
-  const pluginDescriptorsByPass = [[]];
-  const passes = [];
-  const ignored = yield* enhanceError(context, function* recursePresetDescriptors(rawPresets, pluginDescriptorsPass) {
-    const presets = [];
-
-    for (let i = 0; i < rawPresets.length; i++) {
-      const descriptor = rawPresets[i];
-
-      if (descriptor.options !== false) {
-        try {
-          if (descriptor.ownPass) {
-            presets.push({
-              preset: yield* loadPresetDescriptor(descriptor, pluginContext),
-              pass: []
-            });
-          } else {
-            presets.unshift({
-              preset: yield* loadPresetDescriptor(descriptor, pluginContext),
-              pass: pluginDescriptorsPass
-            });
-          }
-        } catch (e) {
-          if (e.code === "BABEL_UNKNOWN_OPTION") {
-            (0, _options.checkNoUnwrappedItemOptionPairs)(rawPresets, i, "preset", e);
-          }
-
-          throw e;
-        }
-      }
-    }
-
-    if (presets.length > 0) {
-      pluginDescriptorsByPass.splice(1, 0, ...presets.map(o => o.pass).filter(p => p !== pluginDescriptorsPass));
-
-      for (const {
-        preset,
-        pass
-      } of presets) {
-        if (!preset) return true;
-        pass.push(...preset.plugins);
-        const ignored = yield* recursePresetDescriptors(preset.presets, pass);
-        if (ignored) return true;
-        preset.options.forEach(opts => {
-          (0, _util.mergeOptions)(optionDefaults, opts);
-        });
-      }
-    }
-  })(presetsDescriptors, pluginDescriptorsByPass[0]);
-  if (ignored) return null;
-  const opts = optionDefaults;
-  (0, _util.mergeOptions)(opts, options);
-  yield* enhanceError(context, function* loadPluginDescriptors() {
-    pluginDescriptorsByPass[0].unshift(...initialPluginsDescriptors);
-
-    for (const descs of pluginDescriptorsByPass) {
-      const pass = [];
-      passes.push(pass);
-
-      for (let i = 0; i < descs.length; i++) {
-        const descriptor = descs[i];
-
-        if (descriptor.options !== false) {
-          try {
-            pass.push(yield* loadPluginDescriptor(descriptor, pluginContext));
-          } catch (e) {
-            if (e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") {
-              (0, _options.checkNoUnwrappedItemOptionPairs)(descs, i, "plugin", e);
-            }
-
-            throw e;
-          }
-        }
-      }
-    }
-  })();
-  opts.plugins = passes[0];
-  opts.presets = passes.slice(1).filter(plugins => plugins.length > 0).map(plugins => ({
-    plugins
-  }));
-  opts.passPerPreset = opts.presets.length > 0;
-  return {
-    options: opts,
-    passes: passes
-  };
-});
-
-exports.default = _default;
-
-function enhanceError(context, fn) {
-  return function* (arg1, arg2) {
-    try {
-      return yield* fn(arg1, arg2);
-    } catch (e) {
-      if (!/^\[BABEL\]/.test(e.message)) {
-        e.message = `[BABEL] ${context.filename || "unknown"}: ${e.message}`;
-      }
-
-      throw e;
-    }
-  };
-}
-
-const makeDescriptorLoader = apiFactory => (0, _caching.makeWeakCache)(function* ({
-  value,
-  options,
-  dirname,
-  alias
-}, cache) {
-  if (options === false) throw new Error("Assertion failure");
-  options = options || {};
-  let item = value;
-
-  if (typeof value === "function") {
-    const factory = (0, _async.maybeAsync)(value, `You appear to be using an async plugin/preset, but Babel has been called synchronously`);
-    const api = Object.assign({}, context, apiFactory(cache));
-
-    try {
-      item = yield* factory(api, options, dirname);
-    } catch (e) {
-      if (alias) {
-        e.message += ` (While processing: ${JSON.stringify(alias)})`;
-      }
-
-      throw e;
-    }
-  }
-
-  if (!item || typeof item !== "object") {
-    throw new Error("Plugin/Preset did not return an object.");
-  }
-
-  if ((0, _async.isThenable)(item)) {
-    yield* [];
-    throw new Error(`You appear to be using a promise as a plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version. ` + `As an alternative, you can prefix the promise with "await". ` + `(While processing: ${JSON.stringify(alias)})`);
-  }
-
-  return {
-    value: item,
-    options,
-    dirname,
-    alias
-  };
-});
-
-const pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI);
-const presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI);
-
-function* loadPluginDescriptor(descriptor, context) {
-  if (descriptor.value instanceof _plugin.default) {
-    if (descriptor.options) {
-      throw new Error("Passed options to an existing Plugin instance will not work.");
-    }
-
-    return descriptor.value;
-  }
-
-  return yield* instantiatePlugin(yield* pluginDescriptorLoader(descriptor, context), context);
-}
-
-const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({
-  value,
-  options,
-  dirname,
-  alias
-}, cache) {
-  const pluginObj = (0, _plugins.validatePluginObject)(value);
-  const plugin = Object.assign({}, pluginObj);
-
-  if (plugin.visitor) {
-    plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor));
-  }
-
-  if (plugin.inherits) {
-    const inheritsDescriptor = {
-      name: undefined,
-      alias: `${alias}$inherits`,
-      value: plugin.inherits,
-      options,
-      dirname
-    };
-    const inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, run => {
-      return cache.invalidate(data => run(inheritsDescriptor, data));
-    });
-    plugin.pre = chain(inherits.pre, plugin.pre);
-    plugin.post = chain(inherits.post, plugin.post);
-    plugin.manipulateOptions = chain(inherits.manipulateOptions, plugin.manipulateOptions);
-    plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]);
-  }
-
-  return new _plugin.default(plugin, options, alias);
-});
-
-const validateIfOptionNeedsFilename = (options, descriptor) => {
-  if (options.test || options.include || options.exclude) {
-    const formattedPresetName = descriptor.name ? `"${descriptor.name}"` : "/* your preset */";
-    throw new Error([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transform(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"));
-  }
-};
-
-const validatePreset = (preset, context, descriptor) => {
-  if (!context.filename) {
-    const {
-      options
-    } = preset;
-    validateIfOptionNeedsFilename(options, descriptor);
-
-    if (options.overrides) {
-      options.overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor));
-    }
-  }
-};
-
-function* loadPresetDescriptor(descriptor, context) {
-  const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context));
-  validatePreset(preset, context, descriptor);
-  return yield* (0, _configChain.buildPresetChain)(preset, context);
-}
-
-const instantiatePreset = (0, _caching.makeWeakCacheSync)(({
-  value,
-  dirname,
-  alias
-}) => {
-  return {
-    options: (0, _options.validate)("preset", value),
-    alias,
-    dirname
-  };
-});
-
-function chain(a, b) {
-  const fns = [a, b].filter(Boolean);
-  if (fns.length <= 1) return fns[0];
-  return function (...args) {
-    for (const fn of fns) {
-      fn.apply(this, args);
-    }
-  };
-}

+ 0 - 103
node_modules.bak/@babel/core/lib/config/helpers/config-api.js

@@ -1,103 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.makeConfigAPI = makeConfigAPI;
-exports.makePresetAPI = makePresetAPI;
-exports.makePluginAPI = makePluginAPI;
-
-function _semver() {
-  const data = require("semver");
-
-  _semver = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _ = require("../../");
-
-var _caching = require("../caching");
-
-var Context = require("../cache-contexts");
-
-function makeConfigAPI(cache) {
-  const env = value => cache.using(data => {
-    if (typeof value === "undefined") return data.envName;
-
-    if (typeof value === "function") {
-      return (0, _caching.assertSimpleType)(value(data.envName));
-    }
-
-    if (!Array.isArray(value)) value = [value];
-    return value.some(entry => {
-      if (typeof entry !== "string") {
-        throw new Error("Unexpected non-string value");
-      }
-
-      return entry === data.envName;
-    });
-  });
-
-  const caller = cb => cache.using(data => (0, _caching.assertSimpleType)(cb(data.caller)));
-
-  return {
-    version: _.version,
-    cache: cache.simple(),
-    env,
-    async: () => false,
-    caller,
-    assertVersion
-  };
-}
-
-function makePresetAPI(cache) {
-  const targets = () => JSON.parse(cache.using(data => JSON.stringify(data.targets)));
-
-  return Object.assign({}, makeConfigAPI(cache), {
-    targets
-  });
-}
-
-function makePluginAPI(cache) {
-  const assumption = name => cache.using(data => data.assumptions[name]);
-
-  return Object.assign({}, makePresetAPI(cache), {
-    assumption
-  });
-}
-
-function assertVersion(range) {
-  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.");
-  }
-
-  if (_semver().satisfies(_.version, range)) return;
-  const limit = Error.stackTraceLimit;
-
-  if (typeof limit === "number" && limit < 25) {
-    Error.stackTraceLimit = 25;
-  }
-
-  const 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: _.version,
-    range
-  });
-}

+ 0 - 10
node_modules.bak/@babel/core/lib/config/helpers/environment.js

@@ -1,10 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.getEnv = getEnv;
-
-function getEnv(defaultValue = "development") {
-  return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue;
-}

+ 0 - 74
node_modules.bak/@babel/core/lib/config/index.js

@@ -1,74 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.createConfigItem = createConfigItem;
-Object.defineProperty(exports, "default", {
-  enumerable: true,
-  get: function () {
-    return _full.default;
-  }
-});
-exports.createConfigItemAsync = exports.createConfigItemSync = exports.loadOptionsAsync = exports.loadOptionsSync = exports.loadOptions = exports.loadPartialConfigAsync = exports.loadPartialConfigSync = exports.loadPartialConfig = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _full = require("./full");
-
-var _partial = require("./partial");
-
-var _item = require("./item");
-
-const loadOptionsRunner = _gensync()(function* (opts) {
-  var _config$options;
-
-  const config = yield* (0, _full.default)(opts);
-  return (_config$options = config == null ? void 0 : config.options) != null ? _config$options : null;
-});
-
-const createConfigItemRunner = _gensync()(_item.createConfigItem);
-
-const maybeErrback = runner => (opts, callback) => {
-  if (callback === undefined && typeof opts === "function") {
-    callback = opts;
-    opts = undefined;
-  }
-
-  return callback ? runner.errback(opts, callback) : runner.sync(opts);
-};
-
-const loadPartialConfig = maybeErrback(_partial.loadPartialConfig);
-exports.loadPartialConfig = loadPartialConfig;
-const loadPartialConfigSync = _partial.loadPartialConfig.sync;
-exports.loadPartialConfigSync = loadPartialConfigSync;
-const loadPartialConfigAsync = _partial.loadPartialConfig.async;
-exports.loadPartialConfigAsync = loadPartialConfigAsync;
-const loadOptions = maybeErrback(loadOptionsRunner);
-exports.loadOptions = loadOptions;
-const loadOptionsSync = loadOptionsRunner.sync;
-exports.loadOptionsSync = loadOptionsSync;
-const loadOptionsAsync = loadOptionsRunner.async;
-exports.loadOptionsAsync = loadOptionsAsync;
-const createConfigItemSync = createConfigItemRunner.sync;
-exports.createConfigItemSync = createConfigItemSync;
-const createConfigItemAsync = createConfigItemRunner.async;
-exports.createConfigItemAsync = createConfigItemAsync;
-
-function createConfigItem(target, options, callback) {
-  if (callback !== undefined) {
-    return createConfigItemRunner.errback(target, options, callback);
-  } else if (typeof options === "function") {
-    return createConfigItemRunner.errback(target, undefined, callback);
-  } else {
-    return createConfigItemRunner.sync(target, options);
-  }
-}

+ 0 - 76
node_modules.bak/@babel/core/lib/config/item.js

@@ -1,76 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.createItemFromDescriptor = createItemFromDescriptor;
-exports.createConfigItem = createConfigItem;
-exports.getItemDescriptor = getItemDescriptor;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _configDescriptors = require("./config-descriptors");
-
-function createItemFromDescriptor(desc) {
-  return new ConfigItem(desc);
-}
-
-function* createConfigItem(value, {
-  dirname = ".",
-  type
-} = {}) {
-  const descriptor = yield* (0, _configDescriptors.createDescriptor)(value, _path().resolve(dirname), {
-    type,
-    alias: "programmatic item"
-  });
-  return createItemFromDescriptor(descriptor);
-}
-
-function getItemDescriptor(item) {
-  if (item != null && item[CONFIG_ITEM_BRAND]) {
-    return item._descriptor;
-  }
-
-  return undefined;
-}
-
-const CONFIG_ITEM_BRAND = Symbol.for("@babel/core@7 - ConfigItem");
-
-class ConfigItem {
-  constructor(descriptor) {
-    this._descriptor = void 0;
-    this[CONFIG_ITEM_BRAND] = true;
-    this.value = void 0;
-    this.options = void 0;
-    this.dirname = void 0;
-    this.name = void 0;
-    this.file = void 0;
-    this._descriptor = descriptor;
-    Object.defineProperty(this, "_descriptor", {
-      enumerable: false
-    });
-    Object.defineProperty(this, CONFIG_ITEM_BRAND, {
-      enumerable: false
-    });
-    this.value = this._descriptor.value;
-    this.options = this._descriptor.options;
-    this.dirname = this._descriptor.dirname;
-    this.name = this._descriptor.name;
-    this.file = this._descriptor.file ? {
-      request: this._descriptor.file.request,
-      resolved: this._descriptor.file.resolved
-    } : undefined;
-    Object.freeze(this);
-  }
-
-}
-
-Object.freeze(ConfigItem.prototype);

+ 0 - 195
node_modules.bak/@babel/core/lib/config/partial.js

@@ -1,195 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = loadPrivatePartialConfig;
-exports.loadPartialConfig = void 0;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _plugin = require("./plugin");
-
-var _util = require("./util");
-
-var _item = require("./item");
-
-var _configChain = require("./config-chain");
-
-var _environment = require("./helpers/environment");
-
-var _options = require("./validation/options");
-
-var _files = require("./files");
-
-var _resolveTargets = require("./resolve-targets");
-
-function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
-
-function resolveRootMode(rootDir, rootMode) {
-  switch (rootMode) {
-    case "root":
-      return rootDir;
-
-    case "upward-optional":
-      {
-        const upwardRootDir = (0, _files.findConfigUpwards)(rootDir);
-        return upwardRootDir === null ? rootDir : upwardRootDir;
-      }
-
-    case "upward":
-      {
-        const upwardRootDir = (0, _files.findConfigUpwards)(rootDir);
-        if (upwardRootDir !== null) return upwardRootDir;
-        throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not ` + `be found when searching upward from "${rootDir}".\n` + `One of the following config files must be in the directory tree: ` + `"${_files.ROOT_CONFIG_FILENAMES.join(", ")}".`), {
-          code: "BABEL_ROOT_NOT_FOUND",
-          dirname: rootDir
-        });
-      }
-
-    default:
-      throw new Error(`Assertion failure - unknown rootMode value.`);
-  }
-}
-
-function* loadPrivatePartialConfig(inputOpts) {
-  if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) {
-    throw new Error("Babel options must be an object, null, or undefined");
-  }
-
-  const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {};
-  const {
-    envName = (0, _environment.getEnv)(),
-    cwd = ".",
-    root: rootDir = ".",
-    rootMode = "root",
-    caller,
-    cloneInputAst = true
-  } = args;
-
-  const absoluteCwd = _path().resolve(cwd);
-
-  const absoluteRootDir = resolveRootMode(_path().resolve(absoluteCwd, rootDir), rootMode);
-  const filename = typeof args.filename === "string" ? _path().resolve(cwd, args.filename) : undefined;
-  const showConfigPath = yield* (0, _files.resolveShowConfigPath)(absoluteCwd);
-  const context = {
-    filename,
-    cwd: absoluteCwd,
-    root: absoluteRootDir,
-    envName,
-    caller,
-    showConfig: showConfigPath === filename
-  };
-  const configChain = yield* (0, _configChain.buildRootChain)(args, context);
-  if (!configChain) return null;
-  const merged = {
-    assumptions: {}
-  };
-  configChain.options.forEach(opts => {
-    (0, _util.mergeOptions)(merged, opts);
-  });
-  const options = Object.assign({}, merged, {
-    targets: (0, _resolveTargets.resolveTargets)(merged, absoluteRootDir),
-    cloneInputAst,
-    babelrc: false,
-    configFile: false,
-    browserslistConfigFile: false,
-    passPerPreset: false,
-    envName: context.envName,
-    cwd: context.cwd,
-    root: context.root,
-    rootMode: "root",
-    filename: typeof context.filename === "string" ? context.filename : undefined,
-    plugins: configChain.plugins.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)),
-    presets: configChain.presets.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor))
-  });
-  return {
-    options,
-    context,
-    fileHandling: configChain.fileHandling,
-    ignore: configChain.ignore,
-    babelrc: configChain.babelrc,
-    config: configChain.config,
-    files: configChain.files
-  };
-}
-
-const loadPartialConfig = _gensync()(function* (opts) {
-  let showIgnoredFiles = false;
-
-  if (typeof opts === "object" && opts !== null && !Array.isArray(opts)) {
-    var _opts = opts;
-    ({
-      showIgnoredFiles
-    } = _opts);
-    opts = _objectWithoutPropertiesLoose(_opts, ["showIgnoredFiles"]);
-    _opts;
-  }
-
-  const result = yield* loadPrivatePartialConfig(opts);
-  if (!result) return null;
-  const {
-    options,
-    babelrc,
-    ignore,
-    config,
-    fileHandling,
-    files
-  } = result;
-
-  if (fileHandling === "ignored" && !showIgnoredFiles) {
-    return null;
-  }
-
-  (options.plugins || []).forEach(item => {
-    if (item.value instanceof _plugin.default) {
-      throw new Error("Passing cached plugin instances is not supported in " + "babel.loadPartialConfig()");
-    }
-  });
-  return new PartialConfig(options, babelrc ? babelrc.filepath : undefined, ignore ? ignore.filepath : undefined, config ? config.filepath : undefined, fileHandling, files);
-});
-
-exports.loadPartialConfig = loadPartialConfig;
-
-class PartialConfig {
-  constructor(options, babelrc, ignore, config, fileHandling, files) {
-    this.options = void 0;
-    this.babelrc = void 0;
-    this.babelignore = void 0;
-    this.config = void 0;
-    this.fileHandling = void 0;
-    this.files = void 0;
-    this.options = options;
-    this.babelignore = ignore;
-    this.babelrc = babelrc;
-    this.config = config;
-    this.fileHandling = fileHandling;
-    this.files = files;
-    Object.freeze(this);
-  }
-
-  hasFilesystemConfig() {
-    return this.babelrc !== undefined || this.config !== undefined;
-  }
-
-}
-
-Object.freeze(PartialConfig.prototype);

+ 0 - 44
node_modules.bak/@babel/core/lib/config/pattern-to-regex.js

@@ -1,44 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = pathToPattern;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const sep = `\\${_path().sep}`;
-const endSep = `(?:${sep}|$)`;
-const substitution = `[^${sep}]+`;
-const starPat = `(?:${substitution}${sep})`;
-const starPatLast = `(?:${substitution}${endSep})`;
-const starStarPat = `${starPat}*?`;
-const starStarPatLast = `${starPat}*?${starPatLast}?`;
-
-function escapeRegExp(string) {
-  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
-}
-
-function pathToPattern(pattern, dirname) {
-  const parts = _path().resolve(dirname, pattern).split(_path().sep);
-
-  return new RegExp(["^", ...parts.map((part, i) => {
-    const last = i === parts.length - 1;
-    if (part === "**") return last ? starStarPatLast : starStarPat;
-    if (part === "*") return last ? starPatLast : starPat;
-
-    if (part.indexOf("*.") === 0) {
-      return substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep);
-    }
-
-    return escapeRegExp(part) + (last ? endSep : sep);
-  })].join(""));
-}

+ 0 - 30
node_modules.bak/@babel/core/lib/config/plugin.js

@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-
-class Plugin {
-  constructor(plugin, options, key) {
-    this.key = void 0;
-    this.manipulateOptions = void 0;
-    this.post = void 0;
-    this.pre = void 0;
-    this.visitor = void 0;
-    this.parserOverride = void 0;
-    this.generatorOverride = void 0;
-    this.options = void 0;
-    this.key = plugin.name || key;
-    this.manipulateOptions = plugin.manipulateOptions;
-    this.post = plugin.post;
-    this.pre = plugin.pre;
-    this.visitor = plugin.visitor || {};
-    this.parserOverride = plugin.parserOverride;
-    this.generatorOverride = plugin.generatorOverride;
-    this.options = options;
-  }
-
-}
-
-exports.default = Plugin;

+ 0 - 139
node_modules.bak/@babel/core/lib/config/printer.js

@@ -1,139 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.ConfigPrinter = exports.ChainFormatter = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-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 = [...(yield* opt.plugins())];
-
-    if (pluginDescriptors.length) {
-      content.plugins = pluginDescriptors.map(d => descriptorToConfig(d));
-    }
-
-    const presetDescriptors = [...(yield* 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 = yield* Formatter.optionsAndDescriptors(config.content);
-    return `${title}\n${content}`;
-  }
-
-  *output() {
-    if (this._stack.length === 0) return "";
-    const configs = yield* _gensync().all(this._stack.map(s => ConfigPrinter.format(s)));
-    return configs.join("\n\n");
-  }
-
-}
-
-exports.ConfigPrinter = ConfigPrinter;

+ 0 - 42
node_modules.bak/@babel/core/lib/config/resolve-targets-browser.js

@@ -1,42 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile;
-exports.resolveTargets = resolveTargets;
-
-function _helperCompilationTargets() {
-  const data = require("@babel/helper-compilation-targets");
-
-  _helperCompilationTargets = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function resolveBrowserslistConfigFile(browserslistConfigFile, configFilePath) {
-  return undefined;
-}
-
-function resolveTargets(options, root) {
-  let targets = options.targets;
-
-  if (typeof targets === "string" || Array.isArray(targets)) {
-    targets = {
-      browsers: targets
-    };
-  }
-
-  if (targets && targets.esmodules) {
-    targets = Object.assign({}, targets, {
-      esmodules: "intersect"
-    });
-  }
-
-  return (0, _helperCompilationTargets().default)(targets, {
-    ignoreBrowserslistConfig: true,
-    browserslistEnv: options.browserslistEnv
-  });
-}

+ 0 - 68
node_modules.bak/@babel/core/lib/config/resolve-targets.js

@@ -1,68 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile;
-exports.resolveTargets = resolveTargets;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _helperCompilationTargets() {
-  const data = require("@babel/helper-compilation-targets");
-
-  _helperCompilationTargets = function () {
-    return data;
-  };
-
-  return data;
-}
-
-({});
-
-function resolveBrowserslistConfigFile(browserslistConfigFile, configFileDir) {
-  return _path().resolve(configFileDir, browserslistConfigFile);
-}
-
-function resolveTargets(options, root) {
-  let targets = options.targets;
-
-  if (typeof targets === "string" || Array.isArray(targets)) {
-    targets = {
-      browsers: targets
-    };
-  }
-
-  if (targets && targets.esmodules) {
-    targets = Object.assign({}, targets, {
-      esmodules: "intersect"
-    });
-  }
-
-  const {
-    browserslistConfigFile
-  } = options;
-  let configFile;
-  let ignoreBrowserslistConfig = false;
-
-  if (typeof browserslistConfigFile === "string") {
-    configFile = browserslistConfigFile;
-  } else {
-    ignoreBrowserslistConfig = browserslistConfigFile === false;
-  }
-
-  return (0, _helperCompilationTargets().default)(targets, {
-    ignoreBrowserslistConfig,
-    configFile,
-    configPath: root,
-    browserslistEnv: options.browserslistEnv
-  });
-}

+ 0 - 31
node_modules.bak/@babel/core/lib/config/util.js

@@ -1,31 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.mergeOptions = mergeOptions;
-exports.isIterableIterator = isIterableIterator;
-
-function mergeOptions(target, source) {
-  for (const k of Object.keys(source)) {
-    if ((k === "parserOpts" || k === "generatorOpts" || k === "assumptions") && source[k]) {
-      const parserOpts = source[k];
-      const targetObj = target[k] || (target[k] = {});
-      mergeDefaultFields(targetObj, parserOpts);
-    } else {
-      const val = source[k];
-      if (val !== undefined) target[k] = val;
-    }
-  }
-}
-
-function mergeDefaultFields(target, source) {
-  for (const k of Object.keys(source)) {
-    const val = source[k];
-    if (val !== undefined) target[k] = val;
-  }
-}
-
-function isIterableIterator(value) {
-  return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function";
-}

+ 0 - 352
node_modules.bak/@babel/core/lib/config/validation/option-assertions.js

@@ -1,352 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.msg = msg;
-exports.access = access;
-exports.assertRootMode = assertRootMode;
-exports.assertSourceMaps = assertSourceMaps;
-exports.assertCompact = assertCompact;
-exports.assertSourceType = assertSourceType;
-exports.assertCallerMetadata = assertCallerMetadata;
-exports.assertInputSourceMap = assertInputSourceMap;
-exports.assertString = assertString;
-exports.assertFunction = assertFunction;
-exports.assertBoolean = assertBoolean;
-exports.assertObject = assertObject;
-exports.assertArray = assertArray;
-exports.assertIgnoreList = assertIgnoreList;
-exports.assertConfigApplicableTest = assertConfigApplicableTest;
-exports.assertConfigFileSearch = assertConfigFileSearch;
-exports.assertBabelrcSearch = assertBabelrcSearch;
-exports.assertPluginList = assertPluginList;
-exports.assertTargets = assertTargets;
-exports.assertAssumptions = assertAssumptions;
-
-function _helperCompilationTargets() {
-  const data = require("@babel/helper-compilation-targets");
-
-  _helperCompilationTargets = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _options = require("./options");
-
-function msg(loc) {
-  switch (loc.type) {
-    case "root":
-      return ``;
-
-    case "env":
-      return `${msg(loc.parent)}.env["${loc.name}"]`;
-
-    case "overrides":
-      return `${msg(loc.parent)}.overrides[${loc.index}]`;
-
-    case "option":
-      return `${msg(loc.parent)}.${loc.name}`;
-
-    case "access":
-      return `${msg(loc.parent)}[${JSON.stringify(loc.name)}]`;
-
-    default:
-      throw new Error(`Assertion failure: Unknown type ${loc.type}`);
-  }
-}
-
-function access(loc, name) {
-  return {
-    type: "access",
-    name,
-    parent: loc
-  };
-}
-
-function assertRootMode(loc, value) {
-  if (value !== undefined && value !== "root" && value !== "upward" && value !== "upward-optional") {
-    throw new Error(`${msg(loc)} must be a "root", "upward", "upward-optional" or undefined`);
-  }
-
-  return value;
-}
-
-function assertSourceMaps(loc, value) {
-  if (value !== undefined && typeof value !== "boolean" && value !== "inline" && value !== "both") {
-    throw new Error(`${msg(loc)} must be a boolean, "inline", "both", or undefined`);
-  }
-
-  return value;
-}
-
-function assertCompact(loc, value) {
-  if (value !== undefined && typeof value !== "boolean" && value !== "auto") {
-    throw new Error(`${msg(loc)} must be a boolean, "auto", or undefined`);
-  }
-
-  return value;
-}
-
-function assertSourceType(loc, value) {
-  if (value !== undefined && value !== "module" && value !== "script" && value !== "unambiguous") {
-    throw new Error(`${msg(loc)} must be "module", "script", "unambiguous", or undefined`);
-  }
-
-  return value;
-}
-
-function assertCallerMetadata(loc, value) {
-  const obj = assertObject(loc, value);
-
-  if (obj) {
-    if (typeof obj.name !== "string") {
-      throw new Error(`${msg(loc)} set but does not contain "name" property string`);
-    }
-
-    for (const prop of Object.keys(obj)) {
-      const propLoc = access(loc, prop);
-      const value = obj[prop];
-
-      if (value != null && typeof value !== "boolean" && typeof value !== "string" && typeof value !== "number") {
-        throw new Error(`${msg(propLoc)} must be null, undefined, a boolean, a string, or a number.`);
-      }
-    }
-  }
-
-  return value;
-}
-
-function assertInputSourceMap(loc, value) {
-  if (value !== undefined && typeof value !== "boolean" && (typeof value !== "object" || !value)) {
-    throw new Error(`${msg(loc)} must be a boolean, object, or undefined`);
-  }
-
-  return value;
-}
-
-function assertString(loc, value) {
-  if (value !== undefined && typeof value !== "string") {
-    throw new Error(`${msg(loc)} must be a string, or undefined`);
-  }
-
-  return value;
-}
-
-function assertFunction(loc, value) {
-  if (value !== undefined && typeof value !== "function") {
-    throw new Error(`${msg(loc)} must be a function, or undefined`);
-  }
-
-  return value;
-}
-
-function assertBoolean(loc, value) {
-  if (value !== undefined && typeof value !== "boolean") {
-    throw new Error(`${msg(loc)} must be a boolean, or undefined`);
-  }
-
-  return value;
-}
-
-function assertObject(loc, value) {
-  if (value !== undefined && (typeof value !== "object" || Array.isArray(value) || !value)) {
-    throw new Error(`${msg(loc)} must be an object, or undefined`);
-  }
-
-  return value;
-}
-
-function assertArray(loc, value) {
-  if (value != null && !Array.isArray(value)) {
-    throw new Error(`${msg(loc)} must be an array, or undefined`);
-  }
-
-  return value;
-}
-
-function assertIgnoreList(loc, value) {
-  const arr = assertArray(loc, value);
-
-  if (arr) {
-    arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item));
-  }
-
-  return arr;
-}
-
-function assertIgnoreItem(loc, value) {
-  if (typeof value !== "string" && typeof value !== "function" && !(value instanceof RegExp)) {
-    throw new Error(`${msg(loc)} must be an array of string/Function/RegExp values, or undefined`);
-  }
-
-  return value;
-}
-
-function assertConfigApplicableTest(loc, value) {
-  if (value === undefined) return value;
-
-  if (Array.isArray(value)) {
-    value.forEach((item, i) => {
-      if (!checkValidTest(item)) {
-        throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`);
-      }
-    });
-  } else if (!checkValidTest(value)) {
-    throw new Error(`${msg(loc)} must be a string/Function/RegExp, or an array of those`);
-  }
-
-  return value;
-}
-
-function checkValidTest(value) {
-  return typeof value === "string" || typeof value === "function" || value instanceof RegExp;
-}
-
-function assertConfigFileSearch(loc, value) {
-  if (value !== undefined && typeof value !== "boolean" && typeof value !== "string") {
-    throw new Error(`${msg(loc)} must be a undefined, a boolean, a string, ` + `got ${JSON.stringify(value)}`);
-  }
-
-  return value;
-}
-
-function assertBabelrcSearch(loc, value) {
-  if (value === undefined || typeof value === "boolean") return value;
-
-  if (Array.isArray(value)) {
-    value.forEach((item, i) => {
-      if (!checkValidTest(item)) {
-        throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`);
-      }
-    });
-  } else if (!checkValidTest(value)) {
-    throw new Error(`${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` + `or an array of those, got ${JSON.stringify(value)}`);
-  }
-
-  return value;
-}
-
-function assertPluginList(loc, value) {
-  const arr = assertArray(loc, value);
-
-  if (arr) {
-    arr.forEach((item, i) => assertPluginItem(access(loc, i), item));
-  }
-
-  return arr;
-}
-
-function assertPluginItem(loc, value) {
-  if (Array.isArray(value)) {
-    if (value.length === 0) {
-      throw new Error(`${msg(loc)} must include an object`);
-    }
-
-    if (value.length > 3) {
-      throw new Error(`${msg(loc)} may only be a two-tuple or three-tuple`);
-    }
-
-    assertPluginTarget(access(loc, 0), value[0]);
-
-    if (value.length > 1) {
-      const opts = value[1];
-
-      if (opts !== undefined && opts !== false && (typeof opts !== "object" || Array.isArray(opts) || opts === null)) {
-        throw new Error(`${msg(access(loc, 1))} must be an object, false, or undefined`);
-      }
-    }
-
-    if (value.length === 3) {
-      const name = value[2];
-
-      if (name !== undefined && typeof name !== "string") {
-        throw new Error(`${msg(access(loc, 2))} must be a string, or undefined`);
-      }
-    }
-  } else {
-    assertPluginTarget(loc, value);
-  }
-
-  return value;
-}
-
-function assertPluginTarget(loc, value) {
-  if ((typeof value !== "object" || !value) && typeof value !== "string" && typeof value !== "function") {
-    throw new Error(`${msg(loc)} must be a string, object, function`);
-  }
-
-  return value;
-}
-
-function assertTargets(loc, value) {
-  if ((0, _helperCompilationTargets().isBrowsersQueryValid)(value)) return value;
-
-  if (typeof value !== "object" || !value || Array.isArray(value)) {
-    throw new Error(`${msg(loc)} must be a string, an array of strings or an object`);
-  }
-
-  const browsersLoc = access(loc, "browsers");
-  const esmodulesLoc = access(loc, "esmodules");
-  assertBrowsersList(browsersLoc, value.browsers);
-  assertBoolean(esmodulesLoc, value.esmodules);
-
-  for (const key of Object.keys(value)) {
-    const val = value[key];
-    const subLoc = access(loc, key);
-    if (key === "esmodules") assertBoolean(subLoc, val);else if (key === "browsers") assertBrowsersList(subLoc, val);else if (!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames, key)) {
-      const validTargets = Object.keys(_helperCompilationTargets().TargetNames).join(", ");
-      throw new Error(`${msg(subLoc)} is not a valid target. Supported targets are ${validTargets}`);
-    } else assertBrowserVersion(subLoc, val);
-  }
-
-  return value;
-}
-
-function assertBrowsersList(loc, value) {
-  if (value !== undefined && !(0, _helperCompilationTargets().isBrowsersQueryValid)(value)) {
-    throw new Error(`${msg(loc)} must be undefined, a string or an array of strings`);
-  }
-}
-
-function assertBrowserVersion(loc, value) {
-  if (typeof value === "number" && Math.round(value) === value) return;
-  if (typeof value === "string") return;
-  throw new Error(`${msg(loc)} must be a string or an integer number`);
-}
-
-function assertAssumptions(loc, value) {
-  if (value === undefined) return;
-
-  if (typeof value !== "object" || value === null) {
-    throw new Error(`${msg(loc)} must be an object or undefined.`);
-  }
-
-  let root = loc;
-
-  do {
-    root = root.parent;
-  } while (root.type !== "root");
-
-  const inPreset = root.source === "preset";
-
-  for (const name of Object.keys(value)) {
-    const subLoc = access(loc, name);
-
-    if (!_options.assumptionsNames.has(name)) {
-      throw new Error(`${msg(subLoc)} is not a supported assumption.`);
-    }
-
-    if (typeof value[name] !== "boolean") {
-      throw new Error(`${msg(subLoc)} must be a boolean.`);
-    }
-
-    if (inPreset && value[name] === false) {
-      throw new Error(`${msg(subLoc)} cannot be set to 'false' inside presets.`);
-    }
-  }
-
-  return value;
-}

+ 0 - 210
node_modules.bak/@babel/core/lib/config/validation/options.js

@@ -1,210 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.validate = validate;
-exports.checkNoUnwrappedItemOptionPairs = checkNoUnwrappedItemOptionPairs;
-exports.assumptionsNames = void 0;
-
-var _plugin = require("../plugin");
-
-var _removed = require("./removed");
-
-var _optionAssertions = require("./option-assertions");
-
-const ROOT_VALIDATORS = {
-  cwd: _optionAssertions.assertString,
-  root: _optionAssertions.assertString,
-  rootMode: _optionAssertions.assertRootMode,
-  configFile: _optionAssertions.assertConfigFileSearch,
-  caller: _optionAssertions.assertCallerMetadata,
-  filename: _optionAssertions.assertString,
-  filenameRelative: _optionAssertions.assertString,
-  code: _optionAssertions.assertBoolean,
-  ast: _optionAssertions.assertBoolean,
-  cloneInputAst: _optionAssertions.assertBoolean,
-  envName: _optionAssertions.assertString
-};
-const BABELRC_VALIDATORS = {
-  babelrc: _optionAssertions.assertBoolean,
-  babelrcRoots: _optionAssertions.assertBabelrcSearch
-};
-const NONPRESET_VALIDATORS = {
-  extends: _optionAssertions.assertString,
-  ignore: _optionAssertions.assertIgnoreList,
-  only: _optionAssertions.assertIgnoreList,
-  targets: _optionAssertions.assertTargets,
-  browserslistConfigFile: _optionAssertions.assertConfigFileSearch,
-  browserslistEnv: _optionAssertions.assertString
-};
-const COMMON_VALIDATORS = {
-  inputSourceMap: _optionAssertions.assertInputSourceMap,
-  presets: _optionAssertions.assertPluginList,
-  plugins: _optionAssertions.assertPluginList,
-  passPerPreset: _optionAssertions.assertBoolean,
-  assumptions: _optionAssertions.assertAssumptions,
-  env: assertEnvSet,
-  overrides: assertOverridesList,
-  test: _optionAssertions.assertConfigApplicableTest,
-  include: _optionAssertions.assertConfigApplicableTest,
-  exclude: _optionAssertions.assertConfigApplicableTest,
-  retainLines: _optionAssertions.assertBoolean,
-  comments: _optionAssertions.assertBoolean,
-  shouldPrintComment: _optionAssertions.assertFunction,
-  compact: _optionAssertions.assertCompact,
-  minified: _optionAssertions.assertBoolean,
-  auxiliaryCommentBefore: _optionAssertions.assertString,
-  auxiliaryCommentAfter: _optionAssertions.assertString,
-  sourceType: _optionAssertions.assertSourceType,
-  wrapPluginVisitorMethod: _optionAssertions.assertFunction,
-  highlightCode: _optionAssertions.assertBoolean,
-  sourceMaps: _optionAssertions.assertSourceMaps,
-  sourceMap: _optionAssertions.assertSourceMaps,
-  sourceFileName: _optionAssertions.assertString,
-  sourceRoot: _optionAssertions.assertString,
-  parserOpts: _optionAssertions.assertObject,
-  generatorOpts: _optionAssertions.assertObject
-};
-{
-  Object.assign(COMMON_VALIDATORS, {
-    getModuleId: _optionAssertions.assertFunction,
-    moduleRoot: _optionAssertions.assertString,
-    moduleIds: _optionAssertions.assertBoolean,
-    moduleId: _optionAssertions.assertString
-  });
-}
-const assumptionsNames = new Set(["arrayLikeIsIterable", "constantReexports", "constantSuper", "enumerableModuleMeta", "ignoreFunctionLength", "ignoreToPrimitiveHint", "iterableIsArray", "mutableTemplateObject", "noClassCalls", "noDocumentAll", "noNewArrows", "objectRestNoSymbols", "privateFieldsAsProperties", "pureGetters", "setClassMethods", "setComputedProperties", "setPublicClassFields", "setSpreadProperties", "skipForOfIteratorClosing", "superIsCallableConstructor"]);
-exports.assumptionsNames = assumptionsNames;
-
-function getSource(loc) {
-  return loc.type === "root" ? loc.source : getSource(loc.parent);
-}
-
-function validate(type, opts) {
-  return validateNested({
-    type: "root",
-    source: type
-  }, opts);
-}
-
-function validateNested(loc, opts) {
-  const type = getSource(loc);
-  assertNoDuplicateSourcemap(opts);
-  Object.keys(opts).forEach(key => {
-    const optLoc = {
-      type: "option",
-      name: key,
-      parent: loc
-    };
-
-    if (type === "preset" && NONPRESET_VALIDATORS[key]) {
-      throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in preset options`);
-    }
-
-    if (type !== "arguments" && ROOT_VALIDATORS[key]) {
-      throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options`);
-    }
-
-    if (type !== "arguments" && type !== "configfile" && BABELRC_VALIDATORS[key]) {
-      if (type === "babelrcfile" || type === "extendsfile") {
-        throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, ` + `or babel.config.js/config file options`);
-      }
-
-      throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options, or babel.config.js/config file options`);
-    }
-
-    const validator = COMMON_VALIDATORS[key] || NONPRESET_VALIDATORS[key] || BABELRC_VALIDATORS[key] || ROOT_VALIDATORS[key] || throwUnknownError;
-    validator(optLoc, opts[key]);
-  });
-  return opts;
-}
-
-function throwUnknownError(loc) {
-  const key = loc.name;
-
-  if (_removed.default[key]) {
-    const {
-      message,
-      version = 5
-    } = _removed.default[key];
-    throw new Error(`Using removed Babel ${version} option: ${(0, _optionAssertions.msg)(loc)} - ${message}`);
-  } else {
-    const unknownOptErr = new Error(`Unknown option: ${(0, _optionAssertions.msg)(loc)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);
-    unknownOptErr.code = "BABEL_UNKNOWN_OPTION";
-    throw unknownOptErr;
-  }
-}
-
-function has(obj, key) {
-  return Object.prototype.hasOwnProperty.call(obj, key);
-}
-
-function assertNoDuplicateSourcemap(opts) {
-  if (has(opts, "sourceMap") && has(opts, "sourceMaps")) {
-    throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both");
-  }
-}
-
-function assertEnvSet(loc, value) {
-  if (loc.parent.type === "env") {
-    throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside of another .env block`);
-  }
-
-  const parent = loc.parent;
-  const obj = (0, _optionAssertions.assertObject)(loc, value);
-
-  if (obj) {
-    for (const envName of Object.keys(obj)) {
-      const env = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]);
-      if (!env) continue;
-      const envLoc = {
-        type: "env",
-        name: envName,
-        parent
-      };
-      validateNested(envLoc, env);
-    }
-  }
-
-  return obj;
-}
-
-function assertOverridesList(loc, value) {
-  if (loc.parent.type === "env") {
-    throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .env block`);
-  }
-
-  if (loc.parent.type === "overrides") {
-    throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .overrides block`);
-  }
-
-  const parent = loc.parent;
-  const arr = (0, _optionAssertions.assertArray)(loc, value);
-
-  if (arr) {
-    for (const [index, item] of arr.entries()) {
-      const objLoc = (0, _optionAssertions.access)(loc, index);
-      const env = (0, _optionAssertions.assertObject)(objLoc, item);
-      if (!env) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`);
-      const overridesLoc = {
-        type: "overrides",
-        index,
-        parent
-      };
-      validateNested(overridesLoc, env);
-    }
-  }
-
-  return arr;
-}
-
-function checkNoUnwrappedItemOptionPairs(items, index, type, e) {
-  if (index === 0) return;
-  const lastItem = items[index - 1];
-  const thisItem = items[index];
-
-  if (lastItem.file && lastItem.options === undefined && typeof thisItem.value === "object") {
-    e.message += `\n- Maybe you meant to use\n` + `"${type}": [\n  ["${lastItem.file.request}", ${JSON.stringify(thisItem.value, undefined, 2)}]\n]\n` + `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`;
-  }
-}

+ 0 - 71
node_modules.bak/@babel/core/lib/config/validation/plugins.js

@@ -1,71 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.validatePluginObject = validatePluginObject;
-
-var _optionAssertions = require("./option-assertions");
-
-const VALIDATORS = {
-  name: _optionAssertions.assertString,
-  manipulateOptions: _optionAssertions.assertFunction,
-  pre: _optionAssertions.assertFunction,
-  post: _optionAssertions.assertFunction,
-  inherits: _optionAssertions.assertFunction,
-  visitor: assertVisitorMap,
-  parserOverride: _optionAssertions.assertFunction,
-  generatorOverride: _optionAssertions.assertFunction
-};
-
-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(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);
-    }
-  }
-
-  return obj;
-}
-
-function assertVisitorHandler(key, value) {
-  if (value && typeof value === "object") {
-    Object.keys(value).forEach(handler => {
-      if (handler !== "enter" && handler !== "exit") {
-        throw new Error(`.visitor["${key}"] may only have .enter and/or .exit handlers.`);
-      }
-    });
-  } else if (typeof value !== "function") {
-    throw new Error(`.visitor["${key}"] must be a function`);
-  }
-
-  return value;
-}
-
-function validatePluginObject(obj) {
-  const rootPath = {
-    type: "root",
-    source: "plugin"
-  };
-  Object.keys(obj).forEach(key => {
-    const validator = VALIDATORS[key];
-
-    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;
-    }
-  });
-  return obj;
-}

+ 0 - 66
node_modules.bak/@babel/core/lib/config/validation/removed.js

@@ -1,66 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-var _default = {
-  auxiliaryComment: {
-    message: "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"
-  },
-  blacklist: {
-    message: "Put the specific transforms you want in the `plugins` option"
-  },
-  breakConfig: {
-    message: "This is not a necessary option in Babel 6"
-  },
-  experimental: {
-    message: "Put the specific transforms you want in the `plugins` option"
-  },
-  externalHelpers: {
-    message: "Use the `external-helpers` plugin instead. " + "Check out http://babeljs.io/docs/plugins/external-helpers/"
-  },
-  extra: {
-    message: ""
-  },
-  jsxPragma: {
-    message: "use the `pragma` option in the `react-jsx` plugin. " + "Check out http://babeljs.io/docs/plugins/transform-react-jsx/"
-  },
-  loose: {
-    message: "Specify the `loose` option for the relevant plugin you are using " + "or use a preset that sets the option."
-  },
-  metadataUsedHelpers: {
-    message: "Not required anymore as this is enabled by default"
-  },
-  modules: {
-    message: "Use the corresponding module transform plugin in the `plugins` option. " + "Check out http://babeljs.io/docs/plugins/#modules"
-  },
-  nonStandard: {
-    message: "Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. " + "Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"
-  },
-  optional: {
-    message: "Put the specific transforms you want in the `plugins` option"
-  },
-  sourceMapName: {
-    message: "The `sourceMapName` option has been removed because it makes more sense for the " + "tooling that calls Babel to assign `map.file` themselves."
-  },
-  stage: {
-    message: "Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"
-  },
-  whitelist: {
-    message: "Put the specific transforms you want in the `plugins` option"
-  },
-  resolveModuleSource: {
-    version: 6,
-    message: "Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"
-  },
-  metadata: {
-    version: 6,
-    message: "Generated plugin metadata is always included in the output result"
-  },
-  sourceMapTarget: {
-    version: 6,
-    message: "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " + "that calls Babel to assign `map.file` themselves."
-  }
-};
-exports.default = _default;

+ 0 - 93
node_modules.bak/@babel/core/lib/gensync-utils/async.js

@@ -1,93 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.maybeAsync = maybeAsync;
-exports.forwardAsync = forwardAsync;
-exports.isThenable = isThenable;
-exports.waitFor = exports.onFirstPause = exports.isAsync = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const id = x => x;
-
-const runGenerator = _gensync()(function* (item) {
-  return yield* item;
-});
-
-const isAsync = _gensync()({
-  sync: () => false,
-  errback: cb => cb(null, true)
-});
-
-exports.isAsync = isAsync;
-
-function maybeAsync(fn, message) {
-  return _gensync()({
-    sync(...args) {
-      const result = fn.apply(this, args);
-      if (isThenable(result)) throw new Error(message);
-      return result;
-    },
-
-    async(...args) {
-      return Promise.resolve(fn.apply(this, args));
-    }
-
-  });
-}
-
-const withKind = _gensync()({
-  sync: cb => cb("sync"),
-  async: cb => cb("async")
-});
-
-function forwardAsync(action, cb) {
-  const g = _gensync()(action);
-
-  return withKind(kind => {
-    const adapted = g[kind];
-    return cb(adapted);
-  });
-}
-
-const onFirstPause = _gensync()({
-  name: "onFirstPause",
-  arity: 2,
-  sync: function (item) {
-    return runGenerator.sync(item);
-  },
-  errback: function (item, firstPause, cb) {
-    let completed = false;
-    runGenerator.errback(item, (err, value) => {
-      completed = true;
-      cb(err, value);
-    });
-
-    if (!completed) {
-      firstPause();
-    }
-  }
-});
-
-exports.onFirstPause = onFirstPause;
-
-const waitFor = _gensync()({
-  sync: id,
-  async: id
-});
-
-exports.waitFor = waitFor;
-
-function isThenable(val) {
-  return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function";
-}

+ 0 - 40
node_modules.bak/@babel/core/lib/gensync-utils/fs.js

@@ -1,40 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.stat = exports.readFile = void 0;
-
-function _fs() {
-  const data = require("fs");
-
-  _fs = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const readFile = _gensync()({
-  sync: _fs().readFileSync,
-  errback: _fs().readFile
-});
-
-exports.readFile = readFile;
-
-const stat = _gensync()({
-  sync: _fs().statSync,
-  errback: _fs().stat
-});
-
-exports.stat = stat;

+ 0 - 264
node_modules.bak/@babel/core/lib/index.js

@@ -1,264 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.Plugin = Plugin;
-Object.defineProperty(exports, "File", {
-  enumerable: true,
-  get: function () {
-    return _file.default;
-  }
-});
-Object.defineProperty(exports, "buildExternalHelpers", {
-  enumerable: true,
-  get: function () {
-    return _buildExternalHelpers.default;
-  }
-});
-Object.defineProperty(exports, "resolvePlugin", {
-  enumerable: true,
-  get: function () {
-    return _files.resolvePlugin;
-  }
-});
-Object.defineProperty(exports, "resolvePreset", {
-  enumerable: true,
-  get: function () {
-    return _files.resolvePreset;
-  }
-});
-Object.defineProperty(exports, "getEnv", {
-  enumerable: true,
-  get: function () {
-    return _environment.getEnv;
-  }
-});
-Object.defineProperty(exports, "tokTypes", {
-  enumerable: true,
-  get: function () {
-    return _parser().tokTypes;
-  }
-});
-Object.defineProperty(exports, "traverse", {
-  enumerable: true,
-  get: function () {
-    return _traverse().default;
-  }
-});
-Object.defineProperty(exports, "template", {
-  enumerable: true,
-  get: function () {
-    return _template().default;
-  }
-});
-Object.defineProperty(exports, "createConfigItem", {
-  enumerable: true,
-  get: function () {
-    return _config.createConfigItem;
-  }
-});
-Object.defineProperty(exports, "createConfigItemSync", {
-  enumerable: true,
-  get: function () {
-    return _config.createConfigItemSync;
-  }
-});
-Object.defineProperty(exports, "createConfigItemAsync", {
-  enumerable: true,
-  get: function () {
-    return _config.createConfigItemAsync;
-  }
-});
-Object.defineProperty(exports, "loadPartialConfig", {
-  enumerable: true,
-  get: function () {
-    return _config.loadPartialConfig;
-  }
-});
-Object.defineProperty(exports, "loadPartialConfigSync", {
-  enumerable: true,
-  get: function () {
-    return _config.loadPartialConfigSync;
-  }
-});
-Object.defineProperty(exports, "loadPartialConfigAsync", {
-  enumerable: true,
-  get: function () {
-    return _config.loadPartialConfigAsync;
-  }
-});
-Object.defineProperty(exports, "loadOptions", {
-  enumerable: true,
-  get: function () {
-    return _config.loadOptions;
-  }
-});
-Object.defineProperty(exports, "loadOptionsSync", {
-  enumerable: true,
-  get: function () {
-    return _config.loadOptionsSync;
-  }
-});
-Object.defineProperty(exports, "loadOptionsAsync", {
-  enumerable: true,
-  get: function () {
-    return _config.loadOptionsAsync;
-  }
-});
-Object.defineProperty(exports, "transform", {
-  enumerable: true,
-  get: function () {
-    return _transform.transform;
-  }
-});
-Object.defineProperty(exports, "transformSync", {
-  enumerable: true,
-  get: function () {
-    return _transform.transformSync;
-  }
-});
-Object.defineProperty(exports, "transformAsync", {
-  enumerable: true,
-  get: function () {
-    return _transform.transformAsync;
-  }
-});
-Object.defineProperty(exports, "transformFile", {
-  enumerable: true,
-  get: function () {
-    return _transformFile.transformFile;
-  }
-});
-Object.defineProperty(exports, "transformFileSync", {
-  enumerable: true,
-  get: function () {
-    return _transformFile.transformFileSync;
-  }
-});
-Object.defineProperty(exports, "transformFileAsync", {
-  enumerable: true,
-  get: function () {
-    return _transformFile.transformFileAsync;
-  }
-});
-Object.defineProperty(exports, "transformFromAst", {
-  enumerable: true,
-  get: function () {
-    return _transformAst.transformFromAst;
-  }
-});
-Object.defineProperty(exports, "transformFromAstSync", {
-  enumerable: true,
-  get: function () {
-    return _transformAst.transformFromAstSync;
-  }
-});
-Object.defineProperty(exports, "transformFromAstAsync", {
-  enumerable: true,
-  get: function () {
-    return _transformAst.transformFromAstAsync;
-  }
-});
-Object.defineProperty(exports, "parse", {
-  enumerable: true,
-  get: function () {
-    return _parse.parse;
-  }
-});
-Object.defineProperty(exports, "parseSync", {
-  enumerable: true,
-  get: function () {
-    return _parse.parseSync;
-  }
-});
-Object.defineProperty(exports, "parseAsync", {
-  enumerable: true,
-  get: function () {
-    return _parse.parseAsync;
-  }
-});
-exports.types = exports.OptionManager = exports.DEFAULT_EXTENSIONS = exports.version = void 0;
-
-var _file = require("./transformation/file/file");
-
-var _buildExternalHelpers = require("./tools/build-external-helpers");
-
-var _files = require("./config/files");
-
-var _environment = require("./config/helpers/environment");
-
-function _types() {
-  const data = require("@babel/types");
-
-  _types = function () {
-    return data;
-  };
-
-  return data;
-}
-
-Object.defineProperty(exports, "types", {
-  enumerable: true,
-  get: function () {
-    return _types();
-  }
-});
-
-function _parser() {
-  const data = require("@babel/parser");
-
-  _parser = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _traverse() {
-  const data = require("@babel/traverse");
-
-  _traverse = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _template() {
-  const data = require("@babel/template");
-
-  _template = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _config = require("./config");
-
-var _transform = require("./transform");
-
-var _transformFile = require("./transform-file");
-
-var _transformAst = require("./transform-ast");
-
-var _parse = require("./parse");
-
-const version = "7.14.2";
-exports.version = version;
-const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
-exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS;
-
-class OptionManager {
-  init(opts) {
-    return (0, _config.loadOptions)(opts);
-  }
-
-}
-
-exports.OptionManager = OptionManager;
-
-function Plugin(alias) {
-  throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`);
-}

+ 0 - 48
node_modules.bak/@babel/core/lib/parse.js

@@ -1,48 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.parseAsync = exports.parseSync = exports.parse = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _config = require("./config");
-
-var _parser = require("./parser");
-
-var _normalizeOpts = require("./transformation/normalize-opts");
-
-const parseRunner = _gensync()(function* parse(code, opts) {
-  const config = yield* (0, _config.default)(opts);
-
-  if (config === null) {
-    return null;
-  }
-
-  return yield* (0, _parser.default)(config.passes, (0, _normalizeOpts.default)(config), code);
-});
-
-const parse = function parse(code, opts, callback) {
-  if (typeof opts === "function") {
-    callback = opts;
-    opts = undefined;
-  }
-
-  if (callback === undefined) return parseRunner.sync(code, opts);
-  parseRunner.errback(code, opts, callback);
-};
-
-exports.parse = parse;
-const parseSync = parseRunner.sync;
-exports.parseSync = parseSync;
-const parseAsync = parseRunner.async;
-exports.parseAsync = parseAsync;

+ 0 - 95
node_modules.bak/@babel/core/lib/parser/index.js

@@ -1,95 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = parser;
-
-function _parser() {
-  const data = require("@babel/parser");
-
-  _parser = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _codeFrame() {
-  const data = require("@babel/code-frame");
-
-  _codeFrame = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _missingPluginHelper = require("./util/missing-plugin-helper");
-
-function* parser(pluginPasses, {
-  parserOpts,
-  highlightCode = true,
-  filename = "unknown"
-}, code) {
-  try {
-    const results = [];
-
-    for (const plugins of pluginPasses) {
-      for (const plugin of plugins) {
-        const {
-          parserOverride
-        } = plugin;
-
-        if (parserOverride) {
-          const ast = parserOverride(code, parserOpts, _parser().parse);
-          if (ast !== undefined) results.push(ast);
-        }
-      }
-    }
-
-    if (results.length === 0) {
-      return (0, _parser().parse)(code, parserOpts);
-    } else if (results.length === 1) {
-      yield* [];
-
-      if (typeof results[0].then === "function") {
-        throw new Error(`You appear to be using an async parser plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`);
-      }
-
-      return results[0];
-    }
-
-    throw new Error("More than one plugin attempted to override parsing.");
-  } catch (err) {
-    if (err.code === "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED") {
-      err.message += "\nConsider renaming the file to '.mjs', or setting sourceType:module " + "or sourceType:unambiguous in your Babel config for this file.";
-    }
-
-    const {
-      loc,
-      missingPlugin
-    } = err;
-
-    if (loc) {
-      const codeFrame = (0, _codeFrame().codeFrameColumns)(code, {
-        start: {
-          line: loc.line,
-          column: loc.column + 1
-        }
-      }, {
-        highlightCode
-      });
-
-      if (missingPlugin) {
-        err.message = `${filename}: ` + (0, _missingPluginHelper.default)(missingPlugin[0], loc, codeFrame);
-      } else {
-        err.message = `${filename}: ${err.message}\n\n` + codeFrame;
-      }
-
-      err.code = "BABEL_PARSE_ERROR";
-    }
-
-    throw err;
-  }
-}

+ 0 - 313
node_modules.bak/@babel/core/lib/parser/util/missing-plugin-helper.js

@@ -1,313 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = generateMissingPluginMessage;
-const pluginNameMap = {
-  asyncDoExpressions: {
-    syntax: {
-      name: "@babel/plugin-syntax-async-do-expressions",
-      url: "https://git.io/JYer8"
-    }
-  },
-  classProperties: {
-    syntax: {
-      name: "@babel/plugin-syntax-class-properties",
-      url: "https://git.io/vb4yQ"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-class-properties",
-      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"
-    }
-  },
-  classStaticBlock: {
-    syntax: {
-      name: "@babel/plugin-syntax-class-static-block",
-      url: "https://git.io/JTLB6"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-class-static-block",
-      url: "https://git.io/JTLBP"
-    }
-  },
-  decimal: {
-    syntax: {
-      name: "@babel/plugin-syntax-decimal",
-      url: "https://git.io/JfKOH"
-    }
-  },
-  decorators: {
-    syntax: {
-      name: "@babel/plugin-syntax-decorators",
-      url: "https://git.io/vb4y9"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-decorators",
-      url: "https://git.io/vb4ST"
-    }
-  },
-  doExpressions: {
-    syntax: {
-      name: "@babel/plugin-syntax-do-expressions",
-      url: "https://git.io/vb4yh"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-do-expressions",
-      url: "https://git.io/vb4S3"
-    }
-  },
-  dynamicImport: {
-    syntax: {
-      name: "@babel/plugin-syntax-dynamic-import",
-      url: "https://git.io/vb4Sv"
-    }
-  },
-  exportDefaultFrom: {
-    syntax: {
-      name: "@babel/plugin-syntax-export-default-from",
-      url: "https://git.io/vb4SO"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-export-default-from",
-      url: "https://git.io/vb4yH"
-    }
-  },
-  exportNamespaceFrom: {
-    syntax: {
-      name: "@babel/plugin-syntax-export-namespace-from",
-      url: "https://git.io/vb4Sf"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-export-namespace-from",
-      url: "https://git.io/vb4SG"
-    }
-  },
-  flow: {
-    syntax: {
-      name: "@babel/plugin-syntax-flow",
-      url: "https://git.io/vb4yb"
-    },
-    transform: {
-      name: "@babel/preset-flow",
-      url: "https://git.io/JfeDn"
-    }
-  },
-  functionBind: {
-    syntax: {
-      name: "@babel/plugin-syntax-function-bind",
-      url: "https://git.io/vb4y7"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-function-bind",
-      url: "https://git.io/vb4St"
-    }
-  },
-  functionSent: {
-    syntax: {
-      name: "@babel/plugin-syntax-function-sent",
-      url: "https://git.io/vb4yN"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-function-sent",
-      url: "https://git.io/vb4SZ"
-    }
-  },
-  importMeta: {
-    syntax: {
-      name: "@babel/plugin-syntax-import-meta",
-      url: "https://git.io/vbKK6"
-    }
-  },
-  jsx: {
-    syntax: {
-      name: "@babel/plugin-syntax-jsx",
-      url: "https://git.io/vb4yA"
-    },
-    transform: {
-      name: "@babel/preset-react",
-      url: "https://git.io/JfeDR"
-    }
-  },
-  importAssertions: {
-    syntax: {
-      name: "@babel/plugin-syntax-import-assertions",
-      url: "https://git.io/JUbkv"
-    }
-  },
-  moduleStringNames: {
-    syntax: {
-      name: "@babel/plugin-syntax-module-string-names",
-      url: "https://git.io/JTL8G"
-    }
-  },
-  numericSeparator: {
-    syntax: {
-      name: "@babel/plugin-syntax-numeric-separator",
-      url: "https://git.io/vb4Sq"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-numeric-separator",
-      url: "https://git.io/vb4yS"
-    }
-  },
-  optionalChaining: {
-    syntax: {
-      name: "@babel/plugin-syntax-optional-chaining",
-      url: "https://git.io/vb4Sc"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-optional-chaining",
-      url: "https://git.io/vb4Sk"
-    }
-  },
-  pipelineOperator: {
-    syntax: {
-      name: "@babel/plugin-syntax-pipeline-operator",
-      url: "https://git.io/vb4yj"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-pipeline-operator",
-      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",
-      url: "https://git.io/JvKp3"
-    }
-  },
-  throwExpressions: {
-    syntax: {
-      name: "@babel/plugin-syntax-throw-expressions",
-      url: "https://git.io/vb4SJ"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-throw-expressions",
-      url: "https://git.io/vb4yF"
-    }
-  },
-  typescript: {
-    syntax: {
-      name: "@babel/plugin-syntax-typescript",
-      url: "https://git.io/vb4SC"
-    },
-    transform: {
-      name: "@babel/preset-typescript",
-      url: "https://git.io/JfeDz"
-    }
-  },
-  asyncGenerators: {
-    syntax: {
-      name: "@babel/plugin-syntax-async-generators",
-      url: "https://git.io/vb4SY"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-async-generator-functions",
-      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",
-      url: "https://git.io/vb4yx"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-nullish-coalescing-operator",
-      url: "https://git.io/vb4Se"
-    }
-  },
-  objectRestSpread: {
-    syntax: {
-      name: "@babel/plugin-syntax-object-rest-spread",
-      url: "https://git.io/vb4y5"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-object-rest-spread",
-      url: "https://git.io/vb4Ss"
-    }
-  },
-  optionalCatchBinding: {
-    syntax: {
-      name: "@babel/plugin-syntax-optional-catch-binding",
-      url: "https://git.io/vb4Sn"
-    },
-    transform: {
-      name: "@babel/plugin-proposal-optional-catch-binding",
-      url: "https://git.io/vb4SI"
-    }
-  }
-};
-pluginNameMap.privateIn.syntax = pluginNameMap.privateIn.transform;
-
-const getNameURLCombination = ({
-  name,
-  url
-}) => `${name} (${url})`;
-
-function generateMissingPluginMessage(missingPluginName, loc, codeFrame) {
-  let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` + `(${loc.line}:${loc.column + 1}):\n\n` + codeFrame;
-  const pluginInfo = pluginNameMap[missingPluginName];
-
-  if (pluginInfo) {
-    const {
-      syntax: syntaxPlugin,
-      transform: transformPlugin
-    } = pluginInfo;
-
-    if (syntaxPlugin) {
-      const syntaxPluginInfo = getNameURLCombination(syntaxPlugin);
-
-      if (transformPlugin) {
-        const transformPluginInfo = getNameURLCombination(transformPlugin);
-        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 {
-        helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`;
-      }
-    }
-  }
-
-  return helpMessage;
-}

+ 0 - 142
node_modules.bak/@babel/core/lib/tools/build-external-helpers.js

@@ -1,142 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = _default;
-
-function helpers() {
-  const data = require("@babel/helpers");
-
-  helpers = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _generator() {
-  const data = require("@babel/generator");
-
-  _generator = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _template() {
-  const data = require("@babel/template");
-
-  _template = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function t() {
-  const data = require("@babel/types");
-
-  t = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _file = require("../transformation/file/file");
-
-const buildUmdWrapper = replacements => (0, _template().default)`
-    (function (root, factory) {
-      if (typeof define === "function" && define.amd) {
-        define(AMD_ARGUMENTS, factory);
-      } else if (typeof exports === "object") {
-        factory(COMMON_ARGUMENTS);
-      } else {
-        factory(BROWSER_ARGUMENTS);
-      }
-    })(UMD_ROOT, function (FACTORY_PARAMETERS) {
-      FACTORY_BODY
-    });
-  `(replacements);
-
-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, allowlist);
-  return tree;
-}
-
-function buildModule(allowlist) {
-  const body = [];
-  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(allowlist) {
-  const namespace = t().identifier("babelHelpers");
-  const body = [];
-  body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().identifier("global"))]));
-  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([])),
-    COMMON_ARGUMENTS: t().identifier("exports"),
-    AMD_ARGUMENTS: t().arrayExpression([t().stringLiteral("exports")]),
-    FACTORY_BODY: body,
-    UMD_ROOT: t().identifier("this")
-  })]);
-}
-
-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, allowlist);
-  body.push(t().expressionStatement(namespace));
-  return tree;
-}
-
-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 (allowlist && allowlist.indexOf(name) < 0) return;
-    const ref = refs[name] = getHelperReference(name);
-    helpers().ensure(name, _file.default);
-    const {
-      nodes
-    } = helpers().get(name, getHelperReference, ref);
-    body.push(...nodes);
-  });
-  return refs;
-}
-
-function _default(allowlist, outputType = "global") {
-  let tree;
-  const build = {
-    global: buildGlobal,
-    module: buildModule,
-    umd: buildUmd,
-    var: buildVar
-  }[outputType];
-
-  if (build) {
-    tree = build(allowlist);
-  } else {
-    throw new Error(`Unsupported output type ${outputType}`);
-  }
-
-  return (0, _generator().default)(tree).code;
-}

+ 0 - 46
node_modules.bak/@babel/core/lib/transform-ast.js

@@ -1,46 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.transformFromAstAsync = exports.transformFromAstSync = exports.transformFromAst = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _config = require("./config");
-
-var _transformation = require("./transformation");
-
-const transformFromAstRunner = _gensync()(function* (ast, code, opts) {
-  const config = yield* (0, _config.default)(opts);
-  if (config === null) return null;
-  if (!ast) throw new Error("No AST given");
-  return yield* (0, _transformation.run)(config, code, ast);
-});
-
-const transformFromAst = function transformFromAst(ast, code, opts, callback) {
-  if (typeof opts === "function") {
-    callback = opts;
-    opts = undefined;
-  }
-
-  if (callback === undefined) {
-    return transformFromAstRunner.sync(ast, code, opts);
-  }
-
-  transformFromAstRunner.errback(ast, code, opts, callback);
-};
-
-exports.transformFromAst = transformFromAst;
-const transformFromAstSync = transformFromAstRunner.sync;
-exports.transformFromAstSync = transformFromAstSync;
-const transformFromAstAsync = transformFromAstRunner.async;
-exports.transformFromAstAsync = transformFromAstAsync;

+ 0 - 26
node_modules.bak/@babel/core/lib/transform-file-browser.js

@@ -1,26 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.transformFileSync = transformFileSync;
-exports.transformFileAsync = transformFileAsync;
-exports.transformFile = void 0;
-
-const transformFile = function transformFile(filename, opts, callback) {
-  if (typeof opts === "function") {
-    callback = opts;
-  }
-
-  callback(new Error("Transforming files is not supported in browsers"), null);
-};
-
-exports.transformFile = transformFile;
-
-function transformFileSync() {
-  throw new Error("Transforming files is not supported in browsers");
-}
-
-function transformFileAsync() {
-  return Promise.reject(new Error("Transforming files is not supported in browsers"));
-}

+ 0 - 41
node_modules.bak/@babel/core/lib/transform-file.js

@@ -1,41 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.transformFileAsync = exports.transformFileSync = exports.transformFile = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _config = require("./config");
-
-var _transformation = require("./transformation");
-
-var fs = require("./gensync-utils/fs");
-
-({});
-
-const transformFileRunner = _gensync()(function* (filename, opts) {
-  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");
-  return yield* (0, _transformation.run)(config, code);
-});
-
-const transformFile = transformFileRunner.errback;
-exports.transformFile = transformFile;
-const transformFileSync = transformFileRunner.sync;
-exports.transformFileSync = transformFileSync;
-const transformFileAsync = transformFileRunner.async;
-exports.transformFileAsync = transformFileAsync;

+ 0 - 42
node_modules.bak/@babel/core/lib/transform.js

@@ -1,42 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.transformAsync = exports.transformSync = exports.transform = void 0;
-
-function _gensync() {
-  const data = require("gensync");
-
-  _gensync = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _config = require("./config");
-
-var _transformation = require("./transformation");
-
-const transformRunner = _gensync()(function* transform(code, opts) {
-  const config = yield* (0, _config.default)(opts);
-  if (config === null) return null;
-  return yield* (0, _transformation.run)(config, code);
-});
-
-const transform = function transform(code, opts, callback) {
-  if (typeof opts === "function") {
-    callback = opts;
-    opts = undefined;
-  }
-
-  if (callback === undefined) return transformRunner.sync(code, opts);
-  transformRunner.errback(code, opts, callback);
-};
-
-exports.transform = transform;
-const transformSync = transformRunner.sync;
-exports.transformSync = transformSync;
-const transformAsync = transformRunner.async;
-exports.transformAsync = transformAsync;

+ 0 - 94
node_modules.bak/@babel/core/lib/transformation/block-hoist-plugin.js

@@ -1,94 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = loadBlockHoistPlugin;
-
-function _traverse() {
-  const data = require("@babel/traverse");
-
-  _traverse = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _plugin = require("../config/plugin");
-
-let LOADED_PLUGIN;
-
-function loadBlockHoistPlugin() {
-  if (!LOADED_PLUGIN) {
-    LOADED_PLUGIN = new _plugin.default(Object.assign({}, blockHoistPlugin, {
-      visitor: _traverse().default.explode(blockHoistPlugin.visitor)
-    }), {});
-  }
-
-  return LOADED_PLUGIN;
-}
-
-function priority(bodyNode) {
-  const priority = bodyNode == null ? void 0 : bodyNode._blockHoist;
-  if (priority == null) return 1;
-  if (priority === true) return 2;
-  return priority;
-}
-
-function stableSort(body) {
-  const buckets = Object.create(null);
-
-  for (let i = 0; i < body.length; i++) {
-    const n = body[i];
-    const p = priority(n);
-    const bucket = buckets[p] || (buckets[p] = []);
-    bucket.push(n);
-  }
-
-  const keys = Object.keys(buckets).map(k => +k).sort((a, b) => b - a);
-  let index = 0;
-
-  for (const key of keys) {
-    const bucket = buckets[key];
-
-    for (const n of bucket) {
-      body[index++] = n;
-    }
-  }
-
-  return body;
-}
-
-const blockHoistPlugin = {
-  name: "internal.blockHoist",
-  visitor: {
-    Block: {
-      exit({
-        node
-      }) {
-        const {
-          body
-        } = node;
-        let max = Math.pow(2, 30) - 1;
-        let hasChange = false;
-
-        for (let i = 0; i < body.length; i++) {
-          const n = body[i];
-          const p = priority(n);
-
-          if (p > max) {
-            hasChange = true;
-            break;
-          }
-
-          max = p;
-        }
-
-        if (!hasChange) return;
-        node.body = stableSort(body.slice());
-      }
-
-    }
-  }
-};

+ 0 - 249
node_modules.bak/@babel/core/lib/transformation/file/file.js

@@ -1,249 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-
-function helpers() {
-  const data = require("@babel/helpers");
-
-  helpers = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _traverse() {
-  const data = require("@babel/traverse");
-
-  _traverse = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _codeFrame() {
-  const data = require("@babel/code-frame");
-
-  _codeFrame = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function t() {
-  const data = require("@babel/types");
-
-  t = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _helperModuleTransforms() {
-  const data = require("@babel/helper-module-transforms");
-
-  _helperModuleTransforms = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _semver() {
-  const data = require("semver");
-
-  _semver = function () {
-    return data;
-  };
-
-  return data;
-}
-
-const errorVisitor = {
-  enter(path, state) {
-    const loc = path.node.loc;
-
-    if (loc) {
-      state.loc = loc;
-      path.stop();
-    }
-  }
-
-};
-
-class File {
-  constructor(options, {
-    code,
-    ast,
-    inputMap
-  }) {
-    this._map = new Map();
-    this.opts = void 0;
-    this.declarations = {};
-    this.path = null;
-    this.ast = {};
-    this.scope = void 0;
-    this.metadata = {};
-    this.code = "";
-    this.inputMap = null;
-    this.hub = {
-      file: this,
-      getCode: () => this.code,
-      getScope: () => this.scope,
-      addHelper: this.addHelper.bind(this),
-      buildError: this.buildCodeFrameError.bind(this)
-    };
-    this.opts = options;
-    this.code = code;
-    this.ast = ast;
-    this.inputMap = inputMap;
-    this.path = _traverse().NodePath.get({
-      hub: this.hub,
-      parentPath: null,
-      parent: this.ast,
-      container: this.ast,
-      key: "program"
-    }).setContext();
-    this.scope = this.path.scope;
-  }
-
-  get shebang() {
-    const {
-      interpreter
-    } = this.path.node;
-    return interpreter ? interpreter.value : "";
-  }
-
-  set shebang(value) {
-    if (value) {
-      this.path.get("interpreter").replaceWith(t().interpreterDirective(value));
-    } else {
-      this.path.get("interpreter").remove();
-    }
-  }
-
-  set(key, val) {
-    if (key === "helpersNamespace") {
-      throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility." + "If you are using @babel/plugin-external-helpers you will need to use a newer " + "version than the one you currently have installed. " + "If you have your own implementation, you'll want to explore using 'helperGenerator' " + "alongside 'file.availableHelper()'.");
-    }
-
-    this._map.set(key, val);
-  }
-
-  get(key) {
-    return this._map.get(key);
-  }
-
-  has(key) {
-    return this._map.has(key);
-  }
-
-  getModuleName() {
-    return (0, _helperModuleTransforms().getModuleName)(this.opts, this.opts);
-  }
-
-  addImport() {
-    throw new Error("This API has been removed. If you're looking for this " + "functionality in Babel 7, you should import the " + "'@babel/helper-module-imports' module and use the functions exposed " + " from that module, such as 'addNamed' or 'addDefault'.");
-  }
-
-  availableHelper(name, versionRange) {
-    let minVersion;
-
-    try {
-      minVersion = helpers().minVersion(name);
-    } catch (err) {
-      if (err.code !== "BABEL_HELPER_UNKNOWN") throw err;
-      return false;
-    }
-
-    if (typeof versionRange !== "string") return true;
-    if (_semver().valid(versionRange)) versionRange = `^${versionRange}`;
-    return !_semver().intersects(`<${minVersion}`, versionRange) && !_semver().intersects(`>=8.0.0`, versionRange);
-  }
-
-  addHelper(name) {
-    const declar = this.declarations[name];
-    if (declar) return t().cloneNode(declar);
-    const generator = this.get("helperGenerator");
-
-    if (generator) {
-      const res = generator(name);
-      if (res) return res;
-    }
-
-    helpers().ensure(name, File);
-    const uid = this.declarations[name] = this.scope.generateUidIdentifier(name);
-    const dependencies = {};
-
-    for (const dep of helpers().getDependencies(name)) {
-      dependencies[dep] = this.addHelper(dep);
-    }
-
-    const {
-      nodes,
-      globals
-    } = helpers().get(name, dep => dependencies[dep], uid, Object.keys(this.scope.getAllBindings()));
-    globals.forEach(name => {
-      if (this.path.scope.hasBinding(name, true)) {
-        this.path.scope.rename(name);
-      }
-    });
-    nodes.forEach(node => {
-      node._compact = true;
-    });
-    this.path.unshiftContainer("body", nodes);
-    this.path.get("body").forEach(path => {
-      if (nodes.indexOf(path.node) === -1) return;
-      if (path.isVariableDeclaration()) this.scope.registerDeclaration(path);
-    });
-    return uid;
-  }
-
-  addTemplateObject() {
-    throw new Error("This function has been moved into the template literal transform itself.");
-  }
-
-  buildCodeFrameError(node, msg, _Error = SyntaxError) {
-    let loc = node && (node.loc || node._loc);
-
-    if (!loc && node) {
-      const state = {
-        loc: null
-      };
-      (0, _traverse().default)(node, errorVisitor, this.scope, state);
-      loc = state.loc;
-      let txt = "This is an error on an internal node. Probably an internal error.";
-      if (loc) txt += " Location has been estimated.";
-      msg += ` (${txt})`;
-    }
-
-    if (loc) {
-      const {
-        highlightCode = true
-      } = this.opts;
-      msg += "\n" + (0, _codeFrame().codeFrameColumns)(this.code, {
-        start: {
-          line: loc.start.line,
-          column: loc.start.column + 1
-        },
-        end: loc.end && loc.start.line === loc.end.line ? {
-          line: loc.end.line,
-          column: loc.end.column + 1
-        } : undefined
-      }, {
-        highlightCode
-      });
-    }
-
-    return new _Error(msg);
-  }
-
-}
-
-exports.default = File;

+ 0 - 87
node_modules.bak/@babel/core/lib/transformation/file/generate.js

@@ -1,87 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = generateCode;
-
-function _convertSourceMap() {
-  const data = require("convert-source-map");
-
-  _convertSourceMap = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _generator() {
-  const data = require("@babel/generator");
-
-  _generator = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _mergeMap = require("./merge-map");
-
-function generateCode(pluginPasses, file) {
-  const {
-    opts,
-    ast,
-    code,
-    inputMap
-  } = file;
-  const results = [];
-
-  for (const plugins of pluginPasses) {
-    for (const plugin of plugins) {
-      const {
-        generatorOverride
-      } = plugin;
-
-      if (generatorOverride) {
-        const result = generatorOverride(ast, opts.generatorOpts, code, _generator().default);
-        if (result !== undefined) results.push(result);
-      }
-    }
-  }
-
-  let result;
-
-  if (results.length === 0) {
-    result = (0, _generator().default)(ast, opts.generatorOpts, code);
-  } else if (results.length === 1) {
-    result = results[0];
-
-    if (typeof result.then === "function") {
-      throw new Error(`You appear to be using an async codegen plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`);
-    }
-  } else {
-    throw new Error("More than one plugin attempted to override codegen.");
-  }
-
-  let {
-    code: outputCode,
-    map: outputMap
-  } = result;
-
-  if (outputMap && inputMap) {
-    outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap);
-  }
-
-  if (opts.sourceMaps === "inline" || opts.sourceMaps === "both") {
-    outputCode += "\n" + _convertSourceMap().fromObject(outputMap).toComment();
-  }
-
-  if (opts.sourceMaps === "inline") {
-    outputMap = null;
-  }
-
-  return {
-    outputCode,
-    outputMap
-  };
-}

+ 0 - 245
node_modules.bak/@babel/core/lib/transformation/file/merge-map.js

@@ -1,245 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = mergeSourceMap;
-
-function _sourceMap() {
-  const data = require("source-map");
-
-  _sourceMap = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function mergeSourceMap(inputMap, map) {
-  const input = buildMappingData(inputMap);
-  const output = buildMappingData(map);
-  const mergedGenerator = new (_sourceMap().SourceMapGenerator)();
-
-  for (const {
-    source
-  } of input.sources) {
-    if (typeof source.content === "string") {
-      mergedGenerator.setSourceContent(source.path, source.content);
-    }
-  }
-
-  if (output.sources.length === 1) {
-    const defaultSource = output.sources[0];
-    const insertedMappings = new Map();
-    eachInputGeneratedRange(input, (generated, original, source) => {
-      eachOverlappingGeneratedOutputRange(defaultSource, generated, item => {
-        const key = makeMappingKey(item);
-        if (insertedMappings.has(key)) return;
-        insertedMappings.set(key, item);
-        mergedGenerator.addMapping({
-          source: source.path,
-          original: {
-            line: original.line,
-            column: original.columnStart
-          },
-          generated: {
-            line: item.line,
-            column: item.columnStart
-          },
-          name: original.name
-        });
-      });
-    });
-
-    for (const item of insertedMappings.values()) {
-      if (item.columnEnd === Infinity) {
-        continue;
-      }
-
-      const clearItem = {
-        line: item.line,
-        columnStart: item.columnEnd
-      };
-      const key = makeMappingKey(clearItem);
-
-      if (insertedMappings.has(key)) {
-        continue;
-      }
-
-      mergedGenerator.addMapping({
-        generated: {
-          line: clearItem.line,
-          column: clearItem.columnStart
-        }
-      });
-    }
-  }
-
-  const result = mergedGenerator.toJSON();
-
-  if (typeof input.sourceRoot === "string") {
-    result.sourceRoot = input.sourceRoot;
-  }
-
-  return result;
-}
-
-function makeMappingKey(item) {
-  return `${item.line}/${item.columnStart}`;
-}
-
-function eachOverlappingGeneratedOutputRange(outputFile, inputGeneratedRange, callback) {
-  const overlappingOriginal = filterApplicableOriginalRanges(outputFile, inputGeneratedRange);
-
-  for (const {
-    generated
-  } of overlappingOriginal) {
-    for (const item of generated) {
-      callback(item);
-    }
-  }
-}
-
-function filterApplicableOriginalRanges({
-  mappings
-}, {
-  line,
-  columnStart,
-  columnEnd
-}) {
-  return filterSortedArray(mappings, ({
-    original: outOriginal
-  }) => {
-    if (line > outOriginal.line) return -1;
-    if (line < outOriginal.line) return 1;
-    if (columnStart >= outOriginal.columnEnd) return -1;
-    if (columnEnd <= outOriginal.columnStart) return 1;
-    return 0;
-  });
-}
-
-function eachInputGeneratedRange(map, callback) {
-  for (const {
-    source,
-    mappings
-  } of map.sources) {
-    for (const {
-      original,
-      generated
-    } of mappings) {
-      for (const item of generated) {
-        callback(item, original, source);
-      }
-    }
-  }
-}
-
-function buildMappingData(map) {
-  const consumer = new (_sourceMap().SourceMapConsumer)(Object.assign({}, map, {
-    sourceRoot: null
-  }));
-  const sources = new Map();
-  const mappings = new Map();
-  let last = null;
-  consumer.computeColumnSpans();
-  consumer.eachMapping(m => {
-    if (m.originalLine === null) return;
-    let source = sources.get(m.source);
-
-    if (!source) {
-      source = {
-        path: m.source,
-        content: consumer.sourceContentFor(m.source, true)
-      };
-      sources.set(m.source, source);
-    }
-
-    let sourceData = mappings.get(source);
-
-    if (!sourceData) {
-      sourceData = {
-        source,
-        mappings: []
-      };
-      mappings.set(source, sourceData);
-    }
-
-    const obj = {
-      line: m.originalLine,
-      columnStart: m.originalColumn,
-      columnEnd: Infinity,
-      name: m.name
-    };
-
-    if (last && last.source === source && last.mapping.line === m.originalLine) {
-      last.mapping.columnEnd = m.originalColumn;
-    }
-
-    last = {
-      source,
-      mapping: obj
-    };
-    sourceData.mappings.push({
-      original: obj,
-      generated: consumer.allGeneratedPositionsFor({
-        source: m.source,
-        line: m.originalLine,
-        column: m.originalColumn
-      }).map(item => ({
-        line: item.line,
-        columnStart: item.column,
-        columnEnd: item.lastColumn + 1
-      }))
-    });
-  }, null, _sourceMap().SourceMapConsumer.ORIGINAL_ORDER);
-  return {
-    file: map.file,
-    sourceRoot: map.sourceRoot,
-    sources: Array.from(mappings.values())
-  };
-}
-
-function findInsertionLocation(array, callback) {
-  let left = 0;
-  let right = array.length;
-
-  while (left < right) {
-    const mid = Math.floor((left + right) / 2);
-    const item = array[mid];
-    const result = callback(item);
-
-    if (result === 0) {
-      left = mid;
-      break;
-    }
-
-    if (result >= 0) {
-      right = mid;
-    } else {
-      left = mid + 1;
-    }
-  }
-
-  let i = left;
-
-  if (i < array.length) {
-    while (i >= 0 && callback(array[i]) >= 0) {
-      i--;
-    }
-
-    return i + 1;
-  }
-
-  return i;
-}
-
-function filterSortedArray(array, callback) {
-  const start = findInsertionLocation(array, callback);
-  const results = [];
-
-  for (let i = start; i < array.length && callback(array[i]) === 0; i++) {
-    results.push(array[i]);
-  }
-
-  return results;
-}

+ 0 - 124
node_modules.bak/@babel/core/lib/transformation/index.js

@@ -1,124 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.run = run;
-
-function _traverse() {
-  const data = require("@babel/traverse");
-
-  _traverse = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _pluginPass = require("./plugin-pass");
-
-var _blockHoistPlugin = require("./block-hoist-plugin");
-
-var _normalizeOpts = require("./normalize-opts");
-
-var _normalizeFile = require("./normalize-file");
-
-var _generate = require("./file/generate");
-
-function* run(config, code, ast) {
-  const file = yield* (0, _normalizeFile.default)(config.passes, (0, _normalizeOpts.default)(config), code, ast);
-  const opts = file.opts;
-
-  try {
-    yield* transformFile(file, config.passes);
-  } catch (e) {
-    var _opts$filename;
-
-    e.message = `${(_opts$filename = opts.filename) != null ? _opts$filename : "unknown"}: ${e.message}`;
-
-    if (!e.code) {
-      e.code = "BABEL_TRANSFORM_ERROR";
-    }
-
-    throw e;
-  }
-
-  let outputCode, outputMap;
-
-  try {
-    if (opts.code !== false) {
-      ({
-        outputCode,
-        outputMap
-      } = (0, _generate.default)(config.passes, file));
-    }
-  } catch (e) {
-    var _opts$filename2;
-
-    e.message = `${(_opts$filename2 = opts.filename) != null ? _opts$filename2 : "unknown"}: ${e.message}`;
-
-    if (!e.code) {
-      e.code = "BABEL_GENERATE_ERROR";
-    }
-
-    throw e;
-  }
-
-  return {
-    metadata: file.metadata,
-    options: opts,
-    ast: opts.ast === true ? file.ast : null,
-    code: outputCode === undefined ? null : outputCode,
-    map: outputMap === undefined ? null : outputMap,
-    sourceType: file.ast.program.sourceType
-  };
-}
-
-function* transformFile(file, pluginPasses) {
-  for (const pluginPairs of pluginPasses) {
-    const passPairs = [];
-    const passes = [];
-    const visitors = [];
-
-    for (const plugin of pluginPairs.concat([(0, _blockHoistPlugin.default)()])) {
-      const pass = new _pluginPass.default(file, plugin.key, plugin.options);
-      passPairs.push([plugin, pass]);
-      passes.push(pass);
-      visitors.push(plugin.visitor);
-    }
-
-    for (const [plugin, pass] of passPairs) {
-      const fn = plugin.pre;
-
-      if (fn) {
-        const result = fn.call(pass, file);
-        yield* [];
-
-        if (isThenable(result)) {
-          throw new Error(`You appear to be using an plugin with an async .pre, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`);
-        }
-      }
-    }
-
-    const visitor = _traverse().default.visitors.merge(visitors, passes, file.opts.wrapPluginVisitorMethod);
-
-    (0, _traverse().default)(file.ast, visitor, file.scope);
-
-    for (const [plugin, pass] of passPairs) {
-      const fn = plugin.post;
-
-      if (fn) {
-        const result = fn.call(pass, file);
-        yield* [];
-
-        if (isThenable(result)) {
-          throw new Error(`You appear to be using an plugin with an async .post, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`);
-        }
-      }
-    }
-  }
-}
-
-function isThenable(val) {
-  return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function";
-}

+ 0 - 162
node_modules.bak/@babel/core/lib/transformation/normalize-file.js

@@ -1,162 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = normalizeFile;
-
-function _fs() {
-  const data = require("fs");
-
-  _fs = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _debug() {
-  const data = require("debug");
-
-  _debug = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function t() {
-  const data = require("@babel/types");
-
-  t = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function _convertSourceMap() {
-  const data = require("convert-source-map");
-
-  _convertSourceMap = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _file = require("./file/file");
-
-var _parser = require("../parser");
-
-var _cloneDeep = require("./util/clone-deep");
-
-const debug = _debug()("babel:transform:file");
-
-const LARGE_INPUT_SOURCEMAP_THRESHOLD = 1000000;
-
-function* normalizeFile(pluginPasses, options, code, ast) {
-  code = `${code || ""}`;
-
-  if (ast) {
-    if (ast.type === "Program") {
-      ast = t().file(ast, [], []);
-    } else if (ast.type !== "File") {
-      throw new Error("AST root must be a Program or File node");
-    }
-
-    if (options.cloneInputAst) {
-      ast = (0, _cloneDeep.default)(ast);
-    }
-  } else {
-    ast = yield* (0, _parser.default)(pluginPasses, options, code);
-  }
-
-  let inputMap = null;
-
-  if (options.inputSourceMap !== false) {
-    if (typeof options.inputSourceMap === "object") {
-      inputMap = _convertSourceMap().fromObject(options.inputSourceMap);
-    }
-
-    if (!inputMap) {
-      const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);
-
-      if (lastComment) {
-        try {
-          inputMap = _convertSourceMap().fromComment(lastComment);
-        } catch (err) {
-          debug("discarding unknown inline input sourcemap", err);
-        }
-      }
-    }
-
-    if (!inputMap) {
-      const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);
-
-      if (typeof options.filename === "string" && lastComment) {
-        try {
-          const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
-
-          const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match[1]));
-
-          if (inputMapContent.length > LARGE_INPUT_SOURCEMAP_THRESHOLD) {
-            debug("skip merging input map > 1 MB");
-          } else {
-            inputMap = _convertSourceMap().fromJSON(inputMapContent);
-          }
-        } catch (err) {
-          debug("discarding unknown file input sourcemap", err);
-        }
-      } else if (lastComment) {
-        debug("discarding un-loadable file input sourcemap");
-      }
-    }
-  }
-
-  return new _file.default(options, {
-    code,
-    ast,
-    inputMap
-  });
-}
-
-const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;
-const EXTERNAL_SOURCEMAP_REGEX = /^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;
-
-function extractCommentsFromList(regex, comments, lastComment) {
-  if (comments) {
-    comments = comments.filter(({
-      value
-    }) => {
-      if (regex.test(value)) {
-        lastComment = value;
-        return false;
-      }
-
-      return true;
-    });
-  }
-
-  return [comments, lastComment];
-}
-
-function extractComments(regex, ast) {
-  let lastComment = null;
-  t().traverseFast(ast, node => {
-    [node.leadingComments, lastComment] = extractCommentsFromList(regex, node.leadingComments, lastComment);
-    [node.innerComments, lastComment] = extractCommentsFromList(regex, node.innerComments, lastComment);
-    [node.trailingComments, lastComment] = extractCommentsFromList(regex, node.trailingComments, lastComment);
-  });
-  return lastComment;
-}

+ 0 - 62
node_modules.bak/@babel/core/lib/transformation/normalize-opts.js

@@ -1,62 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = normalizeOptions;
-
-function _path() {
-  const data = require("path");
-
-  _path = function () {
-    return data;
-  };
-
-  return data;
-}
-
-function normalizeOptions(config) {
-  const {
-    filename,
-    cwd,
-    filenameRelative = typeof filename === "string" ? _path().relative(cwd, filename) : "unknown",
-    sourceType = "module",
-    inputSourceMap,
-    sourceMaps = !!inputSourceMap,
-    sourceRoot = config.options.moduleRoot,
-    sourceFileName = _path().basename(filenameRelative),
-    comments = true,
-    compact = "auto"
-  } = config.options;
-  const opts = config.options;
-  const options = Object.assign({}, opts, {
-    parserOpts: Object.assign({
-      sourceType: _path().extname(filenameRelative) === ".mjs" ? "module" : sourceType,
-      sourceFileName: filename,
-      plugins: []
-    }, opts.parserOpts),
-    generatorOpts: Object.assign({
-      filename,
-      auxiliaryCommentBefore: opts.auxiliaryCommentBefore,
-      auxiliaryCommentAfter: opts.auxiliaryCommentAfter,
-      retainLines: opts.retainLines,
-      comments,
-      shouldPrintComment: opts.shouldPrintComment,
-      compact,
-      minified: opts.minified,
-      sourceMaps,
-      sourceRoot,
-      sourceFileName
-    }, opts.generatorOpts)
-  });
-
-  for (const plugins of config.passes) {
-    for (const plugin of plugins) {
-      if (plugin.manipulateOptions) {
-        plugin.manipulateOptions(options, options.parserOpts);
-      }
-    }
-  }
-
-  return options;
-}

+ 0 - 54
node_modules.bak/@babel/core/lib/transformation/plugin-pass.js

@@ -1,54 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-
-class PluginPass {
-  constructor(file, key, options) {
-    this._map = new Map();
-    this.key = void 0;
-    this.file = void 0;
-    this.opts = void 0;
-    this.cwd = void 0;
-    this.filename = void 0;
-    this.key = key;
-    this.file = file;
-    this.opts = options || {};
-    this.cwd = file.opts.cwd;
-    this.filename = file.opts.filename;
-  }
-
-  set(key, val) {
-    this._map.set(key, val);
-  }
-
-  get(key) {
-    return this._map.get(key);
-  }
-
-  availableHelper(name, versionRange) {
-    return this.file.availableHelper(name, versionRange);
-  }
-
-  addHelper(name) {
-    return this.file.addHelper(name);
-  }
-
-  addImport() {
-    return this.file.addImport();
-  }
-
-  buildCodeFrameError(node, msg, _Error) {
-    return this.file.buildCodeFrameError(node, msg, _Error);
-  }
-
-}
-
-exports.default = PluginPass;
-{
-  PluginPass.prototype.getModuleName = function getModuleName() {
-    return this.file.getModuleName();
-  };
-}

+ 0 - 25
node_modules.bak/@babel/core/lib/transformation/util/clone-deep-browser.js

@@ -1,25 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = _default;
-const serialized = "$$ babel internal serialized type" + Math.random();
-
-function serialize(key, value) {
-  if (typeof value !== "bigint") return value;
-  return {
-    [serialized]: "BigInt",
-    value: value.toString()
-  };
-}
-
-function revive(key, value) {
-  if (!value || typeof value !== "object") return value;
-  if (value[serialized] !== "BigInt") return value;
-  return BigInt(value.value);
-}
-
-function _default(value) {
-  return JSON.parse(JSON.stringify(value, serialize), revive);
-}

+ 0 - 26
node_modules.bak/@babel/core/lib/transformation/util/clone-deep.js

@@ -1,26 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = _default;
-
-function _v() {
-  const data = require("v8");
-
-  _v = function () {
-    return data;
-  };
-
-  return data;
-}
-
-var _cloneDeepBrowser = require("./clone-deep-browser");
-
-function _default(value) {
-  if (_v().deserialize && _v().serialize) {
-    return _v().deserialize(_v().serialize(value));
-  }
-
-  return (0, _cloneDeepBrowser.default)(value);
-}

+ 0 - 108
node_modules.bak/@babel/core/package.json

@@ -1,108 +0,0 @@
-{
-  "_from": "@babel/core@^7.4.4",
-  "_id": "@babel/core@7.14.2",
-  "_inBundle": false,
-  "_integrity": "sha1-VORTNP/AFyBI5ck97TZGHTrUxBc=",
-  "_location": "/@babel/core",
-  "_phantomChildren": {
-    "minimist": "1.2.5"
-  },
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "@babel/core@^7.4.4",
-    "name": "@babel/core",
-    "escapedName": "@babel%2fcore",
-    "scope": "@babel",
-    "rawSpec": "^7.4.4",
-    "saveSpec": null,
-    "fetchSpec": "^7.4.4"
-  },
-  "_requiredBy": [
-    "#DEV:/"
-  ],
-  "_resolved": "https://registry.nlark.com/@babel/core/download/@babel/core-7.14.2.tgz?cache=0&sync_timestamp=1620839505111&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.14.2.tgz",
-  "_shasum": "54e45334ffc0172048e5c93ded36461d3ad4c417",
-  "_spec": "@babel/core@^7.4.4",
-  "_where": "D:\\朗通信息\\icssDService",
-  "author": {
-    "name": "Sebastian McKenzie",
-    "email": "sebmck@gmail.com"
-  },
-  "browser": {
-    "./lib/config/files/index.js": "./lib/config/files/index-browser.js",
-    "./lib/config/resolve-targets.js": "./lib/config/resolve-targets-browser.js",
-    "./lib/transform-file.js": "./lib/transform-file-browser.js",
-    "./lib/transformation/util/clone-deep.js": "./lib/transformation/util/clone-deep-browser.js",
-    "./src/config/files/index.ts": "./src/config/files/index-browser.ts",
-    "./src/config/resolve-targets.ts": "./src/config/resolve-targets-browser.ts",
-    "./src/transform-file.ts": "./src/transform-file-browser.ts",
-    "./src/transformation/util/clone-deep.ts": "./src/transformation/util/clone-deep-browser.ts"
-  },
-  "bugs": {
-    "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "@babel/code-frame": "^7.12.13",
-    "@babel/generator": "^7.14.2",
-    "@babel/helper-compilation-targets": "^7.13.16",
-    "@babel/helper-module-transforms": "^7.14.2",
-    "@babel/helpers": "^7.14.0",
-    "@babel/parser": "^7.14.2",
-    "@babel/template": "^7.12.13",
-    "@babel/traverse": "^7.14.2",
-    "@babel/types": "^7.14.2",
-    "convert-source-map": "^1.7.0",
-    "debug": "^4.1.0",
-    "gensync": "^1.0.0-beta.2",
-    "json5": "^2.1.2",
-    "semver": "^6.3.0",
-    "source-map": "^0.5.0"
-  },
-  "deprecated": false,
-  "description": "Babel compiler core.",
-  "devDependencies": {
-    "@babel/helper-transform-fixture-test-runner": "7.13.15",
-    "@types/convert-source-map": "^1.5.1",
-    "@types/debug": "^4.1.0",
-    "@types/resolve": "^1.3.2",
-    "@types/semver": "^5.4.0",
-    "@types/source-map": "^0.5.0"
-  },
-  "engines": {
-    "node": ">=6.9.0"
-  },
-  "funding": {
-    "type": "opencollective",
-    "url": "https://opencollective.com/babel"
-  },
-  "homepage": "https://babel.dev/docs/en/next/babel-core",
-  "keywords": [
-    "6to5",
-    "babel",
-    "classes",
-    "const",
-    "es6",
-    "harmony",
-    "let",
-    "modules",
-    "transpile",
-    "transpiler",
-    "var",
-    "babel-core",
-    "compiler"
-  ],
-  "license": "MIT",
-  "main": "lib/index.js",
-  "name": "@babel/core",
-  "publishConfig": {
-    "access": "public"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/babel/babel.git",
-    "directory": "packages/babel-core"
-  },
-  "version": "7.14.2"
-}

+ 0 - 109
node_modules.bak/@babel/core/src/config/files/index-browser.ts

@@ -1,109 +0,0 @@
-import type { Handler } from "gensync";
-
-import type {
-  ConfigFile,
-  IgnoreFile,
-  RelativeConfig,
-  FilePackageData,
-} from "./types";
-
-import type { CallerMetadata } from "../validation/options";
-
-export type { ConfigFile, IgnoreFile, RelativeConfig, FilePackageData };
-
-export function findConfigUpwards(
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  rootDir: string,
-): string | null {
-  return null;
-}
-
-// eslint-disable-next-line require-yield
-export function* findPackageData(filepath: string): Handler<FilePackageData> {
-  return {
-    filepath,
-    directories: [],
-    pkg: null,
-    isPackage: false,
-  };
-}
-
-// eslint-disable-next-line require-yield
-export function* findRelativeConfig(
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  pkgData: FilePackageData,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  envName: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  caller: CallerMetadata | void,
-): Handler<RelativeConfig> {
-  return { config: null, ignore: null };
-}
-
-// eslint-disable-next-line require-yield
-export function* findRootConfig(
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  dirname: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  envName: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  caller: CallerMetadata | void,
-): Handler<ConfigFile | null> {
-  return null;
-}
-
-// eslint-disable-next-line require-yield
-export function* loadConfig(
-  name: string,
-  dirname: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  envName: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  caller: CallerMetadata | void,
-): Handler<ConfigFile> {
-  throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`);
-}
-
-// eslint-disable-next-line require-yield
-export function* resolveShowConfigPath(
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  dirname: string,
-): Handler<string | null> {
-  return null;
-}
-
-export const ROOT_CONFIG_FILENAMES = [];
-
-// eslint-disable-next-line @typescript-eslint/no-unused-vars
-export function resolvePlugin(name: string, dirname: string): string | null {
-  return null;
-}
-
-// eslint-disable-next-line @typescript-eslint/no-unused-vars
-export function resolvePreset(name: string, dirname: string): string | null {
-  return null;
-}
-
-export function loadPlugin(
-  name: string,
-  dirname: string,
-): Handler<{
-  filepath: string;
-  value: unknown;
-}> {
-  throw new Error(
-    `Cannot load plugin ${name} relative to ${dirname} in a browser`,
-  );
-}
-
-export function loadPreset(
-  name: string,
-  dirname: string,
-): Handler<{
-  filepath: string;
-  value: unknown;
-}> {
-  throw new Error(
-    `Cannot load preset ${name} relative to ${dirname} in a browser`,
-  );
-}

+ 0 - 29
node_modules.bak/@babel/core/src/config/files/index.ts

@@ -1,29 +0,0 @@
-type indexBrowserType = typeof import("./index-browser");
-type indexType = typeof import("./index");
-
-// Kind of gross, but essentially asserting that the exports of this module are the same as the
-// exports of index-browser, since this file may be replaced at bundle time with index-browser.
-({} as any as indexBrowserType as indexType);
-
-export { findPackageData } from "./package";
-
-export {
-  findConfigUpwards,
-  findRelativeConfig,
-  findRootConfig,
-  loadConfig,
-  resolveShowConfigPath,
-  ROOT_CONFIG_FILENAMES,
-} from "./configuration";
-export type {
-  ConfigFile,
-  IgnoreFile,
-  RelativeConfig,
-  FilePackageData,
-} from "./types";
-export {
-  resolvePlugin,
-  resolvePreset,
-  loadPlugin,
-  loadPreset,
-} from "./plugins";

+ 0 - 33
node_modules.bak/@babel/core/src/config/resolve-targets-browser.ts

@@ -1,33 +0,0 @@
-import type { ValidatedOptions } from "./validation/options";
-import getTargets from "@babel/helper-compilation-targets";
-
-import type { Targets } from "@babel/helper-compilation-targets";
-
-export function resolveBrowserslistConfigFile(
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  browserslistConfigFile: string,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  configFilePath: string,
-): string | void {
-  return undefined;
-}
-
-export function resolveTargets(
-  options: ValidatedOptions,
-  // eslint-disable-next-line @typescript-eslint/no-unused-vars
-  root: string,
-): Targets {
-  // todo(flow->ts) remove any and refactor to not assign different types into same variable
-  let targets: any = options.targets;
-  if (typeof targets === "string" || Array.isArray(targets)) {
-    targets = { browsers: targets };
-  }
-  if (targets && targets.esmodules) {
-    targets = { ...targets, esmodules: "intersect" };
-  }
-
-  return getTargets(targets, {
-    ignoreBrowserslistConfig: true,
-    browserslistEnv: options.browserslistEnv,
-  });
-}

+ 0 - 49
node_modules.bak/@babel/core/src/config/resolve-targets.ts

@@ -1,49 +0,0 @@
-type browserType = typeof import("./resolve-targets-browser");
-type nodeType = typeof import("./resolve-targets");
-
-// Kind of gross, but essentially asserting that the exports of this module are the same as the
-// exports of index-browser, since this file may be replaced at bundle time with index-browser.
-({} as any as browserType as nodeType);
-
-import type { ValidatedOptions } from "./validation/options";
-import path from "path";
-import getTargets from "@babel/helper-compilation-targets";
-
-import type { Targets } from "@babel/helper-compilation-targets";
-
-export function resolveBrowserslistConfigFile(
-  browserslistConfigFile: string,
-  configFileDir: string,
-): string | undefined {
-  return path.resolve(configFileDir, browserslistConfigFile);
-}
-
-export function resolveTargets(
-  options: ValidatedOptions,
-  root: string,
-): Targets {
-  // todo(flow->ts) remove any and refactor to not assign different types into same variable
-  let targets: any = options.targets;
-  if (typeof targets === "string" || Array.isArray(targets)) {
-    targets = { browsers: targets };
-  }
-  if (targets && targets.esmodules) {
-    targets = { ...targets, esmodules: "intersect" };
-  }
-
-  const { browserslistConfigFile } = options;
-  let configFile;
-  let ignoreBrowserslistConfig = false;
-  if (typeof browserslistConfigFile === "string") {
-    configFile = browserslistConfigFile;
-  } else {
-    ignoreBrowserslistConfig = browserslistConfigFile === false;
-  }
-
-  return getTargets(targets, {
-    ignoreBrowserslistConfig,
-    configFile,
-    configPath: root,
-    browserslistEnv: options.browserslistEnv,
-  });
-}

+ 0 - 27
node_modules.bak/@babel/core/src/transform-file-browser.ts

@@ -1,27 +0,0 @@
-// duplicated from transform-file so we do not have to import anything here
-type TransformFile = {
-  (filename: string, callback: Function): void;
-  (filename: string, opts: any, callback: Function): void;
-};
-
-export const transformFile: TransformFile = function transformFile(
-  filename,
-  opts,
-  callback?,
-) {
-  if (typeof opts === "function") {
-    callback = opts;
-  }
-
-  callback(new Error("Transforming files is not supported in browsers"), null);
-};
-
-export function transformFileSync(): never {
-  throw new Error("Transforming files is not supported in browsers");
-}
-
-export function transformFileAsync() {
-  return Promise.reject(
-    new Error("Transforming files is not supported in browsers"),
-  );
-}

+ 0 - 40
node_modules.bak/@babel/core/src/transform-file.ts

@@ -1,40 +0,0 @@
-import gensync from "gensync";
-
-import loadConfig from "./config";
-import type { InputOptions, ResolvedConfig } from "./config";
-import { run } from "./transformation";
-import type { FileResult, FileResultCallback } from "./transformation";
-import * as fs from "./gensync-utils/fs";
-
-type transformFileBrowserType = typeof import("./transform-file-browser");
-type transformFileType = typeof import("./transform-file");
-
-// Kind of gross, but essentially asserting that the exports of this module are the same as the
-// exports of transform-file-browser, since this file may be replaced at bundle time with
-// transform-file-browser.
-({} as any as transformFileBrowserType as transformFileType);
-
-type TransformFile = {
-  (filename: string, callback: FileResultCallback): void;
-  (
-    filename: string,
-    opts: InputOptions | undefined | null,
-    callback: FileResultCallback,
-  ): void;
-};
-
-const transformFileRunner = gensync<
-  (filename: string, opts?: InputOptions) => FileResult | null
->(function* (filename, opts: InputOptions) {
-  const options = { ...opts, filename };
-
-  const config: ResolvedConfig | null = yield* loadConfig(options);
-  if (config === null) return null;
-
-  const code = yield* fs.readFile(filename, "utf8");
-  return yield* run(config, code);
-});
-
-export const transformFile = transformFileRunner.errback as TransformFile;
-export const transformFileSync = transformFileRunner.sync;
-export const transformFileAsync = transformFileRunner.async;

+ 0 - 19
node_modules.bak/@babel/core/src/transformation/util/clone-deep-browser.ts

@@ -1,19 +0,0 @@
-const serialized = "$$ babel internal serialized type" + Math.random();
-
-function serialize(key, value) {
-  if (typeof value !== "bigint") return value;
-  return {
-    [serialized]: "BigInt",
-    value: value.toString(),
-  };
-}
-
-function revive(key, value) {
-  if (!value || typeof value !== "object") return value;
-  if (value[serialized] !== "BigInt") return value;
-  return BigInt(value.value);
-}
-
-export default function (value) {
-  return JSON.parse(JSON.stringify(value, serialize), revive);
-}

+ 0 - 9
node_modules.bak/@babel/core/src/transformation/util/clone-deep.ts

@@ -1,9 +0,0 @@
-import v8 from "v8";
-import cloneDeep from "./clone-deep-browser";
-
-export default function (value) {
-  if (v8.deserialize && v8.serialize) {
-    return v8.deserialize(v8.serialize(value));
-  }
-  return cloneDeep(value);
-}

+ 0 - 22
node_modules.bak/@babel/generator/LICENSE

@@ -1,22 +0,0 @@
-MIT License
-
-Copyright (c) 2014-present Sebastian McKenzie and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 19
node_modules.bak/@babel/generator/README.md

@@ -1,19 +0,0 @@
-# @babel/generator
-
-> Turns an AST into code.
-
-See our website [@babel/generator](https://babeljs.io/docs/en/babel-generator) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen) associated with this package.
-
-## Install
-
-Using npm:
-
-```sh
-npm install --save-dev @babel/generator
-```
-
-or using yarn:
-
-```sh
-yarn add @babel/generator --dev
-```

+ 0 - 259
node_modules.bak/@babel/generator/lib/buffer.js

@@ -1,259 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-const SPACES_RE = /^[ \t]+$/;
-
-class Buffer {
-  constructor(map) {
-    this._map = null;
-    this._buf = [];
-    this._last = "";
-    this._queue = [];
-    this._position = {
-      line: 1,
-      column: 0
-    };
-    this._sourcePosition = {
-      identifierName: null,
-      line: null,
-      column: null,
-      filename: null
-    };
-    this._disallowedPop = null;
-    this._map = map;
-  }
-
-  get() {
-    this._flush();
-
-    const map = this._map;
-    const result = {
-      code: this._buf.join("").trimRight(),
-      map: null,
-      rawMappings: map == null ? void 0 : map.getRawMappings()
-    };
-
-    if (map) {
-      Object.defineProperty(result, "map", {
-        configurable: true,
-        enumerable: true,
-
-        get() {
-          return this.map = map.get();
-        },
-
-        set(value) {
-          Object.defineProperty(this, "map", {
-            value,
-            writable: true
-          });
-        }
-
-      });
-    }
-
-    return result;
-  }
-
-  append(str) {
-    this._flush();
-
-    const {
-      line,
-      column,
-      filename,
-      identifierName,
-      force
-    } = this._sourcePosition;
-
-    this._append(str, line, column, identifierName, filename, force);
-  }
-
-  queue(str) {
-    if (str === "\n") {
-      while (this._queue.length > 0 && SPACES_RE.test(this._queue[0][0])) {
-        this._queue.shift();
-      }
-    }
-
-    const {
-      line,
-      column,
-      filename,
-      identifierName,
-      force
-    } = this._sourcePosition;
-
-    this._queue.unshift([str, line, column, identifierName, filename, force]);
-  }
-
-  _flush() {
-    let item;
-
-    while (item = this._queue.pop()) {
-      this._append(...item);
-    }
-  }
-
-  _append(str, line, column, identifierName, filename, force) {
-    this._buf.push(str);
-
-    this._last = str[str.length - 1];
-    let i = str.indexOf("\n");
-    let last = 0;
-
-    if (i !== 0) {
-      this._mark(line, column, identifierName, filename, force);
-    }
-
-    while (i !== -1) {
-      this._position.line++;
-      this._position.column = 0;
-      last = i + 1;
-
-      if (last < str.length) {
-        this._mark(++line, 0, identifierName, filename, force);
-      }
-
-      i = str.indexOf("\n", last);
-    }
-
-    this._position.column += str.length - last;
-  }
-
-  _mark(line, column, identifierName, filename, force) {
-    var _this$_map;
-
-    (_this$_map = this._map) == null ? void 0 : _this$_map.mark(this._position.line, this._position.column, line, column, identifierName, filename, force);
-  }
-
-  removeTrailingNewline() {
-    if (this._queue.length > 0 && this._queue[0][0] === "\n") {
-      this._queue.shift();
-    }
-  }
-
-  removeLastSemicolon() {
-    if (this._queue.length > 0 && this._queue[0][0] === ";") {
-      this._queue.shift();
-    }
-  }
-
-  endsWith(suffix) {
-    if (suffix.length === 1) {
-      let last;
-
-      if (this._queue.length > 0) {
-        const str = this._queue[0][0];
-        last = str[str.length - 1];
-      } else {
-        last = this._last;
-      }
-
-      return last === suffix;
-    }
-
-    const end = this._last + this._queue.reduce((acc, item) => item[0] + acc, "");
-
-    if (suffix.length <= end.length) {
-      return end.slice(-suffix.length) === suffix;
-    }
-
-    return false;
-  }
-
-  hasContent() {
-    return this._queue.length > 0 || !!this._last;
-  }
-
-  exactSource(loc, cb) {
-    this.source("start", loc, true);
-    cb();
-    this.source("end", loc);
-
-    this._disallowPop("start", loc);
-  }
-
-  source(prop, loc, force) {
-    if (prop && !loc) return;
-
-    this._normalizePosition(prop, loc, this._sourcePosition, force);
-  }
-
-  withSource(prop, loc, cb) {
-    if (!this._map) return cb();
-    const originalLine = this._sourcePosition.line;
-    const originalColumn = this._sourcePosition.column;
-    const originalFilename = this._sourcePosition.filename;
-    const originalIdentifierName = this._sourcePosition.identifierName;
-    this.source(prop, loc);
-    cb();
-
-    if ((!this._sourcePosition.force || this._sourcePosition.line !== originalLine || this._sourcePosition.column !== originalColumn || this._sourcePosition.filename !== originalFilename) && (!this._disallowedPop || this._disallowedPop.line !== originalLine || this._disallowedPop.column !== originalColumn || this._disallowedPop.filename !== originalFilename)) {
-      this._sourcePosition.line = originalLine;
-      this._sourcePosition.column = originalColumn;
-      this._sourcePosition.filename = originalFilename;
-      this._sourcePosition.identifierName = originalIdentifierName;
-      this._sourcePosition.force = false;
-      this._disallowedPop = null;
-    }
-  }
-
-  _disallowPop(prop, loc) {
-    if (prop && !loc) return;
-    this._disallowedPop = this._normalizePosition(prop, loc);
-  }
-
-  _normalizePosition(prop, loc, targetObj, force) {
-    const pos = loc ? loc[prop] : null;
-
-    if (targetObj === undefined) {
-      targetObj = {
-        identifierName: null,
-        line: null,
-        column: null,
-        filename: null,
-        force: false
-      };
-    }
-
-    const origLine = targetObj.line;
-    const origColumn = targetObj.column;
-    const origFilename = targetObj.filename;
-    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;
-    }
-
-    return targetObj;
-  }
-
-  getCurrentColumn() {
-    const extra = this._queue.reduce((acc, item) => item[0] + acc, "");
-
-    const lastIndex = extra.lastIndexOf("\n");
-    return lastIndex === -1 ? this._position.column + extra.length : extra.length - 1 - lastIndex;
-  }
-
-  getCurrentLine() {
-    const extra = this._queue.reduce((acc, item) => item[0] + acc, "");
-
-    let count = 0;
-
-    for (let i = 0; i < extra.length; i++) {
-      if (extra[i] === "\n") count++;
-    }
-
-    return this._position.line + count;
-  }
-
-}
-
-exports.default = Buffer;

+ 0 - 98
node_modules.bak/@babel/generator/lib/generators/base.js

@@ -1,98 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.File = File;
-exports.Program = Program;
-exports.BlockStatement = BlockStatement;
-exports.Directive = Directive;
-exports.DirectiveLiteral = DirectiveLiteral;
-exports.InterpreterDirective = InterpreterDirective;
-exports.Placeholder = Placeholder;
-
-var t = require("@babel/types");
-
-function File(node) {
-  if (node.program) {
-    this.print(node.program.interpreter, node);
-  }
-
-  this.print(node.program, node);
-}
-
-function Program(node) {
-  this.printInnerComments(node, false);
-  this.printSequence(node.directives, node);
-  if (node.directives && node.directives.length) this.newline();
-  this.printSequence(node.body, node);
-}
-
-function BlockStatement(node) {
-  var _node$directives;
-
-  this.token("{");
-  this.printInnerComments(node);
-  const hasDirectives = (_node$directives = node.directives) == null ? void 0 : _node$directives.length;
-
-  if (node.body.length || hasDirectives) {
-    this.newline();
-    this.printSequence(node.directives, node, {
-      indent: true
-    });
-    if (hasDirectives) this.newline();
-    this.printSequence(node.body, node, {
-      indent: true
-    });
-    this.removeTrailingNewline();
-    this.source("end", node.loc);
-    if (!this.endsWith("\n")) this.newline();
-    this.rightBrace();
-  } else {
-    this.source("end", node.loc);
-    this.token("}");
-  }
-}
-
-function Directive(node) {
-  this.print(node.value, node);
-  this.semicolon();
-}
-
-const unescapedSingleQuoteRE = /(?:^|[^\\])(?:\\\\)*'/;
-const unescapedDoubleQuoteRE = /(?:^|[^\\])(?:\\\\)*"/;
-
-function DirectiveLiteral(node) {
-  const raw = this.getPossibleRaw(node);
-
-  if (raw != null) {
-    this.token(raw);
-    return;
-  }
-
-  const {
-    value
-  } = node;
-
-  if (!unescapedDoubleQuoteRE.test(value)) {
-    this.token(`"${value}"`);
-  } else if (!unescapedSingleQuoteRE.test(value)) {
-    this.token(`'${value}'`);
-  } else {
-    throw new Error("Malformed AST: it is not possible to print a directive containing" + " both unescaped single and double quotes.");
-  }
-}
-
-function InterpreterDirective(node) {
-  this.token(`#!${node.value}\n`);
-}
-
-function Placeholder(node) {
-  this.token("%%");
-  this.print(node.name);
-  this.token("%%");
-
-  if (node.expectedNode === "Statement") {
-    this.semicolon();
-  }
-}

+ 0 - 168
node_modules.bak/@babel/generator/lib/generators/classes.js

@@ -1,168 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.ClassExpression = exports.ClassDeclaration = ClassDeclaration;
-exports.ClassBody = ClassBody;
-exports.ClassProperty = ClassProperty;
-exports.ClassPrivateProperty = ClassPrivateProperty;
-exports.ClassMethod = ClassMethod;
-exports.ClassPrivateMethod = ClassPrivateMethod;
-exports._classMethodHead = _classMethodHead;
-exports.StaticBlock = StaticBlock;
-
-var t = require("@babel/types");
-
-function ClassDeclaration(node, parent) {
-  if (!this.format.decoratorsBeforeExport || !t.isExportDefaultDeclaration(parent) && !t.isExportNamedDeclaration(parent)) {
-    this.printJoin(node.decorators, node);
-  }
-
-  if (node.declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  if (node.abstract) {
-    this.word("abstract");
-    this.space();
-  }
-
-  this.word("class");
-
-  if (node.id) {
-    this.space();
-    this.print(node.id, node);
-  }
-
-  this.print(node.typeParameters, node);
-
-  if (node.superClass) {
-    this.space();
-    this.word("extends");
-    this.space();
-    this.print(node.superClass, node);
-    this.print(node.superTypeParameters, node);
-  }
-
-  if (node.implements) {
-    this.space();
-    this.word("implements");
-    this.space();
-    this.printList(node.implements, node);
-  }
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function ClassBody(node) {
-  this.token("{");
-  this.printInnerComments(node);
-
-  if (node.body.length === 0) {
-    this.token("}");
-  } else {
-    this.newline();
-    this.indent();
-    this.printSequence(node.body, node);
-    this.dedent();
-    if (!this.endsWith("\n")) this.newline();
-    this.rightBrace();
-  }
-}
-
-function ClassProperty(node) {
-  this.printJoin(node.decorators, node);
-  this.source("end", node.key.loc);
-  this.tsPrintClassMemberModifiers(node, true);
-
-  if (node.computed) {
-    this.token("[");
-    this.print(node.key, node);
-    this.token("]");
-  } else {
-    this._variance(node);
-
-    this.print(node.key, node);
-  }
-
-  if (node.optional) {
-    this.token("?");
-  }
-
-  if (node.definite) {
-    this.token("!");
-  }
-
-  this.print(node.typeAnnotation, node);
-
-  if (node.value) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.value, node);
-  }
-
-  this.semicolon();
-}
-
-function ClassPrivateProperty(node) {
-  this.printJoin(node.decorators, node);
-
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  this.print(node.key, node);
-  this.print(node.typeAnnotation, node);
-
-  if (node.value) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.value, node);
-  }
-
-  this.semicolon();
-}
-
-function ClassMethod(node) {
-  this._classMethodHead(node);
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function ClassPrivateMethod(node) {
-  this._classMethodHead(node);
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function _classMethodHead(node) {
-  this.printJoin(node.decorators, node);
-  this.source("end", node.key.loc);
-  this.tsPrintClassMemberModifiers(node, false);
-
-  this._methodHead(node);
-}
-
-function StaticBlock(node) {
-  this.word("static");
-  this.space();
-  this.token("{");
-
-  if (node.body.length === 0) {
-    this.token("}");
-  } else {
-    this.newline();
-    this.printSequence(node.body, node, {
-      indent: true
-    });
-    this.rightBrace();
-  }
-}

+ 0 - 310
node_modules.bak/@babel/generator/lib/generators/expressions.js

@@ -1,310 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.UnaryExpression = UnaryExpression;
-exports.DoExpression = DoExpression;
-exports.ParenthesizedExpression = ParenthesizedExpression;
-exports.UpdateExpression = UpdateExpression;
-exports.ConditionalExpression = ConditionalExpression;
-exports.NewExpression = NewExpression;
-exports.SequenceExpression = SequenceExpression;
-exports.ThisExpression = ThisExpression;
-exports.Super = Super;
-exports.Decorator = Decorator;
-exports.OptionalMemberExpression = OptionalMemberExpression;
-exports.OptionalCallExpression = OptionalCallExpression;
-exports.CallExpression = CallExpression;
-exports.Import = Import;
-exports.EmptyStatement = EmptyStatement;
-exports.ExpressionStatement = ExpressionStatement;
-exports.AssignmentPattern = AssignmentPattern;
-exports.LogicalExpression = exports.BinaryExpression = exports.AssignmentExpression = AssignmentExpression;
-exports.BindExpression = BindExpression;
-exports.MemberExpression = MemberExpression;
-exports.MetaProperty = MetaProperty;
-exports.PrivateName = PrivateName;
-exports.V8IntrinsicIdentifier = V8IntrinsicIdentifier;
-exports.ModuleExpression = ModuleExpression;
-exports.AwaitExpression = exports.YieldExpression = void 0;
-
-var t = require("@babel/types");
-
-var n = require("../node");
-
-function UnaryExpression(node) {
-  if (node.operator === "void" || node.operator === "delete" || node.operator === "typeof" || node.operator === "throw") {
-    this.word(node.operator);
-    this.space();
-  } else {
-    this.token(node.operator);
-  }
-
-  this.print(node.argument, node);
-}
-
-function DoExpression(node) {
-  if (node.async) {
-    this.word("async");
-    this.space();
-  }
-
-  this.word("do");
-  this.space();
-  this.print(node.body, node);
-}
-
-function ParenthesizedExpression(node) {
-  this.token("(");
-  this.print(node.expression, node);
-  this.token(")");
-}
-
-function UpdateExpression(node) {
-  if (node.prefix) {
-    this.token(node.operator);
-    this.print(node.argument, node);
-  } else {
-    this.startTerminatorless(true);
-    this.print(node.argument, node);
-    this.endTerminatorless();
-    this.token(node.operator);
-  }
-}
-
-function ConditionalExpression(node) {
-  this.print(node.test, node);
-  this.space();
-  this.token("?");
-  this.space();
-  this.print(node.consequent, node);
-  this.space();
-  this.token(":");
-  this.space();
-  this.print(node.alternate, node);
-}
-
-function NewExpression(node, parent) {
-  this.word("new");
-  this.space();
-  this.print(node.callee, node);
-
-  if (this.format.minified && node.arguments.length === 0 && !node.optional && !t.isCallExpression(parent, {
-    callee: node
-  }) && !t.isMemberExpression(parent) && !t.isNewExpression(parent)) {
-    return;
-  }
-
-  this.print(node.typeArguments, node);
-  this.print(node.typeParameters, node);
-
-  if (node.optional) {
-    this.token("?.");
-  }
-
-  this.token("(");
-  this.printList(node.arguments, node);
-  this.token(")");
-}
-
-function SequenceExpression(node) {
-  this.printList(node.expressions, node);
-}
-
-function ThisExpression() {
-  this.word("this");
-}
-
-function Super() {
-  this.word("super");
-}
-
-function Decorator(node) {
-  this.token("@");
-  this.print(node.expression, node);
-  this.newline();
-}
-
-function OptionalMemberExpression(node) {
-  this.print(node.object, node);
-
-  if (!node.computed && t.isMemberExpression(node.property)) {
-    throw new TypeError("Got a MemberExpression for MemberExpression property");
-  }
-
-  let computed = node.computed;
-
-  if (t.isLiteral(node.property) && typeof node.property.value === "number") {
-    computed = true;
-  }
-
-  if (node.optional) {
-    this.token("?.");
-  }
-
-  if (computed) {
-    this.token("[");
-    this.print(node.property, node);
-    this.token("]");
-  } else {
-    if (!node.optional) {
-      this.token(".");
-    }
-
-    this.print(node.property, node);
-  }
-}
-
-function OptionalCallExpression(node) {
-  this.print(node.callee, node);
-  this.print(node.typeArguments, node);
-  this.print(node.typeParameters, node);
-
-  if (node.optional) {
-    this.token("?.");
-  }
-
-  this.token("(");
-  this.printList(node.arguments, node);
-  this.token(")");
-}
-
-function CallExpression(node) {
-  this.print(node.callee, node);
-  this.print(node.typeArguments, node);
-  this.print(node.typeParameters, node);
-  this.token("(");
-  this.printList(node.arguments, node);
-  this.token(")");
-}
-
-function Import() {
-  this.word("import");
-}
-
-function buildYieldAwait(keyword) {
-  return function (node) {
-    this.word(keyword);
-
-    if (node.delegate) {
-      this.token("*");
-    }
-
-    if (node.argument) {
-      this.space();
-      const terminatorState = this.startTerminatorless();
-      this.print(node.argument, node);
-      this.endTerminatorless(terminatorState);
-    }
-  };
-}
-
-const YieldExpression = buildYieldAwait("yield");
-exports.YieldExpression = YieldExpression;
-const AwaitExpression = buildYieldAwait("await");
-exports.AwaitExpression = AwaitExpression;
-
-function EmptyStatement() {
-  this.semicolon(true);
-}
-
-function ExpressionStatement(node) {
-  this.print(node.expression, node);
-  this.semicolon();
-}
-
-function AssignmentPattern(node) {
-  this.print(node.left, node);
-  if (node.left.optional) this.token("?");
-  this.print(node.left.typeAnnotation, node);
-  this.space();
-  this.token("=");
-  this.space();
-  this.print(node.right, node);
-}
-
-function AssignmentExpression(node, parent) {
-  const parens = this.inForStatementInitCounter && node.operator === "in" && !n.needsParens(node, parent);
-
-  if (parens) {
-    this.token("(");
-  }
-
-  this.print(node.left, node);
-  this.space();
-
-  if (node.operator === "in" || node.operator === "instanceof") {
-    this.word(node.operator);
-  } else {
-    this.token(node.operator);
-  }
-
-  this.space();
-  this.print(node.right, node);
-
-  if (parens) {
-    this.token(")");
-  }
-}
-
-function BindExpression(node) {
-  this.print(node.object, node);
-  this.token("::");
-  this.print(node.callee, node);
-}
-
-function MemberExpression(node) {
-  this.print(node.object, node);
-
-  if (!node.computed && t.isMemberExpression(node.property)) {
-    throw new TypeError("Got a MemberExpression for MemberExpression property");
-  }
-
-  let computed = node.computed;
-
-  if (t.isLiteral(node.property) && typeof node.property.value === "number") {
-    computed = true;
-  }
-
-  if (computed) {
-    this.token("[");
-    this.print(node.property, node);
-    this.token("]");
-  } else {
-    this.token(".");
-    this.print(node.property, node);
-  }
-}
-
-function MetaProperty(node) {
-  this.print(node.meta, node);
-  this.token(".");
-  this.print(node.property, node);
-}
-
-function PrivateName(node) {
-  this.token("#");
-  this.print(node.id, node);
-}
-
-function V8IntrinsicIdentifier(node) {
-  this.token("%");
-  this.word(node.name);
-}
-
-function ModuleExpression(node) {
-  this.word("module");
-  this.space();
-  this.token("{");
-
-  if (node.body.body.length === 0) {
-    this.token("}");
-  } else {
-    this.newline();
-    this.printSequence(node.body.body, node, {
-      indent: true
-    });
-    this.rightBrace();
-  }
-}

+ 0 - 790
node_modules.bak/@babel/generator/lib/generators/flow.js

@@ -1,790 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.AnyTypeAnnotation = AnyTypeAnnotation;
-exports.ArrayTypeAnnotation = ArrayTypeAnnotation;
-exports.BooleanTypeAnnotation = BooleanTypeAnnotation;
-exports.BooleanLiteralTypeAnnotation = BooleanLiteralTypeAnnotation;
-exports.NullLiteralTypeAnnotation = NullLiteralTypeAnnotation;
-exports.DeclareClass = DeclareClass;
-exports.DeclareFunction = DeclareFunction;
-exports.InferredPredicate = InferredPredicate;
-exports.DeclaredPredicate = DeclaredPredicate;
-exports.DeclareInterface = DeclareInterface;
-exports.DeclareModule = DeclareModule;
-exports.DeclareModuleExports = DeclareModuleExports;
-exports.DeclareTypeAlias = DeclareTypeAlias;
-exports.DeclareOpaqueType = DeclareOpaqueType;
-exports.DeclareVariable = DeclareVariable;
-exports.DeclareExportDeclaration = DeclareExportDeclaration;
-exports.DeclareExportAllDeclaration = DeclareExportAllDeclaration;
-exports.EnumDeclaration = EnumDeclaration;
-exports.EnumBooleanBody = EnumBooleanBody;
-exports.EnumNumberBody = EnumNumberBody;
-exports.EnumStringBody = EnumStringBody;
-exports.EnumSymbolBody = EnumSymbolBody;
-exports.EnumDefaultedMember = EnumDefaultedMember;
-exports.EnumBooleanMember = EnumBooleanMember;
-exports.EnumNumberMember = EnumNumberMember;
-exports.EnumStringMember = EnumStringMember;
-exports.ExistsTypeAnnotation = ExistsTypeAnnotation;
-exports.FunctionTypeAnnotation = FunctionTypeAnnotation;
-exports.FunctionTypeParam = FunctionTypeParam;
-exports.GenericTypeAnnotation = exports.ClassImplements = exports.InterfaceExtends = InterfaceExtends;
-exports._interfaceish = _interfaceish;
-exports._variance = _variance;
-exports.InterfaceDeclaration = InterfaceDeclaration;
-exports.InterfaceTypeAnnotation = InterfaceTypeAnnotation;
-exports.IntersectionTypeAnnotation = IntersectionTypeAnnotation;
-exports.MixedTypeAnnotation = MixedTypeAnnotation;
-exports.EmptyTypeAnnotation = EmptyTypeAnnotation;
-exports.NullableTypeAnnotation = NullableTypeAnnotation;
-exports.NumberTypeAnnotation = NumberTypeAnnotation;
-exports.StringTypeAnnotation = StringTypeAnnotation;
-exports.ThisTypeAnnotation = ThisTypeAnnotation;
-exports.TupleTypeAnnotation = TupleTypeAnnotation;
-exports.TypeofTypeAnnotation = TypeofTypeAnnotation;
-exports.TypeAlias = TypeAlias;
-exports.TypeAnnotation = TypeAnnotation;
-exports.TypeParameterDeclaration = exports.TypeParameterInstantiation = TypeParameterInstantiation;
-exports.TypeParameter = TypeParameter;
-exports.OpaqueType = OpaqueType;
-exports.ObjectTypeAnnotation = ObjectTypeAnnotation;
-exports.ObjectTypeInternalSlot = ObjectTypeInternalSlot;
-exports.ObjectTypeCallProperty = ObjectTypeCallProperty;
-exports.ObjectTypeIndexer = ObjectTypeIndexer;
-exports.ObjectTypeProperty = ObjectTypeProperty;
-exports.ObjectTypeSpreadProperty = ObjectTypeSpreadProperty;
-exports.QualifiedTypeIdentifier = QualifiedTypeIdentifier;
-exports.SymbolTypeAnnotation = SymbolTypeAnnotation;
-exports.UnionTypeAnnotation = UnionTypeAnnotation;
-exports.TypeCastExpression = TypeCastExpression;
-exports.Variance = Variance;
-exports.VoidTypeAnnotation = VoidTypeAnnotation;
-exports.IndexedAccessType = IndexedAccessType;
-exports.OptionalIndexedAccessType = OptionalIndexedAccessType;
-Object.defineProperty(exports, "NumberLiteralTypeAnnotation", {
-  enumerable: true,
-  get: function () {
-    return _types2.NumericLiteral;
-  }
-});
-Object.defineProperty(exports, "StringLiteralTypeAnnotation", {
-  enumerable: true,
-  get: function () {
-    return _types2.StringLiteral;
-  }
-});
-
-var t = require("@babel/types");
-
-var _modules = require("./modules");
-
-var _types2 = require("./types");
-
-function AnyTypeAnnotation() {
-  this.word("any");
-}
-
-function ArrayTypeAnnotation(node) {
-  this.print(node.elementType, node);
-  this.token("[");
-  this.token("]");
-}
-
-function BooleanTypeAnnotation() {
-  this.word("boolean");
-}
-
-function BooleanLiteralTypeAnnotation(node) {
-  this.word(node.value ? "true" : "false");
-}
-
-function NullLiteralTypeAnnotation() {
-  this.word("null");
-}
-
-function DeclareClass(node, parent) {
-  if (!t.isDeclareExportDeclaration(parent)) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word("class");
-  this.space();
-
-  this._interfaceish(node);
-}
-
-function DeclareFunction(node, parent) {
-  if (!t.isDeclareExportDeclaration(parent)) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word("function");
-  this.space();
-  this.print(node.id, node);
-  this.print(node.id.typeAnnotation.typeAnnotation, node);
-
-  if (node.predicate) {
-    this.space();
-    this.print(node.predicate, node);
-  }
-
-  this.semicolon();
-}
-
-function InferredPredicate() {
-  this.token("%");
-  this.word("checks");
-}
-
-function DeclaredPredicate(node) {
-  this.token("%");
-  this.word("checks");
-  this.token("(");
-  this.print(node.value, node);
-  this.token(")");
-}
-
-function DeclareInterface(node) {
-  this.word("declare");
-  this.space();
-  this.InterfaceDeclaration(node);
-}
-
-function DeclareModule(node) {
-  this.word("declare");
-  this.space();
-  this.word("module");
-  this.space();
-  this.print(node.id, node);
-  this.space();
-  this.print(node.body, node);
-}
-
-function DeclareModuleExports(node) {
-  this.word("declare");
-  this.space();
-  this.word("module");
-  this.token(".");
-  this.word("exports");
-  this.print(node.typeAnnotation, node);
-}
-
-function DeclareTypeAlias(node) {
-  this.word("declare");
-  this.space();
-  this.TypeAlias(node);
-}
-
-function DeclareOpaqueType(node, parent) {
-  if (!t.isDeclareExportDeclaration(parent)) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.OpaqueType(node);
-}
-
-function DeclareVariable(node, parent) {
-  if (!t.isDeclareExportDeclaration(parent)) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word("var");
-  this.space();
-  this.print(node.id, node);
-  this.print(node.id.typeAnnotation, node);
-  this.semicolon();
-}
-
-function DeclareExportDeclaration(node) {
-  this.word("declare");
-  this.space();
-  this.word("export");
-  this.space();
-
-  if (node.default) {
-    this.word("default");
-    this.space();
-  }
-
-  FlowExportDeclaration.apply(this, arguments);
-}
-
-function DeclareExportAllDeclaration() {
-  this.word("declare");
-  this.space();
-
-  _modules.ExportAllDeclaration.apply(this, arguments);
-}
-
-function EnumDeclaration(node) {
-  const {
-    id,
-    body
-  } = node;
-  this.word("enum");
-  this.space();
-  this.print(id, node);
-  this.print(body, node);
-}
-
-function enumExplicitType(context, name, hasExplicitType) {
-  if (hasExplicitType) {
-    context.space();
-    context.word("of");
-    context.space();
-    context.word(name);
-  }
-
-  context.space();
-}
-
-function enumBody(context, node) {
-  const {
-    members
-  } = node;
-  context.token("{");
-  context.indent();
-  context.newline();
-
-  for (const member of members) {
-    context.print(member, node);
-    context.newline();
-  }
-
-  if (node.hasUnknownMembers) {
-    context.token("...");
-    context.newline();
-  }
-
-  context.dedent();
-  context.token("}");
-}
-
-function EnumBooleanBody(node) {
-  const {
-    explicitType
-  } = node;
-  enumExplicitType(this, "boolean", explicitType);
-  enumBody(this, node);
-}
-
-function EnumNumberBody(node) {
-  const {
-    explicitType
-  } = node;
-  enumExplicitType(this, "number", explicitType);
-  enumBody(this, node);
-}
-
-function EnumStringBody(node) {
-  const {
-    explicitType
-  } = node;
-  enumExplicitType(this, "string", explicitType);
-  enumBody(this, node);
-}
-
-function EnumSymbolBody(node) {
-  enumExplicitType(this, "symbol", true);
-  enumBody(this, node);
-}
-
-function EnumDefaultedMember(node) {
-  const {
-    id
-  } = node;
-  this.print(id, node);
-  this.token(",");
-}
-
-function enumInitializedMember(context, node) {
-  const {
-    id,
-    init
-  } = node;
-  context.print(id, node);
-  context.space();
-  context.token("=");
-  context.space();
-  context.print(init, node);
-  context.token(",");
-}
-
-function EnumBooleanMember(node) {
-  enumInitializedMember(this, node);
-}
-
-function EnumNumberMember(node) {
-  enumInitializedMember(this, node);
-}
-
-function EnumStringMember(node) {
-  enumInitializedMember(this, node);
-}
-
-function FlowExportDeclaration(node) {
-  if (node.declaration) {
-    const declar = node.declaration;
-    this.print(declar, node);
-    if (!t.isStatement(declar)) this.semicolon();
-  } else {
-    this.token("{");
-
-    if (node.specifiers.length) {
-      this.space();
-      this.printList(node.specifiers, node);
-      this.space();
-    }
-
-    this.token("}");
-
-    if (node.source) {
-      this.space();
-      this.word("from");
-      this.space();
-      this.print(node.source, node);
-    }
-
-    this.semicolon();
-  }
-}
-
-function ExistsTypeAnnotation() {
-  this.token("*");
-}
-
-function FunctionTypeAnnotation(node, parent) {
-  this.print(node.typeParameters, node);
-  this.token("(");
-
-  if (node.this) {
-    this.word("this");
-    this.token(":");
-    this.space();
-    this.print(node.this.typeAnnotation, node);
-
-    if (node.params.length || node.rest) {
-      this.token(",");
-      this.space();
-    }
-  }
-
-  this.printList(node.params, node);
-
-  if (node.rest) {
-    if (node.params.length) {
-      this.token(",");
-      this.space();
-    }
-
-    this.token("...");
-    this.print(node.rest, node);
-  }
-
-  this.token(")");
-
-  if (parent.type === "ObjectTypeCallProperty" || parent.type === "DeclareFunction" || parent.type === "ObjectTypeProperty" && parent.method) {
-    this.token(":");
-  } else {
-    this.space();
-    this.token("=>");
-  }
-
-  this.space();
-  this.print(node.returnType, node);
-}
-
-function FunctionTypeParam(node) {
-  this.print(node.name, node);
-  if (node.optional) this.token("?");
-
-  if (node.name) {
-    this.token(":");
-    this.space();
-  }
-
-  this.print(node.typeAnnotation, node);
-}
-
-function InterfaceExtends(node) {
-  this.print(node.id, node);
-  this.print(node.typeParameters, node);
-}
-
-function _interfaceish(node) {
-  var _node$extends;
-
-  this.print(node.id, node);
-  this.print(node.typeParameters, node);
-
-  if ((_node$extends = node.extends) != null && _node$extends.length) {
-    this.space();
-    this.word("extends");
-    this.space();
-    this.printList(node.extends, node);
-  }
-
-  if (node.mixins && node.mixins.length) {
-    this.space();
-    this.word("mixins");
-    this.space();
-    this.printList(node.mixins, node);
-  }
-
-  if (node.implements && node.implements.length) {
-    this.space();
-    this.word("implements");
-    this.space();
-    this.printList(node.implements, node);
-  }
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function _variance(node) {
-  if (node.variance) {
-    if (node.variance.kind === "plus") {
-      this.token("+");
-    } else if (node.variance.kind === "minus") {
-      this.token("-");
-    }
-  }
-}
-
-function InterfaceDeclaration(node) {
-  this.word("interface");
-  this.space();
-
-  this._interfaceish(node);
-}
-
-function andSeparator() {
-  this.space();
-  this.token("&");
-  this.space();
-}
-
-function InterfaceTypeAnnotation(node) {
-  this.word("interface");
-
-  if (node.extends && node.extends.length) {
-    this.space();
-    this.word("extends");
-    this.space();
-    this.printList(node.extends, node);
-  }
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function IntersectionTypeAnnotation(node) {
-  this.printJoin(node.types, node, {
-    separator: andSeparator
-  });
-}
-
-function MixedTypeAnnotation() {
-  this.word("mixed");
-}
-
-function EmptyTypeAnnotation() {
-  this.word("empty");
-}
-
-function NullableTypeAnnotation(node) {
-  this.token("?");
-  this.print(node.typeAnnotation, node);
-}
-
-function NumberTypeAnnotation() {
-  this.word("number");
-}
-
-function StringTypeAnnotation() {
-  this.word("string");
-}
-
-function ThisTypeAnnotation() {
-  this.word("this");
-}
-
-function TupleTypeAnnotation(node) {
-  this.token("[");
-  this.printList(node.types, node);
-  this.token("]");
-}
-
-function TypeofTypeAnnotation(node) {
-  this.word("typeof");
-  this.space();
-  this.print(node.argument, node);
-}
-
-function TypeAlias(node) {
-  this.word("type");
-  this.space();
-  this.print(node.id, node);
-  this.print(node.typeParameters, node);
-  this.space();
-  this.token("=");
-  this.space();
-  this.print(node.right, node);
-  this.semicolon();
-}
-
-function TypeAnnotation(node) {
-  this.token(":");
-  this.space();
-  if (node.optional) this.token("?");
-  this.print(node.typeAnnotation, node);
-}
-
-function TypeParameterInstantiation(node) {
-  this.token("<");
-  this.printList(node.params, node, {});
-  this.token(">");
-}
-
-function TypeParameter(node) {
-  this._variance(node);
-
-  this.word(node.name);
-
-  if (node.bound) {
-    this.print(node.bound, node);
-  }
-
-  if (node.default) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.default, node);
-  }
-}
-
-function OpaqueType(node) {
-  this.word("opaque");
-  this.space();
-  this.word("type");
-  this.space();
-  this.print(node.id, node);
-  this.print(node.typeParameters, node);
-
-  if (node.supertype) {
-    this.token(":");
-    this.space();
-    this.print(node.supertype, node);
-  }
-
-  if (node.impltype) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.impltype, node);
-  }
-
-  this.semicolon();
-}
-
-function ObjectTypeAnnotation(node) {
-  if (node.exact) {
-    this.token("{|");
-  } else {
-    this.token("{");
-  }
-
-  const props = [...node.properties, ...(node.callProperties || []), ...(node.indexers || []), ...(node.internalSlots || [])];
-
-  if (props.length) {
-    this.space();
-    this.printJoin(props, node, {
-      addNewlines(leading) {
-        if (leading && !props[0]) return 1;
-      },
-
-      indent: true,
-      statement: true,
-      iterator: () => {
-        if (props.length !== 1 || node.inexact) {
-          this.token(",");
-          this.space();
-        }
-      }
-    });
-    this.space();
-  }
-
-  if (node.inexact) {
-    this.indent();
-    this.token("...");
-
-    if (props.length) {
-      this.newline();
-    }
-
-    this.dedent();
-  }
-
-  if (node.exact) {
-    this.token("|}");
-  } else {
-    this.token("}");
-  }
-}
-
-function ObjectTypeInternalSlot(node) {
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  this.token("[");
-  this.token("[");
-  this.print(node.id, node);
-  this.token("]");
-  this.token("]");
-  if (node.optional) this.token("?");
-
-  if (!node.method) {
-    this.token(":");
-    this.space();
-  }
-
-  this.print(node.value, node);
-}
-
-function ObjectTypeCallProperty(node) {
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  this.print(node.value, node);
-}
-
-function ObjectTypeIndexer(node) {
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  this._variance(node);
-
-  this.token("[");
-
-  if (node.id) {
-    this.print(node.id, node);
-    this.token(":");
-    this.space();
-  }
-
-  this.print(node.key, node);
-  this.token("]");
-  this.token(":");
-  this.space();
-  this.print(node.value, node);
-}
-
-function ObjectTypeProperty(node) {
-  if (node.proto) {
-    this.word("proto");
-    this.space();
-  }
-
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  if (node.kind === "get" || node.kind === "set") {
-    this.word(node.kind);
-    this.space();
-  }
-
-  this._variance(node);
-
-  this.print(node.key, node);
-  if (node.optional) this.token("?");
-
-  if (!node.method) {
-    this.token(":");
-    this.space();
-  }
-
-  this.print(node.value, node);
-}
-
-function ObjectTypeSpreadProperty(node) {
-  this.token("...");
-  this.print(node.argument, node);
-}
-
-function QualifiedTypeIdentifier(node) {
-  this.print(node.qualification, node);
-  this.token(".");
-  this.print(node.id, node);
-}
-
-function SymbolTypeAnnotation() {
-  this.word("symbol");
-}
-
-function orSeparator() {
-  this.space();
-  this.token("|");
-  this.space();
-}
-
-function UnionTypeAnnotation(node) {
-  this.printJoin(node.types, node, {
-    separator: orSeparator
-  });
-}
-
-function TypeCastExpression(node) {
-  this.token("(");
-  this.print(node.expression, node);
-  this.print(node.typeAnnotation, node);
-  this.token(")");
-}
-
-function Variance(node) {
-  if (node.kind === "plus") {
-    this.token("+");
-  } else {
-    this.token("-");
-  }
-}
-
-function VoidTypeAnnotation() {
-  this.word("void");
-}
-
-function IndexedAccessType(node) {
-  this.print(node.objectType, node);
-  this.token("[");
-  this.print(node.indexType, node);
-  this.token("]");
-}
-
-function OptionalIndexedAccessType(node) {
-  this.print(node.objectType, node);
-
-  if (node.optional) {
-    this.token("?.");
-  }
-
-  this.token("[");
-  this.print(node.indexType, node);
-  this.token("]");
-}

+ 0 - 148
node_modules.bak/@babel/generator/lib/generators/index.js

@@ -1,148 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-
-var _templateLiterals = require("./template-literals");
-
-Object.keys(_templateLiterals).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _templateLiterals[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _templateLiterals[key];
-    }
-  });
-});
-
-var _expressions = require("./expressions");
-
-Object.keys(_expressions).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _expressions[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _expressions[key];
-    }
-  });
-});
-
-var _statements = require("./statements");
-
-Object.keys(_statements).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _statements[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _statements[key];
-    }
-  });
-});
-
-var _classes = require("./classes");
-
-Object.keys(_classes).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _classes[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _classes[key];
-    }
-  });
-});
-
-var _methods = require("./methods");
-
-Object.keys(_methods).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _methods[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _methods[key];
-    }
-  });
-});
-
-var _modules = require("./modules");
-
-Object.keys(_modules).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _modules[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _modules[key];
-    }
-  });
-});
-
-var _types = require("./types");
-
-Object.keys(_types).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _types[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _types[key];
-    }
-  });
-});
-
-var _flow = require("./flow");
-
-Object.keys(_flow).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _flow[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _flow[key];
-    }
-  });
-});
-
-var _base = require("./base");
-
-Object.keys(_base).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _base[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _base[key];
-    }
-  });
-});
-
-var _jsx = require("./jsx");
-
-Object.keys(_jsx).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _jsx[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _jsx[key];
-    }
-  });
-});
-
-var _typescript = require("./typescript");
-
-Object.keys(_typescript).forEach(function (key) {
-  if (key === "default" || key === "__esModule") return;
-  if (key in exports && exports[key] === _typescript[key]) return;
-  Object.defineProperty(exports, key, {
-    enumerable: true,
-    get: function () {
-      return _typescript[key];
-    }
-  });
-});

+ 0 - 147
node_modules.bak/@babel/generator/lib/generators/jsx.js

@@ -1,147 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.JSXAttribute = JSXAttribute;
-exports.JSXIdentifier = JSXIdentifier;
-exports.JSXNamespacedName = JSXNamespacedName;
-exports.JSXMemberExpression = JSXMemberExpression;
-exports.JSXSpreadAttribute = JSXSpreadAttribute;
-exports.JSXExpressionContainer = JSXExpressionContainer;
-exports.JSXSpreadChild = JSXSpreadChild;
-exports.JSXText = JSXText;
-exports.JSXElement = JSXElement;
-exports.JSXOpeningElement = JSXOpeningElement;
-exports.JSXClosingElement = JSXClosingElement;
-exports.JSXEmptyExpression = JSXEmptyExpression;
-exports.JSXFragment = JSXFragment;
-exports.JSXOpeningFragment = JSXOpeningFragment;
-exports.JSXClosingFragment = JSXClosingFragment;
-
-var t = require("@babel/types");
-
-function JSXAttribute(node) {
-  this.print(node.name, node);
-
-  if (node.value) {
-    this.token("=");
-    this.print(node.value, node);
-  }
-}
-
-function JSXIdentifier(node) {
-  this.word(node.name);
-}
-
-function JSXNamespacedName(node) {
-  this.print(node.namespace, node);
-  this.token(":");
-  this.print(node.name, node);
-}
-
-function JSXMemberExpression(node) {
-  this.print(node.object, node);
-  this.token(".");
-  this.print(node.property, node);
-}
-
-function JSXSpreadAttribute(node) {
-  this.token("{");
-  this.token("...");
-  this.print(node.argument, node);
-  this.token("}");
-}
-
-function JSXExpressionContainer(node) {
-  this.token("{");
-  this.print(node.expression, node);
-  this.token("}");
-}
-
-function JSXSpreadChild(node) {
-  this.token("{");
-  this.token("...");
-  this.print(node.expression, node);
-  this.token("}");
-}
-
-function JSXText(node) {
-  const raw = this.getPossibleRaw(node);
-
-  if (raw != null) {
-    this.token(raw);
-  } else {
-    this.token(node.value);
-  }
-}
-
-function JSXElement(node) {
-  const open = node.openingElement;
-  this.print(open, node);
-  if (open.selfClosing) return;
-  this.indent();
-
-  for (const child of node.children) {
-    this.print(child, node);
-  }
-
-  this.dedent();
-  this.print(node.closingElement, node);
-}
-
-function spaceSeparator() {
-  this.space();
-}
-
-function JSXOpeningElement(node) {
-  this.token("<");
-  this.print(node.name, node);
-  this.print(node.typeParameters, node);
-
-  if (node.attributes.length > 0) {
-    this.space();
-    this.printJoin(node.attributes, node, {
-      separator: spaceSeparator
-    });
-  }
-
-  if (node.selfClosing) {
-    this.space();
-    this.token("/>");
-  } else {
-    this.token(">");
-  }
-}
-
-function JSXClosingElement(node) {
-  this.token("</");
-  this.print(node.name, node);
-  this.token(">");
-}
-
-function JSXEmptyExpression(node) {
-  this.printInnerComments(node);
-}
-
-function JSXFragment(node) {
-  this.print(node.openingFragment, node);
-  this.indent();
-
-  for (const child of node.children) {
-    this.print(child, node);
-  }
-
-  this.dedent();
-  this.print(node.closingFragment, node);
-}
-
-function JSXOpeningFragment() {
-  this.token("<");
-  this.token(">");
-}
-
-function JSXClosingFragment() {
-  this.token("</");
-  this.token(">");
-}

+ 0 - 145
node_modules.bak/@babel/generator/lib/generators/methods.js

@@ -1,145 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports._params = _params;
-exports._parameters = _parameters;
-exports._param = _param;
-exports._methodHead = _methodHead;
-exports._predicate = _predicate;
-exports._functionHead = _functionHead;
-exports.FunctionDeclaration = exports.FunctionExpression = FunctionExpression;
-exports.ArrowFunctionExpression = ArrowFunctionExpression;
-
-var t = require("@babel/types");
-
-function _params(node) {
-  this.print(node.typeParameters, node);
-  this.token("(");
-
-  this._parameters(node.params, node);
-
-  this.token(")");
-  this.print(node.returnType, node);
-}
-
-function _parameters(parameters, parent) {
-  for (let i = 0; i < parameters.length; i++) {
-    this._param(parameters[i], parent);
-
-    if (i < parameters.length - 1) {
-      this.token(",");
-      this.space();
-    }
-  }
-}
-
-function _param(parameter, parent) {
-  this.printJoin(parameter.decorators, parameter);
-  this.print(parameter, parent);
-  if (parameter.optional) this.token("?");
-  this.print(parameter.typeAnnotation, parameter);
-}
-
-function _methodHead(node) {
-  const kind = node.kind;
-  const key = node.key;
-
-  if (kind === "get" || kind === "set") {
-    this.word(kind);
-    this.space();
-  }
-
-  if (node.async) {
-    this._catchUp("start", key.loc);
-
-    this.word("async");
-    this.space();
-  }
-
-  if (kind === "method" || kind === "init") {
-    if (node.generator) {
-      this.token("*");
-    }
-  }
-
-  if (node.computed) {
-    this.token("[");
-    this.print(key, node);
-    this.token("]");
-  } else {
-    this.print(key, node);
-  }
-
-  if (node.optional) {
-    this.token("?");
-  }
-
-  this._params(node);
-}
-
-function _predicate(node) {
-  if (node.predicate) {
-    if (!node.returnType) {
-      this.token(":");
-    }
-
-    this.space();
-    this.print(node.predicate, node);
-  }
-}
-
-function _functionHead(node) {
-  if (node.async) {
-    this.word("async");
-    this.space();
-  }
-
-  this.word("function");
-  if (node.generator) this.token("*");
-  this.space();
-
-  if (node.id) {
-    this.print(node.id, node);
-  }
-
-  this._params(node);
-
-  this._predicate(node);
-}
-
-function FunctionExpression(node) {
-  this._functionHead(node);
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function ArrowFunctionExpression(node) {
-  if (node.async) {
-    this.word("async");
-    this.space();
-  }
-
-  const firstParam = node.params[0];
-
-  if (!this.format.retainLines && !this.format.auxiliaryCommentBefore && !this.format.auxiliaryCommentAfter && node.params.length === 1 && t.isIdentifier(firstParam) && !hasTypesOrComments(node, firstParam)) {
-    this.print(firstParam, node);
-  } else {
-    this._params(node);
-  }
-
-  this._predicate(node);
-
-  this.space();
-  this.token("=>");
-  this.space();
-  this.print(node.body, node);
-}
-
-function hasTypesOrComments(node, param) {
-  var _param$leadingComment, _param$trailingCommen;
-
-  return !!(node.typeParameters || node.returnType || node.predicate || param.typeAnnotation || param.optional || (_param$leadingComment = param.leadingComments) != null && _param$leadingComment.length || (_param$trailingCommen = param.trailingComments) != null && _param$trailingCommen.length);
-}

+ 0 - 225
node_modules.bak/@babel/generator/lib/generators/modules.js

@@ -1,225 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.ImportSpecifier = ImportSpecifier;
-exports.ImportDefaultSpecifier = ImportDefaultSpecifier;
-exports.ExportDefaultSpecifier = ExportDefaultSpecifier;
-exports.ExportSpecifier = ExportSpecifier;
-exports.ExportNamespaceSpecifier = ExportNamespaceSpecifier;
-exports.ExportAllDeclaration = ExportAllDeclaration;
-exports.ExportNamedDeclaration = ExportNamedDeclaration;
-exports.ExportDefaultDeclaration = ExportDefaultDeclaration;
-exports.ImportDeclaration = ImportDeclaration;
-exports.ImportAttribute = ImportAttribute;
-exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
-
-var t = require("@babel/types");
-
-function ImportSpecifier(node) {
-  if (node.importKind === "type" || node.importKind === "typeof") {
-    this.word(node.importKind);
-    this.space();
-  }
-
-  this.print(node.imported, node);
-
-  if (node.local && node.local.name !== node.imported.name) {
-    this.space();
-    this.word("as");
-    this.space();
-    this.print(node.local, node);
-  }
-}
-
-function ImportDefaultSpecifier(node) {
-  this.print(node.local, node);
-}
-
-function ExportDefaultSpecifier(node) {
-  this.print(node.exported, node);
-}
-
-function ExportSpecifier(node) {
-  this.print(node.local, node);
-
-  if (node.exported && node.local.name !== node.exported.name) {
-    this.space();
-    this.word("as");
-    this.space();
-    this.print(node.exported, node);
-  }
-}
-
-function ExportNamespaceSpecifier(node) {
-  this.token("*");
-  this.space();
-  this.word("as");
-  this.space();
-  this.print(node.exported, node);
-}
-
-function ExportAllDeclaration(node) {
-  this.word("export");
-  this.space();
-
-  if (node.exportKind === "type") {
-    this.word("type");
-    this.space();
-  }
-
-  this.token("*");
-  this.space();
-  this.word("from");
-  this.space();
-  this.print(node.source, node);
-  this.printAssertions(node);
-  this.semicolon();
-}
-
-function ExportNamedDeclaration(node) {
-  if (this.format.decoratorsBeforeExport && t.isClassDeclaration(node.declaration)) {
-    this.printJoin(node.declaration.decorators, node);
-  }
-
-  this.word("export");
-  this.space();
-  ExportDeclaration.apply(this, arguments);
-}
-
-function ExportDefaultDeclaration(node) {
-  if (this.format.decoratorsBeforeExport && t.isClassDeclaration(node.declaration)) {
-    this.printJoin(node.declaration.decorators, node);
-  }
-
-  this.word("export");
-  this.space();
-  this.word("default");
-  this.space();
-  ExportDeclaration.apply(this, arguments);
-}
-
-function ExportDeclaration(node) {
-  if (node.declaration) {
-    const declar = node.declaration;
-    this.print(declar, node);
-    if (!t.isStatement(declar)) this.semicolon();
-  } else {
-    if (node.exportKind === "type") {
-      this.word("type");
-      this.space();
-    }
-
-    const specifiers = node.specifiers.slice(0);
-    let hasSpecial = false;
-
-    for (;;) {
-      const first = specifiers[0];
-
-      if (t.isExportDefaultSpecifier(first) || t.isExportNamespaceSpecifier(first)) {
-        hasSpecial = true;
-        this.print(specifiers.shift(), node);
-
-        if (specifiers.length) {
-          this.token(",");
-          this.space();
-        }
-      } else {
-        break;
-      }
-    }
-
-    if (specifiers.length || !specifiers.length && !hasSpecial) {
-      this.token("{");
-
-      if (specifiers.length) {
-        this.space();
-        this.printList(specifiers, node);
-        this.space();
-      }
-
-      this.token("}");
-    }
-
-    if (node.source) {
-      this.space();
-      this.word("from");
-      this.space();
-      this.print(node.source, node);
-      this.printAssertions(node);
-    }
-
-    this.semicolon();
-  }
-}
-
-function ImportDeclaration(node) {
-  var _node$attributes;
-
-  this.word("import");
-  this.space();
-
-  if (node.importKind === "type" || node.importKind === "typeof") {
-    this.word(node.importKind);
-    this.space();
-  }
-
-  const specifiers = node.specifiers.slice(0);
-
-  if (specifiers != null && specifiers.length) {
-    for (;;) {
-      const first = specifiers[0];
-
-      if (t.isImportDefaultSpecifier(first) || t.isImportNamespaceSpecifier(first)) {
-        this.print(specifiers.shift(), node);
-
-        if (specifiers.length) {
-          this.token(",");
-          this.space();
-        }
-      } else {
-        break;
-      }
-    }
-
-    if (specifiers.length) {
-      this.token("{");
-      this.space();
-      this.printList(specifiers, node);
-      this.space();
-      this.token("}");
-    }
-
-    this.space();
-    this.word("from");
-    this.space();
-  }
-
-  this.print(node.source, node);
-  this.printAssertions(node);
-
-  if ((_node$attributes = node.attributes) != null && _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();
-  this.word("as");
-  this.space();
-  this.print(node.local, node);
-}

+ 0 - 314
node_modules.bak/@babel/generator/lib/generators/statements.js

@@ -1,314 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.WithStatement = WithStatement;
-exports.IfStatement = IfStatement;
-exports.ForStatement = ForStatement;
-exports.WhileStatement = WhileStatement;
-exports.DoWhileStatement = DoWhileStatement;
-exports.LabeledStatement = LabeledStatement;
-exports.TryStatement = TryStatement;
-exports.CatchClause = CatchClause;
-exports.SwitchStatement = SwitchStatement;
-exports.SwitchCase = SwitchCase;
-exports.DebuggerStatement = DebuggerStatement;
-exports.VariableDeclaration = VariableDeclaration;
-exports.VariableDeclarator = VariableDeclarator;
-exports.ThrowStatement = exports.BreakStatement = exports.ReturnStatement = exports.ContinueStatement = exports.ForOfStatement = exports.ForInStatement = void 0;
-
-var t = require("@babel/types");
-
-function WithStatement(node) {
-  this.word("with");
-  this.space();
-  this.token("(");
-  this.print(node.object, node);
-  this.token(")");
-  this.printBlock(node);
-}
-
-function IfStatement(node) {
-  this.word("if");
-  this.space();
-  this.token("(");
-  this.print(node.test, node);
-  this.token(")");
-  this.space();
-  const needsBlock = node.alternate && t.isIfStatement(getLastStatement(node.consequent));
-
-  if (needsBlock) {
-    this.token("{");
-    this.newline();
-    this.indent();
-  }
-
-  this.printAndIndentOnComments(node.consequent, node);
-
-  if (needsBlock) {
-    this.dedent();
-    this.newline();
-    this.token("}");
-  }
-
-  if (node.alternate) {
-    if (this.endsWith("}")) this.space();
-    this.word("else");
-    this.space();
-    this.printAndIndentOnComments(node.alternate, node);
-  }
-}
-
-function getLastStatement(statement) {
-  if (!t.isStatement(statement.body)) return statement;
-  return getLastStatement(statement.body);
-}
-
-function ForStatement(node) {
-  this.word("for");
-  this.space();
-  this.token("(");
-  this.inForStatementInitCounter++;
-  this.print(node.init, node);
-  this.inForStatementInitCounter--;
-  this.token(";");
-
-  if (node.test) {
-    this.space();
-    this.print(node.test, node);
-  }
-
-  this.token(";");
-
-  if (node.update) {
-    this.space();
-    this.print(node.update, node);
-  }
-
-  this.token(")");
-  this.printBlock(node);
-}
-
-function WhileStatement(node) {
-  this.word("while");
-  this.space();
-  this.token("(");
-  this.print(node.test, node);
-  this.token(")");
-  this.printBlock(node);
-}
-
-const buildForXStatement = function (op) {
-  return function (node) {
-    this.word("for");
-    this.space();
-
-    if (op === "of" && node.await) {
-      this.word("await");
-      this.space();
-    }
-
-    this.token("(");
-    this.print(node.left, node);
-    this.space();
-    this.word(op);
-    this.space();
-    this.print(node.right, node);
-    this.token(")");
-    this.printBlock(node);
-  };
-};
-
-const ForInStatement = buildForXStatement("in");
-exports.ForInStatement = ForInStatement;
-const ForOfStatement = buildForXStatement("of");
-exports.ForOfStatement = ForOfStatement;
-
-function DoWhileStatement(node) {
-  this.word("do");
-  this.space();
-  this.print(node.body, node);
-  this.space();
-  this.word("while");
-  this.space();
-  this.token("(");
-  this.print(node.test, node);
-  this.token(")");
-  this.semicolon();
-}
-
-function buildLabelStatement(prefix, key = "label") {
-  return function (node) {
-    this.word(prefix);
-    const label = node[key];
-
-    if (label) {
-      this.space();
-      const isLabel = key == "label";
-      const terminatorState = this.startTerminatorless(isLabel);
-      this.print(label, node);
-      this.endTerminatorless(terminatorState);
-    }
-
-    this.semicolon();
-  };
-}
-
-const ContinueStatement = buildLabelStatement("continue");
-exports.ContinueStatement = ContinueStatement;
-const ReturnStatement = buildLabelStatement("return", "argument");
-exports.ReturnStatement = ReturnStatement;
-const BreakStatement = buildLabelStatement("break");
-exports.BreakStatement = BreakStatement;
-const ThrowStatement = buildLabelStatement("throw", "argument");
-exports.ThrowStatement = ThrowStatement;
-
-function LabeledStatement(node) {
-  this.print(node.label, node);
-  this.token(":");
-  this.space();
-  this.print(node.body, node);
-}
-
-function TryStatement(node) {
-  this.word("try");
-  this.space();
-  this.print(node.block, node);
-  this.space();
-
-  if (node.handlers) {
-    this.print(node.handlers[0], node);
-  } else {
-    this.print(node.handler, node);
-  }
-
-  if (node.finalizer) {
-    this.space();
-    this.word("finally");
-    this.space();
-    this.print(node.finalizer, node);
-  }
-}
-
-function CatchClause(node) {
-  this.word("catch");
-  this.space();
-
-  if (node.param) {
-    this.token("(");
-    this.print(node.param, node);
-    this.print(node.param.typeAnnotation, node);
-    this.token(")");
-    this.space();
-  }
-
-  this.print(node.body, node);
-}
-
-function SwitchStatement(node) {
-  this.word("switch");
-  this.space();
-  this.token("(");
-  this.print(node.discriminant, node);
-  this.token(")");
-  this.space();
-  this.token("{");
-  this.printSequence(node.cases, node, {
-    indent: true,
-
-    addNewlines(leading, cas) {
-      if (!leading && node.cases[node.cases.length - 1] === cas) return -1;
-    }
-
-  });
-  this.token("}");
-}
-
-function SwitchCase(node) {
-  if (node.test) {
-    this.word("case");
-    this.space();
-    this.print(node.test, node);
-    this.token(":");
-  } else {
-    this.word("default");
-    this.token(":");
-  }
-
-  if (node.consequent.length) {
-    this.newline();
-    this.printSequence(node.consequent, node, {
-      indent: true
-    });
-  }
-}
-
-function DebuggerStatement() {
-  this.word("debugger");
-  this.semicolon();
-}
-
-function variableDeclarationIndent() {
-  this.token(",");
-  this.newline();
-  if (this.endsWith("\n")) for (let i = 0; i < 4; i++) this.space(true);
-}
-
-function constDeclarationIndent() {
-  this.token(",");
-  this.newline();
-  if (this.endsWith("\n")) for (let i = 0; i < 6; i++) this.space(true);
-}
-
-function VariableDeclaration(node, parent) {
-  if (node.declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word(node.kind);
-  this.space();
-  let hasInits = false;
-
-  if (!t.isFor(parent)) {
-    for (const declar of node.declarations) {
-      if (declar.init) {
-        hasInits = true;
-      }
-    }
-  }
-
-  let separator;
-
-  if (hasInits) {
-    separator = node.kind === "const" ? constDeclarationIndent : variableDeclarationIndent;
-  }
-
-  this.printList(node.declarations, node, {
-    separator
-  });
-
-  if (t.isFor(parent)) {
-    if (t.isForStatement(parent)) {
-      if (parent.init === node) return;
-    } else {
-      if (parent.left === node) return;
-    }
-  }
-
-  this.semicolon();
-}
-
-function VariableDeclarator(node) {
-  this.print(node.id, node);
-  if (node.definite) this.token("!");
-  this.print(node.id.typeAnnotation, node);
-
-  if (node.init) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.init, node);
-  }
-}

+ 0 - 35
node_modules.bak/@babel/generator/lib/generators/template-literals.js

@@ -1,35 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.TaggedTemplateExpression = TaggedTemplateExpression;
-exports.TemplateElement = TemplateElement;
-exports.TemplateLiteral = TemplateLiteral;
-
-var t = require("@babel/types");
-
-function TaggedTemplateExpression(node) {
-  this.print(node.tag, node);
-  this.print(node.typeParameters, node);
-  this.print(node.quasi, node);
-}
-
-function TemplateElement(node, parent) {
-  const isFirst = parent.quasis[0] === node;
-  const isLast = parent.quasis[parent.quasis.length - 1] === node;
-  const value = (isFirst ? "`" : "}") + node.value.raw + (isLast ? "`" : "${");
-  this.token(value);
-}
-
-function TemplateLiteral(node) {
-  const quasis = node.quasis;
-
-  for (let i = 0; i < quasis.length; i++) {
-    this.print(quasis[i], node);
-
-    if (i + 1 < quasis.length) {
-      this.print(node.expressions[i], node);
-    }
-  }
-}

+ 0 - 254
node_modules.bak/@babel/generator/lib/generators/types.js

@@ -1,254 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.Identifier = Identifier;
-exports.ArgumentPlaceholder = ArgumentPlaceholder;
-exports.SpreadElement = exports.RestElement = RestElement;
-exports.ObjectPattern = exports.ObjectExpression = ObjectExpression;
-exports.ObjectMethod = ObjectMethod;
-exports.ObjectProperty = ObjectProperty;
-exports.ArrayPattern = exports.ArrayExpression = ArrayExpression;
-exports.RecordExpression = RecordExpression;
-exports.TupleExpression = TupleExpression;
-exports.RegExpLiteral = RegExpLiteral;
-exports.BooleanLiteral = BooleanLiteral;
-exports.NullLiteral = NullLiteral;
-exports.NumericLiteral = NumericLiteral;
-exports.StringLiteral = StringLiteral;
-exports.BigIntLiteral = BigIntLiteral;
-exports.DecimalLiteral = DecimalLiteral;
-exports.PipelineTopicExpression = PipelineTopicExpression;
-exports.PipelineBareFunction = PipelineBareFunction;
-exports.PipelinePrimaryTopicReference = PipelinePrimaryTopicReference;
-
-var t = require("@babel/types");
-
-var _jsesc = require("jsesc");
-
-function Identifier(node) {
-  this.exactSource(node.loc, () => {
-    this.word(node.name);
-  });
-}
-
-function ArgumentPlaceholder() {
-  this.token("?");
-}
-
-function RestElement(node) {
-  this.token("...");
-  this.print(node.argument, node);
-}
-
-function ObjectExpression(node) {
-  const props = node.properties;
-  this.token("{");
-  this.printInnerComments(node);
-
-  if (props.length) {
-    this.space();
-    this.printList(props, node, {
-      indent: true,
-      statement: true
-    });
-    this.space();
-  }
-
-  this.token("}");
-}
-
-function ObjectMethod(node) {
-  this.printJoin(node.decorators, node);
-
-  this._methodHead(node);
-
-  this.space();
-  this.print(node.body, node);
-}
-
-function ObjectProperty(node) {
-  this.printJoin(node.decorators, node);
-
-  if (node.computed) {
-    this.token("[");
-    this.print(node.key, node);
-    this.token("]");
-  } else {
-    if (t.isAssignmentPattern(node.value) && t.isIdentifier(node.key) && node.key.name === node.value.left.name) {
-      this.print(node.value, node);
-      return;
-    }
-
-    this.print(node.key, node);
-
-    if (node.shorthand && t.isIdentifier(node.key) && t.isIdentifier(node.value) && node.key.name === node.value.name) {
-      return;
-    }
-  }
-
-  this.token(":");
-  this.space();
-  this.print(node.value, node);
-}
-
-function ArrayExpression(node) {
-  const elems = node.elements;
-  const len = elems.length;
-  this.token("[");
-  this.printInnerComments(node);
-
-  for (let i = 0; i < elems.length; i++) {
-    const elem = elems[i];
-
-    if (elem) {
-      if (i > 0) this.space();
-      this.print(elem, node);
-      if (i < len - 1) this.token(",");
-    } else {
-      this.token(",");
-    }
-  }
-
-  this.token("]");
-}
-
-function RecordExpression(node) {
-  const props = node.properties;
-  let startToken;
-  let endToken;
-
-  if (this.format.recordAndTupleSyntaxType === "bar") {
-    startToken = "{|";
-    endToken = "|}";
-  } else if (this.format.recordAndTupleSyntaxType === "hash") {
-    startToken = "#{";
-    endToken = "}";
-  } else {
-    throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);
-  }
-
-  this.token(startToken);
-  this.printInnerComments(node);
-
-  if (props.length) {
-    this.space();
-    this.printList(props, node, {
-      indent: true,
-      statement: true
-    });
-    this.space();
-  }
-
-  this.token(endToken);
-}
-
-function TupleExpression(node) {
-  const elems = node.elements;
-  const len = elems.length;
-  let startToken;
-  let endToken;
-
-  if (this.format.recordAndTupleSyntaxType === "bar") {
-    startToken = "[|";
-    endToken = "|]";
-  } else if (this.format.recordAndTupleSyntaxType === "hash") {
-    startToken = "#[";
-    endToken = "]";
-  } else {
-    throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);
-  }
-
-  this.token(startToken);
-  this.printInnerComments(node);
-
-  for (let i = 0; i < elems.length; i++) {
-    const elem = elems[i];
-
-    if (elem) {
-      if (i > 0) this.space();
-      this.print(elem, node);
-      if (i < len - 1) this.token(",");
-    }
-  }
-
-  this.token(endToken);
-}
-
-function RegExpLiteral(node) {
-  this.word(`/${node.pattern}/${node.flags}`);
-}
-
-function BooleanLiteral(node) {
-  this.word(node.value ? "true" : "false");
-}
-
-function NullLiteral() {
-  this.word("null");
-}
-
-function NumericLiteral(node) {
-  const raw = this.getPossibleRaw(node);
-  const opts = this.format.jsescOption;
-  const value = node.value + "";
-
-  if (opts.numbers) {
-    this.number(_jsesc(node.value, opts));
-  } else if (raw == null) {
-    this.number(value);
-  } else if (this.format.minified) {
-    this.number(raw.length < value.length ? raw : value);
-  } else {
-    this.number(raw);
-  }
-}
-
-function StringLiteral(node) {
-  const raw = this.getPossibleRaw(node);
-
-  if (!this.format.minified && raw != null) {
-    this.token(raw);
-    return;
-  }
-
-  const val = _jsesc(node.value, Object.assign(this.format.jsescOption, this.format.jsonCompatibleStrings && {
-    json: true
-  }));
-
-  return this.token(val);
-}
-
-function BigIntLiteral(node) {
-  const raw = this.getPossibleRaw(node);
-
-  if (!this.format.minified && raw != null) {
-    this.word(raw);
-    return;
-  }
-
-  this.word(node.value + "n");
-}
-
-function DecimalLiteral(node) {
-  const raw = this.getPossibleRaw(node);
-
-  if (!this.format.minified && raw != null) {
-    this.word(raw);
-    return;
-  }
-
-  this.word(node.value + "m");
-}
-
-function PipelineTopicExpression(node) {
-  this.print(node.expression, node);
-}
-
-function PipelineBareFunction(node) {
-  this.print(node.callee, node);
-}
-
-function PipelinePrimaryTopicReference() {
-  this.token("#");
-}

+ 0 - 808
node_modules.bak/@babel/generator/lib/generators/typescript.js

@@ -1,808 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.TSTypeAnnotation = TSTypeAnnotation;
-exports.TSTypeParameterDeclaration = exports.TSTypeParameterInstantiation = TSTypeParameterInstantiation;
-exports.TSTypeParameter = TSTypeParameter;
-exports.TSParameterProperty = TSParameterProperty;
-exports.TSDeclareFunction = TSDeclareFunction;
-exports.TSDeclareMethod = TSDeclareMethod;
-exports.TSQualifiedName = TSQualifiedName;
-exports.TSCallSignatureDeclaration = TSCallSignatureDeclaration;
-exports.TSConstructSignatureDeclaration = TSConstructSignatureDeclaration;
-exports.TSPropertySignature = TSPropertySignature;
-exports.tsPrintPropertyOrMethodName = tsPrintPropertyOrMethodName;
-exports.TSMethodSignature = TSMethodSignature;
-exports.TSIndexSignature = TSIndexSignature;
-exports.TSAnyKeyword = TSAnyKeyword;
-exports.TSBigIntKeyword = TSBigIntKeyword;
-exports.TSUnknownKeyword = TSUnknownKeyword;
-exports.TSNumberKeyword = TSNumberKeyword;
-exports.TSObjectKeyword = TSObjectKeyword;
-exports.TSBooleanKeyword = TSBooleanKeyword;
-exports.TSStringKeyword = TSStringKeyword;
-exports.TSSymbolKeyword = TSSymbolKeyword;
-exports.TSVoidKeyword = TSVoidKeyword;
-exports.TSUndefinedKeyword = TSUndefinedKeyword;
-exports.TSNullKeyword = TSNullKeyword;
-exports.TSNeverKeyword = TSNeverKeyword;
-exports.TSIntrinsicKeyword = TSIntrinsicKeyword;
-exports.TSThisType = TSThisType;
-exports.TSFunctionType = TSFunctionType;
-exports.TSConstructorType = TSConstructorType;
-exports.tsPrintFunctionOrConstructorType = tsPrintFunctionOrConstructorType;
-exports.TSTypeReference = TSTypeReference;
-exports.TSTypePredicate = TSTypePredicate;
-exports.TSTypeQuery = TSTypeQuery;
-exports.TSTypeLiteral = TSTypeLiteral;
-exports.tsPrintTypeLiteralOrInterfaceBody = tsPrintTypeLiteralOrInterfaceBody;
-exports.tsPrintBraced = tsPrintBraced;
-exports.TSArrayType = TSArrayType;
-exports.TSTupleType = TSTupleType;
-exports.TSOptionalType = TSOptionalType;
-exports.TSRestType = TSRestType;
-exports.TSNamedTupleMember = TSNamedTupleMember;
-exports.TSUnionType = TSUnionType;
-exports.TSIntersectionType = TSIntersectionType;
-exports.tsPrintUnionOrIntersectionType = tsPrintUnionOrIntersectionType;
-exports.TSConditionalType = TSConditionalType;
-exports.TSInferType = TSInferType;
-exports.TSParenthesizedType = TSParenthesizedType;
-exports.TSTypeOperator = TSTypeOperator;
-exports.TSIndexedAccessType = TSIndexedAccessType;
-exports.TSMappedType = TSMappedType;
-exports.TSLiteralType = TSLiteralType;
-exports.TSExpressionWithTypeArguments = TSExpressionWithTypeArguments;
-exports.TSInterfaceDeclaration = TSInterfaceDeclaration;
-exports.TSInterfaceBody = TSInterfaceBody;
-exports.TSTypeAliasDeclaration = TSTypeAliasDeclaration;
-exports.TSAsExpression = TSAsExpression;
-exports.TSTypeAssertion = TSTypeAssertion;
-exports.TSEnumDeclaration = TSEnumDeclaration;
-exports.TSEnumMember = TSEnumMember;
-exports.TSModuleDeclaration = TSModuleDeclaration;
-exports.TSModuleBlock = TSModuleBlock;
-exports.TSImportType = TSImportType;
-exports.TSImportEqualsDeclaration = TSImportEqualsDeclaration;
-exports.TSExternalModuleReference = TSExternalModuleReference;
-exports.TSNonNullExpression = TSNonNullExpression;
-exports.TSExportAssignment = TSExportAssignment;
-exports.TSNamespaceExportDeclaration = TSNamespaceExportDeclaration;
-exports.tsPrintSignatureDeclarationBase = tsPrintSignatureDeclarationBase;
-exports.tsPrintClassMemberModifiers = tsPrintClassMemberModifiers;
-
-var t = require("@babel/types");
-
-function TSTypeAnnotation(node) {
-  this.token(":");
-  this.space();
-  if (node.optional) this.token("?");
-  this.print(node.typeAnnotation, node);
-}
-
-function TSTypeParameterInstantiation(node) {
-  this.token("<");
-  this.printList(node.params, node, {});
-  this.token(">");
-}
-
-function TSTypeParameter(node) {
-  this.word(node.name);
-
-  if (node.constraint) {
-    this.space();
-    this.word("extends");
-    this.space();
-    this.print(node.constraint, node);
-  }
-
-  if (node.default) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(node.default, node);
-  }
-}
-
-function TSParameterProperty(node) {
-  if (node.accessibility) {
-    this.word(node.accessibility);
-    this.space();
-  }
-
-  if (node.readonly) {
-    this.word("readonly");
-    this.space();
-  }
-
-  this._param(node.parameter);
-}
-
-function TSDeclareFunction(node) {
-  if (node.declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  this._functionHead(node);
-
-  this.token(";");
-}
-
-function TSDeclareMethod(node) {
-  this._classMethodHead(node);
-
-  this.token(";");
-}
-
-function TSQualifiedName(node) {
-  this.print(node.left, node);
-  this.token(".");
-  this.print(node.right, node);
-}
-
-function TSCallSignatureDeclaration(node) {
-  this.tsPrintSignatureDeclarationBase(node);
-  this.token(";");
-}
-
-function TSConstructSignatureDeclaration(node) {
-  this.word("new");
-  this.space();
-  this.tsPrintSignatureDeclarationBase(node);
-  this.token(";");
-}
-
-function TSPropertySignature(node) {
-  const {
-    readonly,
-    initializer
-  } = node;
-
-  if (readonly) {
-    this.word("readonly");
-    this.space();
-  }
-
-  this.tsPrintPropertyOrMethodName(node);
-  this.print(node.typeAnnotation, node);
-
-  if (initializer) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(initializer, node);
-  }
-
-  this.token(";");
-}
-
-function tsPrintPropertyOrMethodName(node) {
-  if (node.computed) {
-    this.token("[");
-  }
-
-  this.print(node.key, node);
-
-  if (node.computed) {
-    this.token("]");
-  }
-
-  if (node.optional) {
-    this.token("?");
-  }
-}
-
-function TSMethodSignature(node) {
-  const {
-    kind
-  } = node;
-
-  if (kind === "set" || kind === "get") {
-    this.word(kind);
-    this.space();
-  }
-
-  this.tsPrintPropertyOrMethodName(node);
-  this.tsPrintSignatureDeclarationBase(node);
-  this.token(";");
-}
-
-function TSIndexSignature(node) {
-  const {
-    readonly,
-    static: isStatic
-  } = node;
-
-  if (isStatic) {
-    this.word("static");
-    this.space();
-  }
-
-  if (readonly) {
-    this.word("readonly");
-    this.space();
-  }
-
-  this.token("[");
-
-  this._parameters(node.parameters, node);
-
-  this.token("]");
-  this.print(node.typeAnnotation, node);
-  this.token(";");
-}
-
-function TSAnyKeyword() {
-  this.word("any");
-}
-
-function TSBigIntKeyword() {
-  this.word("bigint");
-}
-
-function TSUnknownKeyword() {
-  this.word("unknown");
-}
-
-function TSNumberKeyword() {
-  this.word("number");
-}
-
-function TSObjectKeyword() {
-  this.word("object");
-}
-
-function TSBooleanKeyword() {
-  this.word("boolean");
-}
-
-function TSStringKeyword() {
-  this.word("string");
-}
-
-function TSSymbolKeyword() {
-  this.word("symbol");
-}
-
-function TSVoidKeyword() {
-  this.word("void");
-}
-
-function TSUndefinedKeyword() {
-  this.word("undefined");
-}
-
-function TSNullKeyword() {
-  this.word("null");
-}
-
-function TSNeverKeyword() {
-  this.word("never");
-}
-
-function TSIntrinsicKeyword() {
-  this.word("intrinsic");
-}
-
-function TSThisType() {
-  this.word("this");
-}
-
-function TSFunctionType(node) {
-  this.tsPrintFunctionOrConstructorType(node);
-}
-
-function TSConstructorType(node) {
-  if (node.abstract) {
-    this.word("abstract");
-    this.space();
-  }
-
-  this.word("new");
-  this.space();
-  this.tsPrintFunctionOrConstructorType(node);
-}
-
-function tsPrintFunctionOrConstructorType(node) {
-  const {
-    typeParameters,
-    parameters
-  } = node;
-  this.print(typeParameters, node);
-  this.token("(");
-
-  this._parameters(parameters, node);
-
-  this.token(")");
-  this.space();
-  this.token("=>");
-  this.space();
-  this.print(node.typeAnnotation.typeAnnotation, node);
-}
-
-function TSTypeReference(node) {
-  this.print(node.typeName, node);
-  this.print(node.typeParameters, node);
-}
-
-function TSTypePredicate(node) {
-  if (node.asserts) {
-    this.word("asserts");
-    this.space();
-  }
-
-  this.print(node.parameterName);
-
-  if (node.typeAnnotation) {
-    this.space();
-    this.word("is");
-    this.space();
-    this.print(node.typeAnnotation.typeAnnotation);
-  }
-}
-
-function TSTypeQuery(node) {
-  this.word("typeof");
-  this.space();
-  this.print(node.exprName);
-}
-
-function TSTypeLiteral(node) {
-  this.tsPrintTypeLiteralOrInterfaceBody(node.members, node);
-}
-
-function tsPrintTypeLiteralOrInterfaceBody(members, node) {
-  this.tsPrintBraced(members, node);
-}
-
-function tsPrintBraced(members, node) {
-  this.token("{");
-
-  if (members.length) {
-    this.indent();
-    this.newline();
-
-    for (const member of members) {
-      this.print(member, node);
-      this.newline();
-    }
-
-    this.dedent();
-    this.rightBrace();
-  } else {
-    this.token("}");
-  }
-}
-
-function TSArrayType(node) {
-  this.print(node.elementType, node);
-  this.token("[]");
-}
-
-function TSTupleType(node) {
-  this.token("[");
-  this.printList(node.elementTypes, node);
-  this.token("]");
-}
-
-function TSOptionalType(node) {
-  this.print(node.typeAnnotation, node);
-  this.token("?");
-}
-
-function TSRestType(node) {
-  this.token("...");
-  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, "|");
-}
-
-function TSIntersectionType(node) {
-  this.tsPrintUnionOrIntersectionType(node, "&");
-}
-
-function tsPrintUnionOrIntersectionType(node, sep) {
-  this.printJoin(node.types, node, {
-    separator() {
-      this.space();
-      this.token(sep);
-      this.space();
-    }
-
-  });
-}
-
-function TSConditionalType(node) {
-  this.print(node.checkType);
-  this.space();
-  this.word("extends");
-  this.space();
-  this.print(node.extendsType);
-  this.space();
-  this.token("?");
-  this.space();
-  this.print(node.trueType);
-  this.space();
-  this.token(":");
-  this.space();
-  this.print(node.falseType);
-}
-
-function TSInferType(node) {
-  this.token("infer");
-  this.space();
-  this.print(node.typeParameter);
-}
-
-function TSParenthesizedType(node) {
-  this.token("(");
-  this.print(node.typeAnnotation, node);
-  this.token(")");
-}
-
-function TSTypeOperator(node) {
-  this.word(node.operator);
-  this.space();
-  this.print(node.typeAnnotation, node);
-}
-
-function TSIndexedAccessType(node) {
-  this.print(node.objectType, node);
-  this.token("[");
-  this.print(node.indexType, node);
-  this.token("]");
-}
-
-function TSMappedType(node) {
-  const {
-    nameType,
-    optional,
-    readonly,
-    typeParameter
-  } = node;
-  this.token("{");
-  this.space();
-
-  if (readonly) {
-    tokenIfPlusMinus(this, readonly);
-    this.word("readonly");
-    this.space();
-  }
-
-  this.token("[");
-  this.word(typeParameter.name);
-  this.space();
-  this.word("in");
-  this.space();
-  this.print(typeParameter.constraint, typeParameter);
-
-  if (nameType) {
-    this.space();
-    this.word("as");
-    this.space();
-    this.print(nameType, node);
-  }
-
-  this.token("]");
-
-  if (optional) {
-    tokenIfPlusMinus(this, optional);
-    this.token("?");
-  }
-
-  this.token(":");
-  this.space();
-  this.print(node.typeAnnotation, node);
-  this.space();
-  this.token("}");
-}
-
-function tokenIfPlusMinus(self, tok) {
-  if (tok !== true) {
-    self.token(tok);
-  }
-}
-
-function TSLiteralType(node) {
-  this.print(node.literal, node);
-}
-
-function TSExpressionWithTypeArguments(node) {
-  this.print(node.expression, node);
-  this.print(node.typeParameters, node);
-}
-
-function TSInterfaceDeclaration(node) {
-  const {
-    declare,
-    id,
-    typeParameters,
-    extends: extendz,
-    body
-  } = node;
-
-  if (declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word("interface");
-  this.space();
-  this.print(id, node);
-  this.print(typeParameters, node);
-
-  if (extendz != null && extendz.length) {
-    this.space();
-    this.word("extends");
-    this.space();
-    this.printList(extendz, node);
-  }
-
-  this.space();
-  this.print(body, node);
-}
-
-function TSInterfaceBody(node) {
-  this.tsPrintTypeLiteralOrInterfaceBody(node.body, node);
-}
-
-function TSTypeAliasDeclaration(node) {
-  const {
-    declare,
-    id,
-    typeParameters,
-    typeAnnotation
-  } = node;
-
-  if (declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  this.word("type");
-  this.space();
-  this.print(id, node);
-  this.print(typeParameters, node);
-  this.space();
-  this.token("=");
-  this.space();
-  this.print(typeAnnotation, node);
-  this.token(";");
-}
-
-function TSAsExpression(node) {
-  const {
-    expression,
-    typeAnnotation
-  } = node;
-  this.print(expression, node);
-  this.space();
-  this.word("as");
-  this.space();
-  this.print(typeAnnotation, node);
-}
-
-function TSTypeAssertion(node) {
-  const {
-    typeAnnotation,
-    expression
-  } = node;
-  this.token("<");
-  this.print(typeAnnotation, node);
-  this.token(">");
-  this.space();
-  this.print(expression, node);
-}
-
-function TSEnumDeclaration(node) {
-  const {
-    declare,
-    const: isConst,
-    id,
-    members
-  } = node;
-
-  if (declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  if (isConst) {
-    this.word("const");
-    this.space();
-  }
-
-  this.word("enum");
-  this.space();
-  this.print(id, node);
-  this.space();
-  this.tsPrintBraced(members, node);
-}
-
-function TSEnumMember(node) {
-  const {
-    id,
-    initializer
-  } = node;
-  this.print(id, node);
-
-  if (initializer) {
-    this.space();
-    this.token("=");
-    this.space();
-    this.print(initializer, node);
-  }
-
-  this.token(",");
-}
-
-function TSModuleDeclaration(node) {
-  const {
-    declare,
-    id
-  } = node;
-
-  if (declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  if (!node.global) {
-    this.word(id.type === "Identifier" ? "namespace" : "module");
-    this.space();
-  }
-
-  this.print(id, node);
-
-  if (!node.body) {
-    this.token(";");
-    return;
-  }
-
-  let body = node.body;
-
-  while (body.type === "TSModuleDeclaration") {
-    this.token(".");
-    this.print(body.id, body);
-    body = body.body;
-  }
-
-  this.space();
-  this.print(body, node);
-}
-
-function TSModuleBlock(node) {
-  this.tsPrintBraced(node.body, node);
-}
-
-function TSImportType(node) {
-  const {
-    argument,
-    qualifier,
-    typeParameters
-  } = node;
-  this.word("import");
-  this.token("(");
-  this.print(argument, node);
-  this.token(")");
-
-  if (qualifier) {
-    this.token(".");
-    this.print(qualifier, node);
-  }
-
-  if (typeParameters) {
-    this.print(typeParameters, node);
-  }
-}
-
-function TSImportEqualsDeclaration(node) {
-  const {
-    isExport,
-    id,
-    moduleReference
-  } = node;
-
-  if (isExport) {
-    this.word("export");
-    this.space();
-  }
-
-  this.word("import");
-  this.space();
-  this.print(id, node);
-  this.space();
-  this.token("=");
-  this.space();
-  this.print(moduleReference, node);
-  this.token(";");
-}
-
-function TSExternalModuleReference(node) {
-  this.token("require(");
-  this.print(node.expression, node);
-  this.token(")");
-}
-
-function TSNonNullExpression(node) {
-  this.print(node.expression, node);
-  this.token("!");
-}
-
-function TSExportAssignment(node) {
-  this.word("export");
-  this.space();
-  this.token("=");
-  this.space();
-  this.print(node.expression, node);
-  this.token(";");
-}
-
-function TSNamespaceExportDeclaration(node) {
-  this.word("export");
-  this.space();
-  this.word("as");
-  this.space();
-  this.word("namespace");
-  this.space();
-  this.print(node.id, node);
-}
-
-function tsPrintSignatureDeclarationBase(node) {
-  const {
-    typeParameters,
-    parameters
-  } = node;
-  this.print(typeParameters, node);
-  this.token("(");
-
-  this._parameters(parameters, node);
-
-  this.token(")");
-  this.print(node.typeAnnotation, node);
-}
-
-function tsPrintClassMemberModifiers(node, isField) {
-  if (isField && node.declare) {
-    this.word("declare");
-    this.space();
-  }
-
-  if (node.accessibility) {
-    this.word(node.accessibility);
-    this.space();
-  }
-
-  if (node.static) {
-    this.word("static");
-    this.space();
-  }
-
-  if (node.override) {
-    this.word("override");
-    this.space();
-  }
-
-  if (node.abstract) {
-    this.word("abstract");
-    this.space();
-  }
-
-  if (isField && node.readonly) {
-    this.word("readonly");
-    this.space();
-  }
-}

+ 0 - 96
node_modules.bak/@babel/generator/lib/index.js

@@ -1,96 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = generate;
-exports.CodeGenerator = void 0;
-
-var _sourceMap = require("./source-map");
-
-var _printer = require("./printer");
-
-class Generator extends _printer.default {
-  constructor(ast, opts = {}, code) {
-    const format = normalizeOptions(code, opts);
-    const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null;
-    super(format, map);
-    this.ast = void 0;
-    this.ast = ast;
-  }
-
-  generate() {
-    return super.generate(this.ast);
-  }
-
-}
-
-function normalizeOptions(code, opts) {
-  const format = {
-    auxiliaryCommentBefore: opts.auxiliaryCommentBefore,
-    auxiliaryCommentAfter: opts.auxiliaryCommentAfter,
-    shouldPrintComment: opts.shouldPrintComment,
-    retainLines: opts.retainLines,
-    retainFunctionParens: opts.retainFunctionParens,
-    comments: opts.comments == null || opts.comments,
-    compact: opts.compact,
-    minified: opts.minified,
-    concise: opts.concise,
-    indent: {
-      adjustMultilineComment: true,
-      style: "  ",
-      base: 0
-    },
-    decoratorsBeforeExport: !!opts.decoratorsBeforeExport,
-    jsescOption: Object.assign({
-      quotes: "double",
-      wrap: true,
-      minimal: false
-    }, opts.jsescOption),
-    recordAndTupleSyntaxType: opts.recordAndTupleSyntaxType
-  };
-  {
-    format.jsonCompatibleStrings = opts.jsonCompatibleStrings;
-  }
-
-  if (format.minified) {
-    format.compact = true;
-
-    format.shouldPrintComment = format.shouldPrintComment || (() => format.comments);
-  } else {
-    format.shouldPrintComment = format.shouldPrintComment || (value => format.comments || value.indexOf("@license") >= 0 || value.indexOf("@preserve") >= 0);
-  }
-
-  if (format.compact === "auto") {
-    format.compact = code.length > 500000;
-
-    if (format.compact) {
-      console.error("[BABEL] Note: The code generator has deoptimised the styling of " + `${opts.filename} as it exceeds the max of ${"500KB"}.`);
-    }
-  }
-
-  if (format.compact) {
-    format.indent.adjustMultilineComment = false;
-  }
-
-  return format;
-}
-
-class CodeGenerator {
-  constructor(ast, opts, code) {
-    this._generator = void 0;
-    this._generator = new Generator(ast, opts, code);
-  }
-
-  generate() {
-    return this._generator.generate();
-  }
-
-}
-
-exports.CodeGenerator = CodeGenerator;
-
-function generate(ast, opts, code) {
-  const gen = new Generator(ast, opts, code);
-  return gen.generate();
-}

+ 0 - 103
node_modules.bak/@babel/generator/lib/node/index.js

@@ -1,103 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.needsWhitespace = needsWhitespace;
-exports.needsWhitespaceBefore = needsWhitespaceBefore;
-exports.needsWhitespaceAfter = needsWhitespaceAfter;
-exports.needsParens = needsParens;
-
-var whitespace = require("./whitespace");
-
-var parens = require("./parentheses");
-
-var t = require("@babel/types");
-
-function expandAliases(obj) {
-  const newObj = {};
-
-  function add(type, func) {
-    const fn = newObj[type];
-    newObj[type] = fn ? function (node, parent, stack) {
-      const result = fn(node, parent, stack);
-      return result == null ? func(node, parent, stack) : result;
-    } : func;
-  }
-
-  for (const type of Object.keys(obj)) {
-    const aliases = t.FLIPPED_ALIAS_KEYS[type];
-
-    if (aliases) {
-      for (const alias of aliases) {
-        add(alias, obj[type]);
-      }
-    } else {
-      add(type, obj[type]);
-    }
-  }
-
-  return newObj;
-}
-
-const expandedParens = expandAliases(parens);
-const expandedWhitespaceNodes = expandAliases(whitespace.nodes);
-const expandedWhitespaceList = expandAliases(whitespace.list);
-
-function find(obj, node, parent, printStack) {
-  const fn = obj[node.type];
-  return fn ? fn(node, parent, printStack) : null;
-}
-
-function isOrHasCallExpression(node) {
-  if (t.isCallExpression(node)) {
-    return true;
-  }
-
-  return t.isMemberExpression(node) && isOrHasCallExpression(node.object);
-}
-
-function needsWhitespace(node, parent, type) {
-  if (!node) return 0;
-
-  if (t.isExpressionStatement(node)) {
-    node = node.expression;
-  }
-
-  let linesInfo = find(expandedWhitespaceNodes, node, parent);
-
-  if (!linesInfo) {
-    const items = find(expandedWhitespaceList, node, parent);
-
-    if (items) {
-      for (let i = 0; i < items.length; i++) {
-        linesInfo = needsWhitespace(items[i], node, type);
-        if (linesInfo) break;
-      }
-    }
-  }
-
-  if (typeof linesInfo === "object" && linesInfo !== null) {
-    return linesInfo[type] || 0;
-  }
-
-  return 0;
-}
-
-function needsWhitespaceBefore(node, parent) {
-  return needsWhitespace(node, parent, "before");
-}
-
-function needsWhitespaceAfter(node, parent) {
-  return needsWhitespace(node, parent, "after");
-}
-
-function needsParens(node, parent, printStack) {
-  if (!parent) return false;
-
-  if (t.isNewExpression(parent) && parent.callee === node) {
-    if (isOrHasCallExpression(node)) return true;
-  }
-
-  return find(expandedParens, node, parent, printStack);
-}

+ 0 - 293
node_modules.bak/@babel/generator/lib/node/parentheses.js

@@ -1,293 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.NullableTypeAnnotation = NullableTypeAnnotation;
-exports.FunctionTypeAnnotation = FunctionTypeAnnotation;
-exports.UpdateExpression = UpdateExpression;
-exports.ObjectExpression = ObjectExpression;
-exports.DoExpression = DoExpression;
-exports.Binary = Binary;
-exports.IntersectionTypeAnnotation = exports.UnionTypeAnnotation = UnionTypeAnnotation;
-exports.OptionalIndexedAccessType = OptionalIndexedAccessType;
-exports.TSAsExpression = TSAsExpression;
-exports.TSTypeAssertion = TSTypeAssertion;
-exports.TSIntersectionType = exports.TSUnionType = TSUnionType;
-exports.TSInferType = TSInferType;
-exports.BinaryExpression = BinaryExpression;
-exports.SequenceExpression = SequenceExpression;
-exports.AwaitExpression = exports.YieldExpression = YieldExpression;
-exports.ClassExpression = ClassExpression;
-exports.UnaryLike = UnaryLike;
-exports.FunctionExpression = FunctionExpression;
-exports.ArrowFunctionExpression = ArrowFunctionExpression;
-exports.ConditionalExpression = ConditionalExpression;
-exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemberExpression;
-exports.AssignmentExpression = AssignmentExpression;
-exports.LogicalExpression = LogicalExpression;
-exports.Identifier = Identifier;
-
-var t = require("@babel/types");
-
-const PRECEDENCE = {
-  "||": 0,
-  "??": 0,
-  "&&": 1,
-  "|": 2,
-  "^": 3,
-  "&": 4,
-  "==": 5,
-  "===": 5,
-  "!=": 5,
-  "!==": 5,
-  "<": 6,
-  ">": 6,
-  "<=": 6,
-  ">=": 6,
-  in: 6,
-  instanceof: 6,
-  ">>": 7,
-  "<<": 7,
-  ">>>": 7,
-  "+": 8,
-  "-": 8,
-  "*": 9,
-  "/": 9,
-  "%": 9,
-  "**": 10
-};
-
-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);
-}
-
-function FunctionTypeAnnotation(node, parent, printStack) {
-  return t.isUnionTypeAnnotation(parent) || t.isIntersectionTypeAnnotation(parent) || t.isArrayTypeAnnotation(parent) || t.isTypeAnnotation(parent) && t.isArrowFunctionExpression(printStack[printStack.length - 3]);
-}
-
-function UpdateExpression(node, parent) {
-  return hasPostfixPart(node, parent) || isClassExtendsClause(node, parent);
-}
-
-function ObjectExpression(node, parent, printStack) {
-  return isFirstInContext(printStack, {
-    expressionStatement: true,
-    arrowBody: true
-  });
-}
-
-function DoExpression(node, parent, printStack) {
-  return !node.async && isFirstInContext(printStack, {
-    expressionStatement: true
-  });
-}
-
-function Binary(node, parent) {
-  if (node.operator === "**" && t.isBinaryExpression(parent, {
-    operator: "**"
-  })) {
-    return parent.left === node;
-  }
-
-  if (isClassExtendsClause(node, parent)) {
-    return true;
-  }
-
-  if (hasPostfixPart(node, parent) || t.isUnaryLike(parent) || t.isAwaitExpression(parent)) {
-    return true;
-  }
-
-  if (t.isBinary(parent)) {
-    const parentOp = parent.operator;
-    const parentPos = PRECEDENCE[parentOp];
-    const nodeOp = node.operator;
-    const nodePos = PRECEDENCE[nodeOp];
-
-    if (parentPos === nodePos && parent.right === node && !t.isLogicalExpression(parent) || parentPos > nodePos) {
-      return true;
-    }
-  }
-}
-
-function UnionTypeAnnotation(node, parent) {
-  return t.isArrayTypeAnnotation(parent) || t.isNullableTypeAnnotation(parent) || t.isIntersectionTypeAnnotation(parent) || t.isUnionTypeAnnotation(parent);
-}
-
-function OptionalIndexedAccessType(node, parent) {
-  return t.isIndexedAccessType(parent, {
-    objectType: node
-  });
-}
-
-function TSAsExpression() {
-  return true;
-}
-
-function TSTypeAssertion() {
-  return true;
-}
-
-function TSUnionType(node, parent) {
-  return t.isTSArrayType(parent) || t.isTSOptionalType(parent) || t.isTSIntersectionType(parent) || t.isTSUnionType(parent) || t.isTSRestType(parent);
-}
-
-function TSInferType(node, parent) {
-  return t.isTSArrayType(parent) || t.isTSOptionalType(parent);
-}
-
-function BinaryExpression(node, parent) {
-  return node.operator === "in" && (t.isVariableDeclarator(parent) || t.isFor(parent));
-}
-
-function SequenceExpression(node, parent) {
-  if (t.isForStatement(parent) || t.isThrowStatement(parent) || t.isReturnStatement(parent) || t.isIfStatement(parent) && parent.test === node || t.isWhileStatement(parent) && parent.test === node || t.isForInStatement(parent) && parent.right === node || t.isSwitchStatement(parent) && parent.discriminant === node || t.isExpressionStatement(parent) && parent.expression === node) {
-    return false;
-  }
-
-  return true;
-}
-
-function YieldExpression(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) {
-  return isFirstInContext(printStack, {
-    expressionStatement: true,
-    exportDefault: true
-  });
-}
-
-function UnaryLike(node, parent) {
-  return hasPostfixPart(node, parent) || t.isBinaryExpression(parent, {
-    operator: "**",
-    left: node
-  }) || isClassExtendsClause(node, parent);
-}
-
-function FunctionExpression(node, parent, printStack) {
-  return isFirstInContext(printStack, {
-    expressionStatement: true,
-    exportDefault: true
-  });
-}
-
-function ArrowFunctionExpression(node, parent) {
-  return t.isExportDeclaration(parent) || ConditionalExpression(node, parent);
-}
-
-function ConditionalExpression(node, parent) {
-  if (t.isUnaryLike(parent) || t.isBinary(parent) || t.isConditionalExpression(parent, {
-    test: node
-  }) || t.isAwaitExpression(parent) || t.isTSTypeAssertion(parent) || t.isTSAsExpression(parent)) {
-    return true;
-  }
-
-  return UnaryLike(node, parent);
-}
-
-function OptionalMemberExpression(node, parent) {
-  return t.isCallExpression(parent, {
-    callee: node
-  }) || t.isMemberExpression(parent, {
-    object: node
-  });
-}
-
-function AssignmentExpression(node, parent) {
-  if (t.isObjectPattern(node.left)) {
-    return true;
-  } else {
-    return ConditionalExpression(node, parent);
-  }
-}
-
-function LogicalExpression(node, parent) {
-  switch (node.operator) {
-    case "||":
-      if (!t.isLogicalExpression(parent)) return false;
-      return parent.operator === "??" || parent.operator === "&&";
-
-    case "&&":
-      return t.isLogicalExpression(parent, {
-        operator: "??"
-      });
-
-    case "??":
-      return t.isLogicalExpression(parent) && parent.operator !== "??";
-  }
-}
-
-function Identifier(node, parent, printStack) {
-  if (node.name === "let") {
-    const isFollowedByBracket = t.isMemberExpression(parent, {
-      object: node,
-      computed: true
-    }) || t.isOptionalMemberExpression(parent, {
-      object: node,
-      computed: true,
-      optional: false
-    });
-    return isFirstInContext(printStack, {
-      expressionStatement: isFollowedByBracket,
-      forHead: isFollowedByBracket,
-      forInHead: isFollowedByBracket,
-      forOfHead: true
-    });
-  }
-
-  return node.name === "async" && t.isForOfStatement(parent) && node === parent.left;
-}
-
-function isFirstInContext(printStack, {
-  expressionStatement = false,
-  arrowBody = false,
-  exportDefault = false,
-  forHead = false,
-  forInHead = false,
-  forOfHead = false
-}) {
-  let i = printStack.length - 1;
-  let node = printStack[i];
-  i--;
-  let parent = printStack[i];
-
-  while (i >= 0) {
-    if (expressionStatement && t.isExpressionStatement(parent, {
-      expression: node
-    }) || exportDefault && t.isExportDefaultDeclaration(parent, {
-      declaration: node
-    }) || arrowBody && t.isArrowFunctionExpression(parent, {
-      body: node
-    }) || forHead && t.isForStatement(parent, {
-      init: node
-    }) || forInHead && t.isForInStatement(parent, {
-      left: node
-    }) || forOfHead && t.isForOfStatement(parent, {
-      left: node
-    })) {
-      return true;
-    }
-
-    if (hasPostfixPart(node, parent) && !t.isNewExpression(parent) || t.isSequenceExpression(parent) && parent.expressions[0] === node || t.isConditional(parent, {
-      test: node
-    }) || t.isBinary(parent, {
-      left: node
-    }) || t.isAssignmentExpression(parent, {
-      left: node
-    })) {
-      node = parent;
-      i--;
-      parent = printStack[i];
-    } else {
-      return false;
-    }
-  }
-
-  return false;
-}

+ 0 - 197
node_modules.bak/@babel/generator/lib/node/whitespace.js

@@ -1,197 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.list = exports.nodes = void 0;
-
-var t = require("@babel/types");
-
-function crawl(node, state = {}) {
-  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) || t.isOptionalCallExpression(node)) {
-    state.hasCall = true;
-    crawl(node.callee, state);
-  } else if (t.isFunction(node)) {
-    state.hasFunction = true;
-  } else if (t.isIdentifier(node)) {
-    state.hasHelper = state.hasHelper || isHelper(node.callee);
-  }
-
-  return state;
-}
-
-function isHelper(node) {
-  if (t.isMemberExpression(node)) {
-    return isHelper(node.object) || isHelper(node.property);
-  } else if (t.isIdentifier(node)) {
-    return node.name === "require" || node.name[0] === "_";
-  } else if (t.isCallExpression(node)) {
-    return isHelper(node.callee);
-  } else if (t.isBinary(node) || t.isAssignmentExpression(node)) {
-    return t.isIdentifier(node.left) && isHelper(node.left) || isHelper(node.right);
-  } else {
-    return false;
-  }
-}
-
-function isType(node) {
-  return t.isLiteral(node) || t.isObjectExpression(node) || t.isArrayExpression(node) || t.isIdentifier(node) || t.isMemberExpression(node);
-}
-
-const nodes = {
-  AssignmentExpression(node) {
-    const state = crawl(node.right);
-
-    if (state.hasCall && state.hasHelper || state.hasFunction) {
-      return {
-        before: state.hasFunction,
-        after: true
-      };
-    }
-  },
-
-  SwitchCase(node, parent) {
-    return {
-      before: !!node.consequent.length || parent.cases[0] === node,
-      after: !node.consequent.length && parent.cases[parent.cases.length - 1] === node
-    };
-  },
-
-  LogicalExpression(node) {
-    if (t.isFunction(node.left) || t.isFunction(node.right)) {
-      return {
-        after: true
-      };
-    }
-  },
-
-  Literal(node) {
-    if (t.isStringLiteral(node) && node.value === "use strict") {
-      return {
-        after: true
-      };
-    }
-  },
-
-  CallExpression(node) {
-    if (t.isFunction(node.callee) || isHelper(node)) {
-      return {
-        before: true,
-        after: true
-      };
-    }
-  },
-
-  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];
-      let enabled = isHelper(declar.id) && !isType(declar.init);
-
-      if (!enabled) {
-        const state = crawl(declar.init);
-        enabled = isHelper(declar.init) && state.hasCall || state.hasFunction;
-      }
-
-      if (enabled) {
-        return {
-          before: true,
-          after: true
-        };
-      }
-    }
-  },
-
-  IfStatement(node) {
-    if (t.isBlockStatement(node.consequent)) {
-      return {
-        before: true,
-        after: true
-      };
-    }
-  }
-
-};
-exports.nodes = nodes;
-
-nodes.ObjectProperty = nodes.ObjectTypeProperty = nodes.ObjectMethod = function (node, parent) {
-  if (parent.properties[0] === node) {
-    return {
-      before: true
-    };
-  }
-};
-
-nodes.ObjectTypeCallProperty = function (node, parent) {
-  var _parent$properties;
-
-  if (parent.callProperties[0] === node && !((_parent$properties = parent.properties) != null && _parent$properties.length)) {
-    return {
-      before: true
-    };
-  }
-};
-
-nodes.ObjectTypeIndexer = function (node, parent) {
-  var _parent$properties2, _parent$callPropertie;
-
-  if (parent.indexers[0] === node && !((_parent$properties2 = parent.properties) != null && _parent$properties2.length) && !((_parent$callPropertie = parent.callProperties) != null && _parent$callPropertie.length)) {
-    return {
-      before: true
-    };
-  }
-};
-
-nodes.ObjectTypeInternalSlot = function (node, parent) {
-  var _parent$properties3, _parent$callPropertie2, _parent$indexers;
-
-  if (parent.internalSlots[0] === node && !((_parent$properties3 = parent.properties) != null && _parent$properties3.length) && !((_parent$callPropertie2 = parent.callProperties) != null && _parent$callPropertie2.length) && !((_parent$indexers = parent.indexers) != null && _parent$indexers.length)) {
-    return {
-      before: true
-    };
-  }
-};
-
-const list = {
-  VariableDeclaration(node) {
-    return node.declarations.map(decl => decl.init);
-  },
-
-  ArrayExpression(node) {
-    return node.elements;
-  },
-
-  ObjectExpression(node) {
-    return node.properties;
-  }
-
-};
-exports.list = list;
-[["Function", true], ["Class", true], ["Loop", true], ["LabeledStatement", true], ["SwitchStatement", true], ["TryStatement", true]].forEach(function ([type, amounts]) {
-  if (typeof amounts === "boolean") {
-    amounts = {
-      after: amounts,
-      before: amounts
-    };
-  }
-
-  [type].concat(t.FLIPPED_ALIAS_KEYS[type] || []).forEach(function (type) {
-    nodes[type] = function () {
-      return amounts;
-    };
-  });
-});

+ 0 - 505
node_modules.bak/@babel/generator/lib/printer.js

@@ -1,505 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-
-var _buffer = require("./buffer");
-
-var n = require("./node");
-
-var t = require("@babel/types");
-
-var generatorFunctions = require("./generators");
-
-const SCIENTIFIC_NOTATION = /e/i;
-const ZERO_DECIMAL_INTEGER = /\.0+$/;
-const NON_DECIMAL_LITERAL = /^0[box]/;
-const PURE_ANNOTATION_RE = /^\s*[@#]__PURE__\s*$/;
-
-class Printer {
-  constructor(format, map) {
-    this.inForStatementInitCounter = 0;
-    this._printStack = [];
-    this._indent = 0;
-    this._insideAux = false;
-    this._parenPushNewlineState = null;
-    this._noLineTerminator = false;
-    this._printAuxAfterOnNextUserNode = false;
-    this._printedComments = new WeakSet();
-    this._endsWithInteger = false;
-    this._endsWithWord = false;
-    this.format = format;
-    this._buf = new _buffer.default(map);
-  }
-
-  generate(ast) {
-    this.print(ast);
-
-    this._maybeAddAuxComment();
-
-    return this._buf.get();
-  }
-
-  indent() {
-    if (this.format.compact || this.format.concise) return;
-    this._indent++;
-  }
-
-  dedent() {
-    if (this.format.compact || this.format.concise) return;
-    this._indent--;
-  }
-
-  semicolon(force = false) {
-    this._maybeAddAuxComment();
-
-    this._append(";", !force);
-  }
-
-  rightBrace() {
-    if (this.format.minified) {
-      this._buf.removeLastSemicolon();
-    }
-
-    this.token("}");
-  }
-
-  space(force = false) {
-    if (this.format.compact) return;
-
-    if (this._buf.hasContent() && !this.endsWith(" ") && !this.endsWith("\n") || force) {
-      this._space();
-    }
-  }
-
-  word(str) {
-    if (this._endsWithWord || this.endsWith("/") && str.indexOf("/") === 0) {
-      this._space();
-    }
-
-    this._maybeAddAuxComment();
-
-    this._append(str);
-
-    this._endsWithWord = true;
-  }
-
-  number(str) {
-    this.word(str);
-    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) {
-    if (str === "--" && this.endsWith("!") || str[0] === "+" && this.endsWith("+") || str[0] === "-" && this.endsWith("-") || str[0] === "." && this._endsWithInteger) {
-      this._space();
-    }
-
-    this._maybeAddAuxComment();
-
-    this._append(str);
-  }
-
-  newline(i) {
-    if (this.format.retainLines || this.format.compact) return;
-
-    if (this.format.concise) {
-      this.space();
-      return;
-    }
-
-    if (this.endsWith("\n\n")) return;
-    if (typeof i !== "number") i = 1;
-    i = Math.min(2, i);
-    if (this.endsWith("{\n") || this.endsWith(":\n")) i--;
-    if (i <= 0) return;
-
-    for (let j = 0; j < i; j++) {
-      this._newline();
-    }
-  }
-
-  endsWith(str) {
-    return this._buf.endsWith(str);
-  }
-
-  removeTrailingNewline() {
-    this._buf.removeTrailingNewline();
-  }
-
-  exactSource(loc, cb) {
-    this._catchUp("start", loc);
-
-    this._buf.exactSource(loc, cb);
-  }
-
-  source(prop, loc) {
-    this._catchUp(prop, loc);
-
-    this._buf.source(prop, loc);
-  }
-
-  withSource(prop, loc, cb) {
-    this._catchUp(prop, loc);
-
-    this._buf.withSource(prop, loc, cb);
-  }
-
-  _space() {
-    this._append(" ", true);
-  }
-
-  _newline() {
-    this._append("\n", true);
-  }
-
-  _append(str, queue = false) {
-    this._maybeAddParen(str);
-
-    this._maybeIndent(str);
-
-    if (queue) this._buf.queue(str);else this._buf.append(str);
-    this._endsWithWord = false;
-    this._endsWithInteger = false;
-  }
-
-  _maybeIndent(str) {
-    if (this._indent && this.endsWith("\n") && str[0] !== "\n") {
-      this._buf.queue(this._getIndent());
-    }
-  }
-
-  _maybeAddParen(str) {
-    const parenPushNewlineState = this._parenPushNewlineState;
-    if (!parenPushNewlineState) return;
-    let i;
-
-    for (i = 0; i < str.length && str[i] === " "; i++) continue;
-
-    if (i === str.length) {
-      return;
-    }
-
-    const cha = str[i];
-
-    if (cha !== "\n") {
-      if (cha !== "/" || i + 1 === str.length) {
-        this._parenPushNewlineState = null;
-        return;
-      }
-
-      const chaPost = str[i + 1];
-
-      if (chaPost === "*") {
-        if (PURE_ANNOTATION_RE.test(str.slice(i + 2, str.length - 2))) {
-          return;
-        }
-      } else if (chaPost !== "/") {
-        this._parenPushNewlineState = null;
-        return;
-      }
-    }
-
-    this.token("(");
-    this.indent();
-    parenPushNewlineState.printed = true;
-  }
-
-  _catchUp(prop, loc) {
-    if (!this.format.retainLines) return;
-    const pos = loc ? loc[prop] : null;
-
-    if ((pos == null ? void 0 : pos.line) != null) {
-      const count = pos.line - this._buf.getCurrentLine();
-
-      for (let i = 0; i < count; i++) {
-        this._newline();
-      }
-    }
-  }
-
-  _getIndent() {
-    return this.format.indent.style.repeat(this._indent);
-  }
-
-  startTerminatorless(isLabel = false) {
-    if (isLabel) {
-      this._noLineTerminator = true;
-      return null;
-    } else {
-      return this._parenPushNewlineState = {
-        printed: false
-      };
-    }
-  }
-
-  endTerminatorless(state) {
-    this._noLineTerminator = false;
-
-    if (state != null && state.printed) {
-      this.dedent();
-      this.newline();
-      this.token(")");
-    }
-  }
-
-  print(node, parent) {
-    if (!node) return;
-    const oldConcise = this.format.concise;
-
-    if (node._compact) {
-      this.format.concise = true;
-    }
-
-    const printMethod = this[node.type];
-
-    if (!printMethod) {
-      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);
-
-    const oldInAux = this._insideAux;
-    this._insideAux = !node.loc;
-
-    this._maybeAddAuxComment(this._insideAux && !oldInAux);
-
-    let needsParens = n.needsParens(node, parent, this._printStack);
-
-    if (this.format.retainFunctionParens && node.type === "FunctionExpression" && node.extra && node.extra.parenthesized) {
-      needsParens = true;
-    }
-
-    if (needsParens) this.token("(");
-
-    this._printLeadingComments(node);
-
-    const loc = t.isProgram(node) || t.isFile(node) ? null : node.loc;
-    this.withSource("start", loc, () => {
-      printMethod.call(this, node, parent);
-    });
-
-    this._printTrailingComments(node);
-
-    if (needsParens) this.token(")");
-
-    this._printStack.pop();
-
-    this.format.concise = oldConcise;
-    this._insideAux = oldInAux;
-  }
-
-  _maybeAddAuxComment(enteredPositionlessNode) {
-    if (enteredPositionlessNode) this._printAuxBeforeComment();
-    if (!this._insideAux) this._printAuxAfterComment();
-  }
-
-  _printAuxBeforeComment() {
-    if (this._printAuxAfterOnNextUserNode) return;
-    this._printAuxAfterOnNextUserNode = true;
-    const comment = this.format.auxiliaryCommentBefore;
-
-    if (comment) {
-      this._printComment({
-        type: "CommentBlock",
-        value: comment
-      });
-    }
-  }
-
-  _printAuxAfterComment() {
-    if (!this._printAuxAfterOnNextUserNode) return;
-    this._printAuxAfterOnNextUserNode = false;
-    const comment = this.format.auxiliaryCommentAfter;
-
-    if (comment) {
-      this._printComment({
-        type: "CommentBlock",
-        value: comment
-      });
-    }
-  }
-
-  getPossibleRaw(node) {
-    const extra = node.extra;
-
-    if (extra && extra.raw != null && extra.rawValue != null && node.value === extra.rawValue) {
-      return extra.raw;
-    }
-  }
-
-  printJoin(nodes, parent, opts = {}) {
-    if (!(nodes != null && nodes.length)) return;
-    if (opts.indent) this.indent();
-    const newlineOpts = {
-      addNewlines: opts.addNewlines
-    };
-
-    for (let i = 0; i < nodes.length; i++) {
-      const node = nodes[i];
-      if (!node) continue;
-      if (opts.statement) this._printNewline(true, node, parent, newlineOpts);
-      this.print(node, parent);
-
-      if (opts.iterator) {
-        opts.iterator(node, i);
-      }
-
-      if (opts.separator && i < nodes.length - 1) {
-        opts.separator.call(this);
-      }
-
-      if (opts.statement) this._printNewline(false, node, parent, newlineOpts);
-    }
-
-    if (opts.indent) this.dedent();
-  }
-
-  printAndIndentOnComments(node, parent) {
-    const indent = node.leadingComments && node.leadingComments.length > 0;
-    if (indent) this.indent();
-    this.print(node, parent);
-    if (indent) this.dedent();
-  }
-
-  printBlock(parent) {
-    const node = parent.body;
-
-    if (!t.isEmptyStatement(node)) {
-      this.space();
-    }
-
-    this.print(node, parent);
-  }
-
-  _printTrailingComments(node) {
-    this._printComments(this._getComments(false, node));
-  }
-
-  _printLeadingComments(node) {
-    this._printComments(this._getComments(true, node), true);
-  }
-
-  printInnerComments(node, indent = true) {
-    var _node$innerComments;
-
-    if (!((_node$innerComments = node.innerComments) != null && _node$innerComments.length)) return;
-    if (indent) this.indent();
-
-    this._printComments(node.innerComments);
-
-    if (indent) this.dedent();
-  }
-
-  printSequence(nodes, parent, opts = {}) {
-    opts.statement = true;
-    return this.printJoin(nodes, parent, opts);
-  }
-
-  printList(items, parent, opts = {}) {
-    if (opts.separator == null) {
-      opts.separator = commaSeparator;
-    }
-
-    return this.printJoin(items, parent, opts);
-  }
-
-  _printNewline(leading, node, parent, opts) {
-    if (this.format.retainLines || this.format.compact) return;
-
-    if (this.format.concise) {
-      this.space();
-      return;
-    }
-
-    let lines = 0;
-
-    if (this._buf.hasContent()) {
-      if (!leading) lines++;
-      if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0;
-      const needs = leading ? n.needsWhitespaceBefore : n.needsWhitespaceAfter;
-      if (needs(node, parent)) lines++;
-    }
-
-    this.newline(lines);
-  }
-
-  _getComments(leading, node) {
-    return node && (leading ? node.leadingComments : node.trailingComments) || [];
-  }
-
-  _printComment(comment, skipNewLines) {
-    if (!this.format.shouldPrintComment(comment.value)) return;
-    if (comment.ignore) return;
-    if (this._printedComments.has(comment)) return;
-
-    this._printedComments.add(comment);
-
-    const isBlockComment = comment.type === "CommentBlock";
-    const printNewLines = isBlockComment && !skipNewLines && !this._noLineTerminator;
-    if (printNewLines && this._buf.hasContent()) this.newline(1);
-    if (!this.endsWith("[") && !this.endsWith("{")) this.space();
-    let val = !isBlockComment && !this._noLineTerminator ? `//${comment.value}\n` : `/*${comment.value}*/`;
-
-    if (isBlockComment && this.format.indent.adjustMultilineComment) {
-      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");
-        val = val.replace(newlineRegex, "\n");
-      }
-
-      const indentSize = Math.max(this._getIndent().length, this.format.retainLines ? 0 : this._buf.getCurrentColumn());
-      val = val.replace(/\n(?!$)/g, `\n${" ".repeat(indentSize)}`);
-    }
-
-    if (this.endsWith("/")) this._space();
-    this.withSource("start", comment.loc, () => {
-      this._append(val);
-    });
-    if (printNewLines) this.newline(1);
-  }
-
-  _printComments(comments, inlinePureAnnotation) {
-    if (!(comments != null && 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"));
-    } else {
-      for (const comment of comments) {
-        this._printComment(comment);
-      }
-    }
-  }
-
-  printAssertions(node) {
-    var _node$assertions;
-
-    if ((_node$assertions = node.assertions) != null && _node$assertions.length) {
-      this.space();
-      this.word("assert");
-      this.space();
-      this.token("{");
-      this.space();
-      this.printList(node.assertions, node);
-      this.space();
-      this.token("}");
-    }
-  }
-
-}
-
-Object.assign(Printer.prototype, generatorFunctions);
-{
-  Printer.prototype.Noop = function Noop() {};
-}
-var _default = Printer;
-exports.default = _default;
-
-function commaSeparator() {
-  this.token(",");
-  this.space();
-}

+ 0 - 0
node_modules.bak/@babel/generator/lib/source-map.js


Vissa filer visades inte eftersom för många filer har ändrats