forked from npmgraph/npmgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (97 loc) · 3.37 KB
/
index.html
File metadata and controls
110 lines (97 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
http-equiv="Content-Security-Policy"
content="
default-src
'unsafe-eval' 'unsafe-inline' 'self'
d2wy8f7a9ursnm.cloudfront.net
ws://localhost:1234
*.doubleclick.net
*.giphy.com
api.github.com
api.npmjs.org
api.npms.io
bundlephobia.com
cdnjs.cloudflare.com
fonts.googleapis.com
fonts.gstatic.com
notify.bugsnag.com
registry.npmjs.org
sessions.bugsnag.com
unpkg.com
www.google-analytics.com
www.googletagmanager.com
www.gravatar.com
blob:
"
/>
<meta name="description" content="Graph / visualize of npm dependencies" />
<meta
name="keywords"
content="visualize, visualization, graph, npm, npm modules, npm graph, npm licenses"
/>
<link rel="icon" type="image/png" href="/images/favicon.png" />
<link
href="https://fonts.googleapis.com/css?family=Roboto+Condensed|Material+Icons"
rel="stylesheet"
/>
<link href="/css/index.scss" rel="stylesheet" />
<title>npmgraph - Visualize npm Module Dependencies</title>
</head>
<body>
<div id="app" />
<script src="https://d2wy8f7a9ursnm.cloudfront.net/v5/bugsnag.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script src="https://www.googletagmanager.com/gtag/js?id=UA-6434483-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
window.GA_TRACKING_ID = 'UA-6434483-2';
gtag('js', new Date());
gtag('config', window.GA_TRACKING_ID);
</script>
<script type="module" src="/js/index.tsx"></script>
<script>
window.addEventListener('DOMContentLoaded', function () {
// Detect load failure. `indexLoaded` gets set by index.js if it loads properly
// If it's not set here, then a script failed to load (probably due to a parse
// error from some unsupported language feature).
if (window.indexLoaded) return;
const body = document.body;
body.className = 'fail';
body.innerHTML = `<div style="
position: absolute;
background-color: var(--bg0);
left: 0;
top: 0;
right: 35%;
border-radius: 2rem 2rem;
color: var(--text);
padding: 1em;
margin: 1em;">
<h1>Well this is awkward...</h1>
<p>Something's not working right. Please check the following:</p>
<ul>
<li>Make sure your browser is up-to-date (Chrome, Firefox, Safari, or Edge should work.)</li>
<li style="margin-top: 1em">Make sure your ad-blocker is disabled for this site. <span style="color: #00000088; font-style: italic">(We don't serve ads, but ad blockers may interfere with our bug reporting and analytics scripts.)</span></li>
</ul>
<p>If the problem persists, don't sweat it. It's been reported and we should have it fixed soon. If it lasts more than a few days, go ahead and <a href="https://www.github.com/npmgraph/npmgraph">create an issue</a>).</p>
<!-- text bubble arrow -->
<div style="position: absolute;
width: 0;
height: 0;
border-left: 1.5rem solid var(--bg0);
border-top: 1rem solid transparent;
border-bottom: 1rem solid transparent;
top: 20%;
right: -1.5rem;"></div>
`;
});
</script>
</body>
</html>