Skip to content

Commit

Permalink
Update babel (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Jun 29, 2022
1 parent ca4ab29 commit ff286a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"xo"
],
"dependencies": {
"@babel/helper-validator-identifier": "^7.15.7",
"@babel/helper-validator-identifier": "^7.18.6",
"ci-info": "^3.3.0",
"clean-regexp": "^1.0.0",
"eslint-utils": "^3.0.0",
Expand All @@ -62,9 +62,9 @@
"strip-indent": "^3.0.0"
},
"devDependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/eslint-parser": "^7.16.5",
"@babel/code-frame": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
"@typescript-eslint/parser": "^5.7.0",
"ava": "^3.15.0",
Expand Down
6 changes: 3 additions & 3 deletions test/prefer-export-from.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ test.babel({
},
{
code: outdent`
import {foo} from './foo.json' assert { type: 'json' };
import {foo} from './foo.json' assert { type: 'unknown' };
export {foo};
export {bar} from './foo.json';
`,
Expand All @@ -615,12 +615,12 @@ test.babel({
code: outdent`
import {foo} from './foo.json';
export {foo};
export {bar} from './foo.json' assert { type: 'json' };
export {bar} from './foo.json' assert { type: 'unknown' };
`,
errors: 1,
output: outdent`
\n
export {bar, foo} from './foo.json' assert { type: 'json' };
export {bar, foo} from './foo.json' assert { type: 'unknown' };
`,
},
],
Expand Down

0 comments on commit ff286a1

Please sign in to comment.