Skip to content

Commit

Permalink
fix(package): update babel dependencies for path fix
Browse files Browse the repository at this point in the history
Incorporates a change that was breaking babel-codemod's tests: babel/babel#8044.
  • Loading branch information
eventualbuddha committed May 29, 2018
1 parent dd89a18 commit c58fe20
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 374 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
"yarnhook": "^0.2.0"
},
"dependencies": {
"@babel/core": "^7.0.0-beta.42",
"@babel/generator": "^7.0.0-beta.42",
"@babel/preset-env": "^7.0.0-beta.42",
"@babel/preset-typescript": "^7.0.0-beta.42",
"@babel/traverse": "^7.0.0-beta.42",
"@babel/types": "^7.0.0-beta.42",
"@babel/core": "^7.0.0-beta.49",
"@babel/generator": "^7.0.0-beta.49",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/preset-typescript": "^7.0.0-beta.49",
"@babel/traverse": "^7.0.0-beta.49",
"@babel/types": "^7.0.0-beta.49",
"get-stream": "^3.0.0",
"glob": "^7.1.2",
"got": "^8.1.0",
Expand Down
3 changes: 2 additions & 1 deletion test/unit/TransformRunnerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as Babel from '@babel/core';
import { NodePath } from '@babel/traverse';
import { NumericLiteral, Program } from '@babel/types';
import { deepEqual, strictEqual } from 'assert';
import { join } from 'path';
import TransformRunner, {
Source,
SourceTransformResult
Expand Down Expand Up @@ -88,6 +89,6 @@ describe('TransformRunner', function() {
// Consume all results, but ignore them.
Array.from(new TransformRunner([source], [plugin]).run());

strictEqual(filename, 'a.js');
strictEqual(filename, join(process.cwd(), 'a.js'));
});
});
Loading

0 comments on commit c58fe20

Please sign in to comment.