Skip to content

Commit ff286a1

Browse files
authored
Update babel (#1848)
1 parent ca4ab29 commit ff286a1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"xo"
4747
],
4848
"dependencies": {
49-
"@babel/helper-validator-identifier": "^7.15.7",
49+
"@babel/helper-validator-identifier": "^7.18.6",
5050
"ci-info": "^3.3.0",
5151
"clean-regexp": "^1.0.0",
5252
"eslint-utils": "^3.0.0",
@@ -62,9 +62,9 @@
6262
"strip-indent": "^3.0.0"
6363
},
6464
"devDependencies": {
65-
"@babel/code-frame": "^7.16.0",
66-
"@babel/core": "^7.16.5",
67-
"@babel/eslint-parser": "^7.16.5",
65+
"@babel/code-frame": "^7.18.6",
66+
"@babel/core": "^7.18.6",
67+
"@babel/eslint-parser": "^7.18.2",
6868
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
6969
"@typescript-eslint/parser": "^5.7.0",
7070
"ava": "^3.15.0",

test/prefer-export-from.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ test.babel({
601601
},
602602
{
603603
code: outdent`
604-
import {foo} from './foo.json' assert { type: 'json' };
604+
import {foo} from './foo.json' assert { type: 'unknown' };
605605
export {foo};
606606
export {bar} from './foo.json';
607607
`,
@@ -615,12 +615,12 @@ test.babel({
615615
code: outdent`
616616
import {foo} from './foo.json';
617617
export {foo};
618-
export {bar} from './foo.json' assert { type: 'json' };
618+
export {bar} from './foo.json' assert { type: 'unknown' };
619619
`,
620620
errors: 1,
621621
output: outdent`
622622
\n
623-
export {bar, foo} from './foo.json' assert { type: 'json' };
623+
export {bar, foo} from './foo.json' assert { type: 'unknown' };
624624
`,
625625
},
626626
],

0 commit comments

Comments
 (0)