Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
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
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining"
],
"presets": [
"@babel/preset-react",
Expand Down
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ module.exports = {
rules: {
'import/no-cycle': [off],
'operator-linebreak': [off],
'no-multiple-empty-lines': [off],
'react/jsx-curly-brace-presence': [off],
'react/forbid-prop-types': [off],
'react/require-default-props': [off],
'react/jsx-props-no-multi-spaces': [off],
'react/destructuring-assignment': [error],
'react/no-this-in-sfc': [error],
'react/no-access-state-in-setstate': [error],
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: node:12.8 # Should match .nvmrc content
image: node:14.20 # Should match .nvmrc content

stages:
- tests
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v12.13
v14.20

22,195 changes: 12,675 additions & 9,520 deletions package-lock.json

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,45 @@
"private": false,
"license": "ISC",
"dependencies": {
"@babel/preset-env": "^7.9.0",
"@babel/preset-env": "^7.19.1",
"@blueprintjs/core": "^3.30.1",
"@blueprintjs/datetime": "~3.9.2",
"@blueprintjs/icons": "~3.10.0",
"@blueprintjs/select": "~3.10.0",
"@blueprintjs/table": "~3.7.0",
"@blueprintjs/table": "^3.7.1",
"@makina-corpus/mapbox-gl-path": "^1.9.0",
"@mapbox/mapbox-gl-draw": "^1.1.2",
"@mapbox/mapbox-gl-draw": "^1.3.0",
"@mapbox/mapbox-gl-sync-move": "^0.2.0",
"@turf/bbox": "^6.0.1",
"@turf/centroid": "^6.0.2",
"@turf/bbox": "^6.5.0",
"@turf/centroid": "^6.5.0",
"base64url": "^3.0.1",
"bodybuilder": "^2.2.17",
"classnames": "^2.2.6",
"color2k": "^1.2.2",
"debug": "^4.1.0",
"deep-object-diff": "^1.1.0",
"elasticsearch": "^16.3.0",
"file-saver": "^2.0.2",
"bodybuilder": "^2.5.0",
"classnames": "^2.3.2",
"color2k": "^1.2.5",
"debug": "^4.3.4",
"deep-object-diff": "^1.1.7",
"elasticsearch": "^16.7.3",
"file-saver": "^2.0.5",
"html-to-react": "^1.4.8",
"html2canvas": "^1.0.0-rc.3",
"html2canvas": "^1.4.1",
"jspdf": "^1.5.3",
"lodash.debounce": "^4.0.8",
"lodash.template": "~4.5.0",
"mapbox-gl": "^1.13.0",
"mapbox-gl": "^1.13.2",
"mapbox-gl-inspect": "~1.3.1",
"marked": "~0.7.0",
"moize": "^5.4.4",
"moize": "^5.4.7",
"normalize.css": "^8.0.0",
"nunjucks": "^3.2.0",
"prop-types": "^15.6.2",
"query-string": "~6.8.2",
"react": "^16.8.6",
"react-contenteditable": "~3.3.1",
"nunjucks": "^3.2.3",
"prop-types": "^15.8.1",
"query-string": "^6.8.3",
"react": "^16.14.0",
"react-contenteditable": "^3.3.6",
"react-ctx-connect": "^1.0.3",
"react-dom": "^16.8.6",
"react-dom": "^16.14.0",
"resize-observer-polyfill": "^1.5.1",
"slugify": "^1.3.4",
"uuid": "^3.3.2"
"slugify": "^1.6.5",
"uuid": "^3.4.0"
},
"scripts": {
"start": "run-p -l watch:lint start-storybook",
Expand Down Expand Up @@ -84,37 +84,37 @@
"@babel/core": "~7.5.5",
"@babel/plugin-proposal-class-properties": "~7.5.5",
"@babel/plugin-proposal-object-rest-spread": "~7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "~7.5.5",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-a11y": "~5.1.10",
"@storybook/addon-actions": "~5.1.10",
"@storybook/addon-centered": "~5.1.10",
"@storybook/addon-info": "~5.1.10",
"@storybook/addon-knobs": "~5.1.10",
"@storybook/addon-links": "~5.1.10",
"@storybook/addon-viewport": "~5.1.10",
"@storybook/addons": "~5.1.10",
"@storybook/react": "~5.1.10",
"@testing-library/react": "^11.2.3",
"@babel/preset-react": "^7.18.6",
"@storybook/addon-a11y": "^5.1.11",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-centered": "^5.1.11",
"@storybook/addon-info": "^5.1.11",
"@storybook/addon-knobs": "^5.1.11",
"@storybook/addon-links": "^5.1.11",
"@storybook/addon-viewport": "^5.1.11",
"@storybook/addons": "^5.1.11",
"@storybook/react": "^5.1.11",
"@testing-library/react": "^11.2.7",
"babel-eslint": "^10.1.0",
"babel-plugin-i18next-extract": "^0.2.3",
"babel-plugin-i18next-extract": "^0.2.6",
"cpx": "~1.5.0",
"enzyme": "~3.10.0",
"enzyme-adapter-react-16": "~1.14.0",
"eslint": "^6.8.0",
"eslint-config-makina": "^3.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-config-makina": "^3.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-watch": "~6.0.1",
"node-sass": "^4.13.1",
"nodemon": "~1.19.1",
"node-sass": "^4.14.1",
"nodemon": "^1.19.4",
"npm-run-all": "~4.1.5",
"react-scripts": "^3.4.4",
"react-test-renderer": "^16.8.6",
"replace": "~1.1.0",
"react-test-renderer": "^16.14.0",
"replace": "^1.1.5",
"rimraf": "~2.6.3"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/modules/Visualizer/Details/Details.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ it('should switch visibility off', () => {
expect(instance.setState).toHaveBeenCalledWith({
visible: false,
});
expect(setTimeout).toHaveBeenCalledTimes(1);
instance.setState.mockClear();
jest.runAllTimers();
expect(instance.setState).toHaveBeenCalledWith({ hidden: true });
Expand Down