Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
fix(package): update got to version 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and pvdlg committed Aug 4, 2018
1 parent 5649360 commit bec148c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion bin/travis-deploy-once.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env node

/* eslint-disable import/no-unassigned-import */
require('babel-register')({only: /travis-deploy-once\/(lib|cli.js)/});
require('babel-register')({
only: /travis-deploy-once\/(lib|cli.js)|travis-deploy-once\/node_modules\/(got|cacheable-request)/,
});
require('babel-polyfill');

require('../cli')().catch(() => {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
/* eslint-disable import/no-unassigned-import */
require('babel-register')({only: 'travis-deploy-once/lib'});
require('babel-register')({only: /travis-deploy-once\/lib|travis-deploy-once\/node_modules\/(got|cacheable-request)/});
require('babel-polyfill');

module.exports = require('./lib/travis-deploy-once');
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"author": "Stephan Bönnemann <stephan@boennemann.me>",
"ava": {
"require": [
"babel-register",
"babel-polyfill"
"./test/helpers/ava-babel-require"
]
},
"babel": {
Expand All @@ -19,6 +18,9 @@
}
}
]
],
"plugins": [
"transform-object-rest-spread"
]
},
"bin": {
Expand All @@ -33,12 +35,13 @@
}
},
"dependencies": {
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chalk": "^2.1.0",
"execa": "^0.10.0",
"got": "^8.0.1",
"got": "^9.0.0",
"p-retry": "^2.0.0",
"semver": "^5.4.1",
"update-notifier": "^2.3.0",
Expand Down
5 changes: 5 additions & 0 deletions test/helpers/ava-babel-require.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-disable import/no-unassigned-import */
require('babel-register')({
only: /travis-deploy-once\/(lib|cli.js)|travis-deploy-once\/node_modules\/(got|cacheable-request)/,
});
require('babel-polyfill');

0 comments on commit bec148c

Please sign in to comment.