Skip to content

Commit 021ef09

Browse files
committed
chore: fix that Support for the experimental syntax 'classProperties' isn't currently enabled
1 parent 3ed57f5 commit 021ef09

File tree

3 files changed

+171
-1
lines changed

3 files changed

+171
-1
lines changed

Diff for: babel.config.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ module.exports = {
55
['@babel/preset-env', { 'targets': { 'node': 'current' }}]
66
],
77
'plugins': [
8-
'@babel/plugin-syntax-dynamic-import'
8+
'@babel/plugin-syntax-dynamic-import',
9+
[
10+
'@babel/plugin-proposal-class-properties',
11+
{
12+
'loose': true
13+
}
14+
]
915
]
1016
}
1117
}

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
]
4646
},
4747
"devDependencies": {
48+
"@babel/plugin-proposal-class-properties": "7",
4849
"@commitlint/cli": "^8.2.0",
4950
"@commitlint/config-conventional": "^8.2.0",
5051
"@nomadland/mono": "0.3.3",

Diff for: yarn.lock

+163
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
dependencies:
2020
"@babel/highlight" "^7.0.0"
2121

22+
"@babel/code-frame@^7.16.0":
23+
version "7.16.0"
24+
resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz#0dfc80309beec8411e65e706461c408b0bb9b431"
25+
integrity sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==
26+
dependencies:
27+
"@babel/highlight" "^7.16.0"
28+
2229
"@babel/code-frame@^7.8.3":
2330
version "7.8.3"
2431
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
@@ -67,6 +74,15 @@
6774
semver "^5.4.1"
6875
source-map "^0.5.0"
6976

77+
"@babel/generator@^7.16.5":
78+
version "7.16.5"
79+
resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz#26e1192eb8f78e0a3acaf3eede3c6fc96d22bedf"
80+
integrity sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==
81+
dependencies:
82+
"@babel/types" "^7.16.0"
83+
jsesc "^2.5.1"
84+
source-map "^0.5.0"
85+
7086
"@babel/generator@^7.4.0", "@babel/generator@^7.7.4":
7187
version "7.7.4"
7288
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.4.tgz#db651e2840ca9aa66f327dcec1dc5f5fa9611369"
@@ -87,6 +103,13 @@
87103
lodash "^4.17.13"
88104
source-map "^0.5.0"
89105

106+
"@babel/helper-annotate-as-pure@^7.16.0":
107+
version "7.16.0"
108+
resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.0.tgz#9a1f0ebcda53d9a2d00108c4ceace6a5d5f1f08d"
109+
integrity sha512-ItmYF9vR4zA8cByDocY05o0LGUkp1zhbTQOH1NFyl5xXEqlTJQCEJjieriw+aFpxo16swMxUnUiKS7a/r4vtHg==
110+
dependencies:
111+
"@babel/types" "^7.16.0"
112+
90113
"@babel/helper-annotate-as-pure@^7.7.4":
91114
version "7.7.4"
92115
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce"
@@ -111,6 +134,19 @@
111134
"@babel/traverse" "^7.7.4"
112135
"@babel/types" "^7.7.4"
113136

137+
"@babel/helper-create-class-features-plugin@^7.16.5":
138+
version "7.16.5"
139+
resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.5.tgz#5d1bcd096792c1ebec6249eebc6358eec55d0cad"
140+
integrity sha512-NEohnYA7mkB8L5JhU7BLwcBdU3j83IziR9aseMueWGeAjblbul3zzb8UvJ3a1zuBiqCMObzCJHFqKIQE6hTVmg==
141+
dependencies:
142+
"@babel/helper-annotate-as-pure" "^7.16.0"
143+
"@babel/helper-environment-visitor" "^7.16.5"
144+
"@babel/helper-function-name" "^7.16.0"
145+
"@babel/helper-member-expression-to-functions" "^7.16.5"
146+
"@babel/helper-optimise-call-expression" "^7.16.0"
147+
"@babel/helper-replace-supers" "^7.16.5"
148+
"@babel/helper-split-export-declaration" "^7.16.0"
149+
114150
"@babel/helper-create-class-features-plugin@^7.7.4":
115151
version "7.7.4"
116152
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.7.4.tgz#fce60939fd50618610942320a8d951b3b639da2d"
@@ -140,6 +176,13 @@
140176
"@babel/types" "^7.7.4"
141177
lodash "^4.17.13"
142178

179+
"@babel/helper-environment-visitor@^7.16.5":
180+
version "7.16.5"
181+
resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz#f6a7f38b3c6d8b07c88faea083c46c09ef5451b8"
182+
integrity sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==
183+
dependencies:
184+
"@babel/types" "^7.16.0"
185+
143186
"@babel/helper-explode-assignable-expression@^7.7.4":
144187
version "7.7.4"
145188
resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz#fa700878e008d85dc51ba43e9fb835cddfe05c84"
@@ -148,6 +191,15 @@
148191
"@babel/traverse" "^7.7.4"
149192
"@babel/types" "^7.7.4"
150193

194+
"@babel/helper-function-name@^7.16.0":
195+
version "7.16.0"
196+
resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz#b7dd0797d00bbfee4f07e9c4ea5b0e30c8bb1481"
197+
integrity sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==
198+
dependencies:
199+
"@babel/helper-get-function-arity" "^7.16.0"
200+
"@babel/template" "^7.16.0"
201+
"@babel/types" "^7.16.0"
202+
151203
"@babel/helper-function-name@^7.7.4":
152204
version "7.7.4"
153205
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e"
@@ -166,6 +218,13 @@
166218
"@babel/template" "^7.8.3"
167219
"@babel/types" "^7.8.3"
168220

221+
"@babel/helper-get-function-arity@^7.16.0":
222+
version "7.16.0"
223+
resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz#0088c7486b29a9cb5d948b1a1de46db66e089cfa"
224+
integrity sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==
225+
dependencies:
226+
"@babel/types" "^7.16.0"
227+
169228
"@babel/helper-get-function-arity@^7.7.4":
170229
version "7.7.4"
171230
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0"
@@ -180,13 +239,27 @@
180239
dependencies:
181240
"@babel/types" "^7.8.3"
182241

242+
"@babel/helper-hoist-variables@^7.16.0":
243+
version "7.16.0"
244+
resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz#4c9023c2f1def7e28ff46fc1dbcd36a39beaa81a"
245+
integrity sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==
246+
dependencies:
247+
"@babel/types" "^7.16.0"
248+
183249
"@babel/helper-hoist-variables@^7.7.4":
184250
version "7.7.4"
185251
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12"
186252
integrity sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ==
187253
dependencies:
188254
"@babel/types" "^7.7.4"
189255

256+
"@babel/helper-member-expression-to-functions@^7.16.5":
257+
version "7.16.5"
258+
resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.5.tgz#1bc9f7e87354e86f8879c67b316cb03d3dc2caab"
259+
integrity sha512-7fecSXq7ZrLE+TWshbGT+HyCLkxloWNhTbU2QM1NTI/tDqyf0oZiMcEfYtDuUDCo528EOlt39G1rftea4bRZIw==
260+
dependencies:
261+
"@babel/types" "^7.16.0"
262+
190263
"@babel/helper-member-expression-to-functions@^7.7.4":
191264
version "7.7.4"
192265
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz#356438e2569df7321a8326644d4b790d2122cb74"
@@ -213,6 +286,13 @@
213286
"@babel/types" "^7.7.4"
214287
lodash "^4.17.13"
215288

289+
"@babel/helper-optimise-call-expression@^7.16.0":
290+
version "7.16.0"
291+
resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz#cecdb145d70c54096b1564f8e9f10cd7d193b338"
292+
integrity sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==
293+
dependencies:
294+
"@babel/types" "^7.16.0"
295+
216296
"@babel/helper-optimise-call-expression@^7.7.4":
217297
version "7.7.4"
218298
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz#034af31370d2995242aa4df402c3b7794b2dcdf2"
@@ -225,6 +305,11 @@
225305
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
226306
integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==
227307

308+
"@babel/helper-plugin-utils@^7.16.5":
309+
version "7.16.5"
310+
resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.5.tgz#afe37a45f39fce44a3d50a7958129ea5b1a5c074"
311+
integrity sha512-59KHWHXxVA9K4HNF4sbHCf+eJeFe0Te/ZFGqBT4OjXhrwvA04sGfaEGsVTdsjoszq0YTP49RC9UKe5g8uN2RwQ==
312+
228313
"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4":
229314
version "7.5.5"
230315
resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351"
@@ -243,6 +328,17 @@
243328
"@babel/traverse" "^7.7.4"
244329
"@babel/types" "^7.7.4"
245330

331+
"@babel/helper-replace-supers@^7.16.5":
332+
version "7.16.5"
333+
resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.5.tgz#96d3988bd0ab0a2d22c88c6198c3d3234ca25326"
334+
integrity sha512-ao3seGVa/FZCMCCNDuBcqnBFSbdr8N2EW35mzojx3TwfIbdPmNK+JV6+2d5bR0Z71W5ocLnQp9en/cTF7pBJiQ==
335+
dependencies:
336+
"@babel/helper-environment-visitor" "^7.16.5"
337+
"@babel/helper-member-expression-to-functions" "^7.16.5"
338+
"@babel/helper-optimise-call-expression" "^7.16.0"
339+
"@babel/traverse" "^7.16.5"
340+
"@babel/types" "^7.16.0"
341+
246342
"@babel/helper-replace-supers@^7.7.4":
247343
version "7.7.4"
248344
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2"
@@ -261,6 +357,13 @@
261357
"@babel/template" "^7.7.4"
262358
"@babel/types" "^7.7.4"
263359

360+
"@babel/helper-split-export-declaration@^7.16.0":
361+
version "7.16.0"
362+
resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz#29672f43663e936df370aaeb22beddb3baec7438"
363+
integrity sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==
364+
dependencies:
365+
"@babel/types" "^7.16.0"
366+
264367
"@babel/helper-split-export-declaration@^7.7.4":
265368
version "7.7.4"
266369
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8"
@@ -275,6 +378,11 @@
275378
dependencies:
276379
"@babel/types" "^7.8.3"
277380

381+
"@babel/helper-validator-identifier@^7.15.7":
382+
version "7.15.7"
383+
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389"
384+
integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==
385+
278386
"@babel/helper-wrap-function@^7.7.4":
279387
version "7.7.4"
280388
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace"
@@ -312,6 +420,15 @@
312420
esutils "^2.0.2"
313421
js-tokens "^4.0.0"
314422

423+
"@babel/highlight@^7.16.0":
424+
version "7.16.0"
425+
resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz#6ceb32b2ca4b8f5f361fb7fd821e3fddf4a1725a"
426+
integrity sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==
427+
dependencies:
428+
"@babel/helper-validator-identifier" "^7.15.7"
429+
chalk "^2.0.0"
430+
js-tokens "^4.0.0"
431+
315432
"@babel/highlight@^7.8.3":
316433
version "7.8.3"
317434
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797"
@@ -326,6 +443,11 @@
326443
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.4.tgz#75ab2d7110c2cf2fa949959afb05fa346d2231bb"
327444
integrity sha512-jIwvLO0zCL+O/LmEJQjWA75MQTWwx3c3u2JOTDK5D3/9egrWRRA0/0hk9XXywYnXZVVpzrBYeIQTmhwUaePI9g==
328445

446+
"@babel/parser@^7.16.0", "@babel/parser@^7.16.5":
447+
version "7.16.6"
448+
resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz#8f194828193e8fa79166f34a4b4e52f3e769a314"
449+
integrity sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==
450+
329451
"@babel/parser@^7.8.3", "@babel/parser@^7.8.4":
330452
version "7.8.4"
331453
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8"
@@ -340,6 +462,14 @@
340462
"@babel/helper-remap-async-to-generator" "^7.7.4"
341463
"@babel/plugin-syntax-async-generators" "^7.7.4"
342464

465+
"@babel/plugin-proposal-class-properties@7":
466+
version "7.16.5"
467+
resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.5.tgz#3269f44b89122110f6339806e05d43d84106468a"
468+
integrity sha512-pJD3HjgRv83s5dv1sTnDbZOaTjghKEz8KUn1Kbh2eAIRhGuyQ1XSeI4xVXU3UlIEVA3DAyIdxqT1eRn7Wcn55A==
469+
dependencies:
470+
"@babel/helper-create-class-features-plugin" "^7.16.5"
471+
"@babel/helper-plugin-utils" "^7.16.5"
472+
343473
"@babel/plugin-proposal-class-properties@^7.7.4":
344474
version "7.7.4"
345475
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.7.4.tgz#2f964f0cb18b948450362742e33e15211e77c2ba"
@@ -771,6 +901,15 @@
771901
dependencies:
772902
regenerator-runtime "^0.13.2"
773903

904+
"@babel/template@^7.16.0":
905+
version "7.16.0"
906+
resolved "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz#d16a35ebf4cd74e202083356fab21dd89363ddd6"
907+
integrity sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==
908+
dependencies:
909+
"@babel/code-frame" "^7.16.0"
910+
"@babel/parser" "^7.16.0"
911+
"@babel/types" "^7.16.0"
912+
774913
"@babel/template@^7.4.0", "@babel/template@^7.7.4":
775914
version "7.7.4"
776915
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b"
@@ -804,6 +943,22 @@
804943
globals "^11.1.0"
805944
lodash "^4.17.13"
806945

946+
"@babel/traverse@^7.16.5":
947+
version "7.16.5"
948+
resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.5.tgz#d7d400a8229c714a59b87624fc67b0f1fbd4b2b3"
949+
integrity sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==
950+
dependencies:
951+
"@babel/code-frame" "^7.16.0"
952+
"@babel/generator" "^7.16.5"
953+
"@babel/helper-environment-visitor" "^7.16.5"
954+
"@babel/helper-function-name" "^7.16.0"
955+
"@babel/helper-hoist-variables" "^7.16.0"
956+
"@babel/helper-split-export-declaration" "^7.16.0"
957+
"@babel/parser" "^7.16.5"
958+
"@babel/types" "^7.16.0"
959+
debug "^4.1.0"
960+
globals "^11.1.0"
961+
807962
"@babel/traverse@^7.8.4":
808963
version "7.8.4"
809964
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c"
@@ -828,6 +983,14 @@
828983
lodash "^4.17.13"
829984
to-fast-properties "^2.0.0"
830985

986+
"@babel/types@^7.16.0":
987+
version "7.16.0"
988+
resolved "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz#db3b313804f96aadd0b776c4823e127ad67289ba"
989+
integrity sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==
990+
dependencies:
991+
"@babel/helper-validator-identifier" "^7.15.7"
992+
to-fast-properties "^2.0.0"
993+
831994
"@babel/types@^7.8.3":
832995
version "7.8.3"
833996
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"

0 commit comments

Comments
 (0)