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

pulibrary / tigerdata-app / e091d009-5a3a-4ffa-a23a-daa4e1d7e0e7

21 Oct 2025 09:38PM UTC coverage: 79.122% (-8.2%) from 87.292%
e091d009-5a3a-4ffa-a23a-daa4e1d7e0e7

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/b45666a26476ff4bf99d2a0465a0b5ebbdf98838">&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/b45666a26476ff4bf99d2a0465a0b5ebbdf98838">&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 (
  • 2380 of 3008 relevant lines covered (79.12%)

    148.71 hits per line

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

    100.0
    /app/models/mediaflux/asset_create_request.rb
    1
    # frozen_string_literal: true
    
    2
    module Mediaflux
    
    2✔
    3
      class AssetCreateRequest < Request
    
    2✔
    4
        attr_reader :namespace, :asset_name, :collection
    
    2✔
    5
    
    
    6
        # Constructor
    
    7
        # @param session_token [String] the API token for the authenticated session
    
    8
        # @param name [String] Name of the Asset
    
    9
        # @param namespace [String] Optional Parent namespace for the asset to be created in
    
    10
        # @param pid [String] Optional Parent collection id (use this or a namespace not both)
    
    11
        # @param xml_namespace [String]
    
    12
        def initialize(session_token:, namespace: nil, name:, xml_namespace: nil, xml_namespace_uri: nil, pid: nil)
    
    2✔
    13
          super(session_token: session_token)
    
    41✔
    14
          @namespace = namespace
    
    41✔
    15
          @asset_name = name
    
    41✔
    16
          @xml_namespace = xml_namespace || self.class.default_xml_namespace
    
    41✔
    17
          @xml_namespace_uri = xml_namespace_uri || self.class.default_xml_namespace_uri
    
    41✔
    18
          @pid = pid
    
    41✔
    19
        end
    
    20
    
    
    21
        # Specifies the Mediaflux service to use when creating assets
    
    22
        # @return [String]
    
    23
        def self.service
    
    2✔
    24
          "asset.create"
    
    82✔
    25
        end
    
    26
    
    
    27
        def id
    
    2✔
    28
          @id ||= response_xml.xpath("/response/reply/result/id").text
    
    36✔
    29
          @id
    
    36✔
    30
        end
    
    31
    
    
    32
        private
    
    2✔
    33
    
    
    34
          # The generated XML mimics what we get when we issue an Aterm command as follows:
    
    35
          # > asset.set :id path=/sandbox_ns/rdss_collection
    
    36
          #     :meta <
    
    37
          #       :tigerdata:project <
    
    38
          #         :title "RDSS test project"
    
    39
          #         :description "The description of the project"
    
    40
          #         ...the rest of the fields go here..
    
    41
          #       >
    
    42
          #     >
    
    43
          #
    
    44
          def build_http_request_body(name:)
    
    2✔
    45
            super do |xml|
    
    82✔
    46
              xml.args do
    
    82✔
    47
                xml.name asset_name
    
    82✔
    48
                xml.namespace namespace if namespace.present?
    
    82✔
    49
                yield xml if block_given?
    
    82✔
    50
                collection_xml(xml)
    
    82✔
    51
                if @pid.present?
    
    82✔
    52
                  xml.pid @pid
    
    82✔
    53
                end
    
    54
              end
    
    55
            end
    
    56
          end
    
    57
    
    
    58
          def collection_xml(xml)
    
    2✔
    59
            xml.collection do
    
    82✔
    60
              xml.parent.set_attribute("cascade-contained-asset-index", true)
    
    82✔
    61
              xml.parent.set_attribute("contained-asset-index", true)
    
    82✔
    62
              xml.parent.set_attribute("unique-name-index", true)
    
    82✔
    63
              xml.text(true)
    
    82✔
    64
            end
    
    65
            xml.type "application/arc-asset-collection"
    
    82✔
    66
          end
    
    67
      end
    
    68
    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