• 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

    100.0
    /app/services/test_asset_generator.rb
    1
    # frozen_string_literal: true
    
    2
    class TestAssetGenerator
    
    1✔
    3
      attr_reader :levels, :base_name, :file_count_per_directory, :directory_per_level, :mediaflux_session
    
    1✔
    4
      def initialize(user:, project_id:, levels: 5, directory_per_level: 100, file_count_per_directory: 1000)
    
    1✔
    5
        @user = user
    
    4✔
    6
        @project = Project.find(project_id)
    
    4✔
    7
        @levels = levels
    
    4✔
    8
        @directory_per_level = directory_per_level
    
    4✔
    9
        @file_count_per_directory = file_count_per_directory
    
    4✔
    10
        # Only use the last part of the path as the base (so we don't get the root "tigerdata/")
    
    11
        @base_name = @project.project_directory_short.split("/").last
    
    4✔
    12
        @mediaflux_session = @user.mediaflux_session
    
    4✔
    13
      end
    
    14
    
    
    15
      def generate
    
    1✔
    16
        generate_level(@project.mediaflux_id, levels)
    
    4✔
    17
      end
    
    18
    
    
    19
      private
    
    1✔
    20
    
    
    21
        def generate_level(parent_id, level)
    
    1✔
    22
          return if level == 0
    
    9✔
    23
          collection = Mediaflux::AssetCreateRequest.new(session_token: mediaflux_session, name: "#{base_name}-#{level}", pid: parent_id)
    
    5✔
    24
          collection_id = collection.id  # resolves the request and extracts the id
    
    5✔
    25
          generate_directory(collection_id, directory_per_level)
    
    5✔
    26
          generate_level(collection_id, level - 1)
    
    5✔
    27
        end
    
    28
    
    
    29
        def generate_directory(parent_id, directory_count)
    
    1✔
    30
          return if directory_count == 0
    
    11✔
    31
          name_extention = (0...10).map { ("a".."z").to_a[rand(26)] }.join
    
    66✔
    32
          dir_collection = Mediaflux::AssetCreateRequest.new(session_token: mediaflux_session, name: "#{base_name}-#{parent_id}-#{name_extention}", pid: parent_id)
    
    6✔
    33
          dir_collection_id = dir_collection.id
    
    6✔
    34
          raise dir_collection.response_error.to_s if dir_collection_id.blank?
    
    6✔
    35
          Mediaflux::TestAssetCreateRequest.new(session_token: mediaflux_session, parent_id: dir_collection_id, count: file_count_per_directory).resolve
    
    6✔
    36
          generate_directory(parent_id, directory_count - 1)
    
    6✔
    37
        end
    
    38
    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