Skip to content

Commit 8c84e91

Browse files
committed
fix: npm version in .yml
1 parent f04dc76 commit 8c84e91

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "stable"
3+
- "6.14.14"
44
cache:
55
directories:
66
- "node_modules"

src/components/markdown.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const DisplaySkills = props => {
177177
if (props.skills[skill]) {
178178
listChosenSkills.push(
179179
`
180-
<a href="${skillWebsites[skill]}" target="_blank">
180+
<a href="${skillWebsites[skill]}" target="_blank" rel="noreferrer">
181181
<img src="${icons[skill]}" alt="${skill}" width="40" height="40"/>
182182
</a>
183183
`
@@ -279,7 +279,7 @@ const DisplaySupport = props => {
279279
}
280280
const Markdown = props => {
281281
const icon_base_url =
282-
"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/";
282+
"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/"
283283

284284
return (
285285
<div id="markdown-content" className="break-words">
@@ -493,21 +493,21 @@ const Markdown = props => {
493493
<>
494494
<DisplaySocial
495495
base="https://codeforces.com/profile"
496-
icon={icon_base_url+"codeforces.svg"}
496+
icon={icon_base_url + "codeforces.svg"}
497497
username={props.social.codeforces}
498498
/>
499499
</>
500500
<>
501501
<DisplaySocial
502502
base="https://www.leetcode.com"
503-
icon={icon_base_url+"leet-code.svg"}
503+
icon={icon_base_url + "leet-code.svg"}
504504
username={props.social.leetcode}
505505
/>
506506
</>
507507
<>
508508
<DisplaySocial
509509
base="https://www.hackerearth.com"
510-
icon={icon_base_url+"hackerearth.svg"}
510+
icon={icon_base_url + "hackerearth.svg"}
511511
username={props.social.hackerearth}
512512
/>
513513
</>

src/components/markdownPreview.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,11 @@ export const TwitterBadgePreview = props => {
315315
return (
316316
<div className="text-left my-2">
317317
{" "}
318-
<a href="https://twitter.com/${props.twitter}" target="_blank">
318+
<a
319+
href="https://twitter.com/${props.twitter}"
320+
target="_blank"
321+
rel="noreferrer"
322+
>
319323
<img className="h-4 sm:h-6" src={link} alt={props.twitter} />
320324
</a>{" "}
321325
</div>
@@ -420,6 +424,7 @@ export const SupportPreview = props => {
420424
<a
421425
href={`https://www.buymeacoffee.com/` + props.support.buyMeACoffee}
422426
target="_blank"
427+
rel="noreferrer"
423428
>
424429
<img
425430
src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
@@ -432,6 +437,7 @@ export const SupportPreview = props => {
432437
<a
433438
href={`https://ko-fi.com/` + props.support.buyMeAKofi}
434439
target="_blank"
440+
rel="noreferrer"
435441
>
436442
<img
437443
src="https://cdn.ko-fi.com/cdn/kofi3.png?v=3"

0 commit comments

Comments
 (0)