From 2d0245266b2d9edd980ff20b822877f6e6cc773c Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Fri, 9 Aug 2024 10:44:50 +0200 Subject: [PATCH] publish: fix(deps): update dependency cozy-scripts generated from commit a71ed93b96cbb1b73a96ae1578631bf62573283f --- index.html | 2 +- ...657a5699959059e.js => ecolyo.3625dfad89f51a395e47.js} | 9 +++------ public/index.html | 2 +- services/aggregatorUsageEvents/ecolyo.js | 9 +++------ services/consumptionAlert/ecolyo.js | 9 +++------ services/enedisHalfHourMonthlyAnalysis/ecolyo.js | 9 +++------ services/fluidsPrices/ecolyo.js | 9 +++------ services/monthlyReportNotification/ecolyo.js | 9 +++------ services/service/ecolyo.js | 9 +++------ ...24f1e2047129844.js => ecolyo.d3aad14b26059fa1903d.js} | 9 +++------ 10 files changed, 26 insertions(+), 50 deletions(-) rename public/{ecolyo.5e5c1657a5699959059e.js => ecolyo.3625dfad89f51a395e47.js} (99%) rename vendors/{ecolyo.aacdc24f1e2047129844.js => ecolyo.d3aad14b26059fa1903d.js} (99%) diff --git a/index.html b/index.html index f0fa97099..f5ad46ee6 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.aacdc24f1e2047129844.js"></script><script src="app/ecolyo.554a8422165fe8f24237.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.d3aad14b26059fa1903d.js"></script><script src="app/ecolyo.554a8422165fe8f24237.js"></script></div></body></html> \ No newline at end of file diff --git a/public/ecolyo.5e5c1657a5699959059e.js b/public/ecolyo.3625dfad89f51a395e47.js similarity index 99% rename from public/ecolyo.5e5c1657a5699959059e.js rename to public/ecolyo.3625dfad89f51a395e47.js index a43f2afab..e49514c2b 100644 --- a/public/ecolyo.5e5c1657a5699959059e.js +++ b/public/ecolyo.3625dfad89f51a395e47.js @@ -32841,16 +32841,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/public/index.html b/public/index.html index 7bcc854ad..6ac688ae0 100644 --- a/public/index.html +++ b/public/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo | Désabonnement</title><link rel="icon" type="image/png" href="public/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="public/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="mask-icon" href="public/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="public/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="public/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="../public/ecolyo.5e5c1657a5699959059e.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo | Désabonnement</title><link rel="icon" type="image/png" href="public/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="public/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="mask-icon" href="public/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="public/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="public/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="../public/ecolyo.3625dfad89f51a395e47.js"></script></div></body></html> \ No newline at end of file diff --git a/services/aggregatorUsageEvents/ecolyo.js b/services/aggregatorUsageEvents/ecolyo.js index 4a96db728..a8bdc5f5b 100644 --- a/services/aggregatorUsageEvents/ecolyo.js +++ b/services/aggregatorUsageEvents/ecolyo.js @@ -81538,16 +81538,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/services/consumptionAlert/ecolyo.js b/services/consumptionAlert/ecolyo.js index 5a979b30c..78547ef73 100644 --- a/services/consumptionAlert/ecolyo.js +++ b/services/consumptionAlert/ecolyo.js @@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js index f585b65ff..c3a1c57ba 100644 --- a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js +++ b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js @@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/services/fluidsPrices/ecolyo.js b/services/fluidsPrices/ecolyo.js index 1c432b79c..2771ad5d4 100644 --- a/services/fluidsPrices/ecolyo.js +++ b/services/fluidsPrices/ecolyo.js @@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/services/monthlyReportNotification/ecolyo.js b/services/monthlyReportNotification/ecolyo.js index e2ad8a524..107434b07 100644 --- a/services/monthlyReportNotification/ecolyo.js +++ b/services/monthlyReportNotification/ecolyo.js @@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/services/service/ecolyo.js b/services/service/ecolyo.js index 3997469ed..c3ce0ec98 100644 --- a/services/service/ecolyo.js +++ b/services/service/ecolyo.js @@ -56574,16 +56574,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; diff --git a/vendors/ecolyo.aacdc24f1e2047129844.js b/vendors/ecolyo.d3aad14b26059fa1903d.js similarity index 99% rename from vendors/ecolyo.aacdc24f1e2047129844.js rename to vendors/ecolyo.d3aad14b26059fa1903d.js index 84e35e561..c77dd3885 100644 --- a/vendors/ecolyo.aacdc24f1e2047129844.js +++ b/vendors/ecolyo.d3aad14b26059fa1903d.js @@ -64084,16 +64084,13 @@ exports.FlagshipRoutes = FlagshipRoutes; })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {})); var getGlobalWindow = function getGlobalWindow() { - if (typeof window !== 'undefined') return window;else { - (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"); - return undefined; - } + return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined); }; var getFlagshipMetadata = function getFlagshipMetadata() { - var _getGlobalWindow, _getGlobalWindow$cozy; + var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2; - return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {}; + return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {}; }; exports.getFlagshipMetadata = getFlagshipMetadata; -- GitLab