Skip to content

Commit 118a63b

Browse files
authored
Update dependencies and remove un-used dependencies (#909)
1 parent 253f5e0 commit 118a63b

File tree

12 files changed

+81721
-34863
lines changed

12 files changed

+81721
-34863
lines changed

package-lock.json

Lines changed: 8210 additions & 1499 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bolt-connection/package-lock.json

Lines changed: 8837 additions & 4133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bolt-connection/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
},
3232
"homepage": "https://github.com/neo4j/neo4j-javascript-driver#readme",
3333
"devDependencies": {
34-
"@types/jest": "^26.0.24",
35-
"jest": "^27.3.1",
34+
"@types/jest": "^27.1.4",
35+
"jest": "^27.1.4",
3636
"lolex": "^6.0.0",
37-
"ts-jest": "^27.0.7",
38-
"typescript": "^4.4.4"
37+
"ts-jest": "^27.1.4",
38+
"typescript": "^4.6.3"
3939
},
4040
"dependencies": {
4141
"buffer": "^6.0.3",

packages/core/package-lock.json

Lines changed: 12978 additions & 6750 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
},
3131
"homepage": "https://github.com/neo4j/neo4j-javascript-driver#readme",
3232
"devDependencies": {
33-
"@types/jest": "^26.0.24",
34-
"esdoc": "^1.0.4",
33+
"@types/jest": "^27.4.1",
34+
"esdoc": "^1.1.0",
3535
"esdoc-importpath-plugin": "^1.0.2",
3636
"esdoc-standard-plugin": "^1.0.0",
37-
"jest": "^27.3.1",
38-
"ts-jest": "^27.0.7",
37+
"jest": "^27.5.1",
38+
"ts-jest": "^27.1.4",
3939
"ts-node": "^10.3.0",
40-
"typescript": "^4.4.4"
40+
"typescript": "^4.6.3"
4141
}
4242
}

packages/neo4j-driver-lite/package-lock.json

Lines changed: 15242 additions & 7073 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/neo4j-driver-lite/package.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,18 @@
66
"types": "types/index.d.ts",
77
"scripts": {
88
"build": "tsc",
9-
"build:browser": "browserify --standalone neo4j lib/index.js -o lib/browser/neo4j-lite-web.js && uglifyjs --mangle --compress -o lib/browser/neo4j-lite-web.min.js -- lib/browser/neo4j-lite-web.js ",
9+
"build::browser": "browserify --standalone neo4j lib/index.js -o lib/browser/neo4j-lite-web.js && uglifyjs --mangle --compress -o lib/browser/neo4j-lite-web.min.js -- lib/browser/neo4j-lite-web.js ",
1010
"test": "jest",
11-
"test:watch": "jest --watch",
12-
"test:it": "jest -c jest.integration.config.ts",
13-
"test:it:browser": "jest -c jest.browser.config.ts",
14-
"test::integration": "npm run test:it",
15-
"test::browser": "npm run test:it:browser",
11+
"test::watch": "jest --watch",
12+
"test::integration": "jest -c jest.integration.config.ts",
13+
"test::browser": "jest -c jest.browser.config.ts",
1614
"test::unit": "npm run test",
1715
"version::set_version.ts": "sed 's/0.0.0-dev/'$VERSION'/g' src/version.ts > src/version.tmp && mv src/version.tmp src/version.ts",
1816
"versionRelease": "npm version $VERSION --no-git-tag-version && npm run version::set_version.ts",
1917
"build::es6": "tsc --target ES6 --outdir lib6",
2018
"predocs": "npm run build && npm run build::es6",
2119
"docs": "esdoc -c esdoc.json",
22-
"prepare": "npm run build && npm run build:browser",
20+
"prepare": "npm run build && npm run build::browser",
2321
"clean": "rm -fr node_modules lib types"
2422
},
2523
"unpkg": "lib/browser/neo4j-lite-web.js",
@@ -39,19 +37,19 @@
3937
},
4038
"homepage": "https://github.com/neo4j/neo4j-javascript-driver#readme",
4139
"devDependencies": {
42-
"@types/jest": "^26.0.24",
40+
"@types/jest": "^27.1.4",
4341
"browser-resolve": "^2.0.0",
4442
"browserify": "^17.0.0",
45-
"esdoc": "^1.0.4",
43+
"esdoc": "^1.1.0",
4644
"esdoc-importpath-plugin": "^1.0.2",
4745
"esdoc-standard-plugin": "^1.0.0",
4846
"isomorphic-ws": "^4.0.1",
49-
"jest": "^27.3.1",
50-
"ts-jest": "^27.0.7",
51-
"ts-node": "^10.3.0",
52-
"typescript": "^4.4.4",
53-
"uglify-js": "^3.14.2",
54-
"ws": "^7.5.5"
47+
"jest": "^27.1.4",
48+
"ts-jest": "^27.1.4",
49+
"ts-node": "^10.7.0",
50+
"typescript": "^4.6.3",
51+
"uglify-js": "^3.15.3",
52+
"ws": "^8.5.0"
5553
},
5654
"dependencies": {
5755
"neo4j-driver-bolt-connection": "5.0.0-dev",

packages/neo4j-driver/gulpfile.babel.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,14 @@ function runJasmineTests (filterString) {
281281
print: () => {}
282282
})
283283
jasmine.addReporter(newJasmineConsoleReporter())
284-
jasmine.onComplete(passed => {
285-
if (passed) {
286-
resolve()
287-
} else {
288-
reject(new Error('tests failed'))
289-
}
290-
})
284+
jasmine.exitOnCompletion = false
291285
jasmine.execute(null, filterString)
286+
.then(result => {
287+
if (result.overallStatus === 'passed') {
288+
resolve()
289+
} else {
290+
reject(new Error('tests failed'))
291+
}
292+
})
292293
})
293294
}

0 commit comments

Comments
 (0)