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

Updates fibers to 3.0 to support node >=10 #132

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 21 additions & 12 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{
"passPerPreset": true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we need this option, happy to bump up the node target to 8

"presets": [
["env", {
"targets": {
"node": "4.4"
}
}],
"stage-0"
],
"plugins": [
"rewire",
"transform-runtime",
"add-module-exports",
{
"plugins": [
"rewire",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's only use this plugin in testing environment

"transform-runtime",
"add-module-exports"
]
},
{
"passPerPreset": false,
"presets": [
["env", {
"targets": {
"node": "8"
}
}
],
"stage-0"
]
}
]
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js

node_js:
- '6.10'
- '8'

script:
- npm run test:ci
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
wdio-sync
=========

[![Build Status](https://travis-ci.org/webdriverio/wdio-sync.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-sync) [![Code Climate](https://codeclimate.com/github/webdriverio/wdio-sync/badges/gpa.svg)](https://codeclimate.com/github/webdriverio/wdio-sync) [![Test Coverage](https://codeclimate.com/github/webdriverio/wdio-sync/badges/coverage.svg)](https://codeclimate.com/github/webdriverio/wdio-sync/coverage) [![Dependency Status](https://www.versioneye.com/user/projects/58ba933101b5b7004a7b5b8d/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/58ba933101b5b7004a7b5b8d)
[![Build Status](https://travis-ci.org/webdriverio-boneyard/wdio-sync.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-sync)

***

Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"homepage": "https://github.com/webdriverio/wdio-sync#readme",
"dependencies": {
"babel-runtime": "^6.26.0",
"fibers": "~2.0.0",
"fibers": "~3.0.0",
"object.assign": "^4.0.3"
},
"contributors": [
Expand All @@ -53,27 +53,27 @@
"Andy Edwards <[email protected]>"
],
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-add-module-exports": "^0.3.3",
"babel-plugin-rewire": "^1.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.22.0",
"codeclimate-test-reporter": "^0.5.0",
"babel-preset-stage-0": "^6.24.1",
"codeclimate-test-reporter": "^0.5.1",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-mocha": "^5.2.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"isparta": "^4.0.0",
"mocha": "^5.2.0",
"np": "^2.13.2",
"npm-run-all": "^4.0.2",
"should": "^13.0.1",
"npm-run-all": "^4.1.3",
"should": "^13.2.3",
"sinon": "^6.1.5"
}
}