From 9452efe4ad770f703df825fb32cd693b421fc916 Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar <cosmin@cojocar.ch> Date: Mon, 10 Mar 2025 11:07:47 +0100 Subject: [PATCH] Update the integrity sha for babel dependency in html report (#1316) Signed-off-by: Cosmin Cojocar <ccojocar@google.com> --- report/html/template.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/report/html/template.html b/report/html/template.html index 5e168c4..d530aea 100644 --- a/report/html/template.html +++ b/report/html/template.html @@ -10,7 +10,7 @@ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/languages/go.min.js" integrity="sha512-weC0VNVf2qQR6OY675qO0AEL92gt3h5f2VGjhMUvi/UqFHaWzIEL5S/8Dt763fWfKftchzb7GryvEj/2HC9Exw==" crossorigin="anonymous"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/15.7.0/react.min.js" integrity="sha512-+TFn1Gqbwx/qgwW3NU1/YtFYTfHGeD1e/8YfJZzkb6TFEZP4SUwp1Az9DMeWh3qC0F+YPKXbV3YclMUwBTvO3g==" crossorigin="anonymous"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1/react-dom.min.js" integrity="sha512-8C49ZG/SaQnWaUgCHTU1o8uIQNYE6R8me38SwF26g2Q0byEXF4Jlvm+T/JAMHMeTBiEVPslSZRv9Xt4AV0pfmw==" crossorigin="anonymous"></script> - <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.26.4/babel.min.js" integrity="sha512-hX7KzoYtNHhNJsz8TAHyddcegokOwhmYiFWCDHqFkcoNVsYwCziO+NISSRlNKpfOYaqyQxm2+MTCJqSaHssJTA==" crossorigin="anonymous"></script> + <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.26.4/babel.min.js" integrity="sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==" crossorigin="anonymous"></script> <style> .field-label { min-width: 80px; @@ -73,7 +73,7 @@ var current = ReactDOM.findDOMNode(this); hljs.highlightElement(current); }, - render: function() { + render: function() { return ( <pre className="go"><code >{ this.props.code }</code></pre> ); @@ -407,14 +407,14 @@ <div className="column is-one-quarter"> <Navigation data={ this.props.data } - severity={ this.state.severity } + severity={ this.state.severity } confidence={ this.state.confidence } issueType={ this.state.issueType } - allSeverities={ this.state.allSeverities } + allSeverities={ this.state.allSeverities } allConfidences={ this.state.allConfidences } allIssueTypes={ this.state.allIssueTypes } - onSeverity={ this.handleSeverity } - onConfidence={ this.handleConfidence } + onSeverity={ this.handleSeverity } + onConfidence={ this.handleConfidence } onIssueType={ this.handleIssueType } /> </div> @@ -437,4 +437,4 @@ ); </script> </body> -</html> \ No newline at end of file +</html>