Skip to content
Open
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
420 changes: 0 additions & 420 deletions index.d.ts

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'use strict';
const util = require('util');

const provider = require('./provider.js');
const provider = require('./provider');
const utils = require('../utils');
const AuthProvider = provider.AuthProvider;
const Authenticator = provider.Authenticator;
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/client.js → lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
const events = require('events');
const util = require('util');

const utils = require('./utils.js');
const errors = require('./errors.js');
const utils = require('./utils');
const errors = require('./errors');
const types = require('./types');
const { ProfileManager } = require('./execution-profile');
const requests = require('./requests');
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/connection.js → lib/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const util = require('util');
const tls = require('tls');
const net = require('net');

const Encoder = require('./encoder.js');
const Encoder = require('./encoder');
const { WriteQueue } = require('./writers');
const requests = require('./requests');
const streams = require('./streams');
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

const util = require('util');
const types = require('../types');
const utils = require('../utils.js');
const errors = require('../errors.js');
const utils = require('../utils');
const errors = require('../errors');

const doneIteratorObject = Object.freeze({ done: true });
const newlyUpInterval = 60000;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/writers.js → lib/writers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
const events = require('events');

const types = require('./types');
const utils = require('./utils.js');
const utils = require('./utils');
const FrameHeader = types.FrameHeader;

/**
Expand Down
162 changes: 161 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"graphdb"
],
"license": "Apache-2.0",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Correct, but we will fix those later, because we will add roll-up and api-extractor.

"types": "./index.d.ts",
"dependencies": {
"@types/node": "^20.14.8",
"adm-zip": "~0.5.10",
Expand All @@ -31,7 +30,9 @@
"mocha-jenkins-reporter": "~0.4.8",
"proxyquire": "~2.1.3",
"sinon": "~15.2.0",
"temp": ">= 0.8.3"
"temp": ">= 0.8.3",
"ts-mocha": "^10.0.0",
"typescript": "^5.7.3"
Comment on lines +33 to +35
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Correct, we will need to fix those scripts and other project setup later.

},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
const assert = require('assert');
const util = require('util');

const helper = require('../../test-helper.js');
const Client = require('../../../lib/client.js');
const utils = require('../../../lib/utils.js');
const loadBalancing = require('../../../lib/policies/load-balancing.js');
const helper = require('../../test-helper');
const Client = require('../../../lib/client');
const utils = require('../../../lib/utils');
const loadBalancing = require('../../../lib/policies/load-balancing');
const DCAwareRoundRobinPolicy = loadBalancing.DCAwareRoundRobinPolicy;
const TokenAwarePolicy = loadBalancing.TokenAwarePolicy;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
const assert = require('assert');
const util = require('util');

const helper = require('../../test-helper.js');
const Client = require('../../../lib/client.js');
const helper = require('../../test-helper');
const Client = require('../../../lib/client');
const types = require('../../../lib/types');
const utils = require('../../../lib/utils.js');
const errors = require('../../../lib/errors.js');
const utils = require('../../../lib/utils');
const errors = require('../../../lib/errors');
const vit = helper.vit;

describe('Client @SERVER_API', function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const assert = require('chai').assert;
const util = require('util');
const sinon = require('sinon');

const helper = require('../../test-helper.js');
const Client = require('../../../lib/client.js');
const helper = require('../../test-helper');
const Client = require('../../../lib/client');
const types = require('../../../lib/types');
const utils = require('../../../lib/utils.js');
const errors = require('../../../lib/errors.js');
const utils = require('../../../lib/utils');
const errors = require('../../../lib/errors');
const vit = helper.vit;

describe('Client', function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
const assert = require('assert');
const util = require('util');

const helper = require('../../test-helper.js');
const Client = require('../../../lib/client.js');
const ExecutionProfile = require('../../../lib/execution-profile.js').ExecutionProfile;
const helper = require('../../test-helper');
const Client = require('../../../lib/client');
const ExecutionProfile = require('../../../lib/execution-profile').ExecutionProfile;
const types = require('../../../lib/types');
const utils = require('../../../lib/utils.js');
const errors = require('../../../lib/errors.js');
const utils = require('../../../lib/utils');
const errors = require('../../../lib/errors');
const vit = helper.vit;
const vdescribe = helper.vdescribe;
const numericTests = require('./numeric-tests');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const utils = require('../../../lib/utils');
const errors = require('../../../lib/errors');
const types = require('../../../lib/types');
const policies = require('../../../lib/policies');
const RoundRobinPolicy = require('../../../lib/policies/load-balancing.js').RoundRobinPolicy;
const Murmur3Tokenizer = require('../../../lib/tokenizer.js').Murmur3Tokenizer;
const RoundRobinPolicy = require('../../../lib/policies/load-balancing').RoundRobinPolicy;
const Murmur3Tokenizer = require('../../../lib/tokenizer').Murmur3Tokenizer;
const { PlainTextAuthProvider } = require('../../../lib/auth');
const ConstantSpeculativeExecutionPolicy = policies.speculativeExecution.ConstantSpeculativeExecutionPolicy;
const OrderedLoadBalancingPolicy = helper.OrderedLoadBalancingPolicy;
Expand Down
Loading
Loading