Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 478cd42

Browse files
authored
Merge pull request #1241 from City-of-Helsinki/TILA-1687
TILA-1687 dependency updates
2 parents a678d17 + 0509755 commit 478cd42

File tree

8 files changed

+413
-810
lines changed

8 files changed

+413
-810
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
1+
# 0.12.7
2+
**MINOR CHANGES**
3+
- Security updates; most notable changes below ([#1241](https://github.com/City-of-Helsinki/varaamo/pull/1241))
4+
- Replace `lightbox-react` with `react-image-lightbox`
5+
- Replace `node-sass` with `dart-sass`
26
# 0.12.6
3-
**MINOR CHANGES**
7+
**MINOR CHANGES**
48
- Update deps
59
# 0.12.1
610
**MINOR CHANGES**

app/pages/resource/ResourcePage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { connect } from 'react-redux';
99
import { bindActionCreators } from 'redux';
1010
import Row from 'react-bootstrap/lib/Row';
1111
import Col from 'react-bootstrap/lib/Col';
12-
import Lightbox from 'lightbox-react';
12+
import Lightbox from 'react-image-lightbox';
1313
import { decamelizeKeys } from 'humps';
14-
import 'lightbox-react/style.css';
14+
import 'react-image-lightbox/style.css';
1515

1616
import { addNotification } from '../../actions/notificationsActions';
1717
import constants from '../../constants/AppConstants';

app/pages/resource/__tests__/ResourcePage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Immutable from 'seamless-immutable';
33
import simple from 'simple-mock';
4-
import Lightbox from 'lightbox-react';
4+
import Lightbox from 'react-image-lightbox';
55

66
import NotFoundPage from '../../not-found/NotFoundPage';
77
import PageWrapper from '../../PageWrapper';

config/webpack.development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = merge(common, {
4949
'style-loader',
5050
'css-loader',
5151
'resolve-url-loader',
52-
{ loader: 'sass-loader', options: { sourceMap: true, sourceMapContents: false } },
52+
{ loader: 'sass-loader', options: { sassOptions: { sourceMap: true, sourceMapContents: false } } },
5353
{ loader: 'postcss-loader', options: { plugins: [autoprefixer({ browsers: ['last 2 version', 'ie 9'] })] } },
5454
],
5555
},

config/webpack.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = merge(common, {
3434
MiniCssExtractPlugin.loader,
3535
'css-loader',
3636
'resolve-url-loader',
37-
{ loader: 'sass-loader', options: { sourceMap: true, sourceMapContents: false } },
37+
{ loader: 'sass-loader', options: { sassOptions: { sourceMap: true, sourceMapContents: false } } },
3838
{ loader: 'postcss-loader', options: { plugins: [autoprefixer({ browsers: ['last 2 version', 'ie 9'] })] } },
3939
],
4040
},

package.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "varaamo",
3-
"version": "0.12.6",
3+
"version": "0.12.7",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/City-of-Helsinki/varaamo"
@@ -40,7 +40,6 @@
4040
"isomorphic-fetch": "2.2.1",
4141
"jest-date-mock": "^1.0.7",
4242
"leaflet": "^1.4.0",
43-
"lightbox-react": "0.3.7",
4443
"location-origin": "1.1.4",
4544
"lodash": "4.17.21",
4645
"mobile-detect": "1.4.0",
@@ -62,6 +61,7 @@
6261
"react-dom": "16.8.4",
6362
"react-helmet": "5.2.1",
6463
"react-html-parser": "^2.0.2",
64+
"react-image-lightbox": "5.1.4",
6565
"react-intl": "2.8.0",
6666
"react-intl-redux": "2.1.0",
6767
"react-leaflet": "2.2.1",
@@ -87,13 +87,13 @@
8787
},
8888
"devDependencies": {
8989
"@babel/core": "7.15.8",
90+
"@babel/eslint-parser": "7.15.8",
91+
"@babel/eslint-plugin": "7.14.5",
9092
"@babel/plugin-proposal-class-properties": "7.3.0",
9193
"@babel/polyfill": "7.2.5",
9294
"@babel/preset-env": "7.3.1",
9395
"@babel/preset-react": "7.0.0",
9496
"@babel/register": "7.0.0",
95-
"@babel/eslint-parser": "7.15.8",
96-
"@babel/eslint-plugin": "7.14.5",
9797
"autoprefixer": "9.4.7",
9898
"babel-jest": "^24.1.0",
9999
"babel-loader": "8.0.5",
@@ -120,15 +120,15 @@
120120
"mini-css-extract-plugin": "0.5.0",
121121
"mockdate": "2.0.2",
122122
"morgan": "1.9.1",
123-
"node-sass": "^4.12.0",
124123
"postcss-loader": "^3.0.0",
125124
"prop-types": "^15.7.2",
126125
"react-test-renderer": "^16.8.4",
127126
"react-transform-hmr": "1.0.4",
128127
"redux-devtools-extension": "2.13.8",
129128
"resolve-url-loader": "3.1.4",
130129
"rosie": "1.6.0",
131-
"sass-loader": "7.1.0",
130+
"sass": "^1.52.1",
131+
"sass-loader": "9.0.3",
132132
"simple-mock": "0.8.0",
133133
"snakecase-keys": "^3.1.2",
134134
"style-loader": "0.23.1",
@@ -140,6 +140,16 @@
140140
"webpack-hot-middleware": "2.24.3",
141141
"webpack-merge": "4.2.1"
142142
},
143+
"resolutions": {
144+
"@firebase/util": "0.3.4",
145+
"ansi-html": "0.0.8",
146+
"ansi-regex": "^4.1.1",
147+
"glob-parent": "5.1.2",
148+
"minimist": "^1.2.6",
149+
"node-fetch": "2.6.7",
150+
"node-notifier": "8.0.1",
151+
"protobufjs": "6.11.3"
152+
},
143153
"scripts": {
144154
"build": "./node_modules/.bin/webpack --config config/webpack.production.js",
145155
"lint": "./node_modules/.bin/eslint .",

src/domain/footer/__tests__/__snapshots__/Footer.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ exports[`domain/footer/Footer When there is no customization in use renders corr
5656
<span
5757
className="app-varaamo-version"
5858
>
59-
v0.12.6
59+
v0.12.7
6060
</span>
6161
</div>
6262
</Col>
@@ -121,7 +121,7 @@ exports[`domain/footer/Footer renders correctly 1`] = `
121121
<span
122122
className="app-varaamo-version"
123123
>
124-
v0.12.6
124+
v0.12.7
125125
</span>
126126
</div>
127127
</Col>

0 commit comments

Comments
 (0)