Skip to content

Commit dcfa37b

Browse files
committed
chore(deps): update some dependencies
1 parent ea92fb5 commit dcfa37b

File tree

15 files changed

+649
-948
lines changed

15 files changed

+649
-948
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"babel-core": "7.0.0-bridge.0",
5959
"babel-eslint": "10.0.3",
6060
"babel-jest": "24.9.0",
61-
"conventional-changelog-cli": "2.0.28",
61+
"conventional-changelog-cli": "2.0.31",
6262
"cross-env": "6.0.3",
6363
"eslint": "6.7.2",
6464
"eslint-loader": "3.0.3",

packages/@statusfy/cli/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Inspired on https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/cli/index.js
22
const program = require('commander')
3-
const semver = require('semver')
3+
const satisfies = require('semver/functions/satisfies')
44
const { chalk, path } = require('@statusfy/common')
55

66
const packageError = (name) => {
@@ -28,7 +28,7 @@ try {
2828
const pkg = require('@statusfy/core/package.json')
2929
const requiredVersion = pkg.engines.node
3030

31-
if (!semver.satisfies(process.version, requiredVersion)) {
31+
if (!satisfies(process.version, requiredVersion)) {
3232
console.log(chalk.red(
3333
`Minimum Node version not met:\n` +
3434
`You are using Node ${process.version}, ` +

packages/@statusfy/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"homepage": "https://github.com/bazzite/statusfy#readme",
2323
"dependencies": {
2424
"commander": "4.0.1",
25-
"semver": "6.3.0"
25+
"semver": "7.1.1"
2626
},
2727
"peerDependencies": {
2828
"@statusfy/common": "0.4.3",

packages/@statusfy/common/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"dependencies": {
2424
"autoprefixer": "9.7.3",
2525
"chalk": "3.0.0",
26-
"consola": "2.11.0",
26+
"consola": "2.11.1",
2727
"cssnano": "4.1.10",
28-
"dayjs": "1.8.17",
28+
"dayjs": "1.8.18",
2929
"esm": "3.2.25",
3030
"fs-extra": "8.1.0",
3131
"gray-matter": "4.0.2",

packages/@statusfy/core/client/components/IncidentsCollapse.vue

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<template v-if="collapsed">
1717
+ {{ $t("incidents.collapse.show", { count: incidents.length }) }}
1818
</template>
19+
<!-- eslint-disable-next-line prettier/prettier -->
1920
<template v-else>
2021
- {{ $t("incidents.collapse.hide") }}
2122
</template>

packages/@statusfy/core/client/components/Subscribe.vue

+3-9
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,11 @@ export default {
142142
return results;
143143
},
144144
icalendarUrl() {
145-
return `webcal://${window.location.hostname}/calendars/scheduled.${
146-
this.$i18n.locale
147-
}.ics`;
145+
return `webcal://${window.location.hostname}/calendars/scheduled.${this.$i18n.locale}.ics`;
148146
},
149147
feedsUrls() {
150-
const atom = `//${window.location.hostname}/feeds/incidents.${
151-
this.$i18n.locale
152-
}.atom`;
153-
const rss = `//${window.location.hostname}/feeds/incidents.${
154-
this.$i18n.locale
155-
}.xml`;
148+
const atom = `//${window.location.hostname}/feeds/incidents.${this.$i18n.locale}.atom`;
149+
const rss = `//${window.location.hostname}/feeds/incidents.${this.$i18n.locale}.xml`;
156150
157151
return {
158152
atom,

packages/@statusfy/core/client/modules/statusfy/build.js

+3-9
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ module.exports = async function buildContent(nuxt, isStatic) {
3939

4040
while (currentPage <= totalPages) {
4141
const data = database.incidents(locale.code, currentPage);
42-
key = `${pathPrefix}/incidents.page-${currentPage}.${
43-
locale.code
44-
}.json`;
42+
key = `${pathPrefix}/incidents.page-${currentPage}.${locale.code}.json`;
4543

4644
compilation.assets[key] = asset(data);
4745

@@ -56,9 +54,7 @@ module.exports = async function buildContent(nuxt, isStatic) {
5654
while (currentPage <= totalPages) {
5755
const data = database.incidentsHistory(locale.code, currentPage);
5856

59-
key = `${pathPrefix}/incidents/history.page-${currentPage}.${
60-
locale.code
61-
}.json`;
57+
key = `${pathPrefix}/incidents/history.page-${currentPage}.${locale.code}.json`;
6258
compilation.assets[key] = asset(data);
6359

6460
currentPage = data.page + 1;
@@ -68,9 +64,7 @@ module.exports = async function buildContent(nuxt, isStatic) {
6864
const incidents = database.incidents(locale.code, 1, -1).incidents;
6965

7066
incidents.forEach(incident => {
71-
key = `${pathPrefix}/incidents/${incident.id}.${
72-
locale.code
73-
}.json`;
67+
key = `${pathPrefix}/incidents/${incident.id}.${locale.code}.json`;
7468
compilation.assets[key] = asset(incident);
7569
});
7670

packages/@statusfy/core/lib/config/generate.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ module.exports = function generateConfig(sourceDir, cliOptions) {
116116
});
117117
});
118118
nuxti18nModuleConfig.defaultLocale = siteConfig.defaultLocale;
119-
nuxti18nModuleConfig.detectBrowserLanguage.cookieKey = `${
120-
siteConfig.name
121-
}.lang_redirected`;
119+
nuxti18nModuleConfig.detectBrowserLanguage.cookieKey = `${siteConfig.name}.lang_redirected`;
122120
nuxti18nModuleConfig.vueI18n.fallbackLocale = siteConfig.defaultLocale;
123121
if (siteConfig.baseUrl) {
124122
nuxti18nModuleConfig.baseUrl =
@@ -136,9 +134,7 @@ module.exports = function generateConfig(sourceDir, cliOptions) {
136134

137135
nuxtConfig.workbox.runtimeCaching.forEach(runtime => {
138136
if (runtime.strategyOptions) {
139-
runtime.strategyOptions.cacheName = `${siteConfig.name}_${
140-
runtime.strategyOptions.cacheName
141-
}`;
137+
runtime.strategyOptions.cacheName = `${siteConfig.name}_${runtime.strategyOptions.cacheName}`;
142138
}
143139
});
144140

packages/@statusfy/core/lib/content/calendar.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ module.exports = async function calendar(siteConfig, lang) {
6262

6363
value = value.replace(
6464
`PRODID:${productId}`,
65-
`PRODID:${productId}\nNAME:${siteConfig.title}\nX-WR-CALNAME:${
66-
siteConfig.title
67-
}\nTIMEZONE-ID:UTC\nX-WR-TIMEZONE:UTC`
65+
`PRODID:${productId}\nNAME:${siteConfig.title}\nX-WR-CALNAME:${siteConfig.title}\nTIMEZONE-ID:UTC\nX-WR-TIMEZONE:UTC`
6866
);
6967

7068
return value;

packages/@statusfy/core/lib/update-incident.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ module.exports = async function updateIncident(sourceDir, cliOptions = {}) {
5252
name: "resolved",
5353
message: "The incident has been resolved?",
5454
async default(answers) {
55-
const { resolved } = (await getIncidentData(
56-
answers.incident.path
57-
)).data;
55+
const { resolved } = (
56+
await getIncidentData(answers.incident.path)
57+
).data;
5858
return Boolean(resolved);
5959
}
6060
},
@@ -69,9 +69,9 @@ module.exports = async function updateIncident(sourceDir, cliOptions = {}) {
6969
"major-outage"
7070
],
7171
async default(answers) {
72-
const { severity } = (await getIncidentData(
73-
answers.incident.path
74-
)).data;
72+
const { severity } = (
73+
await getIncidentData(answers.incident.path)
74+
).data;
7575
return severity;
7676
}
7777
},
@@ -88,9 +88,9 @@ module.exports = async function updateIncident(sourceDir, cliOptions = {}) {
8888
return "You must have an affected system!";
8989
},
9090
async default(answers) {
91-
const { affectedsystems } = (await getIncidentData(
92-
answers.incident.path
93-
)).data;
91+
const { affectedsystems } = (
92+
await getIncidentData(answers.incident.path)
93+
).data;
9494
return affectedsystems;
9595
}
9696
},

packages/@statusfy/core/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"dependencies": {
3737
"@fortawesome/fontawesome-svg-core": "1.2.26",
38-
"@nuxtjs/axios": "5.8.0",
38+
"@nuxtjs/axios": "5.9.0",
3939
"@nuxtjs/onesignal": "3.0.0-beta.16",
4040
"@nuxtjs/pwa": "3.0.0-beta.19",
4141
"@statusfy/common": "0.4.3",
@@ -45,22 +45,22 @@
4545
"cors": "2.8.5",
4646
"cross-env": "6.0.3",
4747
"cross-spawn": "7.0.1",
48-
"css-loader": "3.3.2",
49-
"dayjs": "1.8.17",
48+
"css-loader": "3.4.0",
49+
"dayjs": "1.8.18",
5050
"dot-prop": "5.2.0",
5151
"express": "4.17.1",
5252
"feed": "4.0.0",
5353
"helmet": "3.21.2",
5454
"ics": "2.18.0",
55-
"inquirer": "7.0.0",
55+
"inquirer": "7.0.1",
5656
"locale-code": "2.0.2",
5757
"lodash.clonedeepwith": "4.5.0",
5858
"lodash.drop": "4.1.1",
5959
"lodash.get": "4.4.2",
6060
"lodash.isstring": "4.0.1",
6161
"lodash.sortby": "4.7.0",
6262
"nodemon": "2.0.2",
63-
"nuxt": "2.10.2",
63+
"nuxt": "2.11.0",
6464
"nuxt-i18n": "6.4.1",
6565
"opener": "1.5.1",
6666
"portfinder": "1.0.25",
@@ -71,7 +71,7 @@
7171
"vue-svgicon": "3.2.6"
7272
},
7373
"devDependencies": {
74-
"@nuxt/types": "0.5.6",
74+
"@nuxt/types": "0.5.7",
7575
"@nuxtjs/eslint-config": "2.0.0",
7676
"@statusfy/test-utils": "0.4.3",
7777
"babel-core": "7.0.0-bridge.0",
@@ -82,7 +82,7 @@
8282
"eslint-plugin-import": "2.19.1",
8383
"eslint-plugin-jest": "23.1.1",
8484
"eslint-plugin-node": "10.0.0",
85-
"eslint-plugin-prettier": "3.1.1",
85+
"eslint-plugin-prettier": "3.1.2",
8686
"eslint-plugin-promise": "4.2.1",
8787
"eslint-plugin-standard": "4.0.1"
8888
},

packages/demo/test/__snapshots__/build-generate.spec.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ Object {
4747
"short_name": "System Status",
4848
"start_url": "/?standalone=true&utm_source=web_app&utm_medium=pwa",
4949
"theme_color": "#1b1f23",
50-
"version": "0.4.3",
50+
"version": "0.4.4-alpha.0",
5151
}
5252
`;

packages/docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@vuepress/plugin-google-analytics": "1.2.0",
4040
"@vuepress/plugin-pwa": "1.2.0",
4141
"axios": "0.19.0",
42-
"consola": "2.11.0",
42+
"consola": "2.11.1",
4343
"fs-extra": "8.1.0",
4444
"markdown-it-block-image": "0.0.3",
4545
"markdown-it-imsize": "2.0.1",

packages/website/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
},
2020
"dependencies": {
2121
"@fortawesome/fontawesome-svg-core": "1.2.26",
22-
"@nuxtjs/axios": "5.8.0",
22+
"@nuxtjs/axios": "5.9.0",
2323
"@nuxtjs/google-analytics": "2.2.2",
2424
"@nuxtjs/pwa": "3.0.0-beta.19",
2525
"@nuxtjs/sitemap": "2.0.1",
2626
"@statusfy/common": "0.4.4-alpha.0",
2727
"animate.css": "3.7.2",
28-
"consola": "2.11.0",
28+
"consola": "2.11.1",
2929
"date-fns": "1.30.1",
3030
"github-markdown-css": "3.0.1",
3131
"intersection-observer": "0.7.0",
32-
"nuxt": "2.10.2",
32+
"nuxt": "2.11.0",
3333
"nuxt-i18n": "6.4.1",
3434
"vue-lazyload": "1.3.3",
3535
"vue-scrollto": "2.17.1",
@@ -43,9 +43,9 @@
4343
"@wordpress/wordcount": "2.6.2",
4444
"babel-eslint": "10.0.3",
4545
"cross-spawn": "7.0.1",
46-
"css-loader": "3.3.2",
46+
"css-loader": "3.4.0",
4747
"eslint-config-prettier": "6.7.0",
48-
"eslint-plugin-prettier": "3.1.1",
48+
"eslint-plugin-prettier": "3.1.2",
4949
"front-matter": "3.0.2",
5050
"imagemin-mozjpeg": "8.0.0",
5151
"imagemin-pngquant": "8.0.0",

0 commit comments

Comments
 (0)