From 9ba51444c0ad6f53d7e888bdc32988cf7809b4a6 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Thu, 9 Nov 2023 15:35:32 +0100 Subject: [PATCH] Fix eslint Signed-off-by: Louis Chemineau --- package-lock.json | 4 ++-- package.json | 1 + src/sidebar.js | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0512b49b..21fb51ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,6 +28,7 @@ "camelcase": "^7.0.0", "debounce": "^1.2.1", "he": "^1.2.0", + "leaflet": "^1.9.4", "leaflet-defaulticon-compatibility": "^0.1.2", "path-posix": "^1.0.0", "qs": "^6.11.2", @@ -14558,8 +14559,7 @@ "node_modules/leaflet": { "version": "1.9.4", "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz", - "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==", - "peer": true + "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==" }, "node_modules/leaflet-defaulticon-compatibility": { "version": "0.1.2", diff --git a/package.json b/package.json index 4eabf3b9..e91adfdd 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "camelcase": "^7.0.0", "debounce": "^1.2.1", "he": "^1.2.0", + "leaflet": "^1.9.4", "leaflet-defaulticon-compatibility": "^0.1.2", "path-posix": "^1.0.0", "qs": "^6.11.2", diff --git a/src/sidebar.js b/src/sidebar.js index bdd92014..0835040c 100644 --- a/src/sidebar.js +++ b/src/sidebar.js @@ -30,7 +30,9 @@ import { registerDavProperty } from '@nextcloud/files' Vue.prototype.t = t Vue.prototype.n = n +// eslint-disable-next-line no-undef, camelcase __webpack_nonce__ = btoa(getRequestToken() ?? '') +// eslint-disable-next-line no-undef, camelcase __webpack_public_path__ = generateFilePath('photos', '', 'js/') registerDavProperty('nc:metadata-photos-original_date_time', { nc: 'http://nextcloud.org/ns' })