Переглянути джерело

修复卡住问题

master
dong 1 рік тому
джерело
коміт
39b0d06afa
100 змінених файлів з 22047 додано та 11 видалено
  1. 11
    10
      App.vue
  2. 2
    1
      main.js
  3. 16
    0
      node_modules/.bin/nanoid
  4. 17
    0
      node_modules/.bin/nanoid.cmd
  5. 28
    0
      node_modules/.bin/nanoid.ps1
  6. 16
    0
      node_modules/.bin/parser
  7. 17
    0
      node_modules/.bin/parser.cmd
  8. 28
    0
      node_modules/.bin/parser.ps1
  9. 301
    0
      node_modules/.package-lock.json
  10. 22
    0
      node_modules/@babel/helper-string-parser/LICENSE
  11. 19
    0
      node_modules/@babel/helper-string-parser/README.md
  12. 295
    0
      node_modules/@babel/helper-string-parser/lib/index.js
  13. 1
    0
      node_modules/@babel/helper-string-parser/lib/index.js.map
  14. 31
    0
      node_modules/@babel/helper-string-parser/package.json
  15. 22
    0
      node_modules/@babel/helper-validator-identifier/LICENSE
  16. 19
    0
      node_modules/@babel/helper-validator-identifier/README.md
  17. 70
    0
      node_modules/@babel/helper-validator-identifier/lib/identifier.js
  18. 1
    0
      node_modules/@babel/helper-validator-identifier/lib/identifier.js.map
  19. 57
    0
      node_modules/@babel/helper-validator-identifier/lib/index.js
  20. 1
    0
      node_modules/@babel/helper-validator-identifier/lib/index.js.map
  21. 35
    0
      node_modules/@babel/helper-validator-identifier/lib/keyword.js
  22. 1
    0
      node_modules/@babel/helper-validator-identifier/lib/keyword.js.map
  23. 31
    0
      node_modules/@babel/helper-validator-identifier/package.json
  24. 73
    0
      node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js
  25. 1073
    0
      node_modules/@babel/parser/CHANGELOG.md
  26. 19
    0
      node_modules/@babel/parser/LICENSE
  27. 19
    0
      node_modules/@babel/parser/README.md
  28. 15
    0
      node_modules/@babel/parser/bin/babel-parser.js
  29. 5
    0
      node_modules/@babel/parser/index.cjs
  30. 13987
    0
      node_modules/@babel/parser/lib/index.js
  31. 1
    0
      node_modules/@babel/parser/lib/index.js.map
  32. 50
    0
      node_modules/@babel/parser/package.json
  33. 251
    0
      node_modules/@babel/parser/typings/babel-parser.d.ts
  34. 22
    0
      node_modules/@babel/types/LICENSE
  35. 19
    0
      node_modules/@babel/types/README.md
  36. 16
    0
      node_modules/@babel/types/lib/asserts/assertNode.js
  37. 1
    0
      node_modules/@babel/types/lib/asserts/assertNode.js.map
  38. 1235
    0
      node_modules/@babel/types/lib/asserts/generated/index.js
  39. 1
    0
      node_modules/@babel/types/lib/asserts/generated/index.js.map
  40. 3
    0
      node_modules/@babel/types/lib/ast-types/generated/index.js
  41. 1
    0
      node_modules/@babel/types/lib/ast-types/generated/index.js.map
  42. 18
    0
      node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js
  43. 1
    0
      node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map
  44. 31
    0
      node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js
  45. 1
    0
      node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map
  46. 1991
    0
      node_modules/@babel/types/lib/builders/generated/index.js
  47. 1
    0
      node_modules/@babel/types/lib/builders/generated/index.js.map
  48. 1532
    0
      node_modules/@babel/types/lib/builders/generated/uppercase.js
  49. 1
    0
      node_modules/@babel/types/lib/builders/generated/uppercase.js.map
  50. 12
    0
      node_modules/@babel/types/lib/builders/productions.js
  51. 1
    0
      node_modules/@babel/types/lib/builders/productions.js.map
  52. 24
    0
      node_modules/@babel/types/lib/builders/react/buildChildren.js
  53. 1
    0
      node_modules/@babel/types/lib/builders/react/buildChildren.js.map
  54. 22
    0
      node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js
  55. 1
    0
      node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map
  56. 17
    0
      node_modules/@babel/types/lib/builders/validateNode.js
  57. 1
    0
      node_modules/@babel/types/lib/builders/validateNode.js.map
  58. 12
    0
      node_modules/@babel/types/lib/clone/clone.js
  59. 1
    0
      node_modules/@babel/types/lib/clone/clone.js.map
  60. 12
    0
      node_modules/@babel/types/lib/clone/cloneDeep.js
  61. 1
    0
      node_modules/@babel/types/lib/clone/cloneDeep.js.map
  62. 12
    0
      node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js
  63. 1
    0
      node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map
  64. 107
    0
      node_modules/@babel/types/lib/clone/cloneNode.js
  65. 1
    0
      node_modules/@babel/types/lib/clone/cloneNode.js.map
  66. 12
    0
      node_modules/@babel/types/lib/clone/cloneWithoutLoc.js
  67. 1
    0
      node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map
  68. 15
    0
      node_modules/@babel/types/lib/comments/addComment.js
  69. 1
    0
      node_modules/@babel/types/lib/comments/addComment.js.map
  70. 22
    0
      node_modules/@babel/types/lib/comments/addComments.js
  71. 1
    0
      node_modules/@babel/types/lib/comments/addComments.js.map
  72. 12
    0
      node_modules/@babel/types/lib/comments/inheritInnerComments.js
  73. 1
    0
      node_modules/@babel/types/lib/comments/inheritInnerComments.js.map
  74. 12
    0
      node_modules/@babel/types/lib/comments/inheritLeadingComments.js
  75. 1
    0
      node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map
  76. 12
    0
      node_modules/@babel/types/lib/comments/inheritTrailingComments.js
  77. 1
    0
      node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map
  78. 17
    0
      node_modules/@babel/types/lib/comments/inheritsComments.js
  79. 1
    0
      node_modules/@babel/types/lib/comments/inheritsComments.js.map
  80. 15
    0
      node_modules/@babel/types/lib/comments/removeComments.js
  81. 1
    0
      node_modules/@babel/types/lib/comments/removeComments.js.map
  82. 59
    0
      node_modules/@babel/types/lib/constants/generated/index.js
  83. 1
    0
      node_modules/@babel/types/lib/constants/generated/index.js.map
  84. 31
    0
      node_modules/@babel/types/lib/constants/index.js
  85. 1
    0
      node_modules/@babel/types/lib/constants/index.js.map
  86. 14
    0
      node_modules/@babel/types/lib/converters/ensureBlock.js
  87. 1
    0
      node_modules/@babel/types/lib/converters/ensureBlock.js.map
  88. 66
    0
      node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js
  89. 1
    0
      node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map
  90. 14
    0
      node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
  91. 1
    0
      node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map
  92. 29
    0
      node_modules/@babel/types/lib/converters/toBlock.js
  93. 1
    0
      node_modules/@babel/types/lib/converters/toBlock.js.map
  94. 14
    0
      node_modules/@babel/types/lib/converters/toComputedKey.js
  95. 1
    0
      node_modules/@babel/types/lib/converters/toComputedKey.js.map
  96. 27
    0
      node_modules/@babel/types/lib/converters/toExpression.js
  97. 1
    0
      node_modules/@babel/types/lib/converters/toExpression.js.map
  98. 25
    0
      node_modules/@babel/types/lib/converters/toIdentifier.js
  99. 1
    0
      node_modules/@babel/types/lib/converters/toIdentifier.js.map
  100. 0
    0
      node_modules/@babel/types/lib/converters/toKeyAlias.js

+ 11
- 10
App.vue Переглянути файл

@@ -2,25 +2,26 @@
2 2
 	// import {
3 3
 	// 	login
4 4
 	// } from "./api/api.js"
5
+	// import {useStore} from 'vuex' //引入
6
+	// import store from "./store/index.js"
7
+	import { mapState } from 'vuex';
5 8
 	export default {
6 9
 		data() {
7 10
 			return {
8 11
 				// uidatas:''
9 12
 			}
10 13
 		},
14
+		computed: {
15
+		},
11 16
 		onLaunch: function() {
12 17
 			// 隐藏导航栏
13
-			  // var main = plus.android.runtimeMainActivity();
14
-			  // var window = main.getWindow();
15
-			  // var decorView = window.getDecorView();
16
-			  // var uiOptions = plus.android.getField(plus.android.View.class, "SYSTEM_UI_FLAG_HIDE_NAVIGATION");
17
-			  // decorView.setSystemUiVisibility(uiOptions);
18
-			  // this.onlogin()
19
-			  // plus.screen.lockOrientation( 'landscape-primary');
20
-			  // plus.navigator.hideSystemBar();
21
-			 plus.navigator.setFullscreen(true) //隐藏状态栏
22
-			 	plus.navigator.hideSystemNavigation() //隐藏虚拟按键
18
+			plus.navigator.setFullscreen(true) //隐藏状态栏
19
+				plus.navigator.hideSystemNavigation() //隐藏虚拟按键
23 20
 		},
21
+		 mounted() {
22
+		    this.$store.dispatch('startClock');
23
+		    this.$store.dispatch('fetchFaultsList');
24
+		  },
24 25
 		beforeUnmount() {
25 26
 			// clearInterval(this.uidatas);
26 27
 		},

+ 2
- 1
main.js Переглянути файл

@@ -1,5 +1,5 @@
1 1
 import App from './App'
2
-
2
+import Store from './store'
3 3
 // #ifndef VUE3
4 4
 import Vue from 'vue'
5 5
 import './uni.promisify.adaptor'
@@ -15,6 +15,7 @@ app.$mount()
15 15
 import { createSSRApp } from 'vue'
16 16
 export function createApp() {
17 17
   const app = createSSRApp(App)
18
+  app.use(Store) //新增的一行
18 19
   return {
19 20
     app
20 21
   }

+ 16
- 0
node_modules/.bin/nanoid Переглянути файл

@@ -0,0 +1,16 @@
1
+#!/bin/sh
2
+basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+case `uname` in
5
+    *CYGWIN*|*MINGW*|*MSYS*)
6
+        if command -v cygpath > /dev/null 2>&1; then
7
+            basedir=`cygpath -w "$basedir"`
8
+        fi
9
+    ;;
10
+esac
11
+
12
+if [ -x "$basedir/node" ]; then
13
+  exec "$basedir/node"  "$basedir/../nanoid/bin/nanoid.cjs" "$@"
14
+else 
15
+  exec node  "$basedir/../nanoid/bin/nanoid.cjs" "$@"
16
+fi

+ 17
- 0
node_modules/.bin/nanoid.cmd Переглянути файл

@@ -0,0 +1,17 @@
1
+@ECHO off
2
+GOTO start
3
+:find_dp0
4
+SET dp0=%~dp0
5
+EXIT /b
6
+:start
7
+SETLOCAL
8
+CALL :find_dp0
9
+
10
+IF EXIST "%dp0%\node.exe" (
11
+  SET "_prog=%dp0%\node.exe"
12
+) ELSE (
13
+  SET "_prog=node"
14
+  SET PATHEXT=%PATHEXT:;.JS;=;%
15
+)
16
+
17
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\nanoid\bin\nanoid.cjs" %*

+ 28
- 0
node_modules/.bin/nanoid.ps1 Переглянути файл

@@ -0,0 +1,28 @@
1
+#!/usr/bin/env pwsh
2
+$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+$exe=""
5
+if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+  # Fix case when both the Windows and Linux builds of Node
7
+  # are installed in the same directory
8
+  $exe=".exe"
9
+}
10
+$ret=0
11
+if (Test-Path "$basedir/node$exe") {
12
+  # Support pipeline input
13
+  if ($MyInvocation.ExpectingInput) {
14
+    $input | & "$basedir/node$exe"  "$basedir/../nanoid/bin/nanoid.cjs" $args
15
+  } else {
16
+    & "$basedir/node$exe"  "$basedir/../nanoid/bin/nanoid.cjs" $args
17
+  }
18
+  $ret=$LASTEXITCODE
19
+} else {
20
+  # Support pipeline input
21
+  if ($MyInvocation.ExpectingInput) {
22
+    $input | & "node$exe"  "$basedir/../nanoid/bin/nanoid.cjs" $args
23
+  } else {
24
+    & "node$exe"  "$basedir/../nanoid/bin/nanoid.cjs" $args
25
+  }
26
+  $ret=$LASTEXITCODE
27
+}
28
+exit $ret

+ 16
- 0
node_modules/.bin/parser Переглянути файл

@@ -0,0 +1,16 @@
1
+#!/bin/sh
2
+basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+case `uname` in
5
+    *CYGWIN*|*MINGW*|*MSYS*)
6
+        if command -v cygpath > /dev/null 2>&1; then
7
+            basedir=`cygpath -w "$basedir"`
8
+        fi
9
+    ;;
10
+esac
11
+
12
+if [ -x "$basedir/node" ]; then
13
+  exec "$basedir/node"  "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
14
+else 
15
+  exec node  "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
16
+fi

+ 17
- 0
node_modules/.bin/parser.cmd Переглянути файл

@@ -0,0 +1,17 @@
1
+@ECHO off
2
+GOTO start
3
+:find_dp0
4
+SET dp0=%~dp0
5
+EXIT /b
6
+:start
7
+SETLOCAL
8
+CALL :find_dp0
9
+
10
+IF EXIST "%dp0%\node.exe" (
11
+  SET "_prog=%dp0%\node.exe"
12
+) ELSE (
13
+  SET "_prog=node"
14
+  SET PATHEXT=%PATHEXT:;.JS;=;%
15
+)
16
+
17
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\@babel\parser\bin\babel-parser.js" %*

+ 28
- 0
node_modules/.bin/parser.ps1 Переглянути файл

@@ -0,0 +1,28 @@
1
+#!/usr/bin/env pwsh
2
+$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+$exe=""
5
+if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+  # Fix case when both the Windows and Linux builds of Node
7
+  # are installed in the same directory
8
+  $exe=".exe"
9
+}
10
+$ret=0
11
+if (Test-Path "$basedir/node$exe") {
12
+  # Support pipeline input
13
+  if ($MyInvocation.ExpectingInput) {
14
+    $input | & "$basedir/node$exe"  "$basedir/../@babel/parser/bin/babel-parser.js" $args
15
+  } else {
16
+    & "$basedir/node$exe"  "$basedir/../@babel/parser/bin/babel-parser.js" $args
17
+  }
18
+  $ret=$LASTEXITCODE
19
+} else {
20
+  # Support pipeline input
21
+  if ($MyInvocation.ExpectingInput) {
22
+    $input | & "node$exe"  "$basedir/../@babel/parser/bin/babel-parser.js" $args
23
+  } else {
24
+    & "node$exe"  "$basedir/../@babel/parser/bin/babel-parser.js" $args
25
+  }
26
+  $ret=$LASTEXITCODE
27
+}
28
+exit $ret

+ 301
- 0
node_modules/.package-lock.json Переглянути файл

@@ -0,0 +1,301 @@
1
+{
2
+    "name": "仪表盘或者环形进度条",
3
+    "version": "1.0.3",
4
+    "lockfileVersion": 3,
5
+    "requires": true,
6
+    "packages": {
7
+        "node_modules/@babel/helper-string-parser": {
8
+            "version": "7.24.8",
9
+            "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz",
10
+            "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==",
11
+            "peer": true,
12
+            "engines": {
13
+                "node": ">=6.9.0"
14
+            }
15
+        },
16
+        "node_modules/@babel/helper-validator-identifier": {
17
+            "version": "7.24.7",
18
+            "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz",
19
+            "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==",
20
+            "peer": true,
21
+            "engines": {
22
+                "node": ">=6.9.0"
23
+            }
24
+        },
25
+        "node_modules/@babel/parser": {
26
+            "version": "7.25.3",
27
+            "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz",
28
+            "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==",
29
+            "peer": true,
30
+            "dependencies": {
31
+                "@babel/types": "^7.25.2"
32
+            },
33
+            "bin": {
34
+                "parser": "bin/babel-parser.js"
35
+            },
36
+            "engines": {
37
+                "node": ">=6.0.0"
38
+            }
39
+        },
40
+        "node_modules/@babel/types": {
41
+            "version": "7.25.2",
42
+            "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz",
43
+            "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==",
44
+            "peer": true,
45
+            "dependencies": {
46
+                "@babel/helper-string-parser": "^7.24.8",
47
+                "@babel/helper-validator-identifier": "^7.24.7",
48
+                "to-fast-properties": "^2.0.0"
49
+            },
50
+            "engines": {
51
+                "node": ">=6.9.0"
52
+            }
53
+        },
54
+        "node_modules/@jridgewell/sourcemap-codec": {
55
+            "version": "1.5.0",
56
+            "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
57
+            "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
58
+            "peer": true
59
+        },
60
+        "node_modules/@vue/compiler-core": {
61
+            "version": "3.4.37",
62
+            "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.37.tgz",
63
+            "integrity": "sha512-ZDDT/KiLKuCRXyzWecNzC5vTcubGz4LECAtfGPENpo0nrmqJHwuWtRLxk/Sb9RAKtR9iFflFycbkjkY+W/PZUQ==",
64
+            "peer": true,
65
+            "dependencies": {
66
+                "@babel/parser": "^7.24.7",
67
+                "@vue/shared": "3.4.37",
68
+                "entities": "^5.0.0",
69
+                "estree-walker": "^2.0.2",
70
+                "source-map-js": "^1.2.0"
71
+            }
72
+        },
73
+        "node_modules/@vue/compiler-dom": {
74
+            "version": "3.4.37",
75
+            "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.37.tgz",
76
+            "integrity": "sha512-rIiSmL3YrntvgYV84rekAtU/xfogMUJIclUMeIKEtVBFngOL3IeZHhsH3UaFEgB5iFGpj6IW+8YuM/2Up+vVag==",
77
+            "peer": true,
78
+            "dependencies": {
79
+                "@vue/compiler-core": "3.4.37",
80
+                "@vue/shared": "3.4.37"
81
+            }
82
+        },
83
+        "node_modules/@vue/compiler-sfc": {
84
+            "version": "3.4.37",
85
+            "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.37.tgz",
86
+            "integrity": "sha512-vCfetdas40Wk9aK/WWf8XcVESffsbNkBQwS5t13Y/PcfqKfIwJX2gF+82th6dOpnpbptNMlMjAny80li7TaCIg==",
87
+            "peer": true,
88
+            "dependencies": {
89
+                "@babel/parser": "^7.24.7",
90
+                "@vue/compiler-core": "3.4.37",
91
+                "@vue/compiler-dom": "3.4.37",
92
+                "@vue/compiler-ssr": "3.4.37",
93
+                "@vue/shared": "3.4.37",
94
+                "estree-walker": "^2.0.2",
95
+                "magic-string": "^0.30.10",
96
+                "postcss": "^8.4.40",
97
+                "source-map-js": "^1.2.0"
98
+            }
99
+        },
100
+        "node_modules/@vue/compiler-ssr": {
101
+            "version": "3.4.37",
102
+            "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.37.tgz",
103
+            "integrity": "sha512-TyAgYBWrHlFrt4qpdACh8e9Ms6C/AZQ6A6xLJaWrCL8GCX5DxMzxyeFAEMfU/VFr4tylHm+a2NpfJpcd7+20XA==",
104
+            "peer": true,
105
+            "dependencies": {
106
+                "@vue/compiler-dom": "3.4.37",
107
+                "@vue/shared": "3.4.37"
108
+            }
109
+        },
110
+        "node_modules/@vue/devtools-api": {
111
+            "version": "6.6.3",
112
+            "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz",
113
+            "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw=="
114
+        },
115
+        "node_modules/@vue/reactivity": {
116
+            "version": "3.4.37",
117
+            "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.37.tgz",
118
+            "integrity": "sha512-UmdKXGx0BZ5kkxPqQr3PK3tElz6adTey4307NzZ3whZu19i5VavYal7u2FfOmAzlcDVgE8+X0HZ2LxLb/jgbYw==",
119
+            "peer": true,
120
+            "dependencies": {
121
+                "@vue/shared": "3.4.37"
122
+            }
123
+        },
124
+        "node_modules/@vue/runtime-core": {
125
+            "version": "3.4.37",
126
+            "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.37.tgz",
127
+            "integrity": "sha512-MNjrVoLV/sirHZoD7QAilU1Ifs7m/KJv4/84QVbE6nyAZGQNVOa1HGxaOzp9YqCG+GpLt1hNDC4RbH+KtanV7w==",
128
+            "peer": true,
129
+            "dependencies": {
130
+                "@vue/reactivity": "3.4.37",
131
+                "@vue/shared": "3.4.37"
132
+            }
133
+        },
134
+        "node_modules/@vue/runtime-dom": {
135
+            "version": "3.4.37",
136
+            "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.37.tgz",
137
+            "integrity": "sha512-Mg2EwgGZqtwKrqdL/FKMF2NEaOHuH+Ks9TQn3DHKyX//hQTYOun+7Tqp1eo0P4Ds+SjltZshOSRq6VsU0baaNg==",
138
+            "peer": true,
139
+            "dependencies": {
140
+                "@vue/reactivity": "3.4.37",
141
+                "@vue/runtime-core": "3.4.37",
142
+                "@vue/shared": "3.4.37",
143
+                "csstype": "^3.1.3"
144
+            }
145
+        },
146
+        "node_modules/@vue/server-renderer": {
147
+            "version": "3.4.37",
148
+            "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.37.tgz",
149
+            "integrity": "sha512-jZ5FAHDR2KBq2FsRUJW6GKDOAG9lUTX8aBEGq4Vf6B/35I9fPce66BornuwmqmKgfiSlecwuOb6oeoamYMohkg==",
150
+            "peer": true,
151
+            "dependencies": {
152
+                "@vue/compiler-ssr": "3.4.37",
153
+                "@vue/shared": "3.4.37"
154
+            },
155
+            "peerDependencies": {
156
+                "vue": "3.4.37"
157
+            }
158
+        },
159
+        "node_modules/@vue/shared": {
160
+            "version": "3.4.37",
161
+            "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.37.tgz",
162
+            "integrity": "sha512-nIh8P2fc3DflG8+5Uw8PT/1i17ccFn0xxN/5oE9RfV5SVnd7G0XEFRwakrnNFE/jlS95fpGXDVG5zDETS26nmg==",
163
+            "peer": true
164
+        },
165
+        "node_modules/csstype": {
166
+            "version": "3.1.3",
167
+            "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
168
+            "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
169
+            "peer": true
170
+        },
171
+        "node_modules/entities": {
172
+            "version": "5.0.0",
173
+            "resolved": "https://registry.npmjs.org/entities/-/entities-5.0.0.tgz",
174
+            "integrity": "sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==",
175
+            "peer": true,
176
+            "engines": {
177
+                "node": ">=0.12"
178
+            },
179
+            "funding": {
180
+                "url": "https://github.com/fb55/entities?sponsor=1"
181
+            }
182
+        },
183
+        "node_modules/estree-walker": {
184
+            "version": "2.0.2",
185
+            "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
186
+            "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
187
+            "peer": true
188
+        },
189
+        "node_modules/magic-string": {
190
+            "version": "0.30.11",
191
+            "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz",
192
+            "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==",
193
+            "peer": true,
194
+            "dependencies": {
195
+                "@jridgewell/sourcemap-codec": "^1.5.0"
196
+            }
197
+        },
198
+        "node_modules/nanoid": {
199
+            "version": "3.3.7",
200
+            "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
201
+            "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
202
+            "funding": [
203
+                {
204
+                    "type": "github",
205
+                    "url": "https://github.com/sponsors/ai"
206
+                }
207
+            ],
208
+            "peer": true,
209
+            "bin": {
210
+                "nanoid": "bin/nanoid.cjs"
211
+            },
212
+            "engines": {
213
+                "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
214
+            }
215
+        },
216
+        "node_modules/picocolors": {
217
+            "version": "1.0.1",
218
+            "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
219
+            "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
220
+            "peer": true
221
+        },
222
+        "node_modules/postcss": {
223
+            "version": "8.4.41",
224
+            "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz",
225
+            "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==",
226
+            "funding": [
227
+                {
228
+                    "type": "opencollective",
229
+                    "url": "https://opencollective.com/postcss/"
230
+                },
231
+                {
232
+                    "type": "tidelift",
233
+                    "url": "https://tidelift.com/funding/github/npm/postcss"
234
+                },
235
+                {
236
+                    "type": "github",
237
+                    "url": "https://github.com/sponsors/ai"
238
+                }
239
+            ],
240
+            "peer": true,
241
+            "dependencies": {
242
+                "nanoid": "^3.3.7",
243
+                "picocolors": "^1.0.1",
244
+                "source-map-js": "^1.2.0"
245
+            },
246
+            "engines": {
247
+                "node": "^10 || ^12 || >=14"
248
+            }
249
+        },
250
+        "node_modules/source-map-js": {
251
+            "version": "1.2.0",
252
+            "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
253
+            "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
254
+            "peer": true,
255
+            "engines": {
256
+                "node": ">=0.10.0"
257
+            }
258
+        },
259
+        "node_modules/to-fast-properties": {
260
+            "version": "2.0.0",
261
+            "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
262
+            "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
263
+            "peer": true,
264
+            "engines": {
265
+                "node": ">=4"
266
+            }
267
+        },
268
+        "node_modules/vue": {
269
+            "version": "3.4.37",
270
+            "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.37.tgz",
271
+            "integrity": "sha512-3vXvNfkKTBsSJ7JP+LyR7GBuwQuckbWvuwAid3xbqK9ppsKt/DUvfqgZ48fgOLEfpy1IacL5f8QhUVl77RaI7A==",
272
+            "peer": true,
273
+            "dependencies": {
274
+                "@vue/compiler-dom": "3.4.37",
275
+                "@vue/compiler-sfc": "3.4.37",
276
+                "@vue/runtime-dom": "3.4.37",
277
+                "@vue/server-renderer": "3.4.37",
278
+                "@vue/shared": "3.4.37"
279
+            },
280
+            "peerDependencies": {
281
+                "typescript": "*"
282
+            },
283
+            "peerDependenciesMeta": {
284
+                "typescript": {
285
+                    "optional": true
286
+                }
287
+            }
288
+        },
289
+        "node_modules/vuex": {
290
+            "version": "4.1.0",
291
+            "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.1.0.tgz",
292
+            "integrity": "sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==",
293
+            "dependencies": {
294
+                "@vue/devtools-api": "^6.0.0-beta.11"
295
+            },
296
+            "peerDependencies": {
297
+                "vue": "^3.2.0"
298
+            }
299
+        }
300
+    }
301
+}

+ 22
- 0
node_modules/@babel/helper-string-parser/LICENSE Переглянути файл

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

+ 19
- 0
node_modules/@babel/helper-string-parser/README.md Переглянути файл

@@ -0,0 +1,19 @@
1
+# @babel/helper-string-parser
2
+
3
+> A utility package to parse strings
4
+
5
+See our website [@babel/helper-string-parser](https://babeljs.io/docs/babel-helper-string-parser) for more information.
6
+
7
+## Install
8
+
9
+Using npm:
10
+
11
+```sh
12
+npm install --save @babel/helper-string-parser
13
+```
14
+
15
+or using yarn:
16
+
17
+```sh
18
+yarn add @babel/helper-string-parser
19
+```

+ 295
- 0
node_modules/@babel/helper-string-parser/lib/index.js Переглянути файл

@@ -0,0 +1,295 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.readCodePoint = readCodePoint;
7
+exports.readInt = readInt;
8
+exports.readStringContents = readStringContents;
9
+var _isDigit = function isDigit(code) {
10
+  return code >= 48 && code <= 57;
11
+};
12
+const forbiddenNumericSeparatorSiblings = {
13
+  decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]),
14
+  hex: new Set([46, 88, 95, 120])
15
+};
16
+const isAllowedNumericSeparatorSibling = {
17
+  bin: ch => ch === 48 || ch === 49,
18
+  oct: ch => ch >= 48 && ch <= 55,
19
+  dec: ch => ch >= 48 && ch <= 57,
20
+  hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102
21
+};
22
+function readStringContents(type, input, pos, lineStart, curLine, errors) {
23
+  const initialPos = pos;
24
+  const initialLineStart = lineStart;
25
+  const initialCurLine = curLine;
26
+  let out = "";
27
+  let firstInvalidLoc = null;
28
+  let chunkStart = pos;
29
+  const {
30
+    length
31
+  } = input;
32
+  for (;;) {
33
+    if (pos >= length) {
34
+      errors.unterminated(initialPos, initialLineStart, initialCurLine);
35
+      out += input.slice(chunkStart, pos);
36
+      break;
37
+    }
38
+    const ch = input.charCodeAt(pos);
39
+    if (isStringEnd(type, ch, input, pos)) {
40
+      out += input.slice(chunkStart, pos);
41
+      break;
42
+    }
43
+    if (ch === 92) {
44
+      out += input.slice(chunkStart, pos);
45
+      const res = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors);
46
+      if (res.ch === null && !firstInvalidLoc) {
47
+        firstInvalidLoc = {
48
+          pos,
49
+          lineStart,
50
+          curLine
51
+        };
52
+      } else {
53
+        out += res.ch;
54
+      }
55
+      ({
56
+        pos,
57
+        lineStart,
58
+        curLine
59
+      } = res);
60
+      chunkStart = pos;
61
+    } else if (ch === 8232 || ch === 8233) {
62
+      ++pos;
63
+      ++curLine;
64
+      lineStart = pos;
65
+    } else if (ch === 10 || ch === 13) {
66
+      if (type === "template") {
67
+        out += input.slice(chunkStart, pos) + "\n";
68
+        ++pos;
69
+        if (ch === 13 && input.charCodeAt(pos) === 10) {
70
+          ++pos;
71
+        }
72
+        ++curLine;
73
+        chunkStart = lineStart = pos;
74
+      } else {
75
+        errors.unterminated(initialPos, initialLineStart, initialCurLine);
76
+      }
77
+    } else {
78
+      ++pos;
79
+    }
80
+  }
81
+  return {
82
+    pos,
83
+    str: out,
84
+    firstInvalidLoc,
85
+    lineStart,
86
+    curLine,
87
+    containsInvalid: !!firstInvalidLoc
88
+  };
89
+}
90
+function isStringEnd(type, ch, input, pos) {
91
+  if (type === "template") {
92
+    return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123;
93
+  }
94
+  return ch === (type === "double" ? 34 : 39);
95
+}
96
+function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
97
+  const throwOnInvalid = !inTemplate;
98
+  pos++;
99
+  const res = ch => ({
100
+    pos,
101
+    ch,
102
+    lineStart,
103
+    curLine
104
+  });
105
+  const ch = input.charCodeAt(pos++);
106
+  switch (ch) {
107
+    case 110:
108
+      return res("\n");
109
+    case 114:
110
+      return res("\r");
111
+    case 120:
112
+      {
113
+        let code;
114
+        ({
115
+          code,
116
+          pos
117
+        } = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors));
118
+        return res(code === null ? null : String.fromCharCode(code));
119
+      }
120
+    case 117:
121
+      {
122
+        let code;
123
+        ({
124
+          code,
125
+          pos
126
+        } = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors));
127
+        return res(code === null ? null : String.fromCodePoint(code));
128
+      }
129
+    case 116:
130
+      return res("\t");
131
+    case 98:
132
+      return res("\b");
133
+    case 118:
134
+      return res("\u000b");
135
+    case 102:
136
+      return res("\f");
137
+    case 13:
138
+      if (input.charCodeAt(pos) === 10) {
139
+        ++pos;
140
+      }
141
+    case 10:
142
+      lineStart = pos;
143
+      ++curLine;
144
+    case 8232:
145
+    case 8233:
146
+      return res("");
147
+    case 56:
148
+    case 57:
149
+      if (inTemplate) {
150
+        return res(null);
151
+      } else {
152
+        errors.strictNumericEscape(pos - 1, lineStart, curLine);
153
+      }
154
+    default:
155
+      if (ch >= 48 && ch <= 55) {
156
+        const startPos = pos - 1;
157
+        const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2));
158
+        let octalStr = match[0];
159
+        let octal = parseInt(octalStr, 8);
160
+        if (octal > 255) {
161
+          octalStr = octalStr.slice(0, -1);
162
+          octal = parseInt(octalStr, 8);
163
+        }
164
+        pos += octalStr.length - 1;
165
+        const next = input.charCodeAt(pos);
166
+        if (octalStr !== "0" || next === 56 || next === 57) {
167
+          if (inTemplate) {
168
+            return res(null);
169
+          } else {
170
+            errors.strictNumericEscape(startPos, lineStart, curLine);
171
+          }
172
+        }
173
+        return res(String.fromCharCode(octal));
174
+      }
175
+      return res(String.fromCharCode(ch));
176
+  }
177
+}
178
+function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
179
+  const initialPos = pos;
180
+  let n;
181
+  ({
182
+    n,
183
+    pos
184
+  } = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid));
185
+  if (n === null) {
186
+    if (throwOnInvalid) {
187
+      errors.invalidEscapeSequence(initialPos, lineStart, curLine);
188
+    } else {
189
+      pos = initialPos - 1;
190
+    }
191
+  }
192
+  return {
193
+    code: n,
194
+    pos
195
+  };
196
+}
197
+function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) {
198
+  const start = pos;
199
+  const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct;
200
+  const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin;
201
+  let invalid = false;
202
+  let total = 0;
203
+  for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) {
204
+    const code = input.charCodeAt(pos);
205
+    let val;
206
+    if (code === 95 && allowNumSeparator !== "bail") {
207
+      const prev = input.charCodeAt(pos - 1);
208
+      const next = input.charCodeAt(pos + 1);
209
+      if (!allowNumSeparator) {
210
+        if (bailOnError) return {
211
+          n: null,
212
+          pos
213
+        };
214
+        errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine);
215
+      } else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) {
216
+        if (bailOnError) return {
217
+          n: null,
218
+          pos
219
+        };
220
+        errors.unexpectedNumericSeparator(pos, lineStart, curLine);
221
+      }
222
+      ++pos;
223
+      continue;
224
+    }
225
+    if (code >= 97) {
226
+      val = code - 97 + 10;
227
+    } else if (code >= 65) {
228
+      val = code - 65 + 10;
229
+    } else if (_isDigit(code)) {
230
+      val = code - 48;
231
+    } else {
232
+      val = Infinity;
233
+    }
234
+    if (val >= radix) {
235
+      if (val <= 9 && bailOnError) {
236
+        return {
237
+          n: null,
238
+          pos
239
+        };
240
+      } else if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) {
241
+        val = 0;
242
+      } else if (forceLen) {
243
+        val = 0;
244
+        invalid = true;
245
+      } else {
246
+        break;
247
+      }
248
+    }
249
+    ++pos;
250
+    total = total * radix + val;
251
+  }
252
+  if (pos === start || len != null && pos - start !== len || invalid) {
253
+    return {
254
+      n: null,
255
+      pos
256
+    };
257
+  }
258
+  return {
259
+    n: total,
260
+    pos
261
+  };
262
+}
263
+function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
264
+  const ch = input.charCodeAt(pos);
265
+  let code;
266
+  if (ch === 123) {
267
+    ++pos;
268
+    ({
269
+      code,
270
+      pos
271
+    } = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors));
272
+    ++pos;
273
+    if (code !== null && code > 0x10ffff) {
274
+      if (throwOnInvalid) {
275
+        errors.invalidCodePoint(pos, lineStart, curLine);
276
+      } else {
277
+        return {
278
+          code: null,
279
+          pos
280
+        };
281
+      }
282
+    }
283
+  } else {
284
+    ({
285
+      code,
286
+      pos
287
+    } = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors));
288
+  }
289
+  return {
290
+    code,
291
+    pos
292
+  };
293
+}
294
+
295
+//# sourceMappingURL=index.js.map

+ 1
- 0
node_modules/@babel/helper-string-parser/lib/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 31
- 0
node_modules/@babel/helper-string-parser/package.json Переглянути файл

@@ -0,0 +1,31 @@
1
+{
2
+  "name": "@babel/helper-string-parser",
3
+  "version": "7.24.8",
4
+  "description": "A utility package to parse strings",
5
+  "repository": {
6
+    "type": "git",
7
+    "url": "https://github.com/babel/babel.git",
8
+    "directory": "packages/babel-helper-string-parser"
9
+  },
10
+  "homepage": "https://babel.dev/docs/en/next/babel-helper-string-parser",
11
+  "license": "MIT",
12
+  "publishConfig": {
13
+    "access": "public"
14
+  },
15
+  "main": "./lib/index.js",
16
+  "devDependencies": {
17
+    "charcodes": "^0.2.0"
18
+  },
19
+  "engines": {
20
+    "node": ">=6.9.0"
21
+  },
22
+  "author": "The Babel Team (https://babel.dev/team)",
23
+  "exports": {
24
+    ".": {
25
+      "types": "./lib/index.d.ts",
26
+      "default": "./lib/index.js"
27
+    },
28
+    "./package.json": "./package.json"
29
+  },
30
+  "type": "commonjs"
31
+}

+ 22
- 0
node_modules/@babel/helper-validator-identifier/LICENSE Переглянути файл

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

+ 19
- 0
node_modules/@babel/helper-validator-identifier/README.md Переглянути файл

@@ -0,0 +1,19 @@
1
+# @babel/helper-validator-identifier
2
+
3
+> Validate identifier/keywords name
4
+
5
+See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/babel-helper-validator-identifier) for more information.
6
+
7
+## Install
8
+
9
+Using npm:
10
+
11
+```sh
12
+npm install --save @babel/helper-validator-identifier
13
+```
14
+
15
+or using yarn:
16
+
17
+```sh
18
+yarn add @babel/helper-validator-identifier
19
+```

+ 70
- 0
node_modules/@babel/helper-validator-identifier/lib/identifier.js Переглянути файл

@@ -0,0 +1,70 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.isIdentifierChar = isIdentifierChar;
7
+exports.isIdentifierName = isIdentifierName;
8
+exports.isIdentifierStart = isIdentifierStart;
9
+let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
10
+let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\u30fb\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f\uff65";
11
+const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
12
+const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
13
+nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
14
+const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
15
+const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
16
+function isInAstralSet(code, set) {
17
+  let pos = 0x10000;
18
+  for (let i = 0, length = set.length; i < length; i += 2) {
19
+    pos += set[i];
20
+    if (pos > code) return false;
21
+    pos += set[i + 1];
22
+    if (pos >= code) return true;
23
+  }
24
+  return false;
25
+}
26
+function isIdentifierStart(code) {
27
+  if (code < 65) return code === 36;
28
+  if (code <= 90) return true;
29
+  if (code < 97) return code === 95;
30
+  if (code <= 122) return true;
31
+  if (code <= 0xffff) {
32
+    return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
33
+  }
34
+  return isInAstralSet(code, astralIdentifierStartCodes);
35
+}
36
+function isIdentifierChar(code) {
37
+  if (code < 48) return code === 36;
38
+  if (code < 58) return true;
39
+  if (code < 65) return false;
40
+  if (code <= 90) return true;
41
+  if (code < 97) return code === 95;
42
+  if (code <= 122) return true;
43
+  if (code <= 0xffff) {
44
+    return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));
45
+  }
46
+  return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
47
+}
48
+function isIdentifierName(name) {
49
+  let isFirst = true;
50
+  for (let i = 0; i < name.length; i++) {
51
+    let cp = name.charCodeAt(i);
52
+    if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {
53
+      const trail = name.charCodeAt(++i);
54
+      if ((trail & 0xfc00) === 0xdc00) {
55
+        cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);
56
+      }
57
+    }
58
+    if (isFirst) {
59
+      isFirst = false;
60
+      if (!isIdentifierStart(cp)) {
61
+        return false;
62
+      }
63
+    } else if (!isIdentifierChar(cp)) {
64
+      return false;
65
+    }
66
+  }
67
+  return !isFirst;
68
+}
69
+
70
+//# sourceMappingURL=identifier.js.map

+ 1
- 0
node_modules/@babel/helper-validator-identifier/lib/identifier.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 57
- 0
node_modules/@babel/helper-validator-identifier/lib/index.js Переглянути файл

@@ -0,0 +1,57 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+Object.defineProperty(exports, "isIdentifierChar", {
7
+  enumerable: true,
8
+  get: function () {
9
+    return _identifier.isIdentifierChar;
10
+  }
11
+});
12
+Object.defineProperty(exports, "isIdentifierName", {
13
+  enumerable: true,
14
+  get: function () {
15
+    return _identifier.isIdentifierName;
16
+  }
17
+});
18
+Object.defineProperty(exports, "isIdentifierStart", {
19
+  enumerable: true,
20
+  get: function () {
21
+    return _identifier.isIdentifierStart;
22
+  }
23
+});
24
+Object.defineProperty(exports, "isKeyword", {
25
+  enumerable: true,
26
+  get: function () {
27
+    return _keyword.isKeyword;
28
+  }
29
+});
30
+Object.defineProperty(exports, "isReservedWord", {
31
+  enumerable: true,
32
+  get: function () {
33
+    return _keyword.isReservedWord;
34
+  }
35
+});
36
+Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
37
+  enumerable: true,
38
+  get: function () {
39
+    return _keyword.isStrictBindOnlyReservedWord;
40
+  }
41
+});
42
+Object.defineProperty(exports, "isStrictBindReservedWord", {
43
+  enumerable: true,
44
+  get: function () {
45
+    return _keyword.isStrictBindReservedWord;
46
+  }
47
+});
48
+Object.defineProperty(exports, "isStrictReservedWord", {
49
+  enumerable: true,
50
+  get: function () {
51
+    return _keyword.isStrictReservedWord;
52
+  }
53
+});
54
+var _identifier = require("./identifier.js");
55
+var _keyword = require("./keyword.js");
56
+
57
+//# sourceMappingURL=index.js.map

+ 1
- 0
node_modules/@babel/helper-validator-identifier/lib/index.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_identifier","require","_keyword"],"sources":["../src/index.ts"],"sourcesContent":["export {\n  isIdentifierName,\n  isIdentifierChar,\n  isIdentifierStart,\n} from \"./identifier.ts\";\nexport {\n  isReservedWord,\n  isStrictBindOnlyReservedWord,\n  isStrictBindReservedWord,\n  isStrictReservedWord,\n  isKeyword,\n} from \"./keyword.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA","ignoreList":[]}

+ 35
- 0
node_modules/@babel/helper-validator-identifier/lib/keyword.js Переглянути файл

@@ -0,0 +1,35 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.isKeyword = isKeyword;
7
+exports.isReservedWord = isReservedWord;
8
+exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
9
+exports.isStrictBindReservedWord = isStrictBindReservedWord;
10
+exports.isStrictReservedWord = isStrictReservedWord;
11
+const reservedWords = {
12
+  keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"],
13
+  strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
14
+  strictBind: ["eval", "arguments"]
15
+};
16
+const keywords = new Set(reservedWords.keyword);
17
+const reservedWordsStrictSet = new Set(reservedWords.strict);
18
+const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
19
+function isReservedWord(word, inModule) {
20
+  return inModule && word === "await" || word === "enum";
21
+}
22
+function isStrictReservedWord(word, inModule) {
23
+  return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
24
+}
25
+function isStrictBindOnlyReservedWord(word) {
26
+  return reservedWordsStrictBindSet.has(word);
27
+}
28
+function isStrictBindReservedWord(word, inModule) {
29
+  return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
30
+}
31
+function isKeyword(word) {
32
+  return keywords.has(word);
33
+}
34
+
35
+//# sourceMappingURL=keyword.js.map

+ 1
- 0
node_modules/@babel/helper-validator-identifier/lib/keyword.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["reservedWords","keyword","strict","strictBind","keywords","Set","reservedWordsStrictSet","reservedWordsStrictBindSet","isReservedWord","word","inModule","isStrictReservedWord","has","isStrictBindOnlyReservedWord","isStrictBindReservedWord","isKeyword"],"sources":["../src/keyword.ts"],"sourcesContent":["const reservedWords = {\n  keyword: [\n    \"break\",\n    \"case\",\n    \"catch\",\n    \"continue\",\n    \"debugger\",\n    \"default\",\n    \"do\",\n    \"else\",\n    \"finally\",\n    \"for\",\n    \"function\",\n    \"if\",\n    \"return\",\n    \"switch\",\n    \"throw\",\n    \"try\",\n    \"var\",\n    \"const\",\n    \"while\",\n    \"with\",\n    \"new\",\n    \"this\",\n    \"super\",\n    \"class\",\n    \"extends\",\n    \"export\",\n    \"import\",\n    \"null\",\n    \"true\",\n    \"false\",\n    \"in\",\n    \"instanceof\",\n    \"typeof\",\n    \"void\",\n    \"delete\",\n  ],\n  strict: [\n    \"implements\",\n    \"interface\",\n    \"let\",\n    \"package\",\n    \"private\",\n    \"protected\",\n    \"public\",\n    \"static\",\n    \"yield\",\n  ],\n  strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n  return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n  return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n  return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n  word: string,\n  inModule: boolean,\n): boolean {\n  return (\n    isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n  );\n}\n\nexport function isKeyword(word: string): boolean {\n  return keywords.has(word);\n}\n"],"mappings":";;;;;;;;;;AAAA,MAAMA,aAAa,GAAG;EACpBC,OAAO,EAAE,CACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,QAAQ,CACT;EACDC,MAAM,EAAE,CACN,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,OAAO,CACR;EACDC,UAAU,EAAE,CAAC,MAAM,EAAE,WAAW;AAClC,CAAC;AACD,MAAMC,QAAQ,GAAG,IAAIC,GAAG,CAACL,aAAa,CAACC,OAAO,CAAC;AAC/C,MAAMK,sBAAsB,GAAG,IAAID,GAAG,CAACL,aAAa,CAACE,MAAM,CAAC;AAC5D,MAAMK,0BAA0B,GAAG,IAAIF,GAAG,CAACL,aAAa,CAACG,UAAU,CAAC;AAK7D,SAASK,cAAcA,CAACC,IAAY,EAAEC,QAAiB,EAAW;EACvE,OAAQA,QAAQ,IAAID,IAAI,KAAK,OAAO,IAAKA,IAAI,KAAK,MAAM;AAC1D;AAOO,SAASE,oBAAoBA,CAACF,IAAY,EAAEC,QAAiB,EAAW;EAC7E,OAAOF,cAAc,CAACC,IAAI,EAAEC,QAAQ,CAAC,IAAIJ,sBAAsB,CAACM,GAAG,CAACH,IAAI,CAAC;AAC3E;AAMO,SAASI,4BAA4BA,CAACJ,IAAY,EAAW;EAClE,OAAOF,0BAA0B,CAACK,GAAG,CAACH,IAAI,CAAC;AAC7C;AAOO,SAASK,wBAAwBA,CACtCL,IAAY,EACZC,QAAiB,EACR;EACT,OACEC,oBAAoB,CAACF,IAAI,EAAEC,QAAQ,CAAC,IAAIG,4BAA4B,CAACJ,IAAI,CAAC;AAE9E;AAEO,SAASM,SAASA,CAACN,IAAY,EAAW;EAC/C,OAAOL,QAAQ,CAACQ,GAAG,CAACH,IAAI,CAAC;AAC3B","ignoreList":[]}

+ 31
- 0
node_modules/@babel/helper-validator-identifier/package.json Переглянути файл

@@ -0,0 +1,31 @@
1
+{
2
+  "name": "@babel/helper-validator-identifier",
3
+  "version": "7.24.7",
4
+  "description": "Validate identifier/keywords name",
5
+  "repository": {
6
+    "type": "git",
7
+    "url": "https://github.com/babel/babel.git",
8
+    "directory": "packages/babel-helper-validator-identifier"
9
+  },
10
+  "license": "MIT",
11
+  "publishConfig": {
12
+    "access": "public"
13
+  },
14
+  "main": "./lib/index.js",
15
+  "exports": {
16
+    ".": {
17
+      "types": "./lib/index.d.ts",
18
+      "default": "./lib/index.js"
19
+    },
20
+    "./package.json": "./package.json"
21
+  },
22
+  "devDependencies": {
23
+    "@unicode/unicode-15.1.0": "^1.5.2",
24
+    "charcodes": "^0.2.0"
25
+  },
26
+  "engines": {
27
+    "node": ">=6.9.0"
28
+  },
29
+  "author": "The Babel Team (https://babel.dev/team)",
30
+  "type": "commonjs"
31
+}

+ 73
- 0
node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js Переглянути файл

@@ -0,0 +1,73 @@
1
+"use strict";
2
+
3
+// Always use the latest available version of Unicode!
4
+// https://tc39.github.io/ecma262/#sec-conformance
5
+const version = "15.1.0";
6
+
7
+const start = require(
8
+  "@unicode/unicode-" + version + "/Binary_Property/ID_Start/code-points.js"
9
+).filter(function (ch) {
10
+  return ch > 0x7f;
11
+});
12
+let last = -1;
13
+const cont = require(
14
+  "@unicode/unicode-" + version + "/Binary_Property/ID_Continue/code-points.js"
15
+).filter(function (ch) {
16
+  return ch > 0x7f && search(start, ch, last + 1) === -1;
17
+});
18
+
19
+function search(arr, ch, starting) {
20
+  for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) {
21
+    if (arr[i] === ch) return i;
22
+  }
23
+  return -1;
24
+}
25
+
26
+function pad(str, width) {
27
+  while (str.length < width) str = "0" + str;
28
+  return str;
29
+}
30
+
31
+function esc(code) {
32
+  const hex = code.toString(16);
33
+  if (hex.length <= 2) return "\\x" + pad(hex, 2);
34
+  else return "\\u" + pad(hex, 4);
35
+}
36
+
37
+function generate(chars) {
38
+  const astral = [];
39
+  let re = "";
40
+  for (let i = 0, at = 0x10000; i < chars.length; i++) {
41
+    const from = chars[i];
42
+    let to = from;
43
+    while (i < chars.length - 1 && chars[i + 1] === to + 1) {
44
+      i++;
45
+      to++;
46
+    }
47
+    if (to <= 0xffff) {
48
+      if (from === to) re += esc(from);
49
+      else if (from + 1 === to) re += esc(from) + esc(to);
50
+      else re += esc(from) + "-" + esc(to);
51
+    } else {
52
+      astral.push(from - at, to - from);
53
+      at = to;
54
+    }
55
+  }
56
+  return { nonASCII: re, astral: astral };
57
+}
58
+
59
+const startData = generate(start);
60
+const contData = generate(cont);
61
+
62
+console.log("/* prettier-ignore */");
63
+console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";');
64
+console.log("/* prettier-ignore */");
65
+console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";');
66
+console.log("/* prettier-ignore */");
67
+console.log(
68
+  "const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";"
69
+);
70
+console.log("/* prettier-ignore */");
71
+console.log(
72
+  "const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";"
73
+);

+ 1073
- 0
node_modules/@babel/parser/CHANGELOG.md
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 19
- 0
node_modules/@babel/parser/LICENSE Переглянути файл

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

+ 19
- 0
node_modules/@babel/parser/README.md Переглянути файл

@@ -0,0 +1,19 @@
1
+# @babel/parser
2
+
3
+> A JavaScript parser
4
+
5
+See our website [@babel/parser](https://babeljs.io/docs/babel-parser) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20parser%22+is%3Aopen) associated with this package.
6
+
7
+## Install
8
+
9
+Using npm:
10
+
11
+```sh
12
+npm install --save-dev @babel/parser
13
+```
14
+
15
+or using yarn:
16
+
17
+```sh
18
+yarn add @babel/parser --dev
19
+```

+ 15
- 0
node_modules/@babel/parser/bin/babel-parser.js Переглянути файл

@@ -0,0 +1,15 @@
1
+#!/usr/bin/env node
2
+/* eslint no-var: 0 */
3
+
4
+var parser = require("..");
5
+var fs = require("fs");
6
+
7
+var filename = process.argv[2];
8
+if (!filename) {
9
+  console.error("no filename specified");
10
+} else {
11
+  var file = fs.readFileSync(filename, "utf8");
12
+  var ast = parser.parse(file);
13
+
14
+  console.log(JSON.stringify(ast, null, "  "));
15
+}

+ 5
- 0
node_modules/@babel/parser/index.cjs Переглянути файл

@@ -0,0 +1,5 @@
1
+try {
2
+  module.exports = require("./lib/index.cjs");
3
+} catch {
4
+  module.exports = require("./lib/index.js");
5
+}

+ 13987
- 0
node_modules/@babel/parser/lib/index.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 0
node_modules/@babel/parser/lib/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 50
- 0
node_modules/@babel/parser/package.json Переглянути файл

@@ -0,0 +1,50 @@
1
+{
2
+  "name": "@babel/parser",
3
+  "version": "7.25.3",
4
+  "description": "A JavaScript parser",
5
+  "author": "The Babel Team (https://babel.dev/team)",
6
+  "homepage": "https://babel.dev/docs/en/next/babel-parser",
7
+  "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen",
8
+  "license": "MIT",
9
+  "publishConfig": {
10
+    "access": "public"
11
+  },
12
+  "keywords": [
13
+    "babel",
14
+    "javascript",
15
+    "parser",
16
+    "tc39",
17
+    "ecmascript",
18
+    "@babel/parser"
19
+  ],
20
+  "repository": {
21
+    "type": "git",
22
+    "url": "https://github.com/babel/babel.git",
23
+    "directory": "packages/babel-parser"
24
+  },
25
+  "main": "./lib/index.js",
26
+  "types": "./typings/babel-parser.d.ts",
27
+  "files": [
28
+    "bin",
29
+    "lib",
30
+    "typings/babel-parser.d.ts",
31
+    "index.cjs"
32
+  ],
33
+  "engines": {
34
+    "node": ">=6.0.0"
35
+  },
36
+  "# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
37
+  "dependencies": {
38
+    "@babel/types": "^7.25.2"
39
+  },
40
+  "devDependencies": {
41
+    "@babel/code-frame": "^7.24.7",
42
+    "@babel/helper-check-duplicate-nodes": "^7.24.7",
43
+    "@babel/helper-fixtures": "^7.24.8",
44
+    "@babel/helper-string-parser": "^7.24.8",
45
+    "@babel/helper-validator-identifier": "^7.24.7",
46
+    "charcodes": "^0.2.0"
47
+  },
48
+  "bin": "./bin/babel-parser.js",
49
+  "type": "commonjs"
50
+}

+ 251
- 0
node_modules/@babel/parser/typings/babel-parser.d.ts Переглянути файл

@@ -0,0 +1,251 @@
1
+// This file is auto-generated! Do not modify it directly.
2
+/* eslint-disable @typescript-eslint/consistent-type-imports, prettier/prettier */
3
+import * as _babel_types from '@babel/types';
4
+
5
+type Plugin =
6
+  | "asyncDoExpressions"
7
+  | "asyncGenerators"
8
+  | "bigInt"
9
+  | "classPrivateMethods"
10
+  | "classPrivateProperties"
11
+  | "classProperties"
12
+  | "classStaticBlock" // Enabled by default
13
+  | "decimal"
14
+  | "decorators-legacy"
15
+  | "deferredImportEvaluation"
16
+  | "decoratorAutoAccessors"
17
+  | "destructuringPrivate"
18
+  | "doExpressions"
19
+  | "dynamicImport"
20
+  | "explicitResourceManagement"
21
+  | "exportDefaultFrom"
22
+  | "exportNamespaceFrom" // deprecated
23
+  | "flow"
24
+  | "flowComments"
25
+  | "functionBind"
26
+  | "functionSent"
27
+  | "importMeta"
28
+  | "jsx"
29
+  | "logicalAssignment"
30
+  | "importAssertions" // deprecated
31
+  | "importAttributes"
32
+  | "importReflection"
33
+  | "moduleBlocks"
34
+  | "moduleStringNames"
35
+  | "nullishCoalescingOperator"
36
+  | "numericSeparator"
37
+  | "objectRestSpread"
38
+  | "optionalCatchBinding"
39
+  | "optionalChaining"
40
+  | "partialApplication"
41
+  | "placeholders"
42
+  | "privateIn" // Enabled by default
43
+  | "regexpUnicodeSets" // Enabled by default
44
+  | "sourcePhaseImports"
45
+  | "throwExpressions"
46
+  | "topLevelAwait"
47
+  | "v8intrinsic"
48
+  | ParserPluginWithOptions[0];
49
+
50
+type ParserPluginWithOptions =
51
+  | ["decorators", DecoratorsPluginOptions]
52
+  | ["estree", { classFeatures?: boolean }]
53
+  | ["importAttributes", { deprecatedAssertSyntax: boolean }]
54
+  // @deprecated
55
+  | ["moduleAttributes", { version: "may-2020" }]
56
+  | ["optionalChainingAssign", { version: "2023-07" }]
57
+  | ["pipelineOperator", PipelineOperatorPluginOptions]
58
+  | ["recordAndTuple", RecordAndTuplePluginOptions]
59
+  | ["flow", FlowPluginOptions]
60
+  | ["typescript", TypeScriptPluginOptions];
61
+
62
+type PluginConfig = Plugin | ParserPluginWithOptions;
63
+
64
+interface DecoratorsPluginOptions {
65
+  decoratorsBeforeExport?: boolean;
66
+  allowCallParenthesized?: boolean;
67
+}
68
+
69
+interface PipelineOperatorPluginOptions {
70
+  proposal: "minimal" | "fsharp" | "hack" | "smart";
71
+  topicToken?: "%" | "#" | "@@" | "^^" | "^";
72
+}
73
+
74
+interface RecordAndTuplePluginOptions {
75
+  syntaxType: "bar" | "hash";
76
+}
77
+
78
+interface FlowPluginOptions {
79
+  all?: boolean;
80
+  enums?: boolean;
81
+}
82
+
83
+interface TypeScriptPluginOptions {
84
+  dts?: boolean;
85
+  disallowAmbiguousJSXLike?: boolean;
86
+}
87
+
88
+// Type definitions for @babel/parser
89
+// Project: https://github.com/babel/babel/tree/main/packages/babel-parser
90
+// Definitions by: Troy Gerwien <https://github.com/yortus>
91
+//                 Marvin Hagemeister <https://github.com/marvinhagemeister>
92
+//                 Avi Vahl <https://github.com/AviVahl>
93
+// TypeScript Version: 2.9
94
+
95
+/**
96
+ * Parse the provided code as an entire ECMAScript program.
97
+ */
98
+declare function parse(
99
+  input: string,
100
+  options?: ParserOptions
101
+): ParseResult<_babel_types.File>;
102
+
103
+/**
104
+ * Parse the provided code as a single expression.
105
+ */
106
+declare function parseExpression(
107
+  input: string,
108
+  options?: ParserOptions
109
+): ParseResult<_babel_types.Expression>;
110
+
111
+interface ParserOptions {
112
+  /**
113
+   * By default, import and export declarations can only appear at a program's top level.
114
+   * Setting this option to true allows them anywhere where a statement is allowed.
115
+   */
116
+  allowImportExportEverywhere?: boolean;
117
+
118
+  /**
119
+   * By default, await use is not allowed outside of an async function.
120
+   * Set this to true to accept such code.
121
+   */
122
+  allowAwaitOutsideFunction?: boolean;
123
+
124
+  /**
125
+   * By default, a return statement at the top level raises an error.
126
+   * Set this to true to accept such code.
127
+   */
128
+  allowReturnOutsideFunction?: boolean;
129
+
130
+  /**
131
+   * By default, new.target use is not allowed outside of a function or class.
132
+   * Set this to true to accept such code.
133
+   */
134
+  allowNewTargetOutsideFunction?: boolean;
135
+
136
+  allowSuperOutsideMethod?: boolean;
137
+
138
+  /**
139
+   * By default, exported identifiers must refer to a declared variable.
140
+   * Set this to true to allow export statements to reference undeclared variables.
141
+   */
142
+  allowUndeclaredExports?: boolean;
143
+
144
+  /**
145
+   * By default, Babel parser JavaScript code according to Annex B syntax.
146
+   * Set this to `false` to disable such behavior.
147
+   */
148
+  annexB?: boolean;
149
+
150
+  /**
151
+   * By default, Babel attaches comments to adjacent AST nodes.
152
+   * When this option is set to false, comments are not attached.
153
+   * It can provide up to 30% performance improvement when the input code has many comments.
154
+   * @babel/eslint-parser will set it for you.
155
+   * It is not recommended to use attachComment: false with Babel transform,
156
+   * as doing so removes all the comments in output code, and renders annotations such as
157
+   * /* istanbul ignore next *\/ nonfunctional.
158
+   */
159
+  attachComment?: boolean;
160
+
161
+  /**
162
+   * By default, Babel always throws an error when it finds some invalid code.
163
+   * When this option is set to true, it will store the parsing error and
164
+   * try to continue parsing the invalid input file.
165
+   */
166
+  errorRecovery?: boolean;
167
+
168
+  /**
169
+   * Indicate the mode the code should be parsed in.
170
+   * Can be one of "script", "module", or "unambiguous". Defaults to "script".
171
+   * "unambiguous" will make @babel/parser attempt to guess, based on the presence
172
+   * of ES6 import or export statements.
173
+   * Files with ES6 imports and exports are considered "module" and are otherwise "script".
174
+   */
175
+  sourceType?: "script" | "module" | "unambiguous";
176
+
177
+  /**
178
+   * Correlate output AST nodes with their source filename.
179
+   * Useful when generating code and source maps from the ASTs of multiple input files.
180
+   */
181
+  sourceFilename?: string;
182
+
183
+  /**
184
+   * By default, the first line of code parsed is treated as line 1.
185
+   * You can provide a line number to alternatively start with.
186
+   * Useful for integration with other source tools.
187
+   */
188
+  startLine?: number;
189
+
190
+  /**
191
+   * By default, the parsed code is treated as if it starts from line 1, column 0.
192
+   * You can provide a column number to alternatively start with.
193
+   * Useful for integration with other source tools.
194
+   */
195
+  startColumn?: number;
196
+
197
+  /**
198
+   * Array containing the plugins that you want to enable.
199
+   */
200
+  plugins?: ParserPlugin[];
201
+
202
+  /**
203
+   * Should the parser work in strict mode.
204
+   * Defaults to true if sourceType === 'module'. Otherwise, false.
205
+   */
206
+  strictMode?: boolean;
207
+
208
+  /**
209
+   * Adds a ranges property to each node: [node.start, node.end]
210
+   */
211
+  ranges?: boolean;
212
+
213
+  /**
214
+   * Adds all parsed tokens to a tokens property on the File node.
215
+   */
216
+  tokens?: boolean;
217
+
218
+  /**
219
+   * By default, the parser adds information about parentheses by setting
220
+   * `extra.parenthesized` to `true` as needed.
221
+   * When this option is `true` the parser creates `ParenthesizedExpression`
222
+   * AST nodes instead of using the `extra` property.
223
+   */
224
+  createParenthesizedExpressions?: boolean;
225
+
226
+  /**
227
+   * The default is false in Babel 7 and true in Babel 8
228
+   * Set this to true to parse it as an `ImportExpression` node.
229
+   * Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
230
+   */
231
+  createImportExpressions?: boolean;
232
+}
233
+
234
+type ParserPlugin = PluginConfig;
235
+
236
+
237
+declare const tokTypes: {
238
+  // todo(flow->ts) real token type
239
+  [name: string]: any;
240
+};
241
+
242
+interface ParseError {
243
+  code: string;
244
+  reasonCode: string;
245
+}
246
+
247
+type ParseResult<Result> = Result & {
248
+  errors: ParseError[];
249
+};
250
+
251
+export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };

+ 22
- 0
node_modules/@babel/types/LICENSE Переглянути файл

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

+ 19
- 0
node_modules/@babel/types/README.md Переглянути файл

@@ -0,0 +1,19 @@
1
+# @babel/types
2
+
3
+> Babel Types is a Lodash-esque utility library for AST nodes
4
+
5
+See our website [@babel/types](https://babeljs.io/docs/babel-types) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen) associated with this package.
6
+
7
+## Install
8
+
9
+Using npm:
10
+
11
+```sh
12
+npm install --save-dev @babel/types
13
+```
14
+
15
+or using yarn:
16
+
17
+```sh
18
+yarn add @babel/types --dev
19
+```

+ 16
- 0
node_modules/@babel/types/lib/asserts/assertNode.js Переглянути файл

@@ -0,0 +1,16 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = assertNode;
7
+var _isNode = require("../validators/isNode.js");
8
+function assertNode(node) {
9
+  if (!(0, _isNode.default)(node)) {
10
+    var _node$type;
11
+    const type = (_node$type = node == null ? void 0 : node.type) != null ? _node$type : JSON.stringify(node);
12
+    throw new TypeError(`Not a valid node of type "${type}"`);
13
+  }
14
+}
15
+
16
+//# sourceMappingURL=assertNode.js.map

+ 1
- 0
node_modules/@babel/types/lib/asserts/assertNode.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_isNode","require","assertNode","node","isNode","_node$type","type","JSON","stringify","TypeError"],"sources":["../../src/asserts/assertNode.ts"],"sourcesContent":["import isNode from \"../validators/isNode.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function assertNode(node?: any): asserts node is t.Node {\n  if (!isNode(node)) {\n    const type = node?.type ?? JSON.stringify(node);\n    throw new TypeError(`Not a valid node of type \"${type}\"`);\n  }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGe,SAASC,UAAUA,CAACC,IAAU,EAA0B;EACrE,IAAI,CAAC,IAAAC,eAAM,EAACD,IAAI,CAAC,EAAE;IAAA,IAAAE,UAAA;IACjB,MAAMC,IAAI,IAAAD,UAAA,GAAGF,IAAI,oBAAJA,IAAI,CAAEG,IAAI,YAAAD,UAAA,GAAIE,IAAI,CAACC,SAAS,CAACL,IAAI,CAAC;IAC/C,MAAM,IAAIM,SAAS,CAAC,6BAA6BH,IAAI,GAAG,CAAC;EAC3D;AACF","ignoreList":[]}

+ 1235
- 0
node_modules/@babel/types/lib/asserts/generated/index.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 0
node_modules/@babel/types/lib/asserts/generated/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 3
- 0
node_modules/@babel/types/lib/ast-types/generated/index.js Переглянути файл

@@ -0,0 +1,3 @@
1
+
2
+
3
+//# sourceMappingURL=index.js.map

+ 1
- 0
node_modules/@babel/types/lib/ast-types/generated/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 18
- 0
node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js Переглянути файл

@@ -0,0 +1,18 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = createFlowUnionType;
7
+var _index = require("../generated/index.js");
8
+var _removeTypeDuplicates = require("../../modifications/flow/removeTypeDuplicates.js");
9
+function createFlowUnionType(types) {
10
+  const flattened = (0, _removeTypeDuplicates.default)(types);
11
+  if (flattened.length === 1) {
12
+    return flattened[0];
13
+  } else {
14
+    return (0, _index.unionTypeAnnotation)(flattened);
15
+  }
16
+}
17
+
18
+//# sourceMappingURL=createFlowUnionType.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_removeTypeDuplicates","createFlowUnionType","types","flattened","removeTypeDuplicates","length","unionTypeAnnotation"],"sources":["../../../src/builders/flow/createFlowUnionType.ts"],"sourcesContent":["import { unionTypeAnnotation } from \"../generated/index.ts\";\nimport removeTypeDuplicates from \"../../modifications/flow/removeTypeDuplicates.ts\";\nimport type * as t from \"../../index.ts\";\n\n/**\n * Takes an array of `types` and flattens them, removing duplicates and\n * returns a `UnionTypeAnnotation` node containing them.\n */\nexport default function createFlowUnionType<T extends t.FlowType>(\n  types: [T] | Array<T>,\n): T | t.UnionTypeAnnotation {\n  const flattened = removeTypeDuplicates(types);\n\n  if (flattened.length === 1) {\n    return flattened[0] as T;\n  } else {\n    return unionTypeAnnotation(flattened);\n  }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AAOe,SAASE,mBAAmBA,CACzCC,KAAqB,EACM;EAC3B,MAAMC,SAAS,GAAG,IAAAC,6BAAoB,EAACF,KAAK,CAAC;EAE7C,IAAIC,SAAS,CAACE,MAAM,KAAK,CAAC,EAAE;IAC1B,OAAOF,SAAS,CAAC,CAAC,CAAC;EACrB,CAAC,MAAM;IACL,OAAO,IAAAG,0BAAmB,EAACH,SAAS,CAAC;EACvC;AACF","ignoreList":[]}

+ 31
- 0
node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js Переглянути файл

@@ -0,0 +1,31 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = void 0;
7
+var _index = require("../generated/index.js");
8
+var _default = exports.default = createTypeAnnotationBasedOnTypeof;
9
+function createTypeAnnotationBasedOnTypeof(type) {
10
+  switch (type) {
11
+    case "string":
12
+      return (0, _index.stringTypeAnnotation)();
13
+    case "number":
14
+      return (0, _index.numberTypeAnnotation)();
15
+    case "undefined":
16
+      return (0, _index.voidTypeAnnotation)();
17
+    case "boolean":
18
+      return (0, _index.booleanTypeAnnotation)();
19
+    case "function":
20
+      return (0, _index.genericTypeAnnotation)((0, _index.identifier)("Function"));
21
+    case "object":
22
+      return (0, _index.genericTypeAnnotation)((0, _index.identifier)("Object"));
23
+    case "symbol":
24
+      return (0, _index.genericTypeAnnotation)((0, _index.identifier)("Symbol"));
25
+    case "bigint":
26
+      return (0, _index.anyTypeAnnotation)();
27
+  }
28
+  throw new Error("Invalid typeof value: " + type);
29
+}
30
+
31
+//# sourceMappingURL=createTypeAnnotationBasedOnTypeof.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_default","exports","default","createTypeAnnotationBasedOnTypeof","type","stringTypeAnnotation","numberTypeAnnotation","voidTypeAnnotation","booleanTypeAnnotation","genericTypeAnnotation","identifier","anyTypeAnnotation","Error"],"sources":["../../../src/builders/flow/createTypeAnnotationBasedOnTypeof.ts"],"sourcesContent":["import {\n  anyTypeAnnotation,\n  stringTypeAnnotation,\n  numberTypeAnnotation,\n  voidTypeAnnotation,\n  booleanTypeAnnotation,\n  genericTypeAnnotation,\n  identifier,\n} from \"../generated/index.ts\";\nimport type * as t from \"../../index.ts\";\n\nexport default createTypeAnnotationBasedOnTypeof as {\n  (type: \"string\"): t.StringTypeAnnotation;\n  (type: \"number\"): t.NumberTypeAnnotation;\n  (type: \"undefined\"): t.VoidTypeAnnotation;\n  (type: \"boolean\"): t.BooleanTypeAnnotation;\n  (type: \"function\"): t.GenericTypeAnnotation;\n  (type: \"object\"): t.GenericTypeAnnotation;\n  (type: \"symbol\"): t.GenericTypeAnnotation;\n  (type: \"bigint\"): t.AnyTypeAnnotation;\n};\n\n/**\n * Create a type annotation based on typeof expression.\n */\nfunction createTypeAnnotationBasedOnTypeof(type: string): t.FlowType {\n  switch (type) {\n    case \"string\":\n      return stringTypeAnnotation();\n    case \"number\":\n      return numberTypeAnnotation();\n    case \"undefined\":\n      return voidTypeAnnotation();\n    case \"boolean\":\n      return booleanTypeAnnotation();\n    case \"function\":\n      return genericTypeAnnotation(identifier(\"Function\"));\n    case \"object\":\n      return genericTypeAnnotation(identifier(\"Object\"));\n    case \"symbol\":\n      return genericTypeAnnotation(identifier(\"Symbol\"));\n    case \"bigint\":\n      // todo: use BigInt annotation when Flow supports BigInt\n      // https://github.com/facebook/flow/issues/6639\n      return anyTypeAnnotation();\n  }\n  throw new Error(\"Invalid typeof value: \" + type);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAQ+B,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGhBC,iCAAiC;AAchD,SAASA,iCAAiCA,CAACC,IAAY,EAAc;EACnE,QAAQA,IAAI;IACV,KAAK,QAAQ;MACX,OAAO,IAAAC,2BAAoB,EAAC,CAAC;IAC/B,KAAK,QAAQ;MACX,OAAO,IAAAC,2BAAoB,EAAC,CAAC;IAC/B,KAAK,WAAW;MACd,OAAO,IAAAC,yBAAkB,EAAC,CAAC;IAC7B,KAAK,SAAS;MACZ,OAAO,IAAAC,4BAAqB,EAAC,CAAC;IAChC,KAAK,UAAU;MACb,OAAO,IAAAC,4BAAqB,EAAC,IAAAC,iBAAU,EAAC,UAAU,CAAC,CAAC;IACtD,KAAK,QAAQ;MACX,OAAO,IAAAD,4BAAqB,EAAC,IAAAC,iBAAU,EAAC,QAAQ,CAAC,CAAC;IACpD,KAAK,QAAQ;MACX,OAAO,IAAAD,4BAAqB,EAAC,IAAAC,iBAAU,EAAC,QAAQ,CAAC,CAAC;IACpD,KAAK,QAAQ;MAGX,OAAO,IAAAC,wBAAiB,EAAC,CAAC;EAC9B;EACA,MAAM,IAAIC,KAAK,CAAC,wBAAwB,GAAGR,IAAI,CAAC;AAClD","ignoreList":[]}

+ 1991
- 0
node_modules/@babel/types/lib/builders/generated/index.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 0
node_modules/@babel/types/lib/builders/generated/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1532
- 0
node_modules/@babel/types/lib/builders/generated/uppercase.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 0
node_modules/@babel/types/lib/builders/generated/uppercase.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 12
- 0
node_modules/@babel/types/lib/builders/productions.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.buildUndefinedNode = buildUndefinedNode;
7
+var _index = require("./generated/index.js");
8
+function buildUndefinedNode() {
9
+  return (0, _index.unaryExpression)("void", (0, _index.numericLiteral)(0), true);
10
+}
11
+
12
+//# sourceMappingURL=productions.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/productions.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","buildUndefinedNode","unaryExpression","numericLiteral"],"sources":["../../src/builders/productions.ts"],"sourcesContent":["import { numericLiteral, unaryExpression } from \"./generated/index.ts\";\n\nexport function buildUndefinedNode() {\n  return unaryExpression(\"void\", numericLiteral(0), true);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEO,SAASC,kBAAkBA,CAAA,EAAG;EACnC,OAAO,IAAAC,sBAAe,EAAC,MAAM,EAAE,IAAAC,qBAAc,EAAC,CAAC,CAAC,EAAE,IAAI,CAAC;AACzD","ignoreList":[]}

+ 24
- 0
node_modules/@babel/types/lib/builders/react/buildChildren.js Переглянути файл

@@ -0,0 +1,24 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = buildChildren;
7
+var _index = require("../../validators/generated/index.js");
8
+var _cleanJSXElementLiteralChild = require("../../utils/react/cleanJSXElementLiteralChild.js");
9
+function buildChildren(node) {
10
+  const elements = [];
11
+  for (let i = 0; i < node.children.length; i++) {
12
+    let child = node.children[i];
13
+    if ((0, _index.isJSXText)(child)) {
14
+      (0, _cleanJSXElementLiteralChild.default)(child, elements);
15
+      continue;
16
+    }
17
+    if ((0, _index.isJSXExpressionContainer)(child)) child = child.expression;
18
+    if ((0, _index.isJSXEmptyExpression)(child)) continue;
19
+    elements.push(child);
20
+  }
21
+  return elements;
22
+}
23
+
24
+//# sourceMappingURL=buildChildren.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/react/buildChildren.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_cleanJSXElementLiteralChild","buildChildren","node","elements","i","children","length","child","isJSXText","cleanJSXElementLiteralChild","isJSXExpressionContainer","expression","isJSXEmptyExpression","push"],"sources":["../../../src/builders/react/buildChildren.ts"],"sourcesContent":["import {\n  isJSXText,\n  isJSXExpressionContainer,\n  isJSXEmptyExpression,\n} from \"../../validators/generated/index.ts\";\nimport cleanJSXElementLiteralChild from \"../../utils/react/cleanJSXElementLiteralChild.ts\";\nimport type * as t from \"../../index.ts\";\n\ntype ReturnedChild =\n  | t.JSXSpreadChild\n  | t.JSXElement\n  | t.JSXFragment\n  | t.Expression;\n\nexport default function buildChildren(\n  node: t.JSXElement | t.JSXFragment,\n): ReturnedChild[] {\n  const elements = [];\n\n  for (let i = 0; i < node.children.length; i++) {\n    let child: any = node.children[i];\n\n    if (isJSXText(child)) {\n      cleanJSXElementLiteralChild(child, elements);\n      continue;\n    }\n\n    if (isJSXExpressionContainer(child)) child = child.expression;\n    if (isJSXEmptyExpression(child)) continue;\n\n    elements.push(child);\n  }\n\n  return elements;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,4BAAA,GAAAD,OAAA;AASe,SAASE,aAAaA,CACnCC,IAAkC,EACjB;EACjB,MAAMC,QAAQ,GAAG,EAAE;EAEnB,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,IAAI,CAACG,QAAQ,CAACC,MAAM,EAAEF,CAAC,EAAE,EAAE;IAC7C,IAAIG,KAAU,GAAGL,IAAI,CAACG,QAAQ,CAACD,CAAC,CAAC;IAEjC,IAAI,IAAAI,gBAAS,EAACD,KAAK,CAAC,EAAE;MACpB,IAAAE,oCAA2B,EAACF,KAAK,EAAEJ,QAAQ,CAAC;MAC5C;IACF;IAEA,IAAI,IAAAO,+BAAwB,EAACH,KAAK,CAAC,EAAEA,KAAK,GAAGA,KAAK,CAACI,UAAU;IAC7D,IAAI,IAAAC,2BAAoB,EAACL,KAAK,CAAC,EAAE;IAEjCJ,QAAQ,CAACU,IAAI,CAACN,KAAK,CAAC;EACtB;EAEA,OAAOJ,QAAQ;AACjB","ignoreList":[]}

+ 22
- 0
node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js Переглянути файл

@@ -0,0 +1,22 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = createTSUnionType;
7
+var _index = require("../generated/index.js");
8
+var _removeTypeDuplicates = require("../../modifications/typescript/removeTypeDuplicates.js");
9
+var _index2 = require("../../validators/generated/index.js");
10
+function createTSUnionType(typeAnnotations) {
11
+  const types = typeAnnotations.map(type => {
12
+    return (0, _index2.isTSTypeAnnotation)(type) ? type.typeAnnotation : type;
13
+  });
14
+  const flattened = (0, _removeTypeDuplicates.default)(types);
15
+  if (flattened.length === 1) {
16
+    return flattened[0];
17
+  } else {
18
+    return (0, _index.tsUnionType)(flattened);
19
+  }
20
+}
21
+
22
+//# sourceMappingURL=createTSUnionType.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_removeTypeDuplicates","_index2","createTSUnionType","typeAnnotations","types","map","type","isTSTypeAnnotation","typeAnnotation","flattened","removeTypeDuplicates","length","tsUnionType"],"sources":["../../../src/builders/typescript/createTSUnionType.ts"],"sourcesContent":["import { tsUnionType } from \"../generated/index.ts\";\nimport removeTypeDuplicates from \"../../modifications/typescript/removeTypeDuplicates.ts\";\nimport { isTSTypeAnnotation } from \"../../validators/generated/index.ts\";\nimport type * as t from \"../../index.ts\";\n\n/**\n * Takes an array of `types` and flattens them, removing duplicates and\n * returns a `UnionTypeAnnotation` node containing them.\n */\nexport default function createTSUnionType(\n  typeAnnotations: Array<t.TSTypeAnnotation | t.TSType>,\n): t.TSType {\n  const types = typeAnnotations.map(type => {\n    return isTSTypeAnnotation(type) ? type.typeAnnotation : type;\n  });\n  const flattened = removeTypeDuplicates(types);\n\n  if (flattened.length === 1) {\n    return flattened[0];\n  } else {\n    return tsUnionType(flattened);\n  }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAOe,SAASG,iBAAiBA,CACvCC,eAAqD,EAC3C;EACV,MAAMC,KAAK,GAAGD,eAAe,CAACE,GAAG,CAACC,IAAI,IAAI;IACxC,OAAO,IAAAC,0BAAkB,EAACD,IAAI,CAAC,GAAGA,IAAI,CAACE,cAAc,GAAGF,IAAI;EAC9D,CAAC,CAAC;EACF,MAAMG,SAAS,GAAG,IAAAC,6BAAoB,EAACN,KAAK,CAAC;EAE7C,IAAIK,SAAS,CAACE,MAAM,KAAK,CAAC,EAAE;IAC1B,OAAOF,SAAS,CAAC,CAAC,CAAC;EACrB,CAAC,MAAM;IACL,OAAO,IAAAG,kBAAW,EAACH,SAAS,CAAC;EAC/B;AACF","ignoreList":[]}

+ 17
- 0
node_modules/@babel/types/lib/builders/validateNode.js Переглянути файл

@@ -0,0 +1,17 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = validateNode;
7
+var _validate = require("../validators/validate.js");
8
+var _index = require("../index.js");
9
+function validateNode(node) {
10
+  const keys = _index.BUILDER_KEYS[node.type];
11
+  for (const key of keys) {
12
+    (0, _validate.default)(node, key, node[key]);
13
+  }
14
+  return node;
15
+}
16
+
17
+//# sourceMappingURL=validateNode.js.map

+ 1
- 0
node_modules/@babel/types/lib/builders/validateNode.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_validate","require","_index","validateNode","node","keys","BUILDER_KEYS","type","key","validate"],"sources":["../../src/builders/validateNode.ts"],"sourcesContent":["import validate from \"../validators/validate.ts\";\nimport type * as t from \"../index.ts\";\nimport { BUILDER_KEYS } from \"../index.ts\";\n\nexport default function validateNode<N extends t.Node>(node: N) {\n  // todo: because keys not in BUILDER_KEYS are not validated - this actually allows invalid nodes in some cases\n  const keys = BUILDER_KEYS[node.type] as (keyof N & string)[];\n  for (const key of keys) {\n    validate(node, key, node[key]);\n  }\n  return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAEe,SAASE,YAAYA,CAAmBC,IAAO,EAAE;EAE9D,MAAMC,IAAI,GAAGC,mBAAY,CAACF,IAAI,CAACG,IAAI,CAAyB;EAC5D,KAAK,MAAMC,GAAG,IAAIH,IAAI,EAAE;IACtB,IAAAI,iBAAQ,EAACL,IAAI,EAAEI,GAAG,EAAEJ,IAAI,CAACI,GAAG,CAAC,CAAC;EAChC;EACA,OAAOJ,IAAI;AACb","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/clone/clone.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = clone;
7
+var _cloneNode = require("./cloneNode.js");
8
+function clone(node) {
9
+  return (0, _cloneNode.default)(node, false);
10
+}
11
+
12
+//# sourceMappingURL=clone.js.map

+ 1
- 0
node_modules/@babel/types/lib/clone/clone.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_cloneNode","require","clone","node","cloneNode"],"sources":["../../src/clone/clone.ts"],"sourcesContent":["import cloneNode from \"./cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Create a shallow clone of a `node`, including only\n * properties belonging to the node.\n * @deprecated Use t.cloneNode instead.\n */\nexport default function clone<T extends t.Node>(node: T): T {\n  return cloneNode(node, /* deep */ false);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAQe,SAASC,KAAKA,CAAmBC,IAAO,EAAK;EAC1D,OAAO,IAAAC,kBAAS,EAACD,IAAI,EAAa,KAAK,CAAC;AAC1C","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/clone/cloneDeep.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = cloneDeep;
7
+var _cloneNode = require("./cloneNode.js");
8
+function cloneDeep(node) {
9
+  return (0, _cloneNode.default)(node);
10
+}
11
+
12
+//# sourceMappingURL=cloneDeep.js.map

+ 1
- 0
node_modules/@babel/types/lib/clone/cloneDeep.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_cloneNode","require","cloneDeep","node","cloneNode"],"sources":["../../src/clone/cloneDeep.ts"],"sourcesContent":["import cloneNode from \"./cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Create a deep clone of a `node` and all of it's child nodes\n * including only properties belonging to the node.\n * @deprecated Use t.cloneNode instead.\n */\nexport default function cloneDeep<T extends t.Node>(node: T): T {\n  return cloneNode(node);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAQe,SAASC,SAASA,CAAmBC,IAAO,EAAK;EAC9D,OAAO,IAAAC,kBAAS,EAACD,IAAI,CAAC;AACxB","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = cloneDeepWithoutLoc;
7
+var _cloneNode = require("./cloneNode.js");
8
+function cloneDeepWithoutLoc(node) {
9
+  return (0, _cloneNode.default)(node, true, true);
10
+}
11
+
12
+//# sourceMappingURL=cloneDeepWithoutLoc.js.map

+ 1
- 0
node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_cloneNode","require","cloneDeepWithoutLoc","node","cloneNode"],"sources":["../../src/clone/cloneDeepWithoutLoc.ts"],"sourcesContent":["import cloneNode from \"./cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n/**\n * Create a deep clone of a `node` and all of it's child nodes\n * including only properties belonging to the node.\n * excluding `_private` and location properties.\n */\nexport default function cloneDeepWithoutLoc<T extends t.Node>(node: T): T {\n  return cloneNode(node, /* deep */ true, /* withoutLoc */ true);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAOe,SAASC,mBAAmBA,CAAmBC,IAAO,EAAK;EACxE,OAAO,IAAAC,kBAAS,EAACD,IAAI,EAAa,IAAI,EAAmB,IAAI,CAAC;AAChE","ignoreList":[]}

+ 107
- 0
node_modules/@babel/types/lib/clone/cloneNode.js Переглянути файл

@@ -0,0 +1,107 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = cloneNode;
7
+var _index = require("../definitions/index.js");
8
+var _index2 = require("../validators/generated/index.js");
9
+const {
10
+  hasOwn
11
+} = {
12
+  hasOwn: Function.call.bind(Object.prototype.hasOwnProperty)
13
+};
14
+function cloneIfNode(obj, deep, withoutLoc, commentsCache) {
15
+  if (obj && typeof obj.type === "string") {
16
+    return cloneNodeInternal(obj, deep, withoutLoc, commentsCache);
17
+  }
18
+  return obj;
19
+}
20
+function cloneIfNodeOrArray(obj, deep, withoutLoc, commentsCache) {
21
+  if (Array.isArray(obj)) {
22
+    return obj.map(node => cloneIfNode(node, deep, withoutLoc, commentsCache));
23
+  }
24
+  return cloneIfNode(obj, deep, withoutLoc, commentsCache);
25
+}
26
+function cloneNode(node, deep = true, withoutLoc = false) {
27
+  return cloneNodeInternal(node, deep, withoutLoc, new Map());
28
+}
29
+function cloneNodeInternal(node, deep = true, withoutLoc = false, commentsCache) {
30
+  if (!node) return node;
31
+  const {
32
+    type
33
+  } = node;
34
+  const newNode = {
35
+    type: node.type
36
+  };
37
+  if ((0, _index2.isIdentifier)(node)) {
38
+    newNode.name = node.name;
39
+    if (hasOwn(node, "optional") && typeof node.optional === "boolean") {
40
+      newNode.optional = node.optional;
41
+    }
42
+    if (hasOwn(node, "typeAnnotation")) {
43
+      newNode.typeAnnotation = deep ? cloneIfNodeOrArray(node.typeAnnotation, true, withoutLoc, commentsCache) : node.typeAnnotation;
44
+    }
45
+    if (hasOwn(node, "decorators")) {
46
+      newNode.decorators = deep ? cloneIfNodeOrArray(node.decorators, true, withoutLoc, commentsCache) : node.decorators;
47
+    }
48
+  } else if (!hasOwn(_index.NODE_FIELDS, type)) {
49
+    throw new Error(`Unknown node type: "${type}"`);
50
+  } else {
51
+    for (const field of Object.keys(_index.NODE_FIELDS[type])) {
52
+      if (hasOwn(node, field)) {
53
+        if (deep) {
54
+          newNode[field] = (0, _index2.isFile)(node) && field === "comments" ? maybeCloneComments(node.comments, deep, withoutLoc, commentsCache) : cloneIfNodeOrArray(node[field], true, withoutLoc, commentsCache);
55
+        } else {
56
+          newNode[field] = node[field];
57
+        }
58
+      }
59
+    }
60
+  }
61
+  if (hasOwn(node, "loc")) {
62
+    if (withoutLoc) {
63
+      newNode.loc = null;
64
+    } else {
65
+      newNode.loc = node.loc;
66
+    }
67
+  }
68
+  if (hasOwn(node, "leadingComments")) {
69
+    newNode.leadingComments = maybeCloneComments(node.leadingComments, deep, withoutLoc, commentsCache);
70
+  }
71
+  if (hasOwn(node, "innerComments")) {
72
+    newNode.innerComments = maybeCloneComments(node.innerComments, deep, withoutLoc, commentsCache);
73
+  }
74
+  if (hasOwn(node, "trailingComments")) {
75
+    newNode.trailingComments = maybeCloneComments(node.trailingComments, deep, withoutLoc, commentsCache);
76
+  }
77
+  if (hasOwn(node, "extra")) {
78
+    newNode.extra = Object.assign({}, node.extra);
79
+  }
80
+  return newNode;
81
+}
82
+function maybeCloneComments(comments, deep, withoutLoc, commentsCache) {
83
+  if (!comments || !deep) {
84
+    return comments;
85
+  }
86
+  return comments.map(comment => {
87
+    const cache = commentsCache.get(comment);
88
+    if (cache) return cache;
89
+    const {
90
+      type,
91
+      value,
92
+      loc
93
+    } = comment;
94
+    const ret = {
95
+      type,
96
+      value,
97
+      loc
98
+    };
99
+    if (withoutLoc) {
100
+      ret.loc = null;
101
+    }
102
+    commentsCache.set(comment, ret);
103
+    return ret;
104
+  });
105
+}
106
+
107
+//# sourceMappingURL=cloneNode.js.map

+ 1
- 0
node_modules/@babel/types/lib/clone/cloneNode.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 12
- 0
node_modules/@babel/types/lib/clone/cloneWithoutLoc.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = cloneWithoutLoc;
7
+var _cloneNode = require("./cloneNode.js");
8
+function cloneWithoutLoc(node) {
9
+  return (0, _cloneNode.default)(node, false, true);
10
+}
11
+
12
+//# sourceMappingURL=cloneWithoutLoc.js.map

+ 1
- 0
node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_cloneNode","require","cloneWithoutLoc","node","cloneNode"],"sources":["../../src/clone/cloneWithoutLoc.ts"],"sourcesContent":["import cloneNode from \"./cloneNode.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Create a shallow clone of a `node` excluding `_private` and location properties.\n */\nexport default function cloneWithoutLoc<T extends t.Node>(node: T): T {\n  return cloneNode(node, /* deep */ false, /* withoutLoc */ true);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAMe,SAASC,eAAeA,CAAmBC,IAAO,EAAK;EACpE,OAAO,IAAAC,kBAAS,EAACD,IAAI,EAAa,KAAK,EAAmB,IAAI,CAAC;AACjE","ignoreList":[]}

+ 15
- 0
node_modules/@babel/types/lib/comments/addComment.js Переглянути файл

@@ -0,0 +1,15 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = addComment;
7
+var _addComments = require("./addComments.js");
8
+function addComment(node, type, content, line) {
9
+  return (0, _addComments.default)(node, type, [{
10
+    type: line ? "CommentLine" : "CommentBlock",
11
+    value: content
12
+  }]);
13
+}
14
+
15
+//# sourceMappingURL=addComment.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/addComment.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_addComments","require","addComment","node","type","content","line","addComments","value"],"sources":["../../src/comments/addComment.ts"],"sourcesContent":["import addComments from \"./addComments.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Add comment of certain type to a node.\n */\nexport default function addComment<T extends t.Node>(\n  node: T,\n  type: t.CommentTypeShorthand,\n  content: string,\n  line?: boolean,\n): T {\n  return addComments(node, type, [\n    {\n      type: line ? \"CommentLine\" : \"CommentBlock\",\n      value: content,\n    } as t.Comment,\n  ]);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMe,SAASC,UAAUA,CAChCC,IAAO,EACPC,IAA4B,EAC5BC,OAAe,EACfC,IAAc,EACX;EACH,OAAO,IAAAC,oBAAW,EAACJ,IAAI,EAAEC,IAAI,EAAE,CAC7B;IACEA,IAAI,EAAEE,IAAI,GAAG,aAAa,GAAG,cAAc;IAC3CE,KAAK,EAAEH;EACT,CAAC,CACF,CAAC;AACJ","ignoreList":[]}

+ 22
- 0
node_modules/@babel/types/lib/comments/addComments.js Переглянути файл

@@ -0,0 +1,22 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = addComments;
7
+function addComments(node, type, comments) {
8
+  if (!comments || !node) return node;
9
+  const key = `${type}Comments`;
10
+  if (node[key]) {
11
+    if (type === "leading") {
12
+      node[key] = comments.concat(node[key]);
13
+    } else {
14
+      node[key].push(...comments);
15
+    }
16
+  } else {
17
+    node[key] = comments;
18
+  }
19
+  return node;
20
+}
21
+
22
+//# sourceMappingURL=addComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/addComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["addComments","node","type","comments","key","concat","push"],"sources":["../../src/comments/addComments.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\n/**\n * Add comments of certain type to a node.\n */\nexport default function addComments<T extends t.Node>(\n  node: T,\n  type: t.CommentTypeShorthand,\n  comments: Array<t.Comment>,\n): T {\n  if (!comments || !node) return node;\n\n  const key = `${type}Comments` as const;\n\n  if (node[key]) {\n    if (type === \"leading\") {\n      node[key] = comments.concat(node[key]);\n    } else {\n      node[key].push(...comments);\n    }\n  } else {\n    node[key] = comments;\n  }\n\n  return node;\n}\n"],"mappings":";;;;;;AAKe,SAASA,WAAWA,CACjCC,IAAO,EACPC,IAA4B,EAC5BC,QAA0B,EACvB;EACH,IAAI,CAACA,QAAQ,IAAI,CAACF,IAAI,EAAE,OAAOA,IAAI;EAEnC,MAAMG,GAAG,GAAG,GAAGF,IAAI,UAAmB;EAEtC,IAAID,IAAI,CAACG,GAAG,CAAC,EAAE;IACb,IAAIF,IAAI,KAAK,SAAS,EAAE;MACtBD,IAAI,CAACG,GAAG,CAAC,GAAGD,QAAQ,CAACE,MAAM,CAACJ,IAAI,CAACG,GAAG,CAAC,CAAC;IACxC,CAAC,MAAM;MACLH,IAAI,CAACG,GAAG,CAAC,CAACE,IAAI,CAAC,GAAGH,QAAQ,CAAC;IAC7B;EACF,CAAC,MAAM;IACLF,IAAI,CAACG,GAAG,CAAC,GAAGD,QAAQ;EACtB;EAEA,OAAOF,IAAI;AACb","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/comments/inheritInnerComments.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = inheritInnerComments;
7
+var _inherit = require("../utils/inherit.js");
8
+function inheritInnerComments(child, parent) {
9
+  (0, _inherit.default)("innerComments", child, parent);
10
+}
11
+
12
+//# sourceMappingURL=inheritInnerComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/inheritInnerComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_inherit","require","inheritInnerComments","child","parent","inherit"],"sources":["../../src/comments/inheritInnerComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritInnerComments(\n  child: t.Node,\n  parent: t.Node,\n): void {\n  inherit(\"innerComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,oBAAoBA,CAC1CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,eAAe,EAAEF,KAAK,EAAEC,MAAM,CAAC;AACzC","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/comments/inheritLeadingComments.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = inheritLeadingComments;
7
+var _inherit = require("../utils/inherit.js");
8
+function inheritLeadingComments(child, parent) {
9
+  (0, _inherit.default)("leadingComments", child, parent);
10
+}
11
+
12
+//# sourceMappingURL=inheritLeadingComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_inherit","require","inheritLeadingComments","child","parent","inherit"],"sources":["../../src/comments/inheritLeadingComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritLeadingComments(\n  child: t.Node,\n  parent: t.Node,\n): void {\n  inherit(\"leadingComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,sBAAsBA,CAC5CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,iBAAiB,EAAEF,KAAK,EAAEC,MAAM,CAAC;AAC3C","ignoreList":[]}

+ 12
- 0
node_modules/@babel/types/lib/comments/inheritTrailingComments.js Переглянути файл

@@ -0,0 +1,12 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = inheritTrailingComments;
7
+var _inherit = require("../utils/inherit.js");
8
+function inheritTrailingComments(child, parent) {
9
+  (0, _inherit.default)("trailingComments", child, parent);
10
+}
11
+
12
+//# sourceMappingURL=inheritTrailingComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_inherit","require","inheritTrailingComments","child","parent","inherit"],"sources":["../../src/comments/inheritTrailingComments.ts"],"sourcesContent":["import inherit from \"../utils/inherit.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function inheritTrailingComments(\n  child: t.Node,\n  parent: t.Node,\n): void {\n  inherit(\"trailingComments\", child, parent);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAGe,SAASC,uBAAuBA,CAC7CC,KAAa,EACbC,MAAc,EACR;EACN,IAAAC,gBAAO,EAAC,kBAAkB,EAAEF,KAAK,EAAEC,MAAM,CAAC;AAC5C","ignoreList":[]}

+ 17
- 0
node_modules/@babel/types/lib/comments/inheritsComments.js Переглянути файл

@@ -0,0 +1,17 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = inheritsComments;
7
+var _inheritTrailingComments = require("./inheritTrailingComments.js");
8
+var _inheritLeadingComments = require("./inheritLeadingComments.js");
9
+var _inheritInnerComments = require("./inheritInnerComments.js");
10
+function inheritsComments(child, parent) {
11
+  (0, _inheritTrailingComments.default)(child, parent);
12
+  (0, _inheritLeadingComments.default)(child, parent);
13
+  (0, _inheritInnerComments.default)(child, parent);
14
+  return child;
15
+}
16
+
17
+//# sourceMappingURL=inheritsComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/inheritsComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_inheritTrailingComments","require","_inheritLeadingComments","_inheritInnerComments","inheritsComments","child","parent","inheritTrailingComments","inheritLeadingComments","inheritInnerComments"],"sources":["../../src/comments/inheritsComments.ts"],"sourcesContent":["import inheritTrailingComments from \"./inheritTrailingComments.ts\";\nimport inheritLeadingComments from \"./inheritLeadingComments.ts\";\nimport inheritInnerComments from \"./inheritInnerComments.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Inherit all unique comments from `parent` node to `child` node.\n */\nexport default function inheritsComments<T extends t.Node>(\n  child: T,\n  parent: t.Node,\n): T {\n  inheritTrailingComments(child, parent);\n  inheritLeadingComments(child, parent);\n  inheritInnerComments(child, parent);\n\n  return child;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAMe,SAASG,gBAAgBA,CACtCC,KAAQ,EACRC,MAAc,EACX;EACH,IAAAC,gCAAuB,EAACF,KAAK,EAAEC,MAAM,CAAC;EACtC,IAAAE,+BAAsB,EAACH,KAAK,EAAEC,MAAM,CAAC;EACrC,IAAAG,6BAAoB,EAACJ,KAAK,EAAEC,MAAM,CAAC;EAEnC,OAAOD,KAAK;AACd","ignoreList":[]}

+ 15
- 0
node_modules/@babel/types/lib/comments/removeComments.js Переглянути файл

@@ -0,0 +1,15 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = removeComments;
7
+var _index = require("../constants/index.js");
8
+function removeComments(node) {
9
+  _index.COMMENT_KEYS.forEach(key => {
10
+    node[key] = null;
11
+  });
12
+  return node;
13
+}
14
+
15
+//# sourceMappingURL=removeComments.js.map

+ 1
- 0
node_modules/@babel/types/lib/comments/removeComments.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","removeComments","node","COMMENT_KEYS","forEach","key"],"sources":["../../src/comments/removeComments.ts"],"sourcesContent":["import { COMMENT_KEYS } from \"../constants/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Remove comment properties from a node.\n */\nexport default function removeComments<T extends t.Node>(node: T): T {\n  COMMENT_KEYS.forEach(key => {\n    node[key] = null;\n  });\n\n  return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMe,SAASC,cAAcA,CAAmBC,IAAO,EAAK;EACnEC,mBAAY,CAACC,OAAO,CAACC,GAAG,IAAI;IAC1BH,IAAI,CAACG,GAAG,CAAC,GAAG,IAAI;EAClB,CAAC,CAAC;EAEF,OAAOH,IAAI;AACb","ignoreList":[]}

+ 59
- 0
node_modules/@babel/types/lib/constants/generated/index.js Переглянути файл

@@ -0,0 +1,59 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.WHILE_TYPES = exports.USERWHITESPACABLE_TYPES = exports.UNARYLIKE_TYPES = exports.TYPESCRIPT_TYPES = exports.TSTYPE_TYPES = exports.TSTYPEELEMENT_TYPES = exports.TSENTITYNAME_TYPES = exports.TSBASETYPE_TYPES = exports.TERMINATORLESS_TYPES = exports.STATEMENT_TYPES = exports.STANDARDIZED_TYPES = exports.SCOPABLE_TYPES = exports.PUREISH_TYPES = exports.PROPERTY_TYPES = exports.PRIVATE_TYPES = exports.PATTERN_TYPES = exports.PATTERNLIKE_TYPES = exports.OBJECTMEMBER_TYPES = exports.MODULESPECIFIER_TYPES = exports.MODULEDECLARATION_TYPES = exports.MISCELLANEOUS_TYPES = exports.METHOD_TYPES = exports.LVAL_TYPES = exports.LOOP_TYPES = exports.LITERAL_TYPES = exports.JSX_TYPES = exports.IMPORTOREXPORTDECLARATION_TYPES = exports.IMMUTABLE_TYPES = exports.FUNCTION_TYPES = exports.FUNCTIONPARENT_TYPES = exports.FOR_TYPES = exports.FORXSTATEMENT_TYPES = exports.FLOW_TYPES = exports.FLOWTYPE_TYPES = exports.FLOWPREDICATE_TYPES = exports.FLOWDECLARATION_TYPES = exports.FLOWBASEANNOTATION_TYPES = exports.EXPRESSION_TYPES = exports.EXPRESSIONWRAPPER_TYPES = exports.EXPORTDECLARATION_TYPES = exports.ENUMMEMBER_TYPES = exports.ENUMBODY_TYPES = exports.DECLARATION_TYPES = exports.CONDITIONAL_TYPES = exports.COMPLETIONSTATEMENT_TYPES = exports.CLASS_TYPES = exports.BLOCK_TYPES = exports.BLOCKPARENT_TYPES = exports.BINARY_TYPES = exports.ACCESSOR_TYPES = void 0;
7
+var _index = require("../../definitions/index.js");
8
+const STANDARDIZED_TYPES = exports.STANDARDIZED_TYPES = _index.FLIPPED_ALIAS_KEYS["Standardized"];
9
+const EXPRESSION_TYPES = exports.EXPRESSION_TYPES = _index.FLIPPED_ALIAS_KEYS["Expression"];
10
+const BINARY_TYPES = exports.BINARY_TYPES = _index.FLIPPED_ALIAS_KEYS["Binary"];
11
+const SCOPABLE_TYPES = exports.SCOPABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["Scopable"];
12
+const BLOCKPARENT_TYPES = exports.BLOCKPARENT_TYPES = _index.FLIPPED_ALIAS_KEYS["BlockParent"];
13
+const BLOCK_TYPES = exports.BLOCK_TYPES = _index.FLIPPED_ALIAS_KEYS["Block"];
14
+const STATEMENT_TYPES = exports.STATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["Statement"];
15
+const TERMINATORLESS_TYPES = exports.TERMINATORLESS_TYPES = _index.FLIPPED_ALIAS_KEYS["Terminatorless"];
16
+const COMPLETIONSTATEMENT_TYPES = exports.COMPLETIONSTATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["CompletionStatement"];
17
+const CONDITIONAL_TYPES = exports.CONDITIONAL_TYPES = _index.FLIPPED_ALIAS_KEYS["Conditional"];
18
+const LOOP_TYPES = exports.LOOP_TYPES = _index.FLIPPED_ALIAS_KEYS["Loop"];
19
+const WHILE_TYPES = exports.WHILE_TYPES = _index.FLIPPED_ALIAS_KEYS["While"];
20
+const EXPRESSIONWRAPPER_TYPES = exports.EXPRESSIONWRAPPER_TYPES = _index.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];
21
+const FOR_TYPES = exports.FOR_TYPES = _index.FLIPPED_ALIAS_KEYS["For"];
22
+const FORXSTATEMENT_TYPES = exports.FORXSTATEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["ForXStatement"];
23
+const FUNCTION_TYPES = exports.FUNCTION_TYPES = _index.FLIPPED_ALIAS_KEYS["Function"];
24
+const FUNCTIONPARENT_TYPES = exports.FUNCTIONPARENT_TYPES = _index.FLIPPED_ALIAS_KEYS["FunctionParent"];
25
+const PUREISH_TYPES = exports.PUREISH_TYPES = _index.FLIPPED_ALIAS_KEYS["Pureish"];
26
+const DECLARATION_TYPES = exports.DECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["Declaration"];
27
+const PATTERNLIKE_TYPES = exports.PATTERNLIKE_TYPES = _index.FLIPPED_ALIAS_KEYS["PatternLike"];
28
+const LVAL_TYPES = exports.LVAL_TYPES = _index.FLIPPED_ALIAS_KEYS["LVal"];
29
+const TSENTITYNAME_TYPES = exports.TSENTITYNAME_TYPES = _index.FLIPPED_ALIAS_KEYS["TSEntityName"];
30
+const LITERAL_TYPES = exports.LITERAL_TYPES = _index.FLIPPED_ALIAS_KEYS["Literal"];
31
+const IMMUTABLE_TYPES = exports.IMMUTABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["Immutable"];
32
+const USERWHITESPACABLE_TYPES = exports.USERWHITESPACABLE_TYPES = _index.FLIPPED_ALIAS_KEYS["UserWhitespacable"];
33
+const METHOD_TYPES = exports.METHOD_TYPES = _index.FLIPPED_ALIAS_KEYS["Method"];
34
+const OBJECTMEMBER_TYPES = exports.OBJECTMEMBER_TYPES = _index.FLIPPED_ALIAS_KEYS["ObjectMember"];
35
+const PROPERTY_TYPES = exports.PROPERTY_TYPES = _index.FLIPPED_ALIAS_KEYS["Property"];
36
+const UNARYLIKE_TYPES = exports.UNARYLIKE_TYPES = _index.FLIPPED_ALIAS_KEYS["UnaryLike"];
37
+const PATTERN_TYPES = exports.PATTERN_TYPES = _index.FLIPPED_ALIAS_KEYS["Pattern"];
38
+const CLASS_TYPES = exports.CLASS_TYPES = _index.FLIPPED_ALIAS_KEYS["Class"];
39
+const IMPORTOREXPORTDECLARATION_TYPES = exports.IMPORTOREXPORTDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["ImportOrExportDeclaration"];
40
+const EXPORTDECLARATION_TYPES = exports.EXPORTDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["ExportDeclaration"];
41
+const MODULESPECIFIER_TYPES = exports.MODULESPECIFIER_TYPES = _index.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];
42
+const ACCESSOR_TYPES = exports.ACCESSOR_TYPES = _index.FLIPPED_ALIAS_KEYS["Accessor"];
43
+const PRIVATE_TYPES = exports.PRIVATE_TYPES = _index.FLIPPED_ALIAS_KEYS["Private"];
44
+const FLOW_TYPES = exports.FLOW_TYPES = _index.FLIPPED_ALIAS_KEYS["Flow"];
45
+const FLOWTYPE_TYPES = exports.FLOWTYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowType"];
46
+const FLOWBASEANNOTATION_TYPES = exports.FLOWBASEANNOTATION_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];
47
+const FLOWDECLARATION_TYPES = exports.FLOWDECLARATION_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowDeclaration"];
48
+const FLOWPREDICATE_TYPES = exports.FLOWPREDICATE_TYPES = _index.FLIPPED_ALIAS_KEYS["FlowPredicate"];
49
+const ENUMBODY_TYPES = exports.ENUMBODY_TYPES = _index.FLIPPED_ALIAS_KEYS["EnumBody"];
50
+const ENUMMEMBER_TYPES = exports.ENUMMEMBER_TYPES = _index.FLIPPED_ALIAS_KEYS["EnumMember"];
51
+const JSX_TYPES = exports.JSX_TYPES = _index.FLIPPED_ALIAS_KEYS["JSX"];
52
+const MISCELLANEOUS_TYPES = exports.MISCELLANEOUS_TYPES = _index.FLIPPED_ALIAS_KEYS["Miscellaneous"];
53
+const TYPESCRIPT_TYPES = exports.TYPESCRIPT_TYPES = _index.FLIPPED_ALIAS_KEYS["TypeScript"];
54
+const TSTYPEELEMENT_TYPES = exports.TSTYPEELEMENT_TYPES = _index.FLIPPED_ALIAS_KEYS["TSTypeElement"];
55
+const TSTYPE_TYPES = exports.TSTYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["TSType"];
56
+const TSBASETYPE_TYPES = exports.TSBASETYPE_TYPES = _index.FLIPPED_ALIAS_KEYS["TSBaseType"];
57
+const MODULEDECLARATION_TYPES = exports.MODULEDECLARATION_TYPES = IMPORTOREXPORTDECLARATION_TYPES;
58
+
59
+//# sourceMappingURL=index.js.map

+ 1
- 0
node_modules/@babel/types/lib/constants/generated/index.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 31
- 0
node_modules/@babel/types/lib/constants/index.js Переглянути файл

@@ -0,0 +1,31 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.UPDATE_OPERATORS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.STATEMENT_OR_BLOCK_KEYS = exports.NUMBER_UNARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.NOT_LOCAL_BINDING = exports.LOGICAL_OPERATORS = exports.INHERIT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.EQUALITY_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = exports.COMMENT_KEYS = exports.BOOLEAN_UNARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = exports.BLOCK_SCOPED_SYMBOL = exports.BINARY_OPERATORS = exports.ASSIGNMENT_OPERATORS = void 0;
7
+const STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
8
+const FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = ["body", "expressions"];
9
+const FOR_INIT_KEYS = exports.FOR_INIT_KEYS = ["left", "init"];
10
+const COMMENT_KEYS = exports.COMMENT_KEYS = ["leadingComments", "trailingComments", "innerComments"];
11
+const LOGICAL_OPERATORS = exports.LOGICAL_OPERATORS = ["||", "&&", "??"];
12
+const UPDATE_OPERATORS = exports.UPDATE_OPERATORS = ["++", "--"];
13
+const BOOLEAN_NUMBER_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = [">", "<", ">=", "<="];
14
+const EQUALITY_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = ["==", "===", "!=", "!=="];
15
+const COMPARISON_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = [...EQUALITY_BINARY_OPERATORS, "in", "instanceof"];
16
+const BOOLEAN_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = [...COMPARISON_BINARY_OPERATORS, ...BOOLEAN_NUMBER_BINARY_OPERATORS];
17
+const NUMBER_BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = ["-", "/", "%", "*", "**", "&", "|", ">>", ">>>", "<<", "^"];
18
+const BINARY_OPERATORS = exports.BINARY_OPERATORS = ["+", ...NUMBER_BINARY_OPERATORS, ...BOOLEAN_BINARY_OPERATORS, "|>"];
19
+const ASSIGNMENT_OPERATORS = exports.ASSIGNMENT_OPERATORS = ["=", "+=", ...NUMBER_BINARY_OPERATORS.map(op => op + "="), ...LOGICAL_OPERATORS.map(op => op + "=")];
20
+const BOOLEAN_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = ["delete", "!"];
21
+const NUMBER_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = ["+", "-", "~"];
22
+const STRING_UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = ["typeof"];
23
+const UNARY_OPERATORS = exports.UNARY_OPERATORS = ["void", "throw", ...BOOLEAN_UNARY_OPERATORS, ...NUMBER_UNARY_OPERATORS, ...STRING_UNARY_OPERATORS];
24
+const INHERIT_KEYS = exports.INHERIT_KEYS = {
25
+  optional: ["typeAnnotation", "typeParameters", "returnType"],
26
+  force: ["start", "loc", "end"]
27
+};
28
+const BLOCK_SCOPED_SYMBOL = exports.BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped");
29
+const NOT_LOCAL_BINDING = exports.NOT_LOCAL_BINDING = Symbol.for("should not be considered a local binding");
30
+
31
+//# sourceMappingURL=index.js.map

+ 1
- 0
node_modules/@babel/types/lib/constants/index.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["STATEMENT_OR_BLOCK_KEYS","exports","FLATTENABLE_KEYS","FOR_INIT_KEYS","COMMENT_KEYS","LOGICAL_OPERATORS","UPDATE_OPERATORS","BOOLEAN_NUMBER_BINARY_OPERATORS","EQUALITY_BINARY_OPERATORS","COMPARISON_BINARY_OPERATORS","BOOLEAN_BINARY_OPERATORS","NUMBER_BINARY_OPERATORS","BINARY_OPERATORS","ASSIGNMENT_OPERATORS","map","op","BOOLEAN_UNARY_OPERATORS","NUMBER_UNARY_OPERATORS","STRING_UNARY_OPERATORS","UNARY_OPERATORS","INHERIT_KEYS","optional","force","BLOCK_SCOPED_SYMBOL","Symbol","for","NOT_LOCAL_BINDING"],"sources":["../../src/constants/index.ts"],"sourcesContent":["export const STATEMENT_OR_BLOCK_KEYS = [\"consequent\", \"body\", \"alternate\"];\nexport const FLATTENABLE_KEYS = [\"body\", \"expressions\"];\nexport const FOR_INIT_KEYS = [\"left\", \"init\"];\nexport const COMMENT_KEYS = [\n  \"leadingComments\",\n  \"trailingComments\",\n  \"innerComments\",\n] as const;\n\nexport const LOGICAL_OPERATORS = [\"||\", \"&&\", \"??\"];\nexport const UPDATE_OPERATORS = [\"++\", \"--\"];\n\nexport const BOOLEAN_NUMBER_BINARY_OPERATORS = [\">\", \"<\", \">=\", \"<=\"];\nexport const EQUALITY_BINARY_OPERATORS = [\"==\", \"===\", \"!=\", \"!==\"];\nexport const COMPARISON_BINARY_OPERATORS = [\n  ...EQUALITY_BINARY_OPERATORS,\n  \"in\",\n  \"instanceof\",\n];\nexport const BOOLEAN_BINARY_OPERATORS = [\n  ...COMPARISON_BINARY_OPERATORS,\n  ...BOOLEAN_NUMBER_BINARY_OPERATORS,\n];\nexport const NUMBER_BINARY_OPERATORS = [\n  \"-\",\n  \"/\",\n  \"%\",\n  \"*\",\n  \"**\",\n  \"&\",\n  \"|\",\n  \">>\",\n  \">>>\",\n  \"<<\",\n  \"^\",\n];\nexport const BINARY_OPERATORS = [\n  \"+\",\n  ...NUMBER_BINARY_OPERATORS,\n  ...BOOLEAN_BINARY_OPERATORS,\n  \"|>\",\n];\n\nexport const ASSIGNMENT_OPERATORS = [\n  \"=\",\n  \"+=\",\n  ...NUMBER_BINARY_OPERATORS.map(op => op + \"=\"),\n  ...LOGICAL_OPERATORS.map(op => op + \"=\"),\n];\n\nexport const BOOLEAN_UNARY_OPERATORS = [\"delete\", \"!\"];\nexport const NUMBER_UNARY_OPERATORS = [\"+\", \"-\", \"~\"];\nexport const STRING_UNARY_OPERATORS = [\"typeof\"];\nexport const UNARY_OPERATORS = [\n  \"void\",\n  \"throw\",\n  ...BOOLEAN_UNARY_OPERATORS,\n  ...NUMBER_UNARY_OPERATORS,\n  ...STRING_UNARY_OPERATORS,\n];\n\nexport const INHERIT_KEYS = {\n  optional: [\"typeAnnotation\", \"typeParameters\", \"returnType\"],\n  force: [\"start\", \"loc\", \"end\"],\n} as const;\n\nexport const BLOCK_SCOPED_SYMBOL = Symbol.for(\"var used to be block scoped\");\nexport const NOT_LOCAL_BINDING = Symbol.for(\n  \"should not be considered a local binding\",\n);\n"],"mappings":";;;;;;AAAO,MAAMA,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC;AACnE,MAAME,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC;AAChD,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;AACtC,MAAMC,YAAY,GAAAH,OAAA,CAAAG,YAAA,GAAG,CAC1B,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,CACP;AAEH,MAAMC,iBAAiB,GAAAJ,OAAA,CAAAI,iBAAA,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5C,MAAMC,gBAAgB,GAAAL,OAAA,CAAAK,gBAAA,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC;AAErC,MAAMC,+BAA+B,GAAAN,OAAA,CAAAM,+BAAA,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC;AAC9D,MAAMC,yBAAyB,GAAAP,OAAA,CAAAO,yBAAA,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC;AAC5D,MAAMC,2BAA2B,GAAAR,OAAA,CAAAQ,2BAAA,GAAG,CACzC,GAAGD,yBAAyB,EAC5B,IAAI,EACJ,YAAY,CACb;AACM,MAAME,wBAAwB,GAAAT,OAAA,CAAAS,wBAAA,GAAG,CACtC,GAAGD,2BAA2B,EAC9B,GAAGF,+BAA+B,CACnC;AACM,MAAMI,uBAAuB,GAAAV,OAAA,CAAAU,uBAAA,GAAG,CACrC,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,GAAG,CACJ;AACM,MAAMC,gBAAgB,GAAAX,OAAA,CAAAW,gBAAA,GAAG,CAC9B,GAAG,EACH,GAAGD,uBAAuB,EAC1B,GAAGD,wBAAwB,EAC3B,IAAI,CACL;AAEM,MAAMG,oBAAoB,GAAAZ,OAAA,CAAAY,oBAAA,GAAG,CAClC,GAAG,EACH,IAAI,EACJ,GAAGF,uBAAuB,CAACG,GAAG,CAACC,EAAE,IAAIA,EAAE,GAAG,GAAG,CAAC,EAC9C,GAAGV,iBAAiB,CAACS,GAAG,CAACC,EAAE,IAAIA,EAAE,GAAG,GAAG,CAAC,CACzC;AAEM,MAAMC,uBAAuB,GAAAf,OAAA,CAAAe,uBAAA,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC;AAC/C,MAAMC,sBAAsB,GAAAhB,OAAA,CAAAgB,sBAAA,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AAC9C,MAAMC,sBAAsB,GAAAjB,OAAA,CAAAiB,sBAAA,GAAG,CAAC,QAAQ,CAAC;AACzC,MAAMC,eAAe,GAAAlB,OAAA,CAAAkB,eAAA,GAAG,CAC7B,MAAM,EACN,OAAO,EACP,GAAGH,uBAAuB,EAC1B,GAAGC,sBAAsB,EACzB,GAAGC,sBAAsB,CAC1B;AAEM,MAAME,YAAY,GAAAnB,OAAA,CAAAmB,YAAA,GAAG;EAC1BC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,CAAC;EAC5DC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK;AAC/B,CAAU;AAEH,MAAMC,mBAAmB,GAAAtB,OAAA,CAAAsB,mBAAA,GAAGC,MAAM,CAACC,GAAG,CAAC,6BAA6B,CAAC;AACrE,MAAMC,iBAAiB,GAAAzB,OAAA,CAAAyB,iBAAA,GAAGF,MAAM,CAACC,GAAG,CACzC,0CACF,CAAC","ignoreList":[]}

+ 14
- 0
node_modules/@babel/types/lib/converters/ensureBlock.js Переглянути файл

@@ -0,0 +1,14 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = ensureBlock;
7
+var _toBlock = require("./toBlock.js");
8
+function ensureBlock(node, key = "body") {
9
+  const result = (0, _toBlock.default)(node[key], node);
10
+  node[key] = result;
11
+  return result;
12
+}
13
+
14
+//# sourceMappingURL=ensureBlock.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/ensureBlock.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_toBlock","require","ensureBlock","node","key","result","toBlock"],"sources":["../../src/converters/ensureBlock.ts"],"sourcesContent":["import toBlock from \"./toBlock.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Ensure the `key` (defaults to \"body\") of a `node` is a block.\n * Casting it to a block if it is not.\n *\n * Returns the BlockStatement\n */\nexport default function ensureBlock(\n  node: t.Node,\n  key: string = \"body\",\n): t.BlockStatement {\n  // @ts-expect-error Fixme: key may not exist in node, consider remove key = \"body\"\n  const result = toBlock(node[key], node);\n  // @ts-expect-error Fixme: key may not exist in node, consider remove key = \"body\"\n  node[key] = result;\n  return result;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AASe,SAASC,WAAWA,CACjCC,IAAY,EACZC,GAAW,GAAG,MAAM,EACF;EAElB,MAAMC,MAAM,GAAG,IAAAC,gBAAO,EAACH,IAAI,CAACC,GAAG,CAAC,EAAED,IAAI,CAAC;EAEvCA,IAAI,CAACC,GAAG,CAAC,GAAGC,MAAM;EAClB,OAAOA,MAAM;AACf","ignoreList":[]}

+ 66
- 0
node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js Переглянути файл

@@ -0,0 +1,66 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = gatherSequenceExpressions;
7
+var _getBindingIdentifiers = require("../retrievers/getBindingIdentifiers.js");
8
+var _index = require("../validators/generated/index.js");
9
+var _index2 = require("../builders/generated/index.js");
10
+var _productions = require("../builders/productions.js");
11
+var _cloneNode = require("../clone/cloneNode.js");
12
+;
13
+function gatherSequenceExpressions(nodes, declars) {
14
+  const exprs = [];
15
+  let ensureLastUndefined = true;
16
+  for (const node of nodes) {
17
+    if (!(0, _index.isEmptyStatement)(node)) {
18
+      ensureLastUndefined = false;
19
+    }
20
+    if ((0, _index.isExpression)(node)) {
21
+      exprs.push(node);
22
+    } else if ((0, _index.isExpressionStatement)(node)) {
23
+      exprs.push(node.expression);
24
+    } else if ((0, _index.isVariableDeclaration)(node)) {
25
+      if (node.kind !== "var") return;
26
+      for (const declar of node.declarations) {
27
+        const bindings = (0, _getBindingIdentifiers.default)(declar);
28
+        for (const key of Object.keys(bindings)) {
29
+          declars.push({
30
+            kind: node.kind,
31
+            id: (0, _cloneNode.default)(bindings[key])
32
+          });
33
+        }
34
+        if (declar.init) {
35
+          exprs.push((0, _index2.assignmentExpression)("=", declar.id, declar.init));
36
+        }
37
+      }
38
+      ensureLastUndefined = true;
39
+    } else if ((0, _index.isIfStatement)(node)) {
40
+      const consequent = node.consequent ? gatherSequenceExpressions([node.consequent], declars) : (0, _productions.buildUndefinedNode)();
41
+      const alternate = node.alternate ? gatherSequenceExpressions([node.alternate], declars) : (0, _productions.buildUndefinedNode)();
42
+      if (!consequent || !alternate) return;
43
+      exprs.push((0, _index2.conditionalExpression)(node.test, consequent, alternate));
44
+    } else if ((0, _index.isBlockStatement)(node)) {
45
+      const body = gatherSequenceExpressions(node.body, declars);
46
+      if (!body) return;
47
+      exprs.push(body);
48
+    } else if ((0, _index.isEmptyStatement)(node)) {
49
+      if (nodes.indexOf(node) === 0) {
50
+        ensureLastUndefined = true;
51
+      }
52
+    } else {
53
+      return;
54
+    }
55
+  }
56
+  if (ensureLastUndefined) {
57
+    exprs.push((0, _productions.buildUndefinedNode)());
58
+  }
59
+  if (exprs.length === 1) {
60
+    return exprs[0];
61
+  } else {
62
+    return (0, _index2.sequenceExpression)(exprs);
63
+  }
64
+}
65
+
66
+//# sourceMappingURL=gatherSequenceExpressions.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 14
- 0
node_modules/@babel/types/lib/converters/toBindingIdentifierName.js Переглянути файл

@@ -0,0 +1,14 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = toBindingIdentifierName;
7
+var _toIdentifier = require("./toIdentifier.js");
8
+function toBindingIdentifierName(name) {
9
+  name = (0, _toIdentifier.default)(name);
10
+  if (name === "eval" || name === "arguments") name = "_" + name;
11
+  return name;
12
+}
13
+
14
+//# sourceMappingURL=toBindingIdentifierName.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_toIdentifier","require","toBindingIdentifierName","name","toIdentifier"],"sources":["../../src/converters/toBindingIdentifierName.ts"],"sourcesContent":["import toIdentifier from \"./toIdentifier.ts\";\n\nexport default function toBindingIdentifierName(name: string): string {\n  name = toIdentifier(name);\n  if (name === \"eval\" || name === \"arguments\") name = \"_\" + name;\n\n  return name;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAEe,SAASC,uBAAuBA,CAACC,IAAY,EAAU;EACpEA,IAAI,GAAG,IAAAC,qBAAY,EAACD,IAAI,CAAC;EACzB,IAAIA,IAAI,KAAK,MAAM,IAAIA,IAAI,KAAK,WAAW,EAAEA,IAAI,GAAG,GAAG,GAAGA,IAAI;EAE9D,OAAOA,IAAI;AACb","ignoreList":[]}

+ 29
- 0
node_modules/@babel/types/lib/converters/toBlock.js Переглянути файл

@@ -0,0 +1,29 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = toBlock;
7
+var _index = require("../validators/generated/index.js");
8
+var _index2 = require("../builders/generated/index.js");
9
+function toBlock(node, parent) {
10
+  if ((0, _index.isBlockStatement)(node)) {
11
+    return node;
12
+  }
13
+  let blockNodes = [];
14
+  if ((0, _index.isEmptyStatement)(node)) {
15
+    blockNodes = [];
16
+  } else {
17
+    if (!(0, _index.isStatement)(node)) {
18
+      if ((0, _index.isFunction)(parent)) {
19
+        node = (0, _index2.returnStatement)(node);
20
+      } else {
21
+        node = (0, _index2.expressionStatement)(node);
22
+      }
23
+    }
24
+    blockNodes = [node];
25
+  }
26
+  return (0, _index2.blockStatement)(blockNodes);
27
+}
28
+
29
+//# sourceMappingURL=toBlock.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/toBlock.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_index2","toBlock","node","parent","isBlockStatement","blockNodes","isEmptyStatement","isStatement","isFunction","returnStatement","expressionStatement","blockStatement"],"sources":["../../src/converters/toBlock.ts"],"sourcesContent":["import {\n  isBlockStatement,\n  isFunction,\n  isEmptyStatement,\n  isStatement,\n} from \"../validators/generated/index.ts\";\nimport {\n  returnStatement,\n  expressionStatement,\n  blockStatement,\n} from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function toBlock(\n  node: t.Statement | t.Expression,\n  parent?: t.Node,\n): t.BlockStatement {\n  if (isBlockStatement(node)) {\n    return node;\n  }\n\n  let blockNodes: t.Statement[] = [];\n\n  if (isEmptyStatement(node)) {\n    blockNodes = [];\n  } else {\n    if (!isStatement(node)) {\n      if (isFunction(parent)) {\n        node = returnStatement(node);\n      } else {\n        node = expressionStatement(node);\n      }\n    }\n\n    blockNodes = [node];\n  }\n\n  return blockStatement(blockNodes);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AAOe,SAASE,OAAOA,CAC7BC,IAAgC,EAChCC,MAAe,EACG;EAClB,IAAI,IAAAC,uBAAgB,EAACF,IAAI,CAAC,EAAE;IAC1B,OAAOA,IAAI;EACb;EAEA,IAAIG,UAAyB,GAAG,EAAE;EAElC,IAAI,IAAAC,uBAAgB,EAACJ,IAAI,CAAC,EAAE;IAC1BG,UAAU,GAAG,EAAE;EACjB,CAAC,MAAM;IACL,IAAI,CAAC,IAAAE,kBAAW,EAACL,IAAI,CAAC,EAAE;MACtB,IAAI,IAAAM,iBAAU,EAACL,MAAM,CAAC,EAAE;QACtBD,IAAI,GAAG,IAAAO,uBAAe,EAACP,IAAI,CAAC;MAC9B,CAAC,MAAM;QACLA,IAAI,GAAG,IAAAQ,2BAAmB,EAACR,IAAI,CAAC;MAClC;IACF;IAEAG,UAAU,GAAG,CAACH,IAAI,CAAC;EACrB;EAEA,OAAO,IAAAS,sBAAc,EAACN,UAAU,CAAC;AACnC","ignoreList":[]}

+ 14
- 0
node_modules/@babel/types/lib/converters/toComputedKey.js Переглянути файл

@@ -0,0 +1,14 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = toComputedKey;
7
+var _index = require("../validators/generated/index.js");
8
+var _index2 = require("../builders/generated/index.js");
9
+function toComputedKey(node, key = node.key || node.property) {
10
+  if (!node.computed && (0, _index.isIdentifier)(key)) key = (0, _index2.stringLiteral)(key.name);
11
+  return key;
12
+}
13
+
14
+//# sourceMappingURL=toComputedKey.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/toComputedKey.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_index2","toComputedKey","node","key","property","computed","isIdentifier","stringLiteral","name"],"sources":["../../src/converters/toComputedKey.ts"],"sourcesContent":["import { isIdentifier } from \"../validators/generated/index.ts\";\nimport { stringLiteral } from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function toComputedKey(\n  node:\n    | t.ObjectMember\n    | t.ObjectProperty\n    | t.ClassMethod\n    | t.ClassProperty\n    | t.ClassAccessorProperty\n    | t.MemberExpression\n    | t.OptionalMemberExpression,\n  // @ts-expect-error todo(flow->ts): maybe check the type of node before accessing .key and .property\n  key: t.Expression | t.PrivateName = node.key || node.property,\n) {\n  if (!node.computed && isIdentifier(key)) key = stringLiteral(key.name);\n\n  return key;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAGe,SAASE,aAAaA,CACnCC,IAO8B,EAE9BC,GAAiC,GAAGD,IAAI,CAACC,GAAG,IAAID,IAAI,CAACE,QAAQ,EAC7D;EACA,IAAI,CAACF,IAAI,CAACG,QAAQ,IAAI,IAAAC,mBAAY,EAACH,GAAG,CAAC,EAAEA,GAAG,GAAG,IAAAI,qBAAa,EAACJ,GAAG,CAACK,IAAI,CAAC;EAEtE,OAAOL,GAAG;AACZ","ignoreList":[]}

+ 27
- 0
node_modules/@babel/types/lib/converters/toExpression.js Переглянути файл

@@ -0,0 +1,27 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = void 0;
7
+var _index = require("../validators/generated/index.js");
8
+var _default = exports.default = toExpression;
9
+function toExpression(node) {
10
+  if ((0, _index.isExpressionStatement)(node)) {
11
+    node = node.expression;
12
+  }
13
+  if ((0, _index.isExpression)(node)) {
14
+    return node;
15
+  }
16
+  if ((0, _index.isClass)(node)) {
17
+    node.type = "ClassExpression";
18
+  } else if ((0, _index.isFunction)(node)) {
19
+    node.type = "FunctionExpression";
20
+  }
21
+  if (!(0, _index.isExpression)(node)) {
22
+    throw new Error(`cannot turn ${node.type} to an expression`);
23
+  }
24
+  return node;
25
+}
26
+
27
+//# sourceMappingURL=toExpression.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/toExpression.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_index","require","_default","exports","default","toExpression","node","isExpressionStatement","expression","isExpression","isClass","type","isFunction","Error"],"sources":["../../src/converters/toExpression.ts"],"sourcesContent":["import {\n  isExpression,\n  isFunction,\n  isClass,\n  isExpressionStatement,\n} from \"../validators/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default toExpression as {\n  (node: t.Function): t.FunctionExpression;\n  (node: t.Class): t.ClassExpression;\n  (\n    node: t.ExpressionStatement | t.Expression | t.Class | t.Function,\n  ): t.Expression;\n};\n\nfunction toExpression(\n  node: t.ExpressionStatement | t.Expression | t.Class | t.Function,\n): t.Expression {\n  if (isExpressionStatement(node)) {\n    node = node.expression;\n  }\n\n  // return unmodified node\n  // important for things like ArrowFunctions where\n  // type change from ArrowFunction to FunctionExpression\n  // produces bugs like -> `()=>a` to `function () a`\n  // without generating a BlockStatement for it\n  // ref: https://github.com/babel/babili/issues/130\n  if (isExpression(node)) {\n    return node;\n  }\n\n  // convert all classes and functions\n  // ClassDeclaration -> ClassExpression\n  // FunctionDeclaration, ObjectMethod, ClassMethod -> FunctionExpression\n  if (isClass(node)) {\n    // @ts-expect-error todo(flow->ts): avoid type unsafe mutations\n    node.type = \"ClassExpression\";\n  } else if (isFunction(node)) {\n    // @ts-expect-error todo(flow->ts): avoid type unsafe mutations\n    node.type = \"FunctionExpression\";\n  }\n\n  // if it's still not an expression\n  if (!isExpression(node)) {\n    throw new Error(`cannot turn ${node.type} to an expression`);\n  }\n\n  return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAK0C,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAG3BC,YAAY;AAQ3B,SAASA,YAAYA,CACnBC,IAAiE,EACnD;EACd,IAAI,IAAAC,4BAAqB,EAACD,IAAI,CAAC,EAAE;IAC/BA,IAAI,GAAGA,IAAI,CAACE,UAAU;EACxB;EAQA,IAAI,IAAAC,mBAAY,EAACH,IAAI,CAAC,EAAE;IACtB,OAAOA,IAAI;EACb;EAKA,IAAI,IAAAI,cAAO,EAACJ,IAAI,CAAC,EAAE;IAEjBA,IAAI,CAACK,IAAI,GAAG,iBAAiB;EAC/B,CAAC,MAAM,IAAI,IAAAC,iBAAU,EAACN,IAAI,CAAC,EAAE;IAE3BA,IAAI,CAACK,IAAI,GAAG,oBAAoB;EAClC;EAGA,IAAI,CAAC,IAAAF,mBAAY,EAACH,IAAI,CAAC,EAAE;IACvB,MAAM,IAAIO,KAAK,CAAC,eAAeP,IAAI,CAACK,IAAI,mBAAmB,CAAC;EAC9D;EAEA,OAAOL,IAAI;AACb","ignoreList":[]}

+ 25
- 0
node_modules/@babel/types/lib/converters/toIdentifier.js Переглянути файл

@@ -0,0 +1,25 @@
1
+"use strict";
2
+
3
+Object.defineProperty(exports, "__esModule", {
4
+  value: true
5
+});
6
+exports.default = toIdentifier;
7
+var _isValidIdentifier = require("../validators/isValidIdentifier.js");
8
+var _helperValidatorIdentifier = require("@babel/helper-validator-identifier");
9
+function toIdentifier(input) {
10
+  input = input + "";
11
+  let name = "";
12
+  for (const c of input) {
13
+    name += (0, _helperValidatorIdentifier.isIdentifierChar)(c.codePointAt(0)) ? c : "-";
14
+  }
15
+  name = name.replace(/^[-0-9]+/, "");
16
+  name = name.replace(/[-\s]+(.)?/g, function (match, c) {
17
+    return c ? c.toUpperCase() : "";
18
+  });
19
+  if (!(0, _isValidIdentifier.default)(name)) {
20
+    name = `_${name}`;
21
+  }
22
+  return name || "_";
23
+}
24
+
25
+//# sourceMappingURL=toIdentifier.js.map

+ 1
- 0
node_modules/@babel/types/lib/converters/toIdentifier.js.map Переглянути файл

@@ -0,0 +1 @@
1
+{"version":3,"names":["_isValidIdentifier","require","_helperValidatorIdentifier","toIdentifier","input","name","c","isIdentifierChar","codePointAt","replace","match","toUpperCase","isValidIdentifier"],"sources":["../../src/converters/toIdentifier.ts"],"sourcesContent":["import isValidIdentifier from \"../validators/isValidIdentifier.ts\";\nimport { isIdentifierChar } from \"@babel/helper-validator-identifier\";\n\nexport default function toIdentifier(input: string): string {\n  input = input + \"\";\n\n  // replace all non-valid identifiers with dashes\n  let name = \"\";\n  for (const c of input) {\n    name += isIdentifierChar(c.codePointAt(0)) ? c : \"-\";\n  }\n\n  // remove all dashes and numbers from start of name\n  name = name.replace(/^[-0-9]+/, \"\");\n\n  // camel case\n  name = name.replace(/[-\\s]+(.)?/g, function (match, c) {\n    return c ? c.toUpperCase() : \"\";\n  });\n\n  if (!isValidIdentifier(name)) {\n    name = `_${name}`;\n  }\n\n  return name || \"_\";\n}\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,0BAAA,GAAAD,OAAA;AAEe,SAASE,YAAYA,CAACC,KAAa,EAAU;EAC1DA,KAAK,GAAGA,KAAK,GAAG,EAAE;EAGlB,IAAIC,IAAI,GAAG,EAAE;EACb,KAAK,MAAMC,CAAC,IAAIF,KAAK,EAAE;IACrBC,IAAI,IAAI,IAAAE,2CAAgB,EAACD,CAAC,CAACE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAGF,CAAC,GAAG,GAAG;EACtD;EAGAD,IAAI,GAAGA,IAAI,CAACI,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;EAGnCJ,IAAI,GAAGA,IAAI,CAACI,OAAO,CAAC,aAAa,EAAE,UAAUC,KAAK,EAAEJ,CAAC,EAAE;IACrD,OAAOA,CAAC,GAAGA,CAAC,CAACK,WAAW,CAAC,CAAC,GAAG,EAAE;EACjC,CAAC,CAAC;EAEF,IAAI,CAAC,IAAAC,0BAAiB,EAACP,IAAI,CAAC,EAAE;IAC5BA,IAAI,GAAG,IAAIA,IAAI,EAAE;EACnB;EAEA,OAAOA,IAAI,IAAI,GAAG;AACpB","ignoreList":[]}

+ 0
- 0
node_modules/@babel/types/lib/converters/toKeyAlias.js Переглянути файл


Деякі файли не було показано, через те що забагато файлів було змінено

Завантаження…
Відмінити
Зберегти