Update node dependencies

This commit is contained in:
Bartek Fabiszewski 2021-08-30 16:57:31 +02:00
parent d2fdf1d642
commit 1180a9fba8
3 changed files with 13570 additions and 2835 deletions

View File

@ -64,7 +64,7 @@ describe('Openlayers map API tests', () => {
it('should initialize map engine with config values', () => { it('should initialize map engine with config values', () => {
// given // given
spyOn(ol.Map.prototype, 'on'); spyOn(ol.Map.prototype, 'onInternal');
// when // when
api.initMap(); api.initMap();
// then // then
@ -72,7 +72,8 @@ describe('Openlayers map API tests', () => {
expect(api.map.getTarget()).toBe(container); expect(api.map.getTarget()).toBe(container);
expect(api.map.getControls().getLength()).toBe(3); expect(api.map.getControls().getLength()).toBe(3);
expect(api.map.getView().getCenter()).toEqual(ol.proj.fromLonLat([ config.initLongitude, config.initLatitude ])); expect(api.map.getView().getCenter()).toEqual(ol.proj.fromLonLat([ config.initLongitude, config.initLatitude ]));
expect(ol.Map.prototype.on).toHaveBeenCalledWith('pointermove', jasmine.any(Function)); // noinspection JSUnresolvedVariable
expect(ol.Map.prototype.onInternal).toHaveBeenCalledWith('pointermove', jasmine.any(Function));
}); });
it('should initialize map layers with config values', () => { it('should initialize map layers with config values', () => {

16355
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,45 +18,46 @@
"author": "Bartek Fabiszewski", "author": "Bartek Fabiszewski",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.12.13", "@babel/cli": "^7.14.8",
"@babel/core": "^7.12.13", "@babel/core": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.12.15", "@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.12.13", "@babel/preset-env": "^7.15.0",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"browserlist": "^1.0.1", "browserlist": "^1.0.1",
"clean-webpack-plugin": "^3.0.0", "clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0", "copy-webpack-plugin": "^9.0.1",
"core-js": "^3.8.3", "core-js": "^3.16.4",
"csso": "^4.2.0", "csso": "^4.2.0",
"eslint": "^7.19.0", "eslint": "^7.32.0",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.24.2",
"eslint-plugin-jasmine": "^4.1.2", "eslint-plugin-jasmine": "^4.1.2",
"husky": "^4.3.8", "husky": "^7.0.2",
"istanbul-instrumenter-loader": "^3.0.1", "istanbul-instrumenter-loader": "^3.0.1",
"jasmine": "^3.6.4", "jasmine": "^3.9.0",
"karma": "^6.1.0", "karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0", "karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3", "karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1", "karma-jasmine": "^4.0.1",
"karma-sourcemap-loader": "^0.3.8", "karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0", "karma-webpack": "^5.0.0",
"prepush-if-changed": "^1.0.8", "prepush-if-changed": "^1.0.8",
"puppeteer": "^7.0.1", "puppeteer": "^10.2.0",
"regenerator-runtime": "^0.13.7", "regenerator-runtime": "^0.13.9",
"stylelint": "^13.9.0", "stylelint": "^13.13.1",
"stylelint-config-standard": "^20.0.0", "stylelint-config-standard": "^22.0.0",
"terser-webpack-plugin": "^5.1.1", "terser-webpack-plugin": "^5.1.4",
"webpack": "^5.21.1", "webpack": "^5.51.1",
"webpack-cli": "^4.5.0", "webpack-cli": "^4.8.0",
"webpack-merge": "^5.7.3" "webpack-merge": "^5.8.0"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.15.3",
"@babel/runtime-corejs3": "^7.12.13", "@babel/runtime-corejs3": "^7.15.3",
"caniuse-lite": "^1.0.30001252",
"chartist": "^0.11.4", "chartist": "^0.11.4",
"chartist-plugin-axistitle": "0.0.7", "chartist-plugin-axistitle": "0.0.7",
"ol": "^6.5.0" "ol": "^6.6.1"
}, },
"babel": { "babel": {
"presets": [ "presets": [