From 58644c5534aae08ed1c50700e7548a04a74eee37 Mon Sep 17 00:00:00 2001 From: Himanshu Bhatt Date: Tue, 1 Oct 2024 12:08:07 +0530 Subject: [PATCH 01/10] Refactor imports to comply with ESM standards by adding file extensions --- package.json | 2 - .../build/webpack-dynamic-import.js | 2 +- .../generators/conf/general.conf.js | 2 +- src/nginxconfig/generators/conf/nginx.conf.js | 6 +-- .../generators/conf/security.conf.js | 2 +- .../generators/conf/website.conf.js | 32 +++++++-------- .../generators/conf/wordpress.conf.js | 4 +- src/nginxconfig/generators/index.js | 34 +++++++-------- src/nginxconfig/generators/to_conf.js | 2 +- src/nginxconfig/i18n/de/index.js | 4 +- src/nginxconfig/i18n/de/templates/app.js | 2 +- .../i18n/de/templates/callouts/index.js | 4 +- .../de/templates/domain_sections/https.js | 2 +- .../de/templates/domain_sections/index.js | 20 ++++----- .../i18n/de/templates/domain_sections/php.js | 2 +- .../de/templates/domain_sections/python.js | 2 +- .../domain_sections/reverse_proxy.js | 2 +- .../de/templates/domain_sections/routing.js | 2 +- .../de/templates/global_sections/docker.js | 2 +- .../de/templates/global_sections/https.js | 2 +- .../de/templates/global_sections/index.js | 18 ++++---- .../de/templates/global_sections/logging.js | 2 +- .../de/templates/global_sections/nginx.js | 2 +- .../templates/global_sections/performance.js | 2 +- .../de/templates/global_sections/python.js | 2 +- .../global_sections/reverse_proxy.js | 2 +- .../de/templates/global_sections/security.js | 2 +- .../de/templates/global_sections/tools.js | 2 +- src/nginxconfig/i18n/de/templates/index.js | 6 +-- .../de/templates/setup_sections/certbot.js | 2 +- .../de/templates/setup_sections/download.js | 2 +- .../de/templates/setup_sections/go_live.js | 2 +- .../i18n/de/templates/setup_sections/index.js | 8 ++-- .../i18n/de/templates/setup_sections/ssl.js | 2 +- src/nginxconfig/i18n/en/index.js | 4 +- src/nginxconfig/i18n/es/index.js | 4 +- src/nginxconfig/i18n/fa/index.js | 4 +- src/nginxconfig/i18n/fr/index.js | 4 +- src/nginxconfig/i18n/ja/index.js | 4 +- src/nginxconfig/i18n/pl/index.js | 4 +- src/nginxconfig/i18n/pt-br/index.js | 4 +- src/nginxconfig/i18n/ru/index.js | 4 +- src/nginxconfig/i18n/setup.js | 2 +- src/nginxconfig/i18n/verify.js | 4 +- src/nginxconfig/i18n/zh-cn/index.js | 4 +- src/nginxconfig/i18n/zh-tw/index.js | 4 +- src/nginxconfig/mount.js | 4 +- src/nginxconfig/util/analytics.js | 2 +- .../util/angular_backwards_compatibility.js | 2 +- src/nginxconfig/util/browser_language.js | 2 +- .../util/computed_from_defaults.js | 2 +- src/nginxconfig/util/import_data.js | 6 +-- src/nginxconfig/util/logging.js | 10 ++--- src/nginxconfig/util/share_query.js | 2 +- .../util/vue_backwards_compatibility.js | 8 ++-- test/testBrowserLanguage.js | 41 ++++++++++--------- 56 files changed, 155 insertions(+), 154 deletions(-) diff --git a/package.json b/package.json index 3485c724..4346b720 100644 --- a/package.json +++ b/package.json @@ -79,8 +79,6 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.20.1", - "esm": "^3.2.25", - "extensionless": "^1.9.6", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/src/nginxconfig/build/webpack-dynamic-import.js b/src/nginxconfig/build/webpack-dynamic-import.js index 71d07290..766b74ab 100644 --- a/src/nginxconfig/build/webpack-dynamic-import.js +++ b/src/nginxconfig/build/webpack-dynamic-import.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { info } from '../util/log'; +import { info } from '../util/log.js'; const originalSrcDir = document.currentScript.src.split('/').slice(0, -2).join('/') + '/'; window.__webpackDynamicImportURL = () => { diff --git a/src/nginxconfig/generators/conf/general.conf.js b/src/nginxconfig/generators/conf/general.conf.js index 2d55d96d..b928bc7f 100644 --- a/src/nginxconfig/generators/conf/general.conf.js +++ b/src/nginxconfig/generators/conf/general.conf.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { gzipTypes, extensions } from '../../util/types_extensions'; +import { gzipTypes, extensions } from '../../util/types_extensions.js'; export default (domains, global) => { const config = {}; diff --git a/src/nginxconfig/generators/conf/nginx.conf.js b/src/nginxconfig/generators/conf/nginx.conf.js index c27bf63a..6c7920ac 100644 --- a/src/nginxconfig/generators/conf/nginx.conf.js +++ b/src/nginxconfig/generators/conf/nginx.conf.js @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { errorLogPathDisabled } from '../../util/logging'; -import sslProfiles from '../../util/ssl_profiles'; -import websiteConf from './website.conf'; +import { errorLogPathDisabled } from '../../util/logging.js'; +import sslProfiles from '../../util/ssl_profiles.js'; +import websiteConf from './website.conf.js'; export default (domains, global) => { const config = {}; diff --git a/src/nginxconfig/generators/conf/security.conf.js b/src/nginxconfig/generators/conf/security.conf.js index f9cdb431..c34c8aaf 100644 --- a/src/nginxconfig/generators/conf/security.conf.js +++ b/src/nginxconfig/generators/conf/security.conf.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import commonHsts from '../../util/common_hsts'; +import commonHsts from '../../util/common_hsts.js'; export default (domains, global) => { const config = []; diff --git a/src/nginxconfig/generators/conf/website.conf.js b/src/nginxconfig/generators/conf/website.conf.js index 0a8e9a56..1dc54a85 100644 --- a/src/nginxconfig/generators/conf/website.conf.js +++ b/src/nginxconfig/generators/conf/website.conf.js @@ -24,22 +24,22 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate'; -import { extensions, gzipTypes } from '../../util/types_extensions'; -import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging'; -import commonHsts from '../../util/common_hsts'; -import securityConf from './security.conf'; -import pythonConf from './python_uwsgi.conf'; -import proxyConf from './proxy.conf'; -import phpConf from './php_fastcgi.conf'; -import generalConf from './general.conf'; -import wordPressConf from './wordpress.conf'; -import drupalConf from './drupal.conf'; -import magentoConf from './magento.conf'; -import joomlaConf from './joomla.conf'; -import letsEncryptConf from './letsencrypt.conf'; -import phpPath from '../../util/php_path'; -import phpUpstream from '../../util/php_upstream'; +import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate.js'; +import { extensions, gzipTypes } from '../../util/types_extensions.js'; +import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging.js'; +import commonHsts from '../../util/common_hsts.js'; +import securityConf from './security.conf.js'; +import pythonConf from './python_uwsgi.conf.js'; +import proxyConf from './proxy.conf.js'; +import phpConf from './php_fastcgi.conf.js'; +import generalConf from './general.conf.js'; +import wordPressConf from './wordpress.conf.js'; +import drupalConf from './drupal.conf.js'; +import magentoConf from './magento.conf.js'; +import joomlaConf from './joomla.conf.js'; +import letsEncryptConf from './letsencrypt.conf.js'; +import phpPath from '../../util/php_path.js'; +import phpUpstream from '../../util/php_upstream.js'; const sslConfig = (domain, global) => { const config = []; diff --git a/src/nginxconfig/generators/conf/wordpress.conf.js b/src/nginxconfig/generators/conf/wordpress.conf.js index e26ff208..12e3d954 100644 --- a/src/nginxconfig/generators/conf/wordpress.conf.js +++ b/src/nginxconfig/generators/conf/wordpress.conf.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import phpPath from '../../util/php_path'; -import phpUpstream from '../../util/php_upstream'; +import phpPath from '../../util/php_path.js'; +import phpUpstream from '../../util/php_upstream.js'; export default (global, domain) => { const config = {}; diff --git a/src/nginxconfig/generators/index.js b/src/nginxconfig/generators/index.js index a32d2c37..500f1f1d 100644 --- a/src/nginxconfig/generators/index.js +++ b/src/nginxconfig/generators/index.js @@ -24,23 +24,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import toConf from './to_conf'; -import toYaml from './to_yaml'; -import nginxConf from './conf/nginx.conf'; -import websiteConf from './conf/website.conf'; -import letsEncryptConf from './conf/letsencrypt.conf'; -import securityConf from './conf/security.conf'; -import generalConf from './conf/general.conf'; -import phpConf from './conf/php_fastcgi.conf'; -import pythonConf from './conf/python_uwsgi.conf'; -import proxyConf from './conf/proxy.conf'; -import wordPressConf from './conf/wordpress.conf'; -import drupalConf from './conf/drupal.conf'; -import magentoConf from './conf/magento.conf'; -import joomlaConf from './conf/joomla.conf'; -import dockerComposeYaml from './yaml/dockerCompose.yaml'; -import dockerConf from './ext/docker'; -import shareQuery from '../util/share_query'; +import toConf from './to_conf.js'; +import toYaml from './to_yaml.js'; +import nginxConf from './conf/nginx.conf.js'; +import websiteConf from './conf/website.conf.js'; +import letsEncryptConf from './conf/letsencrypt.conf.js'; +import securityConf from './conf/security.conf.js'; +import generalConf from './conf/general.conf.js'; +import phpConf from './conf/php_fastcgi.conf.js'; +import pythonConf from './conf/python_uwsgi.conf.js'; +import proxyConf from './conf/proxy.conf.js'; +import wordPressConf from './conf/wordpress.conf.js'; +import drupalConf from './conf/drupal.conf.js'; +import magentoConf from './conf/magento.conf.js'; +import joomlaConf from './conf/joomla.conf.js'; +import dockerComposeYaml from './yaml/dockerCompose.yaml.js'; +import dockerConf from './ext/docker.js'; +import shareQuery from '../util/share_query.js'; export default (domains, global) => { const files = {}; diff --git a/src/nginxconfig/generators/to_conf.js b/src/nginxconfig/generators/to_conf.js index 2c94f348..203ce6b2 100644 --- a/src/nginxconfig/generators/to_conf.js +++ b/src/nginxconfig/generators/to_conf.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import isObject from '../util/is_object'; +import isObject from '../util/is_object.js'; const isBlock = (item) => { // If an object, or kv entries, this is considered a block diff --git a/src/nginxconfig/i18n/de/index.js b/src/nginxconfig/i18n/de/index.js index 15420a11..dc222a9f 100644 --- a/src/nginxconfig/i18n/de/index.js +++ b/src/nginxconfig/i18n/de/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/de/templates/app.js b/src/nginxconfig/i18n/de/templates/app.js index eed31c94..25a5646a 100644 --- a/src/nginxconfig/i18n/de/templates/app.js +++ b/src/nginxconfig/i18n/de/templates/app.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/de/templates/callouts/index.js b/src/nginxconfig/i18n/de/templates/callouts/index.js index dd68947b..ab9be927 100644 --- a/src/nginxconfig/i18n/de/templates/callouts/index.js +++ b/src/nginxconfig/i18n/de/templates/callouts/index.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/https.js b/src/nginxconfig/i18n/de/templates/domain_sections/https.js index 1c3893b9..0bf27f34 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/https.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} verschlüsselte ${common.ssl} Verbindungen`, diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/index.js b/src/nginxconfig/i18n/de/templates/domain_sections/index.js index 67137210..8228c241 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/index.js @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import onion from './onion'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import restrict from './restrict'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; +import https from './https.js'; +import logging from './logging.js'; +import onion from './onion.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import restrict from './restrict.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; export default { https, diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/php.js b/src/nginxconfig/i18n/de/templates/domain_sections/php.js index 1daaef8f..b7eb6b92 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/php.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} ist deaktiviert.`, diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/python.js b/src/nginxconfig/i18n/de/templates/domain_sections/python.js index 9a73bdfe..f27945f1 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/python.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} ist deaktiviert.`, diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js index 52d9c662..db95655e 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} ist deaktiviert.`, diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/routing.js b/src/nginxconfig/i18n/de/templates/domain_sections/routing.js index 219eb7e4..4d4dc2c2 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/routing.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Fallback Routing', diff --git a/src/nginxconfig/i18n/de/templates/global_sections/docker.js b/src/nginxconfig/i18n/de/templates/global_sections/docker.js index 997b53e6..c460ef88 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/docker.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/de/templates/global_sections/https.js b/src/nginxconfig/i18n/de/templates/global_sections/https.js index a3463107..6f9c7af6 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/https.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/de/templates/global_sections/index.js b/src/nginxconfig/i18n/de/templates/global_sections/index.js index 22ecb855..7a8df525 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/index.js @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/de/templates/global_sections/logging.js b/src/nginxconfig/i18n/de/templates/global_sections/logging.js index 351d3c04..9a5e0873 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/logging.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} "Seite nicht gefunden" Error Logging in`, diff --git a/src/nginxconfig/i18n/de/templates/global_sections/nginx.js b/src/nginxconfig/i18n/de/templates/global_sections/nginx.js index b9424aed..63a81105 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/nginx.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx} Konfigurationsverzeichnis`, diff --git a/src/nginxconfig/i18n/de/templates/global_sections/performance.js b/src/nginxconfig/i18n/de/templates/global_sections/performance.js index 85614985..5761828e 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/performance.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/de/templates/global_sections/python.js b/src/nginxconfig/i18n/de/templates/global_sections/python.js index a79a5077..c86e1aaa 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/python.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} Server`, diff --git a/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js index 0ae7076d..d355af88 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* Header'; diff --git a/src/nginxconfig/i18n/de/templates/global_sections/security.js b/src/nginxconfig/i18n/de/templates/global_sections/security.js index a67c84a7..410d9257 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/security.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Bei der Verwendung von ${common.wordPress} ist es oft nötig, script-src 'self' 'unsafe-inline' 'unsafe-eval'; in die Content Security Policy aufzunehmen, damit der Admin-Bereich korrekt funktioniert.`, diff --git a/src/nginxconfig/i18n/de/templates/global_sections/tools.js b/src/nginxconfig/i18n/de/templates/global_sections/tools.js index 082ad521..f9a65466 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/tools.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Modularisierte Struktur', diff --git a/src/nginxconfig/i18n/de/templates/index.js b/src/nginxconfig/i18n/de/templates/index.js index d9467454..5b197b43 100644 --- a/src/nginxconfig/i18n/de/templates/index.js +++ b/src/nginxconfig/i18n/de/templates/index.js @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; import domainSections from './domain_sections'; import globalSections from './global_sections'; import setupSections from './setup_sections'; diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js index 4d52e705..6502dc79 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/download.js b/src/nginxconfig/i18n/de/templates/setup_sections/download.js index 7e316180..d21d2dd0 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/download.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Generierte Konfigurationsdateien herunterladen:', diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js index 212e4014..16d04b59 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: 'Jetzt gehts los!', diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/index.js b/src/nginxconfig/i18n/de/templates/setup_sections/index.js index f64fc18e..98b0da5c 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/index.js @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js index 8cdd6598..f8c589e7 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/en/index.js b/src/nginxconfig/i18n/en/index.js index 01c3f3e9..0f2532cd 100644 --- a/src/nginxconfig/i18n/en/index.js +++ b/src/nginxconfig/i18n/en/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/es/index.js b/src/nginxconfig/i18n/es/index.js index 15420a11..dc222a9f 100644 --- a/src/nginxconfig/i18n/es/index.js +++ b/src/nginxconfig/i18n/es/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/fa/index.js b/src/nginxconfig/i18n/fa/index.js index 7a52b6f1..d7f3aef8 100644 --- a/src/nginxconfig/i18n/fa/index.js +++ b/src/nginxconfig/i18n/fa/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/fr/index.js b/src/nginxconfig/i18n/fr/index.js index 15420a11..dc222a9f 100644 --- a/src/nginxconfig/i18n/fr/index.js +++ b/src/nginxconfig/i18n/fr/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/ja/index.js b/src/nginxconfig/i18n/ja/index.js index 997a0b99..38c99a12 100644 --- a/src/nginxconfig/i18n/ja/index.js +++ b/src/nginxconfig/i18n/ja/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/pl/index.js b/src/nginxconfig/i18n/pl/index.js index 15420a11..dc222a9f 100644 --- a/src/nginxconfig/i18n/pl/index.js +++ b/src/nginxconfig/i18n/pl/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/pt-br/index.js b/src/nginxconfig/i18n/pt-br/index.js index 01c3f3e9..0f2532cd 100644 --- a/src/nginxconfig/i18n/pt-br/index.js +++ b/src/nginxconfig/i18n/pt-br/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/ru/index.js b/src/nginxconfig/i18n/ru/index.js index 01c3f3e9..0f2532cd 100644 --- a/src/nginxconfig/i18n/ru/index.js +++ b/src/nginxconfig/i18n/ru/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/setup.js b/src/nginxconfig/i18n/setup.js index ad1cdc8c..f026bcec 100644 --- a/src/nginxconfig/i18n/setup.js +++ b/src/nginxconfig/i18n/setup.js @@ -25,7 +25,7 @@ THE SOFTWARE. */ import { createI18n } from 'vue-i18n'; -import { defaultPack, defaultPackData, toSep, availablePacks } from '../util/language_packs'; +import { defaultPack, defaultPackData, toSep, availablePacks } from '../util/language_packs.js'; // Load in the full default pack const i18nPacks = {}; diff --git a/src/nginxconfig/i18n/verify.js b/src/nginxconfig/i18n/verify.js index b60436ec..f70261fe 100644 --- a/src/nginxconfig/i18n/verify.js +++ b/src/nginxconfig/i18n/verify.js @@ -28,8 +28,8 @@ import { readdirSync, readFileSync } from 'fs'; import { join, sep } from 'path'; import { URL } from 'url'; import chalk from 'chalk'; -import { defaultPack, availablePacks, toSep, fromSep } from '../util/language_packs'; -import snakeToCamel from '../util/snake_to_camel'; +import { defaultPack, availablePacks, toSep, fromSep } from '../util/language_packs.js'; +import snakeToCamel from '../util/snake_to_camel.js'; // Recursively get all keys in a i18n pack object fragment const explore = (packFragment) => { diff --git a/src/nginxconfig/i18n/zh-cn/index.js b/src/nginxconfig/i18n/zh-cn/index.js index 01c3f3e9..0f2532cd 100644 --- a/src/nginxconfig/i18n/zh-cn/index.js +++ b/src/nginxconfig/i18n/zh-cn/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/zh-tw/index.js b/src/nginxconfig/i18n/zh-tw/index.js index 01c3f3e9..0f2532cd 100644 --- a/src/nginxconfig/i18n/zh-tw/index.js +++ b/src/nginxconfig/i18n/zh-tw/index.js @@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from './common'; -import languages from './languages'; +import common from './common.js'; +import languages from './languages.js'; import templates from './templates'; export default { common, languages, templates }; diff --git a/src/nginxconfig/mount.js b/src/nginxconfig/mount.js index cc2f08fd..9350ed72 100644 --- a/src/nginxconfig/mount.js +++ b/src/nginxconfig/mount.js @@ -28,8 +28,8 @@ THE SOFTWARE. import './scss/style.scss'; import 'vue-select/dist/vue-select.css'; import { createApp } from 'vue'; -import './util/prism_bundle'; -import { getI18n } from './i18n/setup'; +import './util/prism_bundle.js'; +import { getI18n } from './i18n/setup.js'; import App from './templates/app'; // Load the i18n languages and run the app diff --git a/src/nginxconfig/util/analytics.js b/src/nginxconfig/util/analytics.js index 0ada5fca..22dcc80c 100644 --- a/src/nginxconfig/util/analytics.js +++ b/src/nginxconfig/util/analytics.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { info } from './log'; +import { info } from './log.js'; export default ({ category, action, label, value, nonInteraction }) => { info('Analytics event:', { category, action, label, value, nonInteraction }); diff --git a/src/nginxconfig/util/angular_backwards_compatibility.js b/src/nginxconfig/util/angular_backwards_compatibility.js index c940892c..5c44782b 100644 --- a/src/nginxconfig/util/angular_backwards_compatibility.js +++ b/src/nginxconfig/util/angular_backwards_compatibility.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import isObject from './is_object'; +import isObject from './is_object.js'; const oldBool = (val) => (val.toString().trim() === '' ? true : val); diff --git a/src/nginxconfig/util/browser_language.js b/src/nginxconfig/util/browser_language.js index 115da283..d7bf4b33 100644 --- a/src/nginxconfig/util/browser_language.js +++ b/src/nginxconfig/util/browser_language.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import { fromSep } from './language_packs'; +import { fromSep } from './language_packs.js'; export default (availablePacks) => { if (typeof window === 'object' && typeof window.navigator === 'object') { diff --git a/src/nginxconfig/util/computed_from_defaults.js b/src/nginxconfig/util/computed_from_defaults.js index ee5179e8..a816c8e8 100644 --- a/src/nginxconfig/util/computed_from_defaults.js +++ b/src/nginxconfig/util/computed_from_defaults.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import isChanged from './is_changed'; +import isChanged from './is_changed.js'; export default (defaults, cat, isInteraction = true) => { return Object.keys(defaults).reduce((prev, key) => { diff --git a/src/nginxconfig/util/import_data.js b/src/nginxconfig/util/import_data.js index fa1d918a..1ce9e4be 100644 --- a/src/nginxconfig/util/import_data.js +++ b/src/nginxconfig/util/import_data.js @@ -27,9 +27,9 @@ THE SOFTWARE. import qs from 'qs'; import clone from 'clone'; import Domain from '../templates/domain'; -import isObject from './is_object'; -import angularBackwardsCompatibility from './angular_backwards_compatibility'; -import vueBackwardsCompatibility from './vue_backwards_compatibility'; +import isObject from './is_object.js'; +import angularBackwardsCompatibility from './angular_backwards_compatibility.js'; +import vueBackwardsCompatibility from './vue_backwards_compatibility.js'; const applyCategories = (categories, target) => { // Work through each potential category diff --git a/src/nginxconfig/util/logging.js b/src/nginxconfig/util/logging.js index 3b099acb..48f82c59 100644 --- a/src/nginxconfig/util/logging.js +++ b/src/nginxconfig/util/logging.js @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -export const accessLogPathDefault = '/var/log/nginx/access.log'; -export const accessLogParamsDefault = 'buffer=512k flush=1m'; +export const accessLogPathDefault = '/var/log/nginx/access.log.js'; +export const accessLogParamsDefault = 'buffer=512k flush=1m.js'; -export const errorLogPathDefault = '/var/log/nginx/error.log'; -export const errorLogPathDisabled = '/dev/null'; -export const errorLogLevelDefault = 'warn'; +export const errorLogPathDefault = '/var/log/nginx/error.log.js'; +export const errorLogPathDisabled = '/dev/null.js'; +export const errorLogLevelDefault = 'warn.js'; export const errorLogLevelOptions = Object.freeze([ 'debug', 'info', diff --git a/src/nginxconfig/util/share_query.js b/src/nginxconfig/util/share_query.js index 07e2fbf3..850e769d 100644 --- a/src/nginxconfig/util/share_query.js +++ b/src/nginxconfig/util/share_query.js @@ -25,7 +25,7 @@ THE SOFTWARE. */ import qs from 'qs'; -import exportData from './export_data'; +import exportData from './export_data.js'; export default (domains, global) => { const data = exportData(domains, global); diff --git a/src/nginxconfig/util/vue_backwards_compatibility.js b/src/nginxconfig/util/vue_backwards_compatibility.js index d5273448..a7011ead 100644 --- a/src/nginxconfig/util/vue_backwards_compatibility.js +++ b/src/nginxconfig/util/vue_backwards_compatibility.js @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import isObject from './is_object'; -import deepMerge from './deep_merge'; +import isObject from './is_object.js'; +import deepMerge from './deep_merge.js'; import { accessLogPathDefault, accessLogParamsDefault, errorLogPathDefault, errorLogPathDisabled, errorLogLevelDefault, -} from './logging'; -import { serverDomainDefault } from './defaults'; +} from './logging.js'; +import { serverDomainDefault } from './defaults.js'; // Migrate old logging settings to new ones const migrateLogging = (data) => { diff --git a/test/testBrowserLanguage.js b/test/testBrowserLanguage.js index 00e0f00a..5e9d2b5d 100644 --- a/test/testBrowserLanguage.js +++ b/test/testBrowserLanguage.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import browserLanguage from '../src/nginxconfig/util/browser_language'; +import browserLanguage from '../src/nginxconfig/util/browser_language.js'; class MockLocales { static languages = []; @@ -83,23 +83,26 @@ class MockLocales { } } -Object.defineProperty(window.navigator, 'languages', { get: () => { - return MockLocales.languages || []; -}}); - -Object.defineProperty(window.navigator, 'language', { get: () => { - return MockLocales.language || null; -}}); +Object.defineProperty(window.navigator, 'languages', { + get: () => { + return MockLocales.languages || []; + }, +}); +Object.defineProperty(window.navigator, 'language', { + get: () => { + return MockLocales.language || null; + }, +}); describe('browserLanguage', () => { test('Selects the first available exact match for language/region', () => { MockLocales.setDateTimeLocale(undefined); - MockLocales.setNavigatorLanguages(['zh-CN', 'zh','en-US','en']); + MockLocales.setNavigatorLanguages(['zh-CN', 'zh', 'en-US', 'en']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('zhCN'); - MockLocales.setNavigatorLanguages(['zh-TW','zh','en-US','en']); + MockLocales.setNavigatorLanguages(['zh-TW', 'zh', 'en-US', 'en']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('zhTW'); MockLocales.setNavigatorLanguages(['zh', 'en-US', 'en']); @@ -108,7 +111,7 @@ describe('browserLanguage', () => { MockLocales.restoreDateTimeLocale(); }); - test('Selects the first available language match based on language/region',() => { + test('Selects the first available language match based on language/region', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['ja-JP', 'ja', 'en-US']); @@ -117,7 +120,7 @@ describe('browserLanguage', () => { MockLocales.restoreDateTimeLocale(); }); - test('Selects the first available language match based on language alone',() => { + test('Selects the first available language match based on language alone', () => { MockLocales.setDateTimeLocale(undefined); MockLocales.setNavigatorLanguages(['ja-JP', 'ja', 'zh']); @@ -126,17 +129,17 @@ describe('browserLanguage', () => { MockLocales.restoreDateTimeLocale(); }); - test('Returns false when there is no available match',() => { + test('Returns false when there is no available match', () => { MockLocales.setDateTimeLocale(undefined); - MockLocales.setNavigatorLanguages(['ja-JP','ja']); + MockLocales.setNavigatorLanguages(['ja-JP', 'ja']); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toBeFalsy(); MockLocales.restoreDateTimeLocale(); }); describe('Different sources for user locale', () => { - test('language, languages and Intl locale are `undefined`',() => { + test('language, languages and Intl locale are `undefined`', () => { MockLocales.setNavigatorLanguages(undefined); MockLocales.setNavigatorLanguage(undefined); MockLocales.setDateTimeLocale(undefined); @@ -144,7 +147,7 @@ describe('browserLanguage', () => { MockLocales.restoreDateTimeLocale(); }); - test('language is `en`, languages and Intl locale are `undefined`',() => { + test('language is `en`, languages and Intl locale are `undefined`', () => { MockLocales.setNavigatorLanguage('en'); MockLocales.setNavigatorLanguages(undefined); MockLocales.setDateTimeLocale(undefined); @@ -152,15 +155,15 @@ describe('browserLanguage', () => { MockLocales.restoreDateTimeLocale(); }); - test('language and Intl locale are `undefined`, languages is `en-US, en`',() => { + test('language and Intl locale are `undefined`, languages is `en-US, en`', () => { MockLocales.setNavigatorLanguage(undefined); - MockLocales.setNavigatorLanguages(['en-US','en']); + MockLocales.setNavigatorLanguages(['en-US', 'en']); MockLocales.setDateTimeLocale(undefined); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); MockLocales.restoreDateTimeLocale(); }); - test('navigator is `undefined` and Intl locale is `en-US`',() => { + test('navigator is `undefined` and Intl locale is `en-US`', () => { MockLocales.setNavigator(undefined); MockLocales.setDateTimeLocale('en-US'); expect(browserLanguage(['en', 'zhCN', 'zhTW'])).toEqual('en'); From dfdf6e7b64da538d56e54a84f3c8f115928393b7 Mon Sep 17 00:00:00 2001 From: Himanshu Bhatt Date: Wed, 2 Oct 2024 16:46:06 +0530 Subject: [PATCH 02/10] Refactor imports and update copyright headers --- .eslintrc.cjs | 2 +- package-lock.json | 1835 ++++++++++++++++- package.json | 213 +- .../build/webpack-dynamic-import.js | 2 +- .../generators/conf/general.conf.js | 2 +- src/nginxconfig/generators/conf/nginx.conf.js | 2 +- .../generators/conf/security.conf.js | 2 +- .../generators/conf/website.conf.js | 2 +- .../generators/conf/wordpress.conf.js | 2 +- src/nginxconfig/generators/index.js | 2 +- src/nginxconfig/generators/to_conf.js | 2 +- src/nginxconfig/i18n/de/index.js | 4 +- src/nginxconfig/i18n/de/templates/app.js | 2 +- .../i18n/de/templates/callouts/index.js | 2 +- .../de/templates/domain_sections/https.js | 2 +- .../de/templates/domain_sections/index.js | 2 +- .../i18n/de/templates/domain_sections/php.js | 2 +- .../de/templates/domain_sections/python.js | 2 +- .../domain_sections/reverse_proxy.js | 2 +- .../de/templates/domain_sections/routing.js | 2 +- .../de/templates/global_sections/docker.js | 2 +- .../de/templates/global_sections/https.js | 2 +- .../de/templates/global_sections/index.js | 2 +- .../de/templates/global_sections/logging.js | 2 +- .../de/templates/global_sections/nginx.js | 2 +- .../templates/global_sections/performance.js | 2 +- .../de/templates/global_sections/python.js | 2 +- .../global_sections/reverse_proxy.js | 2 +- .../de/templates/global_sections/security.js | 2 +- .../de/templates/global_sections/tools.js | 2 +- src/nginxconfig/i18n/de/templates/index.js | 10 +- .../de/templates/setup_sections/certbot.js | 2 +- .../de/templates/setup_sections/download.js | 2 +- .../de/templates/setup_sections/go_live.js | 2 +- .../i18n/de/templates/setup_sections/index.js | 2 +- .../i18n/de/templates/setup_sections/ssl.js | 2 +- src/nginxconfig/i18n/en/index.js | 4 +- src/nginxconfig/i18n/en/templates/app.js | 4 +- .../i18n/en/templates/callouts/index.js | 6 +- .../en/templates/domain_sections/https.js | 2 +- .../en/templates/domain_sections/index.js | 22 +- .../en/templates/domain_sections/logging.js | 4 +- .../i18n/en/templates/domain_sections/php.js | 4 +- .../en/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../en/templates/domain_sections/routing.js | 4 +- .../en/templates/global_sections/docker.js | 4 +- .../en/templates/global_sections/https.js | 4 +- .../en/templates/global_sections/index.js | 20 +- .../en/templates/global_sections/logging.js | 4 +- .../en/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../en/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../en/templates/global_sections/security.js | 4 +- .../en/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/en/templates/index.js | 16 +- .../en/templates/setup_sections/certbot.js | 4 +- .../en/templates/setup_sections/download.js | 4 +- .../en/templates/setup_sections/go_live.js | 4 +- .../i18n/en/templates/setup_sections/index.js | 10 +- .../i18n/en/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/es/index.js | 4 +- src/nginxconfig/i18n/es/templates/app.js | 4 +- .../i18n/es/templates/callouts/index.js | 6 +- .../es/templates/domain_sections/https.js | 4 +- .../es/templates/domain_sections/index.js | 22 +- .../es/templates/domain_sections/logging.js | 4 +- .../i18n/es/templates/domain_sections/php.js | 4 +- .../es/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../es/templates/domain_sections/routing.js | 4 +- .../es/templates/global_sections/docker.js | 4 +- .../es/templates/global_sections/https.js | 4 +- .../es/templates/global_sections/index.js | 20 +- .../es/templates/global_sections/logging.js | 4 +- .../es/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../es/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../es/templates/global_sections/security.js | 4 +- .../es/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/es/templates/index.js | 16 +- .../es/templates/setup_sections/certbot.js | 4 +- .../es/templates/setup_sections/download.js | 4 +- .../es/templates/setup_sections/go_live.js | 4 +- .../i18n/es/templates/setup_sections/index.js | 10 +- .../i18n/es/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/fa/index.js | 2 +- src/nginxconfig/i18n/fa/templates/app.js | 2 +- .../i18n/fa/templates/callouts/index.js | 4 +- .../fa/templates/domain_sections/https.js | 2 +- .../fa/templates/domain_sections/index.js | 20 +- .../fa/templates/domain_sections/logging.js | 2 +- .../i18n/fa/templates/domain_sections/php.js | 2 +- .../fa/templates/domain_sections/python.js | 2 +- .../domain_sections/reverse_proxy.js | 2 +- .../fa/templates/domain_sections/routing.js | 2 +- .../fa/templates/global_sections/docker.js | 2 +- .../fa/templates/global_sections/https.js | 2 +- .../fa/templates/global_sections/index.js | 18 +- .../fa/templates/global_sections/logging.js | 2 +- .../fa/templates/global_sections/nginx.js | 2 +- .../templates/global_sections/performance.js | 2 +- .../fa/templates/global_sections/python.js | 2 +- .../global_sections/reverse_proxy.js | 2 +- .../fa/templates/global_sections/security.js | 2 +- .../fa/templates/global_sections/tools.js | 2 +- src/nginxconfig/i18n/fa/templates/index.js | 14 +- .../fa/templates/setup_sections/certbot.js | 2 +- .../fa/templates/setup_sections/download.js | 2 +- .../fa/templates/setup_sections/go_live.js | 2 +- .../i18n/fa/templates/setup_sections/index.js | 8 +- .../i18n/fa/templates/setup_sections/ssl.js | 2 +- src/nginxconfig/i18n/fr/index.js | 4 +- src/nginxconfig/i18n/fr/templates/app.js | 4 +- .../i18n/fr/templates/callouts/index.js | 6 +- .../fr/templates/domain_sections/https.js | 4 +- .../fr/templates/domain_sections/index.js | 22 +- .../fr/templates/domain_sections/logging.js | 4 +- .../i18n/fr/templates/domain_sections/php.js | 4 +- .../fr/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../fr/templates/domain_sections/routing.js | 4 +- .../fr/templates/global_sections/docker.js | 4 +- .../fr/templates/global_sections/https.js | 4 +- .../fr/templates/global_sections/index.js | 20 +- .../fr/templates/global_sections/logging.js | 4 +- .../fr/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../fr/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../fr/templates/global_sections/security.js | 4 +- .../fr/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/fr/templates/index.js | 16 +- .../fr/templates/setup_sections/certbot.js | 4 +- .../fr/templates/setup_sections/download.js | 4 +- .../fr/templates/setup_sections/go_live.js | 4 +- .../i18n/fr/templates/setup_sections/index.js | 10 +- .../i18n/fr/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/ja/index.js | 4 +- src/nginxconfig/i18n/ja/templates/app.js | 4 +- .../i18n/ja/templates/callouts/index.js | 6 +- .../ja/templates/domain_sections/https.js | 4 +- .../ja/templates/domain_sections/index.js | 22 +- .../ja/templates/domain_sections/logging.js | 4 +- .../i18n/ja/templates/domain_sections/php.js | 4 +- .../ja/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../ja/templates/domain_sections/routing.js | 4 +- .../ja/templates/global_sections/docker.js | 4 +- .../ja/templates/global_sections/https.js | 4 +- .../ja/templates/global_sections/index.js | 20 +- .../ja/templates/global_sections/logging.js | 4 +- .../ja/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../ja/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../ja/templates/global_sections/security.js | 4 +- .../ja/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/ja/templates/index.js | 16 +- .../ja/templates/setup_sections/certbot.js | 4 +- .../ja/templates/setup_sections/download.js | 4 +- .../ja/templates/setup_sections/go_live.js | 4 +- .../i18n/ja/templates/setup_sections/index.js | 10 +- .../i18n/ja/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/pl/index.js | 4 +- src/nginxconfig/i18n/pl/templates/app.js | 4 +- .../i18n/pl/templates/callouts/index.js | 6 +- .../pl/templates/domain_sections/https.js | 4 +- .../pl/templates/domain_sections/index.js | 22 +- .../pl/templates/domain_sections/logging.js | 4 +- .../i18n/pl/templates/domain_sections/php.js | 4 +- .../pl/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../pl/templates/domain_sections/routing.js | 4 +- .../pl/templates/global_sections/docker.js | 4 +- .../pl/templates/global_sections/https.js | 4 +- .../pl/templates/global_sections/index.js | 20 +- .../pl/templates/global_sections/logging.js | 4 +- .../pl/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../pl/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../pl/templates/global_sections/security.js | 4 +- .../pl/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/pl/templates/index.js | 16 +- .../pl/templates/setup_sections/certbot.js | 4 +- .../pl/templates/setup_sections/download.js | 4 +- .../pl/templates/setup_sections/go_live.js | 4 +- .../i18n/pl/templates/setup_sections/index.js | 10 +- .../i18n/pl/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/pt-br/index.js | 4 +- src/nginxconfig/i18n/pt-br/templates/app.js | 4 +- .../i18n/pt-br/templates/callouts/index.js | 6 +- .../pt-br/templates/domain_sections/https.js | 4 +- .../pt-br/templates/domain_sections/index.js | 22 +- .../templates/domain_sections/logging.js | 4 +- .../pt-br/templates/domain_sections/php.js | 4 +- .../pt-br/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../templates/domain_sections/routing.js | 4 +- .../pt-br/templates/global_sections/docker.js | 4 +- .../pt-br/templates/global_sections/https.js | 4 +- .../pt-br/templates/global_sections/index.js | 20 +- .../templates/global_sections/logging.js | 4 +- .../pt-br/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../pt-br/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../templates/global_sections/security.js | 4 +- .../pt-br/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/pt-br/templates/index.js | 16 +- .../pt-br/templates/setup_sections/certbot.js | 4 +- .../templates/setup_sections/download.js | 4 +- .../pt-br/templates/setup_sections/go_live.js | 4 +- .../pt-br/templates/setup_sections/index.js | 10 +- .../pt-br/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/ru/index.js | 2 +- src/nginxconfig/i18n/ru/templates/app.js | 4 +- .../i18n/ru/templates/callouts/index.js | 6 +- .../ru/templates/domain_sections/https.js | 4 +- .../ru/templates/domain_sections/index.js | 22 +- .../ru/templates/domain_sections/logging.js | 2 +- .../i18n/ru/templates/domain_sections/php.js | 4 +- .../ru/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../ru/templates/domain_sections/routing.js | 4 +- .../ru/templates/global_sections/docker.js | 4 +- .../ru/templates/global_sections/https.js | 4 +- .../ru/templates/global_sections/index.js | 20 +- .../ru/templates/global_sections/logging.js | 4 +- .../ru/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../ru/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../ru/templates/global_sections/security.js | 4 +- .../ru/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/ru/templates/index.js | 16 +- .../ru/templates/setup_sections/certbot.js | 4 +- .../ru/templates/setup_sections/download.js | 4 +- .../ru/templates/setup_sections/go_live.js | 4 +- .../i18n/ru/templates/setup_sections/index.js | 10 +- .../i18n/ru/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/setup.js | 2 +- src/nginxconfig/i18n/verify.js | 2 +- src/nginxconfig/i18n/zh-cn/index.js | 4 +- src/nginxconfig/i18n/zh-cn/templates/app.js | 4 +- .../i18n/zh-cn/templates/callouts/index.js | 6 +- .../zh-cn/templates/domain_sections/https.js | 4 +- .../zh-cn/templates/domain_sections/index.js | 22 +- .../templates/domain_sections/logging.js | 4 +- .../zh-cn/templates/domain_sections/php.js | 4 +- .../zh-cn/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../templates/domain_sections/routing.js | 4 +- .../zh-cn/templates/global_sections/docker.js | 4 +- .../zh-cn/templates/global_sections/https.js | 4 +- .../zh-cn/templates/global_sections/index.js | 20 +- .../templates/global_sections/logging.js | 4 +- .../zh-cn/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../zh-cn/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../templates/global_sections/security.js | 4 +- .../zh-cn/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/zh-cn/templates/index.js | 16 +- .../zh-cn/templates/setup_sections/certbot.js | 4 +- .../templates/setup_sections/download.js | 4 +- .../zh-cn/templates/setup_sections/go_live.js | 4 +- .../zh-cn/templates/setup_sections/index.js | 10 +- .../zh-cn/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/i18n/zh-tw/index.js | 4 +- src/nginxconfig/i18n/zh-tw/templates/app.js | 4 +- .../i18n/zh-tw/templates/callouts/index.js | 6 +- .../zh-tw/templates/domain_sections/https.js | 4 +- .../zh-tw/templates/domain_sections/index.js | 22 +- .../templates/domain_sections/logging.js | 4 +- .../zh-tw/templates/domain_sections/php.js | 4 +- .../zh-tw/templates/domain_sections/python.js | 4 +- .../domain_sections/reverse_proxy.js | 4 +- .../templates/domain_sections/routing.js | 4 +- .../zh-tw/templates/global_sections/docker.js | 4 +- .../zh-tw/templates/global_sections/https.js | 4 +- .../zh-tw/templates/global_sections/index.js | 20 +- .../templates/global_sections/logging.js | 4 +- .../zh-tw/templates/global_sections/nginx.js | 4 +- .../templates/global_sections/performance.js | 4 +- .../zh-tw/templates/global_sections/python.js | 4 +- .../global_sections/reverse_proxy.js | 4 +- .../templates/global_sections/security.js | 4 +- .../zh-tw/templates/global_sections/tools.js | 4 +- src/nginxconfig/i18n/zh-tw/templates/index.js | 16 +- .../zh-tw/templates/setup_sections/certbot.js | 4 +- .../templates/setup_sections/download.js | 4 +- .../zh-tw/templates/setup_sections/go_live.js | 4 +- .../zh-tw/templates/setup_sections/index.js | 10 +- .../zh-tw/templates/setup_sections/ssl.js | 4 +- src/nginxconfig/mount.js | 4 +- src/nginxconfig/templates/app.vue | 40 +- .../templates/callouts/contribute.vue | 4 +- .../templates/callouts/droplet.vue | 6 +- src/nginxconfig/templates/domain.vue | 10 +- .../templates/domain_sections/https.vue | 14 +- .../templates/domain_sections/index.js | 20 +- .../templates/domain_sections/logging.vue | 12 +- .../templates/domain_sections/onion.vue | 8 +- .../templates/domain_sections/php.vue | 8 +- .../templates/domain_sections/presets.vue | 8 +- .../templates/domain_sections/python.vue | 8 +- .../templates/domain_sections/restrict.vue | 8 +- .../domain_sections/reverse_proxy.vue | 8 +- .../templates/domain_sections/routing.vue | 10 +- .../templates/domain_sections/server.vue | 10 +- src/nginxconfig/templates/footer.vue | 4 +- src/nginxconfig/templates/global.vue | 8 +- .../templates/global_sections/docker.vue | 10 +- .../templates/global_sections/https.vue | 10 +- .../templates/global_sections/index.js | 20 +- .../templates/global_sections/logging.vue | 12 +- .../templates/global_sections/nginx.vue | 6 +- .../templates/global_sections/performance.vue | 10 +- .../templates/global_sections/python.vue | 6 +- .../global_sections/reverse_proxy.vue | 8 +- .../templates/global_sections/security.vue | 8 +- .../templates/global_sections/tools.vue | 14 +- src/nginxconfig/templates/inputs/checkbox.vue | 4 +- src/nginxconfig/templates/inputs/radio.vue | 4 +- src/nginxconfig/templates/prism/bash.vue | 4 +- src/nginxconfig/templates/prism/docker.vue | 6 +- src/nginxconfig/templates/prism/nginx.vue | 4 +- src/nginxconfig/templates/prism/yaml.vue | 6 +- src/nginxconfig/templates/setup.vue | 6 +- .../templates/setup_sections/certbot.vue | 6 +- .../templates/setup_sections/download.vue | 6 +- .../templates/setup_sections/go_live.vue | 6 +- .../templates/setup_sections/index.js | 10 +- .../templates/setup_sections/ssl.vue | 6 +- src/nginxconfig/util/import_data.js | 2 +- src/nginxconfig/util/language_packs.js | 2 +- src/nginxconfig/util/prism_bundle.js | 12 +- src/nginxconfig/util/share_query.js | 2 +- .../util/vue_backwards_compatibility.js | 2 +- test/testBrowserLanguage.js | 2 +- vue.config.js | 33 +- 345 files changed, 2851 insertions(+), 1218 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d0d3bc5c..8348b6a1 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -40,5 +40,5 @@ module.exports = { it: true, test: true, }, - plugins: ['prettier'], + plugins: ['prettier', 'import'], }; diff --git a/package-lock.json b/package-lock.json index 7111b51e..f42c1f9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,10 +40,9 @@ "duplicate-package-checker-webpack-plugin": "^3.0.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.20.1", - "esm": "^3.2.25", - "extensionless": "^1.9.6", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -3293,6 +3292,12 @@ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.24.tgz", "integrity": "sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==" }, + "node_modules/@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true + }, "node_modules/@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", @@ -4147,6 +4152,12 @@ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -5233,11 +5244,47 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==" }, + "node_modules/array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -5247,6 +5294,84 @@ "node": ">=8" } }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/assert": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz", @@ -5319,9 +5444,12 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -7130,6 +7258,57 @@ "node": ">=12" } }, + "node_modules/data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -8816,6 +8995,66 @@ "stackframe": "^1.1.1" } }, + "node_modules/es-abstract": { + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.15" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -8840,6 +9079,58 @@ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz", "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg==" }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -8959,6 +9250,114 @@ "eslint": ">=7.0.0" } }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", + "dev": true, + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz", + "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", + "dev": true, + "dependencies": { + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.9.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/eslint-plugin-prettier": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", @@ -9400,15 +9799,6 @@ "node": ">= 8" } }, - "node_modules/esm": { - "version": "3.2.25", - "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", - "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/espree": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", @@ -9672,12 +10062,6 @@ "node": ">= 0.8" } }, - "node_modules/extensionless": { - "version": "1.9.6", - "resolved": "https://registry.npmjs.org/extensionless/-/extensionless-1.9.6.tgz", - "integrity": "sha512-40F6zThJu1MxaT1A1pJ/2SHlU1BPYYnQNHt0j2ZlPuxxm2ddMcNc1D7uS/LGc4K3VwMEMaZLkCdHWaKk0LnQXA==", - "dev": true - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -10265,6 +10649,33 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/fwd-stream": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fwd-stream/-/fwd-stream-1.0.4.tgz", @@ -10362,6 +10773,23 @@ "node": ">=6" } }, + "node_modules/get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -10431,6 +10859,22 @@ "node": ">=4" } }, + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -10522,15 +10966,13 @@ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==" }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-flag": { @@ -10553,9 +10995,9 @@ } }, "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "engines": { "node": ">= 0.4" }, @@ -10575,11 +11017,11 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -10594,9 +11036,9 @@ "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==" }, "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dependencies": { "function-bind": "^1.1.2" }, @@ -11136,6 +11578,20 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, + "node_modules/internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -11167,11 +11623,39 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -11183,6 +11667,22 @@ "node": ">=8" } }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", @@ -11195,11 +11695,44 @@ } }, "node_modules/is-core-module": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", - "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "dev": true, + "dependencies": { + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "dependencies": { - "has": "^1.0.3" + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -11316,6 +11849,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -11324,6 +11869,21 @@ "node": ">=0.12.0" } }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-object": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz", @@ -11366,6 +11926,37 @@ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -11375,12 +11966,42 @@ "node": ">=0.10.0" } }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dependencies": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -11401,6 +12022,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", @@ -15345,6 +15978,55 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.values": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/obuf": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", @@ -15825,6 +16507,14 @@ "ms": "^2.1.1" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/postcss": { "version": "8.4.33", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", @@ -17139,6 +17829,24 @@ "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz", "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==" }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/regexpu-core": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", @@ -17248,11 +17956,11 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" }, "node_modules/resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dependencies": { - "is-core-module": "^2.8.1", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -17417,6 +18125,30 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-array-concat/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -17436,6 +18168,23 @@ } ] }, + "node_modules/safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -17786,6 +18535,21 @@ "node": ">= 0.4" } }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -18258,6 +19022,55 @@ "node": ">=4" } }, + "node_modules/string.prototype.trim": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -19331,6 +20144,27 @@ "node": ">=8" } }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -19378,6 +20212,79 @@ "node": ">= 0.6" } }, + "node_modules/typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -19395,6 +20302,21 @@ "node": ">=14.17" } }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -20312,16 +21234,32 @@ "which": "bin/which" } }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -22901,6 +23839,12 @@ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.24.tgz", "integrity": "sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==" }, + "@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true + }, "@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", @@ -23508,6 +24452,12 @@ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, "@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -24366,17 +25316,95 @@ "sprintf-js": "~1.0.2" } }, + "array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + } + }, "array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==" }, + "array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" + } + }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true }, + "array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + } + }, + "array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + } + }, "assert": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz", @@ -24430,9 +25458,12 @@ } }, "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "requires": { + "possible-typed-array-names": "^1.0.0" + } }, "babel-jest": { "version": "29.7.0", @@ -25748,6 +26779,39 @@ "whatwg-url": "^11.0.0" } }, + "data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, "de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -26879,6 +27943,60 @@ "stackframe": "^1.1.1" } }, + "es-abstract": { + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.15" + } + }, "es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -26897,6 +28015,46 @@ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz", "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg==" }, + "es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "requires": { + "es-errors": "^1.3.0" + } + }, + "es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + } + }, + "es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "requires": { + "hasown": "^2.0.0" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -27239,6 +28397,100 @@ "dev": true, "requires": {} }, + "eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "requires": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-module-utils": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", + "dev": true, + "requires": { + "debug": "^3.2.7" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-plugin-import": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz", + "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", + "dev": true, + "requires": { + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.9.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, "eslint-plugin-prettier": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", @@ -27279,12 +28531,6 @@ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true }, - "esm": { - "version": "3.2.25", - "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", - "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "dev": true - }, "espree": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", @@ -27486,12 +28732,6 @@ } } }, - "extensionless": { - "version": "1.9.6", - "resolved": "https://registry.npmjs.org/extensionless/-/extensionless-1.9.6.tgz", - "integrity": "sha512-40F6zThJu1MxaT1A1pJ/2SHlU1BPYYnQNHt0j2ZlPuxxm2ddMcNc1D7uS/LGc4K3VwMEMaZLkCdHWaKk0LnQXA==", - "dev": true - }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -27906,6 +29146,24 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" }, + "function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + } + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true + }, "fwd-stream": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fwd-stream/-/fwd-stream-1.0.4.tgz", @@ -27981,6 +29239,17 @@ "pump": "^3.0.0" } }, + "get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + } + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -28032,6 +29301,16 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, + "globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "requires": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + } + }, "globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -28101,13 +29380,11 @@ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==" }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true }, "has-flag": { "version": "3.0.0", @@ -28123,9 +29400,9 @@ } }, "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==" }, "has-symbols": { "version": "1.0.3", @@ -28133,11 +29410,11 @@ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" }, "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "requires": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" } }, "hash-sum": { @@ -28146,9 +29423,9 @@ "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==" }, "hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "requires": { "function-bind": "^1.1.2" } @@ -28528,6 +29805,17 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, + "internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dev": true, + "requires": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + } + }, "ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -28547,11 +29835,30 @@ "has-tostringtag": "^1.0.0" } }, + "is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, "is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -28560,17 +29867,45 @@ "binary-extensions": "^2.0.0" } }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, "is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" }, "is-core-module": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", - "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "requires": { - "has": "^1.0.3" + "hasown": "^2.0.2" + } + }, + "is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "dev": true, + "requires": { + "is-typed-array": "^1.1.13" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" } }, "is-directory": { @@ -28645,11 +29980,26 @@ "define-properties": "^1.1.3" } }, + "is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true + }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, "is-object": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz", @@ -28680,18 +30030,55 @@ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dev": true, + "requires": { + "call-bind": "^1.0.7" + } + }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", "dev": true }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, "is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "requires": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" } }, "is-unicode-supported": { @@ -28700,6 +30087,15 @@ "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, "is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", @@ -31599,6 +32995,40 @@ "object-keys": "^1.1.1" } }, + "object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + } + }, + "object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + } + }, + "object.values": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, "obuf": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", @@ -31958,6 +33388,11 @@ } } }, + "possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==" + }, "postcss": { "version": "8.4.33", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", @@ -32844,6 +34279,18 @@ "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz", "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==" }, + "regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + } + }, "regexpu-core": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", @@ -32929,11 +34376,11 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" }, "resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "requires": { - "is-core-module": "^2.8.1", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -33035,11 +34482,42 @@ "queue-microtask": "^1.2.2" } }, + "safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "dependencies": { + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + } + } + }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, + "safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + } + }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -33317,6 +34795,18 @@ "has-property-descriptors": "^1.0.2" } }, + "set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + } + }, "setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -33713,6 +35203,40 @@ } } }, + "string.prototype.trim": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trimend": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -34472,6 +35996,26 @@ } } }, + "tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + } + } + }, "tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -34507,6 +36051,58 @@ "mime-types": "~2.1.24" } }, + "typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-length": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + } + }, "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -34517,6 +36113,18 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" }, + "unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -35172,16 +36780,29 @@ "isexe": "^2.0.0" } }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, "which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.2" } }, "wildcard": { diff --git a/package.json b/package.json index 4346b720..5bc7a4e6 100644 --- a/package.json +++ b/package.json @@ -1,107 +1,108 @@ { - "name": "nginxconfig.io", - "version": "1.0.0", - "description": "NGINX config generator on steroids", - "license": "MIT", - "private": true, - "engines": { - "node": "20.9.0" - }, - "main": "src/nginxconfig/mount.js", - "type": "module", - "scripts": { - "build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool", - "build:clean": "do-vue clean", - "build:template": "do-vue template && node src/nginxconfig/build/template.js", - "build:prism": "node src/nginxconfig/build/prism.js", - "build:static": "copyfiles --up 2 src/static/{*,**/*} dist", - "build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean", - "dev": "npm run build:template && npm run build:prism && npm run dev:tool", - "dev:tool": "vue-cli-service serve src/nginxconfig/mount.js", - "deploy:spaces:comment": "do-vue comment nginxconfig", - "test": "npm run test:prettier:fix && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", - "test:jest": "jest --env=jsdom /test/.*.js?$", - "test:fix": "npm run test:prettier:fix && npm run test:eslint:fix", - "test:eslint": "eslint 'src/**/*.{js,vue}' --cache", - "test:eslint:fix": "npm run test:eslint -- --fix", - "test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json", - "test:i18n-packs": "node --import=extensionless/register src/nginxconfig/i18n/verify.js", - "test:prettier": "prettier 'src/**/*.{js,vue}' --check", - "test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'", - "prepare": "husky install" - }, - "jest": { - "testRegex": "/test/.*.js?$" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/digitalocean/nginxconfig.io.git" - }, - "keywords": [ - "nginx" - ], - "author": "DigitalOcean", - "bugs": { - "url": "https://github.com/digitalocean/nginxconfig.io/issues" - }, - "homepage": "https://github.com/digitalocean/nginxconfig.io#readme", - "dependencies": { - "clipboard": "^2.0.11", - "clone": "^2.1.2", - "do-bulma": "github:do-community/do-bulma", - "do-vue": "github:do-community/do-vue", - "escape-html": "^1.0.3", - "files-diff": "0.0.6", - "json-to-pretty-yaml": "^1.2.2", - "memory-tar-create": "0.0.3", - "pretty-checkbox-vue": "^1.1.9", - "prismjs": "^1.29.0", - "qs": "^6.11.2", - "simple-js-sha2-256": "^1.0.7", - "vue": "^3.4.15", - "vue-i18n": "^9.9.0", - "vue-select": "^4.0.0-beta.6", - "webpack-require-from": "^1.8.6" - }, - "devDependencies": { - "@babel/eslint-parser": "^7.23.3", - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-transform-runtime": "^7.23.7", - "@babel/preset-env": "^7.23.8", - "@babel/runtime": "^7.23.8", - "@vue/cli-service": "^5.0.8", - "ajv": "^8.12.0", - "chalk": "^5.3.0", - "copyfiles": "^2.4.1", - "core-js": "^3.35.1", - "duplicate-package-checker-webpack-plugin": "^3.0.0", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.3", - "eslint-plugin-vue": "^9.20.1", - "husky": "^8.0.3", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0", - "lint-staged": "^15.2.10", - "node-fetch": "^3.3.2", - "postcss": "^8.4.33", - "prettier": "3.2.4", - "sass": "^1.70.0", - "sass-loader": "^14.0.0", - "stylelint": "^16.2.0", - "stylelint-config-standard-scss": "^13.0.0", - "stylelint-order": "^6.0.4", - "vue-template-compiler": "^2.7.16", - "webpack": "^5.94.0", - "webpack-bundle-analyzer": "^4.10.1" - }, - "overrides": { - "@vue/cli-service": { - "mini-css-extract-plugin": "^1.6.2", - "@achrinza/node-ipc": "^10.1.10" - }, - "pretty-checkbox-vue": { - "vue": "^3.0.0" - } - } -} + "name": "nginxconfig.io", + "version": "1.0.0", + "description": "NGINX config generator on steroids", + "license": "MIT", + "private": true, + "engines": { + "node": "20.9.0" + }, + "main": "src/nginxconfig/mount.js", + "type": "module", + "scripts": { + "build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool", + "build:clean": "do-vue clean", + "build:template": "do-vue template && node src/nginxconfig/build/template.js", + "build:prism": "node src/nginxconfig/build/prism.js", + "build:static": "copyfiles --up 2 src/static/{*,**/*} dist", + "build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean", + "dev": "npm run build:template && npm run build:prism && npm run dev:tool", + "dev:tool": "vue-cli-service serve src/nginxconfig/mount.js", + "deploy:spaces:comment": "do-vue comment nginxconfig", + "test": "npm run test:prettier:fix && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", + "test:jest": "jest --env=jsdom /test/.*.js?$", + "test:fix": "npm run test:prettier:fix && npm run test:eslint:fix", + "test:eslint": "eslint src/**/*.{js,vue} --cache", + "test:eslint:fix": "npm run test:eslint -- --fix", + "test:stylelint": "stylelint 'src/**/*.{scss,css}' --config node_modules/do-bulma/.stylelintrc.json", + "test:i18n-packs": "node src/nginxconfig/i18n/verify.js", + "test:prettier": "prettier 'src/**/*.{js,vue}' --check", + "test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'", + "prepare": "husky install" + }, + "jest": { + "testRegex": "/test/.*.js?$" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/digitalocean/nginxconfig.io.git" + }, + "keywords": [ + "nginx" + ], + "author": "DigitalOcean", + "bugs": { + "url": "https://github.com/digitalocean/nginxconfig.io/issues" + }, + "homepage": "https://github.com/digitalocean/nginxconfig.io#readme", + "dependencies": { + "clipboard": "^2.0.11", + "clone": "^2.1.2", + "do-bulma": "github:do-community/do-bulma", + "do-vue": "github:do-community/do-vue", + "escape-html": "^1.0.3", + "files-diff": "0.0.6", + "json-to-pretty-yaml": "^1.2.2", + "memory-tar-create": "0.0.3", + "pretty-checkbox-vue": "^1.1.9", + "prismjs": "^1.29.0", + "qs": "^6.11.2", + "simple-js-sha2-256": "^1.0.7", + "vue": "^3.4.15", + "vue-i18n": "^9.9.0", + "vue-select": "^4.0.0-beta.6", + "webpack-require-from": "^1.8.6" + }, + "devDependencies": { + "@babel/eslint-parser": "^7.23.3", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-runtime": "^7.23.7", + "@babel/preset-env": "^7.23.8", + "@babel/runtime": "^7.23.8", + "@vue/cli-service": "^5.0.8", + "ajv": "^8.12.0", + "chalk": "^5.3.0", + "copyfiles": "^2.4.1", + "core-js": "^3.35.1", + "duplicate-package-checker-webpack-plugin": "^3.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.30.0", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-vue": "^9.20.1", + "husky": "^8.0.3", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", + "lint-staged": "^15.2.10", + "node-fetch": "^3.3.2", + "postcss": "^8.4.33", + "prettier": "3.2.4", + "sass": "^1.70.0", + "sass-loader": "^14.0.0", + "stylelint": "^16.2.0", + "stylelint-config-standard-scss": "^13.0.0", + "stylelint-order": "^6.0.4", + "vue-template-compiler": "^2.7.16", + "webpack": "^5.94.0", + "webpack-bundle-analyzer": "^4.10.1" + }, + "overrides": { + "@vue/cli-service": { + "mini-css-extract-plugin": "^1.6.2", + "@achrinza/node-ipc": "^10.1.10" + }, + "pretty-checkbox-vue": { + "vue": "^3.0.0" + } + } +} \ No newline at end of file diff --git a/src/nginxconfig/build/webpack-dynamic-import.js b/src/nginxconfig/build/webpack-dynamic-import.js index 766b74ab..e465ece0 100644 --- a/src/nginxconfig/build/webpack-dynamic-import.js +++ b/src/nginxconfig/build/webpack-dynamic-import.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/conf/general.conf.js b/src/nginxconfig/generators/conf/general.conf.js index b928bc7f..10b26b4b 100644 --- a/src/nginxconfig/generators/conf/general.conf.js +++ b/src/nginxconfig/generators/conf/general.conf.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/conf/nginx.conf.js b/src/nginxconfig/generators/conf/nginx.conf.js index 6c7920ac..a8c54681 100644 --- a/src/nginxconfig/generators/conf/nginx.conf.js +++ b/src/nginxconfig/generators/conf/nginx.conf.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/conf/security.conf.js b/src/nginxconfig/generators/conf/security.conf.js index c34c8aaf..b2f70938 100644 --- a/src/nginxconfig/generators/conf/security.conf.js +++ b/src/nginxconfig/generators/conf/security.conf.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/conf/website.conf.js b/src/nginxconfig/generators/conf/website.conf.js index 1dc54a85..ea99bfc8 100644 --- a/src/nginxconfig/generators/conf/website.conf.js +++ b/src/nginxconfig/generators/conf/website.conf.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/conf/wordpress.conf.js b/src/nginxconfig/generators/conf/wordpress.conf.js index 12e3d954..bed25c2d 100644 --- a/src/nginxconfig/generators/conf/wordpress.conf.js +++ b/src/nginxconfig/generators/conf/wordpress.conf.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/index.js b/src/nginxconfig/generators/index.js index 500f1f1d..85e9fe03 100644 --- a/src/nginxconfig/generators/index.js +++ b/src/nginxconfig/generators/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/generators/to_conf.js b/src/nginxconfig/generators/to_conf.js index 203ce6b2..dda09e8a 100644 --- a/src/nginxconfig/generators/to_conf.js +++ b/src/nginxconfig/generators/to_conf.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/index.js b/src/nginxconfig/i18n/de/index.js index dc222a9f..c4a6fc65 100644 --- a/src/nginxconfig/i18n/de/index.js +++ b/src/nginxconfig/i18n/de/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/de/templates/app.js b/src/nginxconfig/i18n/de/templates/app.js index 25a5646a..e97c1c05 100644 --- a/src/nginxconfig/i18n/de/templates/app.js +++ b/src/nginxconfig/i18n/de/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/callouts/index.js b/src/nginxconfig/i18n/de/templates/callouts/index.js index ab9be927..edcb0891 100644 --- a/src/nginxconfig/i18n/de/templates/callouts/index.js +++ b/src/nginxconfig/i18n/de/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/https.js b/src/nginxconfig/i18n/de/templates/domain_sections/https.js index 0bf27f34..e15c7494 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/index.js b/src/nginxconfig/i18n/de/templates/domain_sections/index.js index 8228c241..6dfd9da4 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/php.js b/src/nginxconfig/i18n/de/templates/domain_sections/php.js index b7eb6b92..d95d1f33 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/python.js b/src/nginxconfig/i18n/de/templates/domain_sections/python.js index f27945f1..a5750edc 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js index db95655e..08dfd8fe 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/domain_sections/routing.js b/src/nginxconfig/i18n/de/templates/domain_sections/routing.js index 4d4dc2c2..c46ea64b 100644 --- a/src/nginxconfig/i18n/de/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/de/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/docker.js b/src/nginxconfig/i18n/de/templates/global_sections/docker.js index c460ef88..07c7f01c 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/https.js b/src/nginxconfig/i18n/de/templates/global_sections/https.js index 6f9c7af6..32ef493c 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/index.js b/src/nginxconfig/i18n/de/templates/global_sections/index.js index 7a8df525..72fcc71f 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/logging.js b/src/nginxconfig/i18n/de/templates/global_sections/logging.js index 9a5e0873..17ff1a8f 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/nginx.js b/src/nginxconfig/i18n/de/templates/global_sections/nginx.js index 63a81105..56f2ccef 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/performance.js b/src/nginxconfig/i18n/de/templates/global_sections/performance.js index 5761828e..0d70de45 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/python.js b/src/nginxconfig/i18n/de/templates/global_sections/python.js index c86e1aaa..750a8219 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js index d355af88..6cfb2096 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/security.js b/src/nginxconfig/i18n/de/templates/global_sections/security.js index 410d9257..4d10a231 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/global_sections/tools.js b/src/nginxconfig/i18n/de/templates/global_sections/tools.js index f9a65466..75376022 100644 --- a/src/nginxconfig/i18n/de/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/de/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/index.js b/src/nginxconfig/i18n/de/templates/index.js index 5b197b43..f6388fcb 100644 --- a/src/nginxconfig/i18n/de/templates/index.js +++ b/src/nginxconfig/i18n/de/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -27,9 +27,9 @@ THE SOFTWARE. import app from './app.js'; import setup from './setup.js'; import footer from './footer.js'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js index 6502dc79..84c4f059 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/download.js b/src/nginxconfig/i18n/de/templates/setup_sections/download.js index d21d2dd0..6ef838c4 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js index 16d04b59..f93ecbd8 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/index.js b/src/nginxconfig/i18n/de/templates/setup_sections/index.js index 98b0da5c..3c4e22ab 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js index f8c589e7..f7ab22d5 100644 --- a/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/de/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/en/index.js b/src/nginxconfig/i18n/en/index.js index 0f2532cd..c4a6fc65 100644 --- a/src/nginxconfig/i18n/en/index.js +++ b/src/nginxconfig/i18n/en/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/en/templates/app.js b/src/nginxconfig/i18n/en/templates/app.js index 66fbfc17..29989436 100644 --- a/src/nginxconfig/i18n/en/templates/app.js +++ b/src/nginxconfig/i18n/en/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/en/templates/callouts/index.js b/src/nginxconfig/i18n/en/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/en/templates/callouts/index.js +++ b/src/nginxconfig/i18n/en/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/https.js b/src/nginxconfig/i18n/en/templates/domain_sections/https.js index 2c62306a..30c32918 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/https.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`, diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/index.js b/src/nginxconfig/i18n/en/templates/domain_sections/index.js index bcec501c..c28e1c53 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/logging.js b/src/nginxconfig/i18n/en/templates/domain_sections/logging.js index 342d4b99..d0b89bbf 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'by domain', diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/php.js b/src/nginxconfig/i18n/en/templates/domain_sections/php.js index bb8414da..03e30e38 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} is disabled.`, diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/python.js b/src/nginxconfig/i18n/en/templates/domain_sections/python.js index d04b4128..6f03bd01 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} is disabled.`, diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js index 8cd8ecf3..0f988fc2 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} is disabled.`, diff --git a/src/nginxconfig/i18n/en/templates/domain_sections/routing.js b/src/nginxconfig/i18n/en/templates/domain_sections/routing.js index e3bbc81e..e29b2507 100644 --- a/src/nginxconfig/i18n/en/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/en/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Fallback routing', diff --git a/src/nginxconfig/i18n/en/templates/global_sections/docker.js b/src/nginxconfig/i18n/en/templates/global_sections/docker.js index 510111bf..9f43d94b 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/en/templates/global_sections/https.js b/src/nginxconfig/i18n/en/templates/global_sections/https.js index 58157687..f03ba0a7 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/en/templates/global_sections/index.js b/src/nginxconfig/i18n/en/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/en/templates/global_sections/logging.js b/src/nginxconfig/i18n/en/templates/global_sections/logging.js index d31315aa..6f0e60ca 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} file not found error logging in`, diff --git a/src/nginxconfig/i18n/en/templates/global_sections/nginx.js b/src/nginxconfig/i18n/en/templates/global_sections/nginx.js index 99b56060..571530c9 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx} config directory`, diff --git a/src/nginxconfig/i18n/en/templates/global_sections/performance.js b/src/nginxconfig/i18n/en/templates/global_sections/performance.js index 316215a7..c5167f4b 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', diff --git a/src/nginxconfig/i18n/en/templates/global_sections/python.js b/src/nginxconfig/i18n/en/templates/global_sections/python.js index 24b2d306..1e7762b8 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} server`, diff --git a/src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js index 1d0d8bd0..810f828f 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; diff --git a/src/nginxconfig/i18n/en/templates/global_sections/security.js b/src/nginxconfig/i18n/en/templates/global_sections/security.js index fec968f8..4a672e21 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; is often required in the Content Security Policy to allow the admin panel to function correctly.`, diff --git a/src/nginxconfig/i18n/en/templates/global_sections/tools.js b/src/nginxconfig/i18n/en/templates/global_sections/tools.js index 6ea74ea0..b586881c 100644 --- a/src/nginxconfig/i18n/en/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/en/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Modularized structure', diff --git a/src/nginxconfig/i18n/en/templates/index.js b/src/nginxconfig/i18n/en/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/en/templates/index.js +++ b/src/nginxconfig/i18n/en/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js index 68dd0f4d..d0941b73 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/download.js b/src/nginxconfig/i18n/en/templates/setup_sections/download.js index e957098c..d820e8d4 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Download the generated config:', diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/en/templates/setup_sections/go_live.js index 2fe8e0dc..419c675b 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: "Let's go live!", diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/index.js b/src/nginxconfig/i18n/en/templates/setup_sections/index.js index 378a5cf3..3c4e22ab 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/en/templates/setup_sections/ssl.js index cfe7f6f4..ae87ae12 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/es/index.js b/src/nginxconfig/i18n/es/index.js index dc222a9f..c4a6fc65 100644 --- a/src/nginxconfig/i18n/es/index.js +++ b/src/nginxconfig/i18n/es/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/es/templates/app.js b/src/nginxconfig/i18n/es/templates/app.js index d10755b0..b4136390 100644 --- a/src/nginxconfig/i18n/es/templates/app.js +++ b/src/nginxconfig/i18n/es/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/es/templates/callouts/index.js b/src/nginxconfig/i18n/es/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/es/templates/callouts/index.js +++ b/src/nginxconfig/i18n/es/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/https.js b/src/nginxconfig/i18n/es/templates/domain_sections/https.js index 93207021..9edb6fb6 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} conexiones ${common.ssl} encriptadas`, diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/index.js b/src/nginxconfig/i18n/es/templates/domain_sections/index.js index 8549b319..c28e1c53 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/logging.js b/src/nginxconfig/i18n/es/templates/domain_sections/logging.js index e30750e2..20059dca 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'por dominio', diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/php.js b/src/nginxconfig/i18n/es/templates/domain_sections/php.js index c0f82ac1..75f10daa 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} esta desactivado.`, diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/python.js b/src/nginxconfig/i18n/es/templates/domain_sections/python.js index 4c575ccd..e71757aa 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} esta desactivado.`, diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js index b13ca31d..ad3e9413 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} esta desactivado.`, diff --git a/src/nginxconfig/i18n/es/templates/domain_sections/routing.js b/src/nginxconfig/i18n/es/templates/domain_sections/routing.js index 96e9ba06..15fee69c 100644 --- a/src/nginxconfig/i18n/es/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/es/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Enrutamiento alternativo', diff --git a/src/nginxconfig/i18n/es/templates/global_sections/docker.js b/src/nginxconfig/i18n/es/templates/global_sections/docker.js index 397a46c9..26b440dd 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/es/templates/global_sections/https.js b/src/nginxconfig/i18n/es/templates/global_sections/https.js index 16412413..e257d2fe 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/es/templates/global_sections/index.js b/src/nginxconfig/i18n/es/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/es/templates/global_sections/logging.js b/src/nginxconfig/i18n/es/templates/global_sections/logging.js index 96537025..d64fe0a9 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} el registro de error de archivo no encontrado`, diff --git a/src/nginxconfig/i18n/es/templates/global_sections/nginx.js b/src/nginxconfig/i18n/es/templates/global_sections/nginx.js index c1c4efb4..0755c45f 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `Directorio de configuración de ${common.nginx}`, diff --git a/src/nginxconfig/i18n/es/templates/global_sections/performance.js b/src/nginxconfig/i18n/es/templates/global_sections/performance.js index 0fb7ab91..ff6552f8 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/es/templates/global_sections/python.js b/src/nginxconfig/i18n/es/templates/global_sections/python.js index 6541528a..460b41aa 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `Servidor ${common.python}`, diff --git a/src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js index 785033c9..441f12e5 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Cabeceras X-Forwarded-* Legacy'; diff --git a/src/nginxconfig/i18n/es/templates/global_sections/security.js b/src/nginxconfig/i18n/es/templates/global_sections/security.js index 38ae35a8..09c8ddce 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Cuando usan ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; es usualmente requerido en el Content Security Policy para permitir que el panel de administrador funcione correctamente.`, diff --git a/src/nginxconfig/i18n/es/templates/global_sections/tools.js b/src/nginxconfig/i18n/es/templates/global_sections/tools.js index fc35be4b..c4382b16 100644 --- a/src/nginxconfig/i18n/es/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/es/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Estructura modularizada', diff --git a/src/nginxconfig/i18n/es/templates/index.js b/src/nginxconfig/i18n/es/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/es/templates/index.js +++ b/src/nginxconfig/i18n/es/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/es/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/es/templates/setup_sections/certbot.js index 30579f91..2d6472d4 100644 --- a/src/nginxconfig/i18n/es/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/es/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/es/templates/setup_sections/download.js b/src/nginxconfig/i18n/es/templates/setup_sections/download.js index c338cfc6..550279d1 100644 --- a/src/nginxconfig/i18n/es/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/es/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; // Here is a HACK, because the real traslation is: "y subirla en la carpeta '/etc/nginx' de tu servidor. " // but the HTML order of the templates are wrong: "y subirla en el servidor '/etc/nginx' carpeta." diff --git a/src/nginxconfig/i18n/es/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/es/templates/setup_sections/go_live.js index 9372903a..b82bac6c 100644 --- a/src/nginxconfig/i18n/es/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/es/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: '¡Vamos a desplegar!', diff --git a/src/nginxconfig/i18n/es/templates/setup_sections/index.js b/src/nginxconfig/i18n/es/templates/setup_sections/index.js index f64fc18e..3c4e22ab 100644 --- a/src/nginxconfig/i18n/es/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/es/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/es/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/es/templates/setup_sections/ssl.js index 0f65962e..57952748 100644 --- a/src/nginxconfig/i18n/es/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/es/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/fa/index.js b/src/nginxconfig/i18n/fa/index.js index d7f3aef8..c4a6fc65 100644 --- a/src/nginxconfig/i18n/fa/index.js +++ b/src/nginxconfig/i18n/fa/index.js @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/fa/templates/app.js b/src/nginxconfig/i18n/fa/templates/app.js index abf94c44..00fdb61a 100644 --- a/src/nginxconfig/i18n/fa/templates/app.js +++ b/src/nginxconfig/i18n/fa/templates/app.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}پیکربندی`, diff --git a/src/nginxconfig/i18n/fa/templates/callouts/index.js b/src/nginxconfig/i18n/fa/templates/callouts/index.js index 7f806adc..edcb0891 100644 --- a/src/nginxconfig/i18n/fa/templates/callouts/index.js +++ b/src/nginxconfig/i18n/fa/templates/callouts/index.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js index 5235ab21..e2740039 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصال‌های رمزگذاری شده`, diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js index 19288f4b..c28e1c53 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js index 7780bfce..da073a28 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'به وسیلهٔ دامنه', diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js index 8f06b818..275cc864 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} غیرفعال است.`, diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js index fb407658..2190368c 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} غیرفعال است.`, diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js index 4705ab77..ed4c5e86 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`, diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js index f904a044..d3624ca9 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'مسیریابی پشتیبانی شده', diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js index 718862e1..2a0b90f0 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/https.js b/src/nginxconfig/i18n/fa/templates/global_sections/https.js index 18d08321..ce052e92 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/https.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/index.js b/src/nginxconfig/i18n/fa/templates/global_sections/index.js index 19e26f8f..72fcc71f 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/index.js @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js index 91789277..1e841cff 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} ثبت خطاهای فایل پیدا نشد در ورودی`, diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js index ddf0162f..21b6ee0b 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx} دایرکتوری پیکربندی`, diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js index 784f3c8d..f84f2612 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'غیرفعال کردن حافظه‌پنهان HTML', diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/python.js b/src/nginxconfig/i18n/fa/templates/global_sections/python.js index 29802d35..ca1b0b1e 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/python.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} سرور`, diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js index 0d46ccc1..eb0bcc4a 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/security.js b/src/nginxconfig/i18n/fa/templates/global_sections/security.js index 31607794..6989733d 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/security.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `هنگام استفاده از ${common.wordPress}، script-src 'self' 'unsafe-inline' 'unsafe-eval'; اغلب برای اجازه به پنل مدیریت برای عملکرد صحیح، در سیاست امنیتی محتوا مورد نیاز است.`, diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js index d9d2f7f1..154704e2 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'ساختار ماژولار', diff --git a/src/nginxconfig/i18n/fa/templates/index.js b/src/nginxconfig/i18n/fa/templates/index.js index 3a705361..f6388fcb 100644 --- a/src/nginxconfig/i18n/fa/templates/index.js +++ b/src/nginxconfig/i18n/fa/templates/index.js @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js index a6e727cd..13f0b8ef 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js index 9c1f08a7..fe9daf7c 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'دانلود پیکربندی تولید شده:', diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js index 6dae4eeb..b3c0a577 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: 'بیایید زنده شویم!', diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js index 9bc34e8c..3c4e22ab 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js index ea911840..5880f620 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/fr/index.js b/src/nginxconfig/i18n/fr/index.js index dc222a9f..c4a6fc65 100644 --- a/src/nginxconfig/i18n/fr/index.js +++ b/src/nginxconfig/i18n/fr/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/fr/templates/app.js b/src/nginxconfig/i18n/fr/templates/app.js index 3d516512..056f15bc 100644 --- a/src/nginxconfig/i18n/fr/templates/app.js +++ b/src/nginxconfig/i18n/fr/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/fr/templates/callouts/index.js b/src/nginxconfig/i18n/fr/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/fr/templates/callouts/index.js +++ b/src/nginxconfig/i18n/fr/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/https.js b/src/nginxconfig/i18n/fr/templates/domain_sections/https.js index 992c4fd6..051571a9 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} les connexions ${common.ssl}`, diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/index.js b/src/nginxconfig/i18n/fr/templates/domain_sections/index.js index 8549b319..c28e1c53 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js index 9b46e2cc..f162dd75 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'par domaine', diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/php.js b/src/nginxconfig/i18n/fr/templates/domain_sections/php.js index 41e89df9..e843de3c 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} est désactivé.`, diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/python.js b/src/nginxconfig/i18n/fr/templates/domain_sections/python.js index 2d7debc3..0676a88b 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} est désactivé.`, diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js index 566c7fc0..a54396a1 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `Le ${common.reverseProxyLower} est désactivé.`, diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js index cd95dd5d..37a90a10 100644 --- a/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Routes par défaut', diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/docker.js b/src/nginxconfig/i18n/fr/templates/global_sections/docker.js index 57862299..b1d497ef 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/https.js b/src/nginxconfig/i18n/fr/templates/global_sections/https.js index 23576239..f568ccda 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/index.js b/src/nginxconfig/i18n/fr/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/logging.js b/src/nginxconfig/i18n/fr/templates/global_sections/logging.js index a401765a..bac7a867 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} les erreurs de fichiers introuvables lors de la journalisation`, diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js index f71543a0..9b5ef94b 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `Dossier de configuration ${common.nginx}`, diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/performance.js b/src/nginxconfig/i18n/fr/templates/global_sections/performance.js index acfd86c5..2ce9d4ca 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/python.js b/src/nginxconfig/i18n/fr/templates/global_sections/python.js index c9834204..c8a5f5c9 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `Serveur ${common.python}`, diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js index f0ac2aa5..44267c03 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'En-têtes dépréciés X-Forwarded-*'; diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/security.js b/src/nginxconfig/i18n/fr/templates/global_sections/security.js index 3ddc4af4..90084200 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Lors de l'utilisation de ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; est fréquemment exigé par la Politique de Sécurité du Contenu pour assurer le bon fonctionnement du panneau d'administration.`, diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/tools.js b/src/nginxconfig/i18n/fr/templates/global_sections/tools.js index 2a513392..f8c678dd 100644 --- a/src/nginxconfig/i18n/fr/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/fr/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Structure modulaire', diff --git a/src/nginxconfig/i18n/fr/templates/index.js b/src/nginxconfig/i18n/fr/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/fr/templates/index.js +++ b/src/nginxconfig/i18n/fr/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js index 5161c564..477454a5 100644 --- a/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/download.js b/src/nginxconfig/i18n/fr/templates/setup_sections/download.js index 05a95782..6dab91d0 100644 --- a/src/nginxconfig/i18n/fr/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/fr/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Téléchargez la configuration générée:', diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js index c586b5c2..ecb93a52 100644 --- a/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: "C'est en ligne!", diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/index.js b/src/nginxconfig/i18n/fr/templates/setup_sections/index.js index f64fc18e..3c4e22ab 100644 --- a/src/nginxconfig/i18n/fr/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/fr/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js index bdc3c0b3..85f926dc 100644 --- a/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/ja/index.js b/src/nginxconfig/i18n/ja/index.js index 38c99a12..c4a6fc65 100644 --- a/src/nginxconfig/i18n/ja/index.js +++ b/src/nginxconfig/i18n/ja/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/ja/templates/app.js b/src/nginxconfig/i18n/ja/templates/app.js index b5d24670..cd782364 100644 --- a/src/nginxconfig/i18n/ja/templates/app.js +++ b/src/nginxconfig/i18n/ja/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}設定`, diff --git a/src/nginxconfig/i18n/ja/templates/callouts/index.js b/src/nginxconfig/i18n/ja/templates/callouts/index.js index af823bb2..edcb0891 100644 --- a/src/nginxconfig/i18n/ja/templates/callouts/index.js +++ b/src/nginxconfig/i18n/ja/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/https.js b/src/nginxconfig/i18n/ja/templates/domain_sections/https.js index 966066f5..c792be7e 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `暗号化された ${common.ssl} 接続を${common.enable}`, diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/index.js b/src/nginxconfig/i18n/ja/templates/domain_sections/index.js index 8bedbae4..c28e1c53 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js b/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js index bcefbefa..f7534679 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: '(ドメインごと)', diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/php.js b/src/nginxconfig/i18n/ja/templates/domain_sections/php.js index 12238b9b..974dd8e0 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} は無効です。`, diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/python.js b/src/nginxconfig/i18n/ja/templates/domain_sections/python.js index ebe13422..768c3dbe 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} は無効です。`, diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js index e4dcedff..81ddb9cb 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} は無効です。`, diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js b/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js index 719fe113..cb534324 100644 --- a/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'フォールバックルーティング', diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/docker.js b/src/nginxconfig/i18n/ja/templates/global_sections/docker.js index f51bb0e3..48e70db7 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/https.js b/src/nginxconfig/i18n/ja/templates/global_sections/https.js index 4d8d494d..bfea7ad6 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/index.js b/src/nginxconfig/i18n/ja/templates/global_sections/index.js index b34c0bfd..72fcc71f 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/logging.js b/src/nginxconfig/i18n/ja/templates/global_sections/logging.js index 990d68a4..23b5385e 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `FILE NOT FOUND エラーのロギングを${common.enable}`, diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js b/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js index cbb6ae40..eb99856b 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx} 設定ディレクトリ`, diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/performance.js b/src/nginxconfig/i18n/ja/templates/global_sections/performance.js index 1445c97d..aa85b9f4 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'HTML キャッシュの無効化', diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/python.js b/src/nginxconfig/i18n/ja/templates/global_sections/python.js index e2eba652..e4f517a1 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} サーバ`, diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js index ede7c875..b289abda 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/security.js b/src/nginxconfig/i18n/ja/templates/global_sections/security.js index 2ff55936..7c909408 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `${common.wordPress} を利用している場合、 script-src 'self' 'unsafe-inline' 'unsafe-eval'; は、管理画面を正しく機能させるために、コンテンツセキュリティポリシーで要求されることが多いようです。`, diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/tools.js b/src/nginxconfig/i18n/ja/templates/global_sections/tools.js index fb727a33..385f3bce 100644 --- a/src/nginxconfig/i18n/ja/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/ja/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'モジュール化された構造', diff --git a/src/nginxconfig/i18n/ja/templates/index.js b/src/nginxconfig/i18n/ja/templates/index.js index f74847de..f6388fcb 100644 --- a/src/nginxconfig/i18n/ja/templates/index.js +++ b/src/nginxconfig/i18n/ja/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js index 59a624ef..b211238d 100644 --- a/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/download.js b/src/nginxconfig/i18n/ja/templates/setup_sections/download.js index 68963c23..417debf5 100644 --- a/src/nginxconfig/i18n/ja/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/ja/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: '生成された設定ファイルをダウンロードします:', diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js index 39623f52..a297bd03 100644 --- a/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: '起動しよう!', diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/index.js b/src/nginxconfig/i18n/ja/templates/setup_sections/index.js index 8008ab48..3c4e22ab 100644 --- a/src/nginxconfig/i18n/ja/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/ja/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js index cb4c0600..8f0c1623 100644 --- a/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/pl/index.js b/src/nginxconfig/i18n/pl/index.js index dc222a9f..c4a6fc65 100644 --- a/src/nginxconfig/i18n/pl/index.js +++ b/src/nginxconfig/i18n/pl/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/pl/templates/app.js b/src/nginxconfig/i18n/pl/templates/app.js index 137fe143..d2ed3257 100644 --- a/src/nginxconfig/i18n/pl/templates/app.js +++ b/src/nginxconfig/i18n/pl/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/pl/templates/callouts/index.js b/src/nginxconfig/i18n/pl/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/pl/templates/callouts/index.js +++ b/src/nginxconfig/i18n/pl/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/https.js b/src/nginxconfig/i18n/pl/templates/domain_sections/https.js index 7e233b0a..71bd9b33 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} szyfrowane połączenie ${common.ssl}`, diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/index.js b/src/nginxconfig/i18n/pl/templates/domain_sections/index.js index 8549b319..c28e1c53 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js b/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js index 2bab9ee8..1c69a37c 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'wg. domen', diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/php.js b/src/nginxconfig/i18n/pl/templates/domain_sections/php.js index e0d60eac..714a6521 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} jest wyłączony.`, diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/python.js b/src/nginxconfig/i18n/pl/templates/domain_sections/python.js index 8a4d6ed5..efaadee3 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} jest wyłączony.`, diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js index fb6e2ce1..85f78821 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} jest wyłączone.`, diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js b/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js index b9c9bd61..efd65b91 100644 --- a/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Routing rezerwowy', diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/docker.js b/src/nginxconfig/i18n/pl/templates/global_sections/docker.js index 484dbe46..b89f2cc7 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/https.js b/src/nginxconfig/i18n/pl/templates/global_sections/https.js index 9c029c4f..3830209a 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/index.js b/src/nginxconfig/i18n/pl/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/logging.js b/src/nginxconfig/i18n/pl/templates/global_sections/logging.js index f830ca13..1daa7419 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} logowanie błędów o nieznalezionych plikach`, diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js b/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js index 63d351fb..cce21d08 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `ścieżka konfiguracji ${common.nginx}`, diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/performance.js b/src/nginxconfig/i18n/pl/templates/global_sections/performance.js index 45429f84..d93e2d4b 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/python.js b/src/nginxconfig/i18n/pl/templates/global_sections/python.js index d2351bf5..d29dc23e 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `Serwer ${common.python}`, diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js index b098b90f..a89ca27b 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'nagłówka X-Forwarded-* starego typu'; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/security.js b/src/nginxconfig/i18n/pl/templates/global_sections/security.js index d65e2475..13a25d4a 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Korzystając z ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; jest często wymagany w Content Security Policy aby panel administracyjny działał poprawnie.`, diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/tools.js b/src/nginxconfig/i18n/pl/templates/global_sections/tools.js index 9aecd476..d556659f 100644 --- a/src/nginxconfig/i18n/pl/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/pl/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Struktura modułowa', diff --git a/src/nginxconfig/i18n/pl/templates/index.js b/src/nginxconfig/i18n/pl/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/pl/templates/index.js +++ b/src/nginxconfig/i18n/pl/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js index 91c26b32..91fbc959 100644 --- a/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/download.js b/src/nginxconfig/i18n/pl/templates/setup_sections/download.js index ff5c656e..013ffef0 100644 --- a/src/nginxconfig/i18n/pl/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Pobierz wygenerowany konfig:', diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js index 6002d1d2..30ba2f58 100644 --- a/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: 'Do dzieła!', diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/index.js b/src/nginxconfig/i18n/pl/templates/setup_sections/index.js index f64fc18e..3c4e22ab 100644 --- a/src/nginxconfig/i18n/pl/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js index 75dab863..888abcec 100644 --- a/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/pt-br/index.js b/src/nginxconfig/i18n/pt-br/index.js index 0f2532cd..c4a6fc65 100644 --- a/src/nginxconfig/i18n/pt-br/index.js +++ b/src/nginxconfig/i18n/pt-br/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/pt-br/templates/app.js b/src/nginxconfig/i18n/pt-br/templates/app.js index 03002232..b38bd9f5 100644 --- a/src/nginxconfig/i18n/pt-br/templates/app.js +++ b/src/nginxconfig/i18n/pt-br/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Configuração`, diff --git a/src/nginxconfig/i18n/pt-br/templates/callouts/index.js b/src/nginxconfig/i18n/pt-br/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/pt-br/templates/callouts/index.js +++ b/src/nginxconfig/i18n/pt-br/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/https.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/https.js index 00d7f104..4457dfbf 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} conexões ${common.ssl} criptografadas`, diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/index.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/index.js index bcec501c..c28e1c53 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/logging.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/logging.js index 378acad1..4b00eee2 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'por domínio', diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/php.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/php.js index 0fcff9dc..11ce6b4e 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `O ${common.php} está desabilitado.`, diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/python.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/python.js index 179590af..a3bb02ec 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `O ${common.python} está desabilitado.`, diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/reverse_proxy.js index 1234f5eb..2500d8a6 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `O ${common.reverseProxy} está desabilitado.`, diff --git a/src/nginxconfig/i18n/pt-br/templates/domain_sections/routing.js b/src/nginxconfig/i18n/pt-br/templates/domain_sections/routing.js index 4a2eaef8..65df70df 100644 --- a/src/nginxconfig/i18n/pt-br/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/pt-br/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Roteamento alternativo', diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/docker.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/docker.js index 43de9ba6..2a5b5815 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/https.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/https.js index e9a33e9f..c121e3dc 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/index.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/logging.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/logging.js index 418578b8..e076e6a7 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} erro de arquivo não encontrado ao fazer login`, diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/nginx.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/nginx.js index d6601d99..06a784ba 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `Diretório de configuração do ${common.nginx}`, diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/performance.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/performance.js index f6dd1f01..788fe419 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/python.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/python.js index e04f7b0e..75beef8b 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `Servidor ${common.python}`, diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/reverse_proxy.js index 3784f64b..c00008ea 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/security.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/security.js index 14bd1d16..6efb2ef5 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Ao utilizar o ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; é frequentemente exigido na Política de Segurança de Conteúdo para permitir que o painel de administração funcione corretamente.`, diff --git a/src/nginxconfig/i18n/pt-br/templates/global_sections/tools.js b/src/nginxconfig/i18n/pt-br/templates/global_sections/tools.js index c77194fd..f62c69fd 100644 --- a/src/nginxconfig/i18n/pt-br/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/pt-br/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Estrutura modularizada', diff --git a/src/nginxconfig/i18n/pt-br/templates/index.js b/src/nginxconfig/i18n/pt-br/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/pt-br/templates/index.js +++ b/src/nginxconfig/i18n/pt-br/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/pt-br/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/pt-br/templates/setup_sections/certbot.js index c9d1c39b..ac0ab182 100644 --- a/src/nginxconfig/i18n/pt-br/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/pt-br/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/pt-br/templates/setup_sections/download.js b/src/nginxconfig/i18n/pt-br/templates/setup_sections/download.js index 850485a5..c699b461 100644 --- a/src/nginxconfig/i18n/pt-br/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/pt-br/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Baixe a configuração gerada:', diff --git a/src/nginxconfig/i18n/pt-br/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/pt-br/templates/setup_sections/go_live.js index 859bc78a..23853e2c 100644 --- a/src/nginxconfig/i18n/pt-br/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/pt-br/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: 'Vamos colocar no ar!', diff --git a/src/nginxconfig/i18n/pt-br/templates/setup_sections/index.js b/src/nginxconfig/i18n/pt-br/templates/setup_sections/index.js index 378a5cf3..3c4e22ab 100644 --- a/src/nginxconfig/i18n/pt-br/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/pt-br/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/pt-br/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/pt-br/templates/setup_sections/ssl.js index 4146cfc3..989a2214 100644 --- a/src/nginxconfig/i18n/pt-br/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/pt-br/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/ru/index.js b/src/nginxconfig/i18n/ru/index.js index 0f2532cd..fbcf1a0b 100644 --- a/src/nginxconfig/i18n/ru/index.js +++ b/src/nginxconfig/i18n/ru/index.js @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/ru/templates/app.js b/src/nginxconfig/i18n/ru/templates/app.js index 119b77fb..0c5c4bec 100644 --- a/src/nginxconfig/i18n/ru/templates/app.js +++ b/src/nginxconfig/i18n/ru/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/ru/templates/callouts/index.js b/src/nginxconfig/i18n/ru/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/ru/templates/callouts/index.js +++ b/src/nginxconfig/i18n/ru/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/https.js b/src/nginxconfig/i18n/ru/templates/domain_sections/https.js index 5c8a6242..ddfb2316 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable} зашифрованные ${common.ssl} соединения`, diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/index.js b/src/nginxconfig/i18n/ru/templates/domain_sections/index.js index bcec501c..c28e1c53 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/logging.js b/src/nginxconfig/i18n/ru/templates/domain_sections/logging.js index 596f8657..2ed93712 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/logging.js @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: 'по домену', diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/php.js b/src/nginxconfig/i18n/ru/templates/domain_sections/php.js index 5b72943c..cfdab3b8 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} выключен.`, diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/python.js b/src/nginxconfig/i18n/ru/templates/domain_sections/python.js index 0866f3ce..188fd5b3 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} выключен.`, diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/ru/templates/domain_sections/reverse_proxy.js index 728aa5a1..0f61376c 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} выключено.`, diff --git a/src/nginxconfig/i18n/ru/templates/domain_sections/routing.js b/src/nginxconfig/i18n/ru/templates/domain_sections/routing.js index 5faf415c..2ca73468 100644 --- a/src/nginxconfig/i18n/ru/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/ru/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: 'Fallback маршрутизация', diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/docker.js b/src/nginxconfig/i18n/ru/templates/global_sections/docker.js index 89fbc844..4ad67603 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/https.js b/src/nginxconfig/i18n/ru/templates/global_sections/https.js index 140c2507..31611816 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/index.js b/src/nginxconfig/i18n/ru/templates/global_sections/index.js index 3d3432f9..72fcc71f 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/logging.js b/src/nginxconfig/i18n/ru/templates/global_sections/logging.js index 5936a217..111859e8 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable} логирование ошибок для файлов, которые не были найдены при запросе`, diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/nginx.js b/src/nginxconfig/i18n/ru/templates/global_sections/nginx.js index b1adea7d..ed873ad4 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `Директория конфигурации ${common.nginx}`, diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/performance.js b/src/nginxconfig/i18n/ru/templates/global_sections/performance.js index fd8323c0..063ad2d1 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/python.js b/src/nginxconfig/i18n/ru/templates/global_sections/python.js index 01e68023..f25e7284 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} сервер`, diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/ru/templates/global_sections/reverse_proxy.js index e227e2c0..d8fda6e8 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = 'Legacy X-Forwarded-* headers'; // TODO: translate diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/security.js b/src/nginxconfig/i18n/ru/templates/global_sections/security.js index 6ad03dc4..887ea87a 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Во время использования ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; часто требуется в Content Security Policy, чтобы панель администратора работала исправно.`, diff --git a/src/nginxconfig/i18n/ru/templates/global_sections/tools.js b/src/nginxconfig/i18n/ru/templates/global_sections/tools.js index 5be1a451..1e994dea 100644 --- a/src/nginxconfig/i18n/ru/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/ru/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: 'Модульная структура', diff --git a/src/nginxconfig/i18n/ru/templates/index.js b/src/nginxconfig/i18n/ru/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/ru/templates/index.js +++ b/src/nginxconfig/i18n/ru/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/ru/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/ru/templates/setup_sections/certbot.js index 4497c147..5b311e7f 100644 --- a/src/nginxconfig/i18n/ru/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/ru/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/ru/templates/setup_sections/download.js b/src/nginxconfig/i18n/ru/templates/setup_sections/download.js index 0ea63364..e91217ec 100644 --- a/src/nginxconfig/i18n/ru/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/ru/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: 'Скачать сгенерированную конфигурацию:', diff --git a/src/nginxconfig/i18n/ru/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/ru/templates/setup_sections/go_live.js index 46b667a5..be96c9e2 100644 --- a/src/nginxconfig/i18n/ru/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/ru/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: 'Время запуска!', diff --git a/src/nginxconfig/i18n/ru/templates/setup_sections/index.js b/src/nginxconfig/i18n/ru/templates/setup_sections/index.js index 378a5cf3..3c4e22ab 100644 --- a/src/nginxconfig/i18n/ru/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/ru/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/ru/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/ru/templates/setup_sections/ssl.js index f17da79b..e595ed51 100644 --- a/src/nginxconfig/i18n/ru/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/ru/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/setup.js b/src/nginxconfig/i18n/setup.js index f026bcec..93fd21d1 100644 --- a/src/nginxconfig/i18n/setup.js +++ b/src/nginxconfig/i18n/setup.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/verify.js b/src/nginxconfig/i18n/verify.js index f70261fe..2dca00af 100644 --- a/src/nginxconfig/i18n/verify.js +++ b/src/nginxconfig/i18n/verify.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/zh-cn/index.js b/src/nginxconfig/i18n/zh-cn/index.js index 0f2532cd..c4a6fc65 100644 --- a/src/nginxconfig/i18n/zh-cn/index.js +++ b/src/nginxconfig/i18n/zh-cn/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/app.js b/src/nginxconfig/i18n/zh-cn/templates/app.js index 14b37bcb..7f98b075 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/app.js +++ b/src/nginxconfig/i18n/zh-cn/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx} 配置`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/callouts/index.js b/src/nginxconfig/i18n/zh-cn/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/callouts/index.js +++ b/src/nginxconfig/i18n/zh-cn/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js index 7f959903..ededa174 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable}加密的${common.ssl}连接`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/index.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/index.js index bcec501c..c28e1c53 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js index c0818d6a..8753c439 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: '在此站点', diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/php.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/php.js index 72ab7973..81c48df5 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php}已禁用。`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/python.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/python.js index 5a0867f9..8b159e3d 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python}已禁用。`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/reverse_proxy.js index f5c161fd..79eb84d8 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy}已禁用。`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/routing.js b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/routing.js index 026926cb..c5c10b67 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/zh-cn/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: '后备路由', diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/docker.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/docker.js index fafa6606..d4bb4858 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/https.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/https.js index c5592369..d627f070 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/index.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/index.js index 22ecb855..72fcc71f 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js index 74f1dbab..e2ee53e4 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable}“文件未找到”错误日志:`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/nginx.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/nginx.js index 8f59cdc4..aebe7a99 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx}配置目录`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/performance.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/performance.js index 5b493ae9..174bd68b 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: '禁用 HTML 缓存', diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/python.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/python.js index 01ec9fa1..ffd6fb3f 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} 服务`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/reverse_proxy.js index 23491c09..4a1359cc 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = '传统 X-Forwarded-* 请求头'; diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/security.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/security.js index 4b2844d7..28b36db8 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `当使用${common.wordPress}时,script-src 'self' 'unsafe-inline' 'unsafe-eval'; 通常需要置于内容安全策略中,以确保管理面板的正常运行。`, diff --git a/src/nginxconfig/i18n/zh-cn/templates/global_sections/tools.js b/src/nginxconfig/i18n/zh-cn/templates/global_sections/tools.js index 9ffee0e7..d34eb391 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/zh-cn/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: '模块化结构', diff --git a/src/nginxconfig/i18n/zh-cn/templates/index.js b/src/nginxconfig/i18n/zh-cn/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/index.js +++ b/src/nginxconfig/i18n/zh-cn/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js index 530cd2e2..9320b279 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/download.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/download.js index 4b0d61ce..4239b002 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: '下载 生成的配置:', diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/go_live.js index 433af617..f89129a2 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: '让我们开始吧!', diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/index.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/index.js index 378a5cf3..3c4e22ab 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/ssl.js index 2c8838ec..601bc3c1 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/zh-cn/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/i18n/zh-tw/index.js b/src/nginxconfig/i18n/zh-tw/index.js index 0f2532cd..c4a6fc65 100644 --- a/src/nginxconfig/i18n/zh-tw/index.js +++ b/src/nginxconfig/i18n/zh-tw/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -26,6 +26,6 @@ THE SOFTWARE. import common from './common.js'; import languages from './languages.js'; -import templates from './templates'; +import templates from './templates/index.js'; export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/app.js b/src/nginxconfig/i18n/zh-tw/templates/app.js index dc1c1c66..63ead7a9 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/app.js +++ b/src/nginxconfig/i18n/zh-tw/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../common'; +import common from '../common.js'; export default { title: `${common.nginx}Config`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/callouts/index.js b/src/nginxconfig/i18n/zh-tw/templates/callouts/index.js index dd68947b..edcb0891 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/callouts/index.js +++ b/src/nginxconfig/i18n/zh-tw/templates/callouts/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import droplet from './droplet'; -import contribute from './contribute'; +import droplet from './droplet.js'; +import contribute from './contribute.js'; export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js index 5f450ecc..4e70bc85 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableEncryptedSslConnection: `${common.enable}加密的 ${common.ssl} 連線`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/index.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/index.js index bcec501c..c28e1c53 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import php from './php'; -import presets from './presets'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import routing from './routing'; -import server from './server'; -import restrict from './restrict'; -import onion from './onion'; +import https from './https.js'; +import logging from './logging.js'; +import php from './php.js'; +import presets from './presets.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import routing from './routing.js'; +import server from './server.js'; +import restrict from './restrict.js'; +import onion from './onion.js'; export default { https, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js index a5260b85..b56f6482 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { byDomain: '在此網域', diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js index edb9c897..660f4733 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/php.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { phpIsDisabled: `${common.php} 已停用。`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js index ce0c3197..ae7e5d0b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonIsDisabled: `${common.python} 已停用。`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js index 14adbf08..d7ecde5d 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { reverseProxyIsDisabled: `${common.reverseProxy} 已停用。`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js index 3e9fa748..44afbed7 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/zh-tw/templates/domain_sections/routing.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { fallbackRouting: '後援路由', diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js index c41c9a25..c2fd9619 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const docker = 'Docker'; const dockerfile = 'Dockerfile'; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js index fa4a043f..a3533f22 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/https.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const mozilla = 'Mozilla'; const ipv4 = 'IPv4'; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/index.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/index.js index 3d3432f9..72fcc71f 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import https from './https'; -import logging from './logging'; -import nginx from './nginx'; -import performance from './performance'; -import python from './python'; -import reverseProxy from './reverse_proxy'; -import security from './security'; -import tools from './tools'; -import docker from './docker'; +import https from './https.js'; +import logging from './logging.js'; +import nginx from './nginx.js'; +import performance from './performance.js'; +import python from './python.js'; +import reverseProxy from './reverse_proxy.js'; +import security from './security.js'; +import tools from './tools.js'; +import docker from './docker.js'; export default { https, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js index bb4c064c..9b2ce6d1 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/logging.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { enableFileNotFoundErrorLogging: `${common.enable}「找不到檔案」錯誤日誌:`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js index d21e4cb7..3be90b7b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/nginx.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { nginxConfigDirectory: `${common.nginx} 設定目錄`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js index 0db7ae7d..3bd2e965 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/performance.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { disableHtmlCaching: 'Disable HTML caching', // TODO: translate diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js index 8c683f54..6edfe62e 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/python.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { pythonServer: `${common.python} 服務`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js index ed49c8d0..b0810b93 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/reverse_proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const legacyXForwarded = '傳統 X-Forwarded-* 標頭'; diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js index 5a1df085..f98d3b33 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/security.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `使用 ${common.wordPress} 時,通常需在 CSP 中加入 script-src 'self' 'unsafe-inline' 'unsafe-eval';,以使管理面板正常運作。`, diff --git a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js index e581305f..fd37074b 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/zh-tw/templates/global_sections/tools.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { modularizedStructure: '模組化結構', diff --git a/src/nginxconfig/i18n/zh-tw/templates/index.js b/src/nginxconfig/i18n/zh-tw/templates/index.js index d9467454..f6388fcb 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/index.js +++ b/src/nginxconfig/i18n/zh-tw/templates/index.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import app from './app'; -import setup from './setup'; -import footer from './footer'; -import domainSections from './domain_sections'; -import globalSections from './global_sections'; -import setupSections from './setup_sections'; -import callouts from './callouts'; +import app from './app.js'; +import setup from './setup.js'; +import footer from './footer.js'; +import domainSections from './domain_sections/index.js'; +import globalSections from './global_sections/index.js'; +import setupSections from './setup_sections/index.js'; +import callouts from './callouts/index.js'; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js index f597d5d4..249a8dad 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2023 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; const certbot = 'Certbot'; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js index e726f8e3..ef43422f 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/download.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { downloadTheGeneratedConfig: '下載產生的設定:', diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js index f4efdde1..5e261920 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/go_live.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { letsGoLive: '好戲上場!', diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/index.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/index.js index 378a5cf3..3c4e22ab 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/index.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import certbot from './certbot'; -import download from './download'; -import goLive from './go_live'; -import ssl from './ssl'; +import certbot from './certbot.js'; +import download from './download.js'; +import goLive from './go_live.js'; +import ssl from './ssl.js'; export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js index 2fbc6ef2..cdeef16f 100644 --- a/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/zh-tw/templates/setup_sections/ssl.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -import common from '../../common'; +import common from '../../common.js'; export default { generateDiffieHellmanKeysByRunningThisCommandOnYourServer: diff --git a/src/nginxconfig/mount.js b/src/nginxconfig/mount.js index 9350ed72..6b0e5876 100644 --- a/src/nginxconfig/mount.js +++ b/src/nginxconfig/mount.js @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -30,7 +30,7 @@ import 'vue-select/dist/vue-select.css'; import { createApp } from 'vue'; import './util/prism_bundle.js'; import { getI18n } from './i18n/setup.js'; -import App from './templates/app'; +import App from './templates/app.vue'; // Load the i18n languages and run the app getI18n().then((i18n) => { diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue index bf1f10a1..9b1c658b 100644 --- a/src/nginxconfig/templates/app.vue +++ b/src/nginxconfig/templates/app.vue @@ -1,5 +1,5 @@