Frontend: Upgrade JavaScript dependencies
This commit is contained in:
parent
87aeef4525
commit
5c3f66becc
1173
frontend/package-lock.json
generated
1173
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -22,48 +22,48 @@
|
|||
"gettext-compile": "gettext-compile --output src/locales/translations.json src/locales/*.po"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/cli": "^7.14.8",
|
||||
"@babel/core": "^7.14.8",
|
||||
"@babel/eslint-parser": "^7.14.7",
|
||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
|
||||
"@babel/plugin-transform-runtime": "^7.14.5",
|
||||
"@babel/cli": "^7.16.8",
|
||||
"@babel/core": "^7.16.7",
|
||||
"@babel/eslint-parser": "^7.16.5",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
|
||||
"@babel/plugin-transform-runtime": "^7.16.8",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@babel/preset-env": "^7.14.8",
|
||||
"@babel/register": "^7.14.5",
|
||||
"@babel/runtime": "^7.14.8",
|
||||
"@babel/preset-env": "^7.16.8",
|
||||
"@babel/register": "^7.16.9",
|
||||
"@babel/runtime": "^7.16.7",
|
||||
"@lcdp/offline-plugin": "^5.1.0",
|
||||
"@vvo/tzdb": "^6.7.0",
|
||||
"@vvo/tzdb": "^6.44.0",
|
||||
"axios": "^0.24.0",
|
||||
"axios-mock-adapter": "^1.19.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-istanbul": "^6.0.0",
|
||||
"browserslist": "^4.16.6",
|
||||
"babel-loader": "^8.2.3",
|
||||
"babel-plugin-istanbul": "^6.1.1",
|
||||
"browserslist": "^4.19.1",
|
||||
"chai": "^4.3.4",
|
||||
"chrome-finder": "^1.0.7",
|
||||
"core-js": "^3.15.2",
|
||||
"core-js": "^3.20.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"css-loader": "^5.2.6",
|
||||
"css-loader": "^6.5.1",
|
||||
"cssnano": "^5.0.6",
|
||||
"easygettext": "^2.17.0",
|
||||
"eslint": "^7.31.0",
|
||||
"eslint": "^8.7.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-config-standard": "^16.0.3",
|
||||
"eslint-config-standard": "^17.0.0-0",
|
||||
"eslint-formatter-pretty": "^4.1.0",
|
||||
"eslint-friendly-formatter": "^4.0.1",
|
||||
"eslint-plugin-html": "^6.1.2",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"eslint-plugin-html": "^6.2.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier-vue": "^3.1.0",
|
||||
"eslint-plugin-promise": "^5.1.0",
|
||||
"eslint-plugin-vue": "^7.13.0",
|
||||
"eslint-webpack-plugin": "^3.0.1",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-vue": "^8.3.0",
|
||||
"eslint-webpack-plugin": "^3.1.1",
|
||||
"eventsource-polyfill": "^0.9.6",
|
||||
"file-loader": "^6.2.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"hls.js": "^1.0.7",
|
||||
"i": "^0.3.6",
|
||||
"karma": "^6.3.4",
|
||||
"karma": "^6.3.11",
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-coverage-istanbul-reporter": "^3.0.3",
|
||||
"karma-htmlfile-reporter": "^0.3.8",
|
||||
|
@ -71,38 +71,38 @@
|
|||
"karma-verbose-reporter": "^0.0.6",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"luxon": "^1.28.0",
|
||||
"mapbox-gl": "^1.13.0",
|
||||
"material-design-icons-iconfont": "^6.1.0",
|
||||
"mapbox-gl": "^1.13.2",
|
||||
"material-design-icons-iconfont": "^6.1.1",
|
||||
"mini-css-extract-plugin": "2.4.7",
|
||||
"minimist": ">=1.2.5",
|
||||
"mocha": "^9.0.2",
|
||||
"node-storage-shim": "^2.0.1",
|
||||
"photoswipe": "^4.1.3",
|
||||
"postcss": "^8.3.6",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-browser-reporter": "^0.6.0",
|
||||
"postcss-import": "^14.0.2",
|
||||
"postcss-loader": "^6.1.1",
|
||||
"postcss-preset-env": "^7.0.1",
|
||||
"postcss-reporter": "^7.0.2",
|
||||
"postcss-loader": "^6.2.1",
|
||||
"postcss-preset-env": "^7.2.3",
|
||||
"postcss-reporter": "^7.0.5",
|
||||
"postcss-url": "^10.1.3",
|
||||
"prettier": "^2.3.2",
|
||||
"pubsub-js": "^1.9.3",
|
||||
"prettier": "^2.5.1",
|
||||
"pubsub-js": "^1.9.4",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"resolve-url-loader": "^3.1.4",
|
||||
"sass": "^1.36.0",
|
||||
"sass-loader": "^12.1.0",
|
||||
"sass": "^1.48.0",
|
||||
"sass-loader": "^12.4.0",
|
||||
"server": "^1.0.36",
|
||||
"sockette": "^2.0.6",
|
||||
"style-loader": "^3.1.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"svg-url-loader": "^7.1.1",
|
||||
"tar": "^6.1.0",
|
||||
"tar": "^6.1.11",
|
||||
"url-loader": "^4.1.1",
|
||||
"util": "^0.12.4",
|
||||
"vue": "^2.6.14",
|
||||
"vue-fullscreen": "^2.5.2",
|
||||
"vue-gettext": "^2.1.12",
|
||||
"vue-infinite-scroll": "^2.0.2",
|
||||
"vue-loader": "^15.9.7",
|
||||
"vue-loader": "^15.9.8",
|
||||
"vue-loader-plugin": "^1.3.0",
|
||||
"vue-luxon": "^0.10.0",
|
||||
"vue-router": "^3.5.2",
|
||||
|
@ -110,16 +110,16 @@
|
|||
"vue-template-compiler": "^2.6.14",
|
||||
"vue2-filters": "^0.13.0",
|
||||
"vuetify": "^1.5.24",
|
||||
"webpack": "^5.46.0",
|
||||
"webpack-bundle-analyzer": "^4.4.2",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-hot-middleware": "^2.25.0",
|
||||
"webpack": "^5.66.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-hot-middleware": "^2.25.1",
|
||||
"webpack-md5-hash": "^0.0.6",
|
||||
"webpack-merge": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.0.0",
|
||||
"npm": ">= 6.0.0",
|
||||
"node": ">= 14.0.0",
|
||||
"npm": ">= 8.0.0",
|
||||
"yarn": "please use npm"
|
||||
},
|
||||
"browserslist": [
|
||||
|
|
|
@ -2,17 +2,13 @@
|
|||
<v-card flat tile class="ma-0 pa-0 application p-about-footer">
|
||||
<v-card-actions class="px-4 py-2">
|
||||
<v-layout wrap align-top pt-3>
|
||||
<v-flex xs12 sm6 class="px-0 pb-2 body-1">
|
||||
<router-link to="/about">
|
||||
PhotoPrism®
|
||||
{{ $config.get("version") }}
|
||||
<br>© 2018-2022 Michael Mayer
|
||||
</router-link>
|
||||
<v-flex xs12 sm6 class="px-0 pb-2 body-1 text-selectable">
|
||||
<router-link to="/about">PhotoPrism®</router-link> {{ $config.get("version") }}<br>
|
||||
<a href="https://photoprism.app/" target="_blank">© 2018-2022 Michael Mayer</a>
|
||||
</v-flex>
|
||||
|
||||
<v-flex xs12 sm6 class="px-0 pb-2 body-1 text-xs-left text-sm-right">
|
||||
<a href="https://docs.photoprism.app/credits/"
|
||||
target="_blank">Thank you</a> to everyone who made this possible!
|
||||
<a href="https://docs.photoprism.app/credits/" target="_blank">Thanks to all who made this possible!</a>
|
||||
<br>
|
||||
<a href="https://raw.githubusercontent.com/photoprism/photoprism/develop/NOTICE"
|
||||
target="_blank">
|
||||
|
|
|
@ -145,7 +145,7 @@ main {
|
|||
|
||||
#photoprism .text-selectable,
|
||||
#photoprism .p-page .text-selectable {
|
||||
user-select: text;
|
||||
user-select: text !important;
|
||||
}
|
||||
|
||||
#photoprism .p-page pre {
|
||||
|
|
|
@ -48,6 +48,7 @@ const PATHS = {
|
|||
js: path.join(__dirname, "src"),
|
||||
css: path.join(__dirname, "src/css"),
|
||||
build: path.join(__dirname, "../assets/static/build"),
|
||||
public: "/static/build/",
|
||||
};
|
||||
|
||||
const config = {
|
||||
|
@ -62,6 +63,7 @@ const config = {
|
|||
},
|
||||
output: {
|
||||
path: PATHS.build,
|
||||
publicPath: PATHS.public,
|
||||
filename: "[name].js",
|
||||
},
|
||||
resolve: {
|
||||
|
@ -135,7 +137,7 @@ const config = {
|
|||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: PATHS.build,
|
||||
publicPath: PATHS.public,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -164,7 +166,7 @@ const config = {
|
|||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: PATHS.build,
|
||||
publicPath: PATHS.public,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -192,7 +194,7 @@ const config = {
|
|||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: PATHS.build,
|
||||
publicPath: PATHS.public,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -217,21 +219,13 @@ const config = {
|
|||
},
|
||||
{
|
||||
test: /\.(png|jpg|jpeg|gif)$/,
|
||||
loader: "file-loader",
|
||||
options: {
|
||||
name: "[hash].[ext]",
|
||||
publicPath: "./img",
|
||||
outputPath: "img",
|
||||
},
|
||||
type: "asset/resource",
|
||||
dependency: { not: ["url"] },
|
||||
},
|
||||
{
|
||||
test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
|
||||
loader: "file-loader",
|
||||
options: {
|
||||
name: "[hash].[ext]",
|
||||
publicPath: "./fonts",
|
||||
outputPath: "fonts",
|
||||
},
|
||||
type: "asset/resource",
|
||||
dependency: { not: ["url"] },
|
||||
},
|
||||
{
|
||||
test: /\.svg/,
|
||||
|
@ -244,7 +238,7 @@ const config = {
|
|||
},
|
||||
};
|
||||
|
||||
// No sourcemap for production
|
||||
// Don't create sourcemap for production builds.
|
||||
if (isDev) {
|
||||
const devToolPlugin = new webpack.SourceMapDevToolPlugin({
|
||||
filename: "[file].map",
|
||||
|
|
Loading…
Reference in a new issue