From a336e34734ba62b70c231ce9c7434c1d644c4c07 Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 14:48:45 +0100 Subject: [PATCH 1/7] Updating dependencies to fix CI build leveldown error --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5f0fd86..e357a08 100644 --- a/package.json +++ b/package.json @@ -39,16 +39,16 @@ "n3": "~0.4.5" }, "peerDependencies": { - "levelgraph": "~1.1.1" + "levelgraph": "^1.3.1" }, "devDependencies": { "browserify": "~13.0.0", "chai": "~3.5.0", "coveralls": "~2.11.8", "istanbul": "~0.4.2", - "level-test": "~1.7.0", + "level-test": "~2.0.2", "leveldown": "^1.4.4", - "levelgraph": "~1.1.1", + "levelgraph": "^1.3.1", "lodash": "~2.4.1", "mocha": "~2.4.5", "uglify-js": "~2.6.2", From 55bb242b86e4ca4c9490612993a3f7232ed8a1fb Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 15:10:51 +0100 Subject: [PATCH 2/7] Bumping deps --- .tags | 26 ++++++++++++++++++++++++++ .tags1 | 32 ++++++++++++++++++++++++++++++++ package.json | 4 ++-- 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 .tags create mode 100644 .tags1 diff --git a/.tags b/.tags new file mode 100644 index 0000000..991cadc --- /dev/null +++ b/.tags @@ -0,0 +1,26 @@ +expect /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var expect = require('chai').expect;$/;" variable line:1 +helper /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var helper = require('.\/helper');$/;" variable line:2 +describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put', function() {$/;" function line:4 +beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:8 +afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:13 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should accept a done callback', function(done) {$/;" function line:17 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a triple', function(done) {$/;" function line:21 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store two triples', function(done) {$/;" function line:33 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a JSON file', function(done) {$/;" function line:44 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support a base IRI', function(done) {$/;" function line:55 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should generate an @id for unknown objects', function(done) {$/;" function line:68 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should pass the generated @id to callback', function(done) {$/;" function line:84 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should convert @type into http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type', function(done) {$/;" function line:95 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should update a property', function(done) {$/;" function line:108 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should add a property', function(done) {$/;" function line:124 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a property', function(done) {$/;" function line:142 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a nested object', function(done) {$/;" function line:158 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should receive error on invalid input', function(done) {$/;" function line:174 +describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put with default base', function() {$/;" function line:187 +beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:191 +afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:196 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should use it', function(done) {$/;" function line:200 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should correctly generate blank nodes as subjects', function(done) {$/;" function line:213 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not store undefined objects', function(done) {$/;" function line:232 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support nested objects', function(done) {$/;" function line:245 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not overwrite existing facts', function(done) {$/;" function line:256 diff --git a/.tags1 b/.tags1 new file mode 100644 index 0000000..ac67834 --- /dev/null +++ b/.tags1 @@ -0,0 +1,32 @@ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 0 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ +!_TAG_PROGRAM_NAME Exuberant Ctags // +!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ +!_TAG_PROGRAM_VERSION 5.8 // +expect /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var expect = require('chai').expect;$/;" variable line:1 +helper /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var helper = require('.\/helper');$/;" variable line:2 +describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put', function() {$/;" function line:4 +beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:8 +afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:13 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should accept a done callback', function(done) {$/;" function line:17 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a triple', function(done) {$/;" function line:21 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store two triples', function(done) {$/;" function line:33 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a JSON file', function(done) {$/;" function line:44 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support a base IRI', function(done) {$/;" function line:55 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should generate an @id for unknown objects', function(done) {$/;" function line:68 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should pass the generated @id to callback', function(done) {$/;" function line:84 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should convert @type into http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type', function(done) {$/;" function line:95 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should update a property', function(done) {$/;" function line:108 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should add a property', function(done) {$/;" function line:124 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a property', function(done) {$/;" function line:142 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a nested object', function(done) {$/;" function line:158 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should receive error on invalid input', function(done) {$/;" function line:174 +describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put with default base', function() {$/;" function line:187 +beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:191 +afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:196 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should use it', function(done) {$/;" function line:200 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should correctly generate blank nodes as subjects', function(done) {$/;" function line:213 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not store undefined objects', function(done) {$/;" function line:232 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support nested objects', function(done) {$/;" function line:245 +it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not overwrite existing facts', function(done) {$/;" function line:256 diff --git a/package.json b/package.json index e357a08..fcd141d 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,8 @@ "chai": "~3.5.0", "coveralls": "~2.11.8", "istanbul": "~0.4.2", - "level-test": "~2.0.2", - "leveldown": "^1.4.4", + "level-test": "^2.0.2", + "leveldown": "^1.5.3", "levelgraph": "^1.3.1", "lodash": "~2.4.1", "mocha": "~2.4.5", From 74befa7bfff8f11f0a92b80c461ccd702cd2e998 Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 15:14:25 +0100 Subject: [PATCH 3/7] Oops --- .tags | 26 -------------------------- .tags1 | 32 -------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 .tags delete mode 100644 .tags1 diff --git a/.tags b/.tags deleted file mode 100644 index 991cadc..0000000 --- a/.tags +++ /dev/null @@ -1,26 +0,0 @@ -expect /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var expect = require('chai').expect;$/;" variable line:1 -helper /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var helper = require('.\/helper');$/;" variable line:2 -describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put', function() {$/;" function line:4 -beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:8 -afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:13 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should accept a done callback', function(done) {$/;" function line:17 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a triple', function(done) {$/;" function line:21 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store two triples', function(done) {$/;" function line:33 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a JSON file', function(done) {$/;" function line:44 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support a base IRI', function(done) {$/;" function line:55 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should generate an @id for unknown objects', function(done) {$/;" function line:68 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should pass the generated @id to callback', function(done) {$/;" function line:84 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should convert @type into http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type', function(done) {$/;" function line:95 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should update a property', function(done) {$/;" function line:108 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should add a property', function(done) {$/;" function line:124 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a property', function(done) {$/;" function line:142 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a nested object', function(done) {$/;" function line:158 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should receive error on invalid input', function(done) {$/;" function line:174 -describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put with default base', function() {$/;" function line:187 -beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:191 -afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:196 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should use it', function(done) {$/;" function line:200 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should correctly generate blank nodes as subjects', function(done) {$/;" function line:213 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not store undefined objects', function(done) {$/;" function line:232 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support nested objects', function(done) {$/;" function line:245 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not overwrite existing facts', function(done) {$/;" function line:256 diff --git a/.tags1 b/.tags1 deleted file mode 100644 index ac67834..0000000 --- a/.tags1 +++ /dev/null @@ -1,32 +0,0 @@ -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 0 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ -!_TAG_PROGRAM_NAME Exuberant Ctags // -!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ -!_TAG_PROGRAM_VERSION 5.8 // -expect /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var expect = require('chai').expect;$/;" variable line:1 -helper /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^var helper = require('.\/helper');$/;" variable line:2 -describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put', function() {$/;" function line:4 -beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:8 -afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:13 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should accept a done callback', function(done) {$/;" function line:17 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a triple', function(done) {$/;" function line:21 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store two triples', function(done) {$/;" function line:33 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should store a JSON file', function(done) {$/;" function line:44 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support a base IRI', function(done) {$/;" function line:55 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should generate an @id for unknown objects', function(done) {$/;" function line:68 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should pass the generated @id to callback', function(done) {$/;" function line:84 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should convert @type into http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type', function(done) {$/;" function line:95 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should update a property', function(done) {$/;" function line:108 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should add a property', function(done) {$/;" function line:124 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a property', function(done) {$/;" function line:142 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should delete a nested object', function(done) {$/;" function line:158 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should receive error on invalid input', function(done) {$/;" function line:174 -describe /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^describe('jsonld.put with default base', function() {$/;" function line:187 -beforeEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ beforeEach(function() {$/;" function line:191 -afterEach /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ afterEach(function(done) {$/;" function line:196 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should use it', function(done) {$/;" function line:200 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should correctly generate blank nodes as subjects', function(done) {$/;" function line:213 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not store undefined objects', function(done) {$/;" function line:232 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should support nested objects', function(done) {$/;" function line:245 -it /Users/jun/dev/OII/levelgraph-jsonld/test/put_spec.js /^ it('should not overwrite existing facts', function(done) {$/;" function line:256 From a0de4e66a2d97ba44b2ec21d2c953bb6b9f573d6 Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 15:39:45 +0100 Subject: [PATCH 4/7] Pinning to 1.2.2 which seems to work on 0.10.48 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fcd141d..99f07f5 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,8 @@ "chai": "~3.5.0", "coveralls": "~2.11.8", "istanbul": "~0.4.2", - "level-test": "^2.0.2", - "leveldown": "^1.5.3", + "level-test": "2.0.0", + "leveldown": "~1.2.2", "levelgraph": "^1.3.1", "lodash": "~2.4.1", "mocha": "~2.4.5", From 65fc313a5b3b54dc11c0db502b824b3ad13c5c2a Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 15:55:44 +0100 Subject: [PATCH 5/7] Reverting all dep changes to check CI --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 99f07f5..5e56491 100644 --- a/package.json +++ b/package.json @@ -39,16 +39,16 @@ "n3": "~0.4.5" }, "peerDependencies": { - "levelgraph": "^1.3.1" + "levelgraph": "~1.1.1" }, "devDependencies": { "browserify": "~13.0.0", "chai": "~3.5.0", "coveralls": "~2.11.8", "istanbul": "~0.4.2", - "level-test": "2.0.0", - "leveldown": "~1.2.2", - "levelgraph": "^1.3.1", + "level-test": "~1.7.0", + "leveldown": "^1.4.4", + "levelgraph": "~1.1.1" "lodash": "~2.4.1", "mocha": "~2.4.5", "uglify-js": "~2.6.2", From 11548baca7b85280c842b0879ca2ba1ab5fdd0ca Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 15:57:22 +0100 Subject: [PATCH 6/7] Typo --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e56491..5f0fd86 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "istanbul": "~0.4.2", "level-test": "~1.7.0", "leveldown": "^1.4.4", - "levelgraph": "~1.1.1" + "levelgraph": "~1.1.1", "lodash": "~2.4.1", "mocha": "~2.4.5", "uglify-js": "~2.6.2", From ddb8fe2d9d0b8993b36e0a97c57fd6af652fec0c Mon Sep 17 00:00:00 2001 From: Jun Matsushita Date: Sat, 7 Jan 2017 16:02:10 +0100 Subject: [PATCH 7/7] Pin level down to 1.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f0fd86..5a72732 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "coveralls": "~2.11.8", "istanbul": "~0.4.2", "level-test": "~1.7.0", - "leveldown": "^1.4.4", + "leveldown": "~1.4.4", "levelgraph": "~1.1.1", "lodash": "~2.4.1", "mocha": "~2.4.5",