Skip to content

Commit efc8c27

Browse files
committed
Fix broken imports
1 parent a050859 commit efc8c27

22 files changed

+18
-18
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ build
99
node_modules
1010
.idea
1111
docs/build
12-
./lib
12+
/lib
1313
.npmrc
File renamed without changes.

src/v1/internal/utf8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ try {
6060
} catch( e ) {
6161

6262
// Not on NodeJS, add shim for WebAPI TextEncoder/TextDecoder
63-
var textEncoding = require('../external/text-encoding/index');
63+
var textEncoding = require('../../external/text-encoding/index');
6464
let encoder = new textEncoding.TextEncoder("utf-8");
6565
let decoder = new textEncoding.TextDecoder("utf-8");
6666

src/v1/result-summary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* limitations under the License.
1818
*/
1919

20-
import neo4j from './../neo4j';
20+
import neo4j from '../neo4j';
2121

2222
/**
2323
* A ResultSummary instance contains structured metadata for a {Result}.

src/v1/result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import {ResultSummary} from './result-summary';
2121

2222
// Ensure Promise is available
23-
import {polyfill as polyfillPromise} from './external/es6-promise';
23+
import {polyfill as polyfillPromise} from '../external/es6-promise';
2424
polyfillPromise();
2525

2626
/**

test/internal/buf.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* limitations under the License.
1818
*/
1919

20-
var alloc = require('../../lib/internal/buf').alloc;
21-
var CombinedBuffer = require('../../lib/internal/buf').CombinedBuffer;
22-
var utf8 = require('../../lib/internal/utf8');
23-
var Unpacker = require("../../lib/internal/packstream.js").Unpacker;
20+
var alloc = require('../../lib/v1/internal/buf').alloc;
21+
var CombinedBuffer = require('../../lib/v1/internal/buf').CombinedBuffer;
22+
var utf8 = require('../../lib/v1/internal/utf8');
23+
var Unpacker = require("../../lib/v1/internal/packstream.js").Unpacker;
2424

2525
describe('buffers', function() {
2626
it('should have helpful toString', function() {

test/internal/chunking.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* limitations under the License.
1818
*/
1919

20-
var Chunker = require('../../lib/internal/chunking').Chunker;
21-
var Dechunker = require('../../lib/internal/chunking').Dechunker;
22-
var alloc = require('../../lib/internal/buf').alloc;
23-
var CombinedBuffer = require('../../lib/internal/buf').CombinedBuffer;
20+
var Chunker = require('../../lib/v1/internal/chunking').Chunker;
21+
var Dechunker = require('../../lib/v1/internal/chunking').Dechunker;
22+
var alloc = require('../../lib/v1/internal/buf').alloc;
23+
var CombinedBuffer = require('../../lib/v1/internal/buf').CombinedBuffer;
2424

2525
describe('Chunker', function() {
2626
it('should chunk simple data', function() {

test/internal/connector.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* limitations under the License.
1818
*/
1919

20-
var connect = require("../../lib/internal/connector.js").connect;
20+
var connect = require("../../lib/v1/internal/connector.js").connect;
2121

2222
describe('connector', function() {
2323
it('should read/write basic messages', function(done) {

test/internal/packstream.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* limitations under the License.
1818
*/
1919

20-
var alloc = require('../../lib/internal/buf').alloc,
21-
packstream = require("../../lib/internal/packstream.js"),
20+
var alloc = require('../../lib/v1/internal/buf').alloc,
21+
packstream = require("../../lib/v1/internal/packstream.js"),
2222
Packer = packstream.Packer,
2323
Unpacker = packstream.Unpacker,
2424
Structure = packstream.Structure;

test/internal/utf8.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* limitations under the License.
1818
*/
1919

20-
var utf8 = require('../../lib/internal/utf8');
21-
var buffers = require('../../lib/internal/buf');
20+
var utf8 = require('../../lib/v1/internal/utf8');
21+
var buffers = require('../../lib/v1/internal/buf');
2222

2323
describe('utf8', function() {
2424
it('should have a nice clean buffer position after serializing', function() {

test/session.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
var neo4j = require("../lib/neo4j").v1;
21-
var StatementType = require("../lib/result-summary").statementType;
21+
var StatementType = require("../lib/v1/result-summary").statementType;
2222

2323
describe('session', function() {
2424
it('should expose basic run/subscribe ', function(done) {

0 commit comments

Comments
 (0)