Skip to content

Commit 1f51689

Browse files
Kirill BolotskyPepe Cano
authored andcommitted
chore(deps): monthly dependencies update along with necessary changes
Side: - In order to deliver monthly deps update I had to modify a bit md content so, that images paths are relative (/images -> ./images): otherwise new version of mdx plugin tries to find them in static folder - Removed native blockquote syntax inside custom Blockquote component, that simplifies usage and component logic
1 parent 1f9ac92 commit 1f51689

35 files changed

+2906
-2037
lines changed

gatsby-node.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ async function createDocPages({ graphql, actions, reporter }) {
132132
);
133133
return;
134134
}
135+
if (typeof remarkNode.frontmatter === 'undefined') {
136+
reporter.warn(
137+
`\nFrontmatter data is missing, unable to generate. Check the following file:\n\n ${relativeDirectory}/${name}`,
138+
);
139+
}
135140
const {
136141
frontmatter,
137142
frontmatter: { title, redirect, draft, slug: customSlug },

package-lock.json

Lines changed: 2733 additions & 1872 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,40 @@
2121
"check:blc": "wait-on tcp:8000 && blc http://localhost:8000 -rof"
2222
},
2323
"dependencies": {
24-
"@mdx-js/mdx": "^1.6.6",
25-
"@mdx-js/react": "^1.6.6",
26-
"algoliasearch": "^4.4.0",
27-
"chunk-text": "^1.0.5",
24+
"@mdx-js/mdx": "^1.6.18",
25+
"@mdx-js/react": "^1.6.18",
26+
"algoliasearch": "^4.5.1",
27+
"chunk-text": "^2.0.1",
2828
"classnames": "^2.2.6",
29-
"date-fns": "^2.7.0",
29+
"date-fns": "^2.16.1",
3030
"dateformat": "^3.0.3",
3131
"dotenv": "^8.1.0",
32-
"gatsby": "^2.24.47",
33-
"gatsby-image": "^2.4.16",
34-
"gatsby-plugin-algolia": "^0.11.0",
35-
"gatsby-plugin-catch-links": "^2.1.24",
36-
"gatsby-plugin-google-analytics": "^2.1.35",
32+
"gatsby": "^2.24.73",
33+
"gatsby-image": "^2.4.21",
34+
"gatsby-plugin-algolia": "^0.12.1",
35+
"gatsby-plugin-catch-links": "^2.3.15",
36+
"gatsby-plugin-google-analytics": "^2.3.17",
3737
"gatsby-plugin-google-fonts": "^1.0.1",
38-
"gatsby-plugin-manifest": "^2.4.23",
39-
"gatsby-plugin-mdx": "^1.2.34",
40-
"gatsby-plugin-offline": "^3.2.23",
41-
"gatsby-plugin-react-helmet": "^3.1.11",
38+
"gatsby-plugin-manifest": "^2.4.34",
39+
"gatsby-plugin-mdx": "^1.2.46",
40+
"gatsby-plugin-offline": "^3.2.31",
41+
"gatsby-plugin-react-helmet": "^3.3.14",
4242
"gatsby-plugin-react-helmet-canonical-urls": "^1.4.0",
43-
"gatsby-plugin-remove-trailing-slashes": "^2.1.10",
43+
"gatsby-plugin-remove-trailing-slashes": "^2.3.13",
4444
"gatsby-plugin-resolve-src": "^2.0.0",
45-
"gatsby-plugin-s3": "^0.3.3",
46-
"gatsby-plugin-sass": "^2.3.5",
45+
"gatsby-plugin-s3": "^0.3.5",
46+
"gatsby-plugin-sass": "^2.3.16",
4747
"gatsby-plugin-sentry": "^1.0.1",
48-
"gatsby-plugin-sharp": "^2.6.27",
49-
"gatsby-plugin-sitemap": "^2.2.26",
48+
"gatsby-plugin-sharp": "^2.6.40",
49+
"gatsby-plugin-sitemap": "^2.4.15",
5050
"gatsby-plugin-svgr-svgo": "^1.0.12",
51-
"gatsby-remark-copy-linked-files": "^2.1.36",
52-
"gatsby-remark-images": "^3.3.29",
53-
"gatsby-remark-prismjs": "^3.3.18",
54-
"gatsby-remark-relative-images": "^0.3.0",
55-
"gatsby-source-filesystem": "^2.3.24",
56-
"gatsby-transformer-json": "^2.2.16",
57-
"gatsby-transformer-sharp": "^2.5.13",
51+
"gatsby-remark-copy-linked-files": "^2.3.19",
52+
"gatsby-remark-images": "^3.3.33",
53+
"gatsby-remark-prismjs": "^3.5.16",
54+
"gatsby-remark-relative-images": "^2.0.2",
55+
"gatsby-source-filesystem": "^2.3.34",
56+
"gatsby-transformer-json": "^2.4.14",
57+
"gatsby-transformer-sharp": "^2.5.17",
5858
"node-sass": "^4.14.1",
5959
"prismjs": "^1.21.0",
6060
"qs": "^6.9.1",
@@ -65,24 +65,24 @@
6565
"react-helmet": "^6.1.0",
6666
"react-instantsearch-dom": "^6.2.0",
6767
"react-sticky": "^6.0.3",
68-
"yarn": "^1.22.0"
68+
"yarn": "^1.22.10"
6969
},
7070
"devDependencies": {
71-
"@babel/core": "^7.11.1",
71+
"@babel/core": "^7.11.6",
7272
"@svgr/webpack": "^5.4.0",
7373
"babel-eslint": "^10.0.3",
7474
"babel-loader": "^8.0.6",
7575
"broken-link-checker": "^0.7.8",
7676
"concurrently": "^5.3.0",
7777
"eslint-config-airbnb": "^18.0.1",
78-
"eslint-config-prettier": "^6.11.0",
79-
"eslint-plugin-import": "^2.18.2",
78+
"eslint-config-prettier": "^6.12.0",
79+
"eslint-plugin-import": "^2.22.1",
8080
"eslint-plugin-jsx-a11y": "^6.2.3",
8181
"eslint-plugin-mdx": "^1.8.2",
8282
"eslint-plugin-prettier": "^3.1.4",
83-
"eslint-plugin-react": "^7.20.6",
84-
"husky": "^4.2.5",
85-
"lint-staged": "^10.2.11",
83+
"eslint-plugin-react": "^7.21.3",
84+
"husky": "^4.3.0",
85+
"lint-staged": "^10.4.0",
8686
"wait-on": "^5.2.0"
8787
}
88-
}
88+
}

src/components/shared/blockquote/blockquote.view.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import React from 'react';
21
import classNames from 'classnames';
2+
import React from 'react';
3+
34
import styles from './blockquote.module.scss';
45

56
const Blockquote = ({ children, mod = 'default' }) => {
6-
// prevent nesting blockquote tags
77
// create optional kicker in case of modifications
88
const getKicker = (mod) => {
99
const kickers = {
@@ -19,7 +19,7 @@ const Blockquote = ({ children, mod = 'default' }) => {
1919
})}
2020
>
2121
{getKicker(mod)}
22-
{mod === 'default' ? children : children.props.children}
22+
{children}
2323
</blockquote>
2424
);
2525
};

src/data/markdown/docs/01 guides/01 Getting started/04 Results Output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ By default, the `k6 run` command prints runtime information and general results
77

88
## Standard output
99

10-
![k6 results - console/stdout output](/images/k6-results-stdout.png)
10+
![k6 results - console/stdout output](./images/k6-results-stdout.png)
1111

1212
When k6 displays the results to `stdout`, it will show the k6 logo and the following test information:
1313

src/data/markdown/docs/01 guides/02 Using k6/01 HTTP requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,4 @@ for (var id = 1; id <= 100; id++) {
195195

196196
[k6 Cloud Results's HTTP Table](/cloud/analyzing-results/http-tab) will show all the requests, on an aggregated level per URL.
197197

198-
![k6 Cloud URL table](/images/HTTP-requests/cloud-insights-http-tab.png)
198+
![k6 Cloud URL table](./images/HTTP-requests/cloud-insights-http-tab.png)

src/data/markdown/docs/01 guides/02 Using k6/03 Checks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export default function () {
8585
const result = check(res, {
8686
'status is 200': (r) => r.status == 200,
8787
});
88-
89-
errorRate.add(result ? 0 : 1)
88+
89+
errorRate.add(result ? 0 : 1);
9090
}
9191
```
9292

@@ -117,4 +117,4 @@ In [k6 Cloud Results](/cloud/analyzing-results/overview) `Checks` are available
117117
Here we can quickly see what checks are failing, and upon clicking on any check, see the count of passes/failures
118118
at given points in the test. You can also add the check to the analysis tab, for further comparison with other metrics.
119119

120-
![k6 Cloud Checks Tab](/images/Checks/cloud-insights-checks-tab.png)
120+
![k6 Cloud Checks Tab](./images/Checks/cloud-insights-checks-tab.png)

src/data/markdown/docs/01 guides/02 Using k6/08 Tags and Groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ When using Groups, [Checks](/using-k6/checks) and [HTTP Requests](/using-k6/http
189189
can be viewed by group, as shown below. You can switch between the group and list layout by changing the "view as"
190190
selection in the top right.
191191

192-
![k6 Cloud URL Grouping](/images/Tags-and-Groups/cloud-insights-http-tab.png)
192+
![k6 Cloud URL Grouping](./images/Tags-and-Groups/cloud-insights-http-tab.png)
193193

194194
Additionally you can filter the results by tags in the [analysis tab](/cloud/analyzing-results/analysis-tab).

src/data/markdown/docs/01 guides/02 Using k6/13 Session recording - HAR support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Multiple browsers and tools can be used to export HTTP traffic in a HAR format.
3333
- [Chrome](https://www.google.com/chrome/)
3434
- [Firefox](https://www.mozilla.org/en-US/firefox/)
3535
- [Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge)
36-
- [Charles recording proxy ](http://www.charlesproxy.com/)(HTTP proxy/recorder)
36+
- [Charles recording proxy](http://www.charlesproxy.com/)(HTTP proxy/recorder)
3737
- [Fiddler](http://www.telerik.com/fiddler) (HTTP proxy/recorder)
3838

3939
Here are the basic steps you need to take to make a recording in Chrome:
@@ -46,7 +46,7 @@ Here are the basic steps you need to take to make a recording in Chrome:
4646
6. Enter the URL of your site and start doing whatever you'd like your simulated load test users to be doing.
4747
7. When done, right-click on the list of URLs in Chrome developer tools and choose "Save as HAR with content".
4848

49-
![Save HAR for load testing](/images/Session-recording-HAR-support/session_recorder_save_as_har.png)
49+
![Save HAR for load testing](./images/Session-recording-HAR-support/session_recorder_save_as_har.png)
5050

5151
It's good to have in consideration the following best practices to record a user session:
5252

src/data/markdown/docs/01 guides/03 Results visualization/02 Cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ execution: local
5959

6060
</div>
6161

62-
![k6 Cloud Test Results](/images/Cloud/k6-cloud-results.png)
62+
![k6 Cloud Test Results](./images/Cloud/k6-cloud-results.png)
6363

6464
## See also
6565

0 commit comments

Comments
 (0)