Skip to content

Commit 2839452

Browse files
committed
add integration test form typescript namespaces
1 parent dffa035 commit 2839452

File tree

3 files changed

+227
-0
lines changed

3 files changed

+227
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@babel/plugin-transform-template-literals": "^7.10.5",
3535
"@babel/preset-flow": "^7.10.4",
3636
"@babel/preset-react": "^7.10.4",
37+
"@babel/preset-typescript": "^7.15.0",
3738
"@babel/traverse": "^7.11.0",
3839
"web-streams-polyfill": "^3.1.1",
3940
"abort-controller": "^3.0.0",

packages/react-refresh/src/__tests__/ReactFreshIntegration-test.js

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,56 @@ describe('ReactFreshIntegration', () => {
19451945
expect(el.textContent).toBe('CXY');
19461946
}
19471947
});
1948+
1949+
it('does not crash with typescript namespaces', () => {
1950+
if (__DEV__) {
1951+
const twoStepTransform = function(source) {
1952+
const firstStep = babel.transformSync(source, {
1953+
configFile: false,
1954+
parserOpts: {
1955+
plugins: ['jsx', 'typescript'],
1956+
},
1957+
plugins: ['react-refresh/babel.js'],
1958+
}).code;
1959+
const secondStep = babel.transformSync(firstStep, {
1960+
presets: ['@babel/preset-typescript'],
1961+
filename: 'file.tsx',
1962+
}).code;
1963+
return secondStep;
1964+
};
1965+
1966+
const code = twoStepTransform(`
1967+
namespace NS {
1968+
export const Comp = () => {
1969+
return <div>A</div>
1970+
};
1971+
}
1972+
1973+
function App() {
1974+
return <NS.Comp />
1975+
}
1976+
1977+
export default App;
1978+
`);
1979+
render(code);
1980+
expect(container.firstChild.textContent).toBe('A');
1981+
const patchCode = twoStepTransform(`
1982+
namespace NS {
1983+
export const Comp = () => {
1984+
return <div>B</div>
1985+
};
1986+
}
1987+
1988+
function App() {
1989+
return <NS.Comp />
1990+
}
1991+
1992+
export default App;
1993+
`);
1994+
patch(patchCode);
1995+
expect(container.firstChild.textContent).toBe('B');
1996+
}
1997+
});
19481998
});
19491999
}
19502000
});

yarn.lock

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
dependencies:
2626
"@babel/highlight" "^7.12.13"
2727

28+
"@babel/code-frame@^7.14.5":
29+
version "7.15.8"
30+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.15.8.tgz#45990c47adadb00c03677baa89221f7cc23d2503"
31+
integrity sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==
32+
dependencies:
33+
"@babel/highlight" "^7.14.5"
34+
2835
"@babel/code-frame@^7.8.3":
2936
version "7.8.3"
3037
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
@@ -133,6 +140,15 @@
133140
jsesc "^2.5.1"
134141
source-map "^0.5.0"
135142

143+
"@babel/generator@^7.15.4":
144+
version "7.15.8"
145+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.8.tgz#fa56be6b596952ceb231048cf84ee499a19c0cd1"
146+
integrity sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==
147+
dependencies:
148+
"@babel/types" "^7.15.6"
149+
jsesc "^2.5.1"
150+
source-map "^0.5.0"
151+
136152
"@babel/generator@^7.8.3":
137153
version "7.8.3"
138154
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.8.3.tgz#0e22c005b0a94c1c74eafe19ef78ce53a4d45c03"
@@ -160,6 +176,13 @@
160176
dependencies:
161177
"@babel/types" "^7.10.4"
162178

179+
"@babel/helper-annotate-as-pure@^7.15.4":
180+
version "7.15.4"
181+
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz#3d0e43b00c5e49fdb6c57e421601a7a658d5f835"
182+
integrity sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==
183+
dependencies:
184+
"@babel/types" "^7.15.4"
185+
163186
"@babel/helper-annotate-as-pure@^7.8.3":
164187
version "7.8.3"
165188
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee"
@@ -232,6 +255,18 @@
232255
"@babel/helper-replace-supers" "^7.10.4"
233256
"@babel/helper-split-export-declaration" "^7.10.4"
234257

258+
"@babel/helper-create-class-features-plugin@^7.15.4":
259+
version "7.15.4"
260+
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz#7f977c17bd12a5fba363cb19bea090394bf37d2e"
261+
integrity sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==
262+
dependencies:
263+
"@babel/helper-annotate-as-pure" "^7.15.4"
264+
"@babel/helper-function-name" "^7.15.4"
265+
"@babel/helper-member-expression-to-functions" "^7.15.4"
266+
"@babel/helper-optimise-call-expression" "^7.15.4"
267+
"@babel/helper-replace-supers" "^7.15.4"
268+
"@babel/helper-split-export-declaration" "^7.15.4"
269+
235270
"@babel/helper-create-class-features-plugin@^7.8.3":
236271
version "7.8.3"
237272
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.8.3.tgz#5b94be88c255f140fd2c10dd151e7f98f4bff397"
@@ -288,6 +323,15 @@
288323
"@babel/template" "^7.10.4"
289324
"@babel/types" "^7.10.4"
290325

326+
"@babel/helper-function-name@^7.15.4":
327+
version "7.15.4"
328+
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz#845744dafc4381a4a5fb6afa6c3d36f98a787ebc"
329+
integrity sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==
330+
dependencies:
331+
"@babel/helper-get-function-arity" "^7.15.4"
332+
"@babel/template" "^7.15.4"
333+
"@babel/types" "^7.15.4"
334+
291335
"@babel/helper-function-name@^7.8.3":
292336
version "7.8.3"
293337
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca"
@@ -313,6 +357,13 @@
313357
dependencies:
314358
"@babel/types" "^7.10.4"
315359

360+
"@babel/helper-get-function-arity@^7.15.4":
361+
version "7.15.4"
362+
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz#098818934a137fce78b536a3e015864be1e2879b"
363+
integrity sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==
364+
dependencies:
365+
"@babel/types" "^7.15.4"
366+
316367
"@babel/helper-get-function-arity@^7.8.3":
317368
version "7.8.3"
318369
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5"
@@ -327,13 +378,27 @@
327378
dependencies:
328379
"@babel/types" "^7.10.4"
329380

381+
"@babel/helper-hoist-variables@^7.15.4":
382+
version "7.15.4"
383+
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz#09993a3259c0e918f99d104261dfdfc033f178df"
384+
integrity sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==
385+
dependencies:
386+
"@babel/types" "^7.15.4"
387+
330388
"@babel/helper-member-expression-to-functions@^7.10.4", "@babel/helper-member-expression-to-functions@^7.10.5":
331389
version "7.11.0"
332390
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz#ae69c83d84ee82f4b42f96e2a09410935a8f26df"
333391
integrity sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==
334392
dependencies:
335393
"@babel/types" "^7.11.0"
336394

395+
"@babel/helper-member-expression-to-functions@^7.15.4":
396+
version "7.15.4"
397+
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz#bfd34dc9bba9824a4658b0317ec2fd571a51e6ef"
398+
integrity sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==
399+
dependencies:
400+
"@babel/types" "^7.15.4"
401+
337402
"@babel/helper-member-expression-to-functions@^7.8.3":
338403
version "7.8.3"
339404
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c"
@@ -388,6 +453,13 @@
388453
dependencies:
389454
"@babel/types" "^7.10.4"
390455

456+
"@babel/helper-optimise-call-expression@^7.15.4":
457+
version "7.15.4"
458+
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171"
459+
integrity sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==
460+
dependencies:
461+
"@babel/types" "^7.15.4"
462+
391463
"@babel/helper-optimise-call-expression@^7.8.3":
392464
version "7.8.3"
393465
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9"
@@ -405,6 +477,11 @@
405477
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af"
406478
integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==
407479

480+
"@babel/helper-plugin-utils@^7.14.5":
481+
version "7.14.5"
482+
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9"
483+
integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==
484+
408485
"@babel/helper-regex@^7.10.4":
409486
version "7.10.5"
410487
resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.10.5.tgz#32dfbb79899073c415557053a19bd055aae50ae0"
@@ -433,6 +510,16 @@
433510
"@babel/traverse" "^7.10.4"
434511
"@babel/types" "^7.10.4"
435512

513+
"@babel/helper-replace-supers@^7.15.4":
514+
version "7.15.4"
515+
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz#52a8ab26ba918c7f6dee28628b07071ac7b7347a"
516+
integrity sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==
517+
dependencies:
518+
"@babel/helper-member-expression-to-functions" "^7.15.4"
519+
"@babel/helper-optimise-call-expression" "^7.15.4"
520+
"@babel/traverse" "^7.15.4"
521+
"@babel/types" "^7.15.4"
522+
436523
"@babel/helper-replace-supers@^7.8.3":
437524
version "7.8.3"
438525
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc"
@@ -483,6 +570,13 @@
483570
dependencies:
484571
"@babel/types" "^7.11.0"
485572

573+
"@babel/helper-split-export-declaration@^7.15.4":
574+
version "7.15.4"
575+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz#aecab92dcdbef6a10aa3b62ab204b085f776e257"
576+
integrity sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==
577+
dependencies:
578+
"@babel/types" "^7.15.4"
579+
486580
"@babel/helper-split-export-declaration@^7.8.3":
487581
version "7.8.3"
488582
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9"
@@ -495,11 +589,21 @@
495589
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz#d26cad8a47c65286b15df1547319a5d0bcf27288"
496590
integrity sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==
497591

592+
"@babel/helper-validator-identifier@^7.14.5", "@babel/helper-validator-identifier@^7.14.9":
593+
version "7.15.7"
594+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389"
595+
integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==
596+
498597
"@babel/helper-validator-identifier@^7.9.5":
499598
version "7.9.5"
500599
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80"
501600
integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==
502601

602+
"@babel/helper-validator-option@^7.14.5":
603+
version "7.14.5"
604+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3"
605+
integrity sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==
606+
503607
"@babel/helper-wrap-function@^7.10.4":
504608
version "7.10.4"
505609
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz#8a6f701eab0ff39f765b5a1cfef409990e624b87"
@@ -546,6 +650,15 @@
546650
chalk "^2.0.0"
547651
js-tokens "^4.0.0"
548652

653+
"@babel/highlight@^7.14.5":
654+
version "7.14.5"
655+
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9"
656+
integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==
657+
dependencies:
658+
"@babel/helper-validator-identifier" "^7.14.5"
659+
chalk "^2.0.0"
660+
js-tokens "^4.0.0"
661+
549662
"@babel/node@^7.14.7":
550663
version "7.14.7"
551664
resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.14.7.tgz#0090e83e726027ea682240718ca39e4b625b15ad"
@@ -578,6 +691,11 @@
578691
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.8.tgz#66fd41666b2d7b840bd5ace7f7416d5ac60208d4"
579692
integrity sha512-syoCQFOoo/fzkWDeM0dLEZi5xqurb5vuyzwIMNZRNun+N/9A4cUZeQaE7dTrB8jGaKuJRBtEOajtnmw0I5hvvA==
580693

694+
"@babel/parser@^7.15.4":
695+
version "7.15.8"
696+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.8.tgz#7bacdcbe71bdc3ff936d510c15dcea7cf0b99016"
697+
integrity sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==
698+
581699
"@babel/parser@^7.8.6", "@babel/parser@^7.9.0":
582700
version "7.9.4"
583701
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.4.tgz#68a35e6b0319bbc014465be43828300113f2f2e8"
@@ -847,6 +965,13 @@
847965
dependencies:
848966
"@babel/helper-plugin-utils" "^7.12.13"
849967

968+
"@babel/plugin-syntax-typescript@^7.14.5":
969+
version "7.14.5"
970+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz#b82c6ce471b165b5ce420cf92914d6fb46225716"
971+
integrity sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==
972+
dependencies:
973+
"@babel/helper-plugin-utils" "^7.14.5"
974+
850975
"@babel/plugin-transform-arrow-functions@^7.0.0":
851976
version "7.8.3"
852977
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6"
@@ -1300,6 +1425,15 @@
13001425
dependencies:
13011426
"@babel/helper-plugin-utils" "^7.10.4"
13021427

1428+
"@babel/plugin-transform-typescript@^7.15.0":
1429+
version "7.15.8"
1430+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz#ff0e6a47de9b2d58652123ab5a879b2ff20665d8"
1431+
integrity sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==
1432+
dependencies:
1433+
"@babel/helper-create-class-features-plugin" "^7.15.4"
1434+
"@babel/helper-plugin-utils" "^7.14.5"
1435+
"@babel/plugin-syntax-typescript" "^7.14.5"
1436+
13031437
"@babel/plugin-transform-unicode-escapes@^7.10.4":
13041438
version "7.10.4"
13051439
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.10.4.tgz#feae523391c7651ddac115dae0a9d06857892007"
@@ -1437,6 +1571,15 @@
14371571
"@babel/plugin-transform-react-jsx-source" "^7.10.4"
14381572
"@babel/plugin-transform-react-pure-annotations" "^7.10.4"
14391573

1574+
"@babel/preset-typescript@^7.15.0":
1575+
version "7.15.0"
1576+
resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz#e8fca638a1a0f64f14e1119f7fe4500277840945"
1577+
integrity sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow==
1578+
dependencies:
1579+
"@babel/helper-plugin-utils" "^7.14.5"
1580+
"@babel/helper-validator-option" "^7.14.5"
1581+
"@babel/plugin-transform-typescript" "^7.15.0"
1582+
14401583
"@babel/register@^7.14.5":
14411584
version "7.14.5"
14421585
resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.14.5.tgz#d0eac615065d9c2f1995842f85d6e56c345f3233"
@@ -1501,6 +1644,15 @@
15011644
"@babel/parser" "^7.12.13"
15021645
"@babel/types" "^7.12.13"
15031646

1647+
"@babel/template@^7.15.4":
1648+
version "7.15.4"
1649+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194"
1650+
integrity sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==
1651+
dependencies:
1652+
"@babel/code-frame" "^7.14.5"
1653+
"@babel/parser" "^7.15.4"
1654+
"@babel/types" "^7.15.4"
1655+
15041656
"@babel/template@^7.8.3":
15051657
version "7.8.3"
15061658
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8"
@@ -1564,6 +1716,21 @@
15641716
globals "^11.1.0"
15651717
lodash "^4.17.19"
15661718

1719+
"@babel/traverse@^7.15.4":
1720+
version "7.15.4"
1721+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.4.tgz#ff8510367a144bfbff552d9e18e28f3e2889c22d"
1722+
integrity sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==
1723+
dependencies:
1724+
"@babel/code-frame" "^7.14.5"
1725+
"@babel/generator" "^7.15.4"
1726+
"@babel/helper-function-name" "^7.15.4"
1727+
"@babel/helper-hoist-variables" "^7.15.4"
1728+
"@babel/helper-split-export-declaration" "^7.15.4"
1729+
"@babel/parser" "^7.15.4"
1730+
"@babel/types" "^7.15.4"
1731+
debug "^4.1.0"
1732+
globals "^11.1.0"
1733+
15671734
"@babel/traverse@^7.8.6", "@babel/traverse@^7.9.0":
15681735
version "7.9.5"
15691736
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.5.tgz#6e7c56b44e2ac7011a948c21e283ddd9d9db97a2"
@@ -1605,6 +1772,14 @@
16051772
lodash "^4.17.19"
16061773
to-fast-properties "^2.0.0"
16071774

1775+
"@babel/types@^7.15.4", "@babel/types@^7.15.6":
1776+
version "7.15.6"
1777+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.6.tgz#99abdc48218b2881c058dd0a7ab05b99c9be758f"
1778+
integrity sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==
1779+
dependencies:
1780+
"@babel/helper-validator-identifier" "^7.14.9"
1781+
to-fast-properties "^2.0.0"
1782+
16081783
"@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5":
16091784
version "7.9.5"
16101785
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444"
@@ -6442,6 +6617,7 @@ eslint-plugin-no-unsanitized@3.1.2:
64426617

64436618
"eslint-plugin-react-internal@link:./scripts/eslint-rules":
64446619
version "0.0.0"
6620+
uid ""
64456621

64466622
eslint-plugin-react@^6.7.1:
64476623
version "6.10.3"

0 commit comments

Comments
 (0)