• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / f97fbbb7-3701-4487-b9e0-8756f056f051

21 Oct 2025 09:38PM UTC coverage: 81.319% (-5.6%) from 86.877%
f97fbbb7-3701-4487-b9e0-8756f056f051

push

circleci

web-flow
Bump vite from 5.4.20 to 5.4.21 in the npm_and_yarn group across 1 directory (#2062)

Bumps the npm_and_yarn group with 1 update in the / directory:
[vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).

Updates `vite` from 5.4.20 to 5.4.21
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>v5.4.21</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.4.21 (2025-10-20)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix(dev): trim trailing slash before <code>server.fs.deny</code>
check (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/20968">#20968</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/20970">#20970</a>)
(<a
href="https://github.com/vitejs/vite/commit/<a class=hub.com/pulibrary/tigerdata-app/commit/cad1d31d0635dd8fd4ddfe6e5a92eb9ff13cd06c">cad1d31d0<a href="https://github.com/pulibrary/tigerdata-app/commit/ae0dcda34690b8fb46a97623fedcc053b5c5b31d">&quot;&gt;cad1d31&lt;/a&gt;),
closes &lt;a
href=&quot;https://redirect.github.com/vitejs/vite/issues/20968&quot;&gt;#20968&lt;/a&gt;
&lt;a
href=&quot;https://redirect.github.com/vitejs/vite/issues/20970">#20970</a></li>
<li>chore: update CHANGELOG (<a
href="https://github.com/vitejs/vite/commit/<a class="double-link" href="https://github.com/pulibrary/tigerdata-app/commit/ca88ed7398288ce0c60176ac9a6392f10654c67c">ca88ed739</a><a href="https://github.com/pulibrary/tigerdata-app/commit/ae0dcda34690b8fb46a97623fedcc053b5c5b31d">&quot;&gt;ca88ed7&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a
href=&quot;https://github.com/vitejs/vite/commit/</a><a class="double-link" href="https://github.com/pulibrary/tigerdata-app/commit/adce3c22c64cc9d44cc8f45cc92b543e3e4bf385">adce3c22c">adce3c2
release: v5.4.21
  • cad1d31 fix(dev): trim trailing slash before server.fs.deny check (
  • 2490 of 3062 relevant lines covered (81.32%)

    190.36 hits per line

    Source File
    Press 'n' to go to next uncovered line, 'b' for previous

    0.0
    /lib/xml_utilities.rb
    1
    # frozen_string_literal: true
    
    2
    require "yaml"
    
    ×
    3
    
    
    4
    # frozen_string_literal: true
    
    5
    TYPENAMES = { 1 => "element", 2 => "attribute", 3 => "text", 4 => "cdata", 8 => "comment" }.freeze
    
    ×
    6
    
    
    7
    def xml_node_to_hash(node)
    
    ×
    8
      # Based on https://stackoverflow.com/a/10144623
    
    9
      h = {}
    
    ×
    10
      h[:name] = node.name
    
    ×
    11
      # For our needs, I think the type name clear from context.
    
    12
      # node_type_name = TYPENAMES[node.node_type]
    
    13
      # if node_type_name != "element"
    
    14
      #   h[:name] += " (#{node_type_name})"
    
    15
      # end
    
    16
      if node.namespace
    
    ×
    17
        h[:nshref] = node.namespace.href
    
    ×
    18
        h[:nsprefix] = node.namespace.prefix
    
    ×
    19
      end
    
    ×
    20
      h[:text] = node.text unless node.text.empty?
    
    ×
    21
      h[:attributes] = node.attribute_nodes.map { |attr_node| xml_node_to_hash(attr_node) } if node.element? && !node.attribute_nodes.empty?
    
    ×
    22
      h[:subelements] = node.children.map { |child_node| xml_node_to_hash(child_node) } if node.element? && !node.children.empty?
    
    ×
    23
      h
    
    ×
    24
    end
    
    ×
    25
    
    
    26
    def xml_doc_to_hash(document)
    
    ×
    27
      xml_node_to_hash(document.root)
    
    ×
    28
    end
    
    ×
    29
    
    
    30
    def xml_doc_to_html(document)
    
    ×
    31
      as_hash = xml_doc_to_hash(document)
    
    ×
    32
      as_yaml = YAML.dump(as_hash).gsub(/\A---\n/, "")
    
    ×
    33
      "<pre>#{CGI.escapeHTML(as_yaml)}</pre>"
    
    ×
    34
    end
    
    ×
    STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
    ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

    © 2025 Coveralls, Inc