Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Babel dependencies to latest and fix CI. #315

Merged
merged 2 commits into from Dec 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions node-tests/addon-test.js
Expand Up @@ -152,7 +152,7 @@ describe('ember-cli-babel', function() {
});
}));

it("does not remove regeneratorRuntime.async helper function when used together with debug-macros", co.wrap(function* () {
it("does not remove _asyncToGenerator helper function when used together with debug-macros", co.wrap(function* () {
input.write({
"foo.js": stripIndent`
import { assert } from '@ember/debug';
Expand All @@ -167,7 +167,7 @@ describe('ember-cli-babel', function() {

let contents = output.read()['foo.js'];

expect(contents).to.include('regeneratorRuntime.async');
expect(contents).to.include('function _asyncToGenerator');
}));

it("allows @ember/debug to be consumed via both debug-macros and ember-modules-api-polyfill", co.wrap(function* () {
Expand All @@ -186,7 +186,7 @@ describe('ember-cli-babel', function() {
let contents = output.read()['foo.js'];

expect(contents).to.not.include('@ember/debug');
expect(contents).to.include('regeneratorRuntime.async');
expect(contents).to.include('function _asyncToGenerator');
expect(contents).to.include('Ember.inspect;');
expect(contents).to.not.include('assert');
}));
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -40,14 +40,14 @@
"test:node:debug": "mocha debug node-tests"
},
"dependencies": {
"@babel/core": "^7.7.0",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-decorators": "^7.7.0",
"@babel/plugin-transform-modules-amd": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-transform-modules-amd": "^7.7.5",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.0",
"@babel/runtime": "^7.7.0",
"@babel/preset-env": "^7.7.7",
"@babel/runtime": "^7.7.7",
"amd-name-resolver": "^1.2.1",
"babel-plugin-debug-macros": "^0.3.0",
"babel-plugin-ember-modules-api-polyfill": "^2.12.0",
Expand Down