From 7a9b8597705f6994d1b55f9431f62e272ca80c7f Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 3 Sep 2017 11:43:48 +0100 Subject: [PATCH 1/4] chore: update deps --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9a424d9..3b431b1 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test" ], "engines": { - "node": ">=4.0.0", + "node": ">=6.0.0", "npm": ">=3.0.0" }, "bugs": { @@ -35,7 +35,7 @@ "homepage": "https://github.com/libp2p/js-peer-id", "devDependencies": { "aegir": "^11.0.2", - "chai": "^4.1.0", + "chai": "^4.1.2", "dirty-chai": "^2.0.1", "pre-commit": "^1.2.2" }, @@ -43,7 +43,7 @@ "async": "^2.5.0", "libp2p-crypto": "~0.9.4", "lodash": "^4.17.4", - "multihashes": "~0.4.5" + "multihashes": "~0.4.9" }, "repository": { "type": "git", @@ -60,4 +60,4 @@ "nginnever ", "npmcdn-to-unpkg-bot " ] -} \ No newline at end of file +} From b030d5b4085f9598a5f9f4c912c05a9cdfbf4475 Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 3 Sep 2017 11:43:56 +0100 Subject: [PATCH 2/4] chore: update gitignore --- .gitignore | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 907c78a..e4c5b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,14 @@ +**/node_modules/ +**/*.log +test/repo-tests* +**/bundle.js + # Logs logs *.log +coverage + # Runtime data pids *.pid @@ -19,11 +26,17 @@ coverage # node-waf configuration .lock-wscript -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release +build # Dependency directory # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git node_modules +lib dist +test/test-data/go-ipfs-repo/LOCK +test/test-data/go-ipfs-repo/LOG +test/test-data/go-ipfs-repo/LOG.old + +# while testing npm5 +package-lock.json From b34ef034843b17a0d4f192ed045fbffb9a9d4a48 Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 3 Sep 2017 11:44:03 +0100 Subject: [PATCH 3/4] chore: update CI --- .travis.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cc672b..584f308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,16 @@ language: node_js matrix: include: - - node_js: 4 - env: CXX=g++-4.8 - node_js: 6 - env: - - CXX=g++-4.8 - - node_js: stable env: CXX=g++-4.8 - -# Make sure we have new NPM. -before_install: - - npm install -g npm@4 + - node_js: 8 + env: CXX=g++-4.8 + # - node_js: stable + # env: CXX=g++-4.8 script: - npm run lint - - npm test + - npm run test - npm run coverage - make test From 05189249ad6ddc749457a42331a06a759b44e943 Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 3 Sep 2017 11:44:26 +0100 Subject: [PATCH 4/4] chore: update README badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d7e1b85..f758d93 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Dependency Status](https://david-dm.org/libp2p/js-peer-id.svg?style=flat-square)](https://david-dm.org/libp2p/js-peer-id) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) ![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square) -![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square) +![](https://img.shields.io/badge/Node.js-%3E%3D6.0.0-orange.svg?style=flat-square) > [IPFS](https://github.com/ipfs/ipfs) Peer ID implementation in JavaScript.