Skip to content

Commit

Permalink
Upgrade packages to address security warnings (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval authored Jun 30, 2021
1 parent 8d87c5a commit e5ac50c
Show file tree
Hide file tree
Showing 3 changed files with 1,077 additions and 1,308 deletions.
12 changes: 8 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var tsConfig = require ('./tsconfig.json');
var tsConfig = require('./tsconfig.json');

var tsOptions = tsConfig["compilerOptions"];
var tsOptions = tsConfig['compilerOptions'];
// Need as the test folder is not visible from the src folder
tsOptions["rootDir"] = null;
tsOptions["inlineSourceMap"] = true;
tsOptions['rootDir'] = null;
tsOptions['inlineSourceMap'] = true;

module.exports = {
automock: false,
Expand All @@ -13,6 +13,10 @@ module.exports = {
},
preset: 'ts-jest/presets/js-with-babel',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
modulePathIgnorePatterns: [
'<rootDir>/jupyterlab_git',
'<rootDir>/jupyter-config'
],
setupFiles: ['<rootDir>/testutils/jest-setup-files.js'],
testPathIgnorePatterns: ['/lib/', '/node_modules/', '/jupyterlab_git/'],
testRegex: '/tests/.*.spec.ts[x]?$',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.0.0",
"jest-fetch-mock": "^1.6.6",
"jest-fetch-mock": "^3.0.0",
"lint-staged": "^11.0.0",
"mkdirp": "^1.0.3",
"npm-run-all": "^4.1.5",
Expand Down
Loading

0 comments on commit e5ac50c

Please sign in to comment.