From 538eb319160cc26f2f081644c4dab8be6db8f880 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Fri, 22 Jan 2016 11:36:58 +0100 Subject: [PATCH 1/2] chore: Upgrade dependencies --- .eslintignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 000000000..499b34048 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +test/test-folder/ipfs-add.js \ No newline at end of file diff --git a/package.json b/package.json index 189a95fe8..fd845157a 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,11 @@ }, "devDependencies": { "babel-core": "^6.1.21", - "babel-eslint": "^4.1.6", + "babel-eslint": "^5.0.0-beta6", "babel-loader": "^6.2.0", "babel-plugin-transform-runtime": "^6.1.18", "babel-preset-es2015": "^6.0.15", - "babel-runtime": "^5.8.34", + "babel-runtime": "^6.3.19", "chai": "^3.4.1", "concurrently": "^1.0.0", "eslint-config-standard": "^4.4.0", From d9039de85d95a6ba60ebf0763d26dcf564a7d6ff Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Fri, 22 Jan 2016 11:37:57 +0100 Subject: [PATCH 2/2] test: Remove setup api config not needed in 0.3.11 anymore --- package.json | 2 +- tasks/daemons.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fd845157a..e31c8dc76 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "gulp-tag-version": "^1.3.0", "gulp-util": "^3.0.7", "https-browserify": "0.0.1", - "ipfsd-ctl": "^0.7.1", + "ipfsd-ctl": "^0.8.0", "json-loader": "^0.5.3", "karma": "^0.13.11", "karma-chrome-launcher": "^0.2.1", diff --git a/tasks/daemons.js b/tasks/daemons.js index a688c6ab0..6bebbfd35 100644 --- a/tasks/daemons.js +++ b/tasks/daemons.js @@ -59,10 +59,7 @@ function startDisposableDaemons (callback) { const headers = { HTTPHeaders: { - 'Access-Control-Allow-Origin': ['*'], - // TODO: When ipfs/go-ipfs#1979 is merged drop these - 'Access-Control-Allow-Headers': ['X-Stream-Output, X-Chunked-Output'], - 'Access-Control-Expose-Headers': ['X-Stream-Output, X-Chunked-Output'] + 'Access-Control-Allow-Origin': ['*'] } } ipfsNodes[key].setConfig('API', JSON.stringify(headers), err => {