Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Commit 7948658

Browse files
authored
refactor: use raw Github URL to files (#112)
1 parent 7fc2fb5 commit 7948658

5 files changed

Lines changed: 9 additions & 14 deletions

File tree

src/flags/hasDuplicate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ <h1>🎭 hasDuplicate</h1>
44
Indicate that the package is <b>also used somewhere else in the dependency tree</b> but with a different version (like in the screenshot with <b>yallist</b>).
55
</p>
66
<br />
7-
<img width="200" src="https://camo.githubusercontent.com/933ca23e59bb1ed0159a7b444b783ce740224426/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f70726163746963616c6465762f696d6167652f66657463682f732d2d43477a4e5f4977362d2d2f635f6c696d6974253243665f6175746f253243666c5f70726f6772657373697665253243715f6175746f253243775f3838302f68747470733a2f2f692e696d6775722e636f6d2f3730796e6674542e706e67" />
7+
<img src="https://github.com/NodeSecure/flags/blob/main/images/hasDuplicate.png?raw=true" />
88
</div>

src/flags/hasIndirectDependencies.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@ <h1>🌲 hasIndirectDependencies</h1>
55
means that the child dependencies of the package also have dependencies.
66
</p>
77
<br />
8-
<a
9-
target="_blank"
10-
rel="noopener noreferrer"
11-
href="https://i.imgur.com/GQBUwbp.png"
12-
><img
13-
src="https://i.imgur.com/GQBUwbp.png"
14-
width="300"
15-
data-canonical-src="https://i.imgur.com/GQBUwbp.png"
16-
style="max-width:100%;"
17-
/></a>
8+
<img
9+
src="https://github.com/NodeSecure/flags/blob/main/images/hasIndirectDependencies.png?raw=true"
10+
width="300"
11+
style="max-width:100%;"
12+
/>
1813
<br /><br />
1914
<p>
2015
In the following example <b>accepts</b> is flagged 🌲 because

src/flags/hasMinifiedCode.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ <h1>🔬 hasMinifiedCode</h1>
1414
<br />
1515
<p>Example of minified code:</p>
1616
<br />
17-
<img src="https://i.imgur.com/13Mxfb2.png">
17+
<img src="https://github.com/NodeSecure/flags/blob/main/images/hasMinifiedCode.png?raw=true">
1818
</div>

src/flags/isDuplicated.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ <h1>🎭 hasDuplicate</h1>
44
Indicate that the package is <b>also used somewhere else in the dependency tree</b> but with a different version (like in the screenshot with <b>yallist</b>).
55
</p>
66
<br />
7-
<img width="200" src="https://camo.githubusercontent.com/933ca23e59bb1ed0159a7b444b783ce740224426/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f70726163746963616c6465762f696d6167652f66657463682f732d2d43477a4e5f4977362d2d2f635f6c696d6974253243665f6175746f253243666c5f70726f6772657373697665253243715f6175746f253243775f3838302f68747470733a2f2f692e696d6775722e636f6d2f3730796e6674542e706e67" />
7+
<img src="https://github.com/NodeSecure/flags/blob/main/images/hasDuplicate.png?raw=true" />
88
</div>

src/flags/isGit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>☁️ isGit</h1>
1818
}
1919
</code>
2020
</pre>
21-
<img src="https://i.imgur.com/ww4UtyR.png">
21+
<img src="https://github.com/NodeSecure/flags/blob/main/images/isGit.png?raw=true">
2222
<br/>
2323
<p>
2424
Because under the hood we use

0 commit comments

Comments
 (0)