Skip to content

Commit 64bbe62

Browse files
authored
Merge branch 'master' into encrypt-decrypt-node-testing
2 parents 4c18c3c + bf88871 commit 64bbe62

File tree

3 files changed

+14
-39
lines changed

3 files changed

+14
-39
lines changed

modules/integration-browser/karma.conf.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,14 @@ module.exports = function (config) {
88
files: [
99
'fixtures/tests.json',
1010
{ pattern: 'fixtures/*.json', included: false, served: true, watched: false, nocache: true },
11-
'src/integration.test.ts'
11+
'build/module/integration.test.js'
1212
],
1313
preprocessors: {
14-
'./src/*.test.ts': ['webpack', 'credentials'],
14+
'build/module/integration.test.js': ['webpack', 'credentials'],
1515
'./fixtures/tests.json': ['json_fixtures']
1616
},
1717
webpack: {
18-
resolve: {
19-
extensions: [ '.ts', '.js' ]
20-
},
2118
mode: 'development',
22-
module: {
23-
rules: [
24-
{
25-
test: /\.tsx?$/,
26-
use: 'ts-loader',
27-
exclude: /node_modules/
28-
}
29-
]
30-
},
3119
stats: {
3220
colors: true,
3321
modules: true,

modules/integration-browser/package.json

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,23 @@
2424
"stream-to-promise": "^2.2.0",
2525
"tslib": "^1.9.3",
2626
"unzipper": "^0.9.11",
27-
"yargs": "^13.2.2"
28-
},
29-
"devDependencies": {
30-
"@types/chai": "^4.1.4",
31-
"@types/chai-as-promised": "^7.1.0",
32-
"@types/mocha": "^5.2.5",
33-
"@types/node": "^11.11.4",
34-
"@typescript-eslint/eslint-plugin": "^1.9.0",
35-
"@typescript-eslint/parser": "^1.9.0",
36-
"chai": "^4.1.2",
37-
"chai-as-promised": "^7.1.1",
27+
"yargs": "^13.2.2",
3828
"jasmine-core": "^3.4.0",
3929
"karma": "^4.1.0",
40-
"karma-chai": "^0.1.0",
4130
"karma-chrome-launcher": "^2.2.0",
42-
"karma-coverage": "^1.1.2",
4331
"karma-jasmine": "^2.0.1",
4432
"karma-json-fixtures-preprocessor": "0.0.6",
45-
"karma-mocha": "^1.3.0",
46-
"karma-typescript": "^4.0.0",
4733
"karma-webpack": "^3.0.5",
48-
"mocha": "^5.2.0",
49-
"mocha-loader": "^2.0.1",
34+
"webpack": "^4.30.0",
35+
"puppeteer": "^1.14.0"
36+
},
37+
"devDependencies": {
38+
"@types/node": "^11.11.4",
39+
"@typescript-eslint/eslint-plugin": "^1.9.0",
40+
"@typescript-eslint/parser": "^1.9.0",
5041
"nyc": "^14.0.0",
51-
"puppeteer": "^1.14.0",
5242
"standard": "^12.0.1",
53-
"ts-loader": "^5.3.3",
54-
"ts-node": "^7.0.1",
55-
"typescript": "^3.5.0",
56-
"webpack": "^4.30.0",
57-
"webpack-cli": "^3.3.0"
43+
"typescript": "^3.5.0"
5844
},
5945
"sideEffects": false,
6046
"main": "./build/main/index.js",
@@ -63,7 +49,8 @@
6349
"bin": "./build_fixtures",
6450
"files": [
6551
"build/**/*",
66-
"build_fixtures"
52+
"build_fixtures",
53+
"karma.conf.js"
6754
],
6855
"standard": {
6956
"parser": "@typescript-eslint/parser",

modules/material-management/src/cryptographic_material.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ try {
3030
*/
3131
const { timingSafeEqual: nodeTimingSafeEqual } = require('crypto')
3232
timingSafeEqual = nodeTimingSafeEqual || portableTimingSafeEqual
33-
} catch {
33+
} catch (e) {
3434
timingSafeEqual = portableTimingSafeEqual
3535
}
3636
/* https://codahale.com/a-lesson-in-timing-attacks/ */

0 commit comments

Comments
 (0)