# List of ignored warnings used by `fail_on_warnings` in `scripts/utils.sh`.
# Each line is a regexp and represents a match used by
# `grep --invert-match --extended-regexp --file`.
# Comments and empty lines are ignored.

# This warning is emitted by scripts/static-analysis.
\*\*\*\* .+ had the following warning\(s\):

# Commander 15 is ESM-only and is consumed by our CommonJS scripts (e.g.
# scripts/frontend/extract_gettext_all.js) via Node's supported require(ESM)
# path, which requires Node >= 22.12. Node emits an experimental warning for
# this until the feature is marked stable. The warning is benign; ignore it.
ExperimentalWarning: CommonJS module .+ is loading ES Module .+ using require\(\)\.
Support for loading ES Module in require\(\) is an experimental feature and might change at any time
\(Use `node --trace-warnings \.\.\.` to show where the warning was created\)

# The `io-event` gem is using an experimental feature of Ruby called `IO::Buffer`.
# The maintainer of the gem is also the maintainer of Ruby language and `IO::Buffer` implementation, therefore,
# it's really unlikelly that we will not be able to find a compatible version of the `io-event` gem if the
# experimental `IO::Buffer` feature changes in Ruby.
warning: IO::Buffer is experimental and both the Ruby and C interface may change in the future!

# Rails 8.1 deprecates ActiveSupport::Configurable, which is required at load time by
# third-party gems (grape, view_component). We cannot fix this from our side; remove these
# entries once the gems stop using it.
DEPRECATION WARNING: ActiveSupport::Configurable is deprecated without replacement, and will be removed in Rails 8\.2\.
You can emulate the previous behavior with `class_attribute`\.

# Rails 8.0 emits this deprecation when the app uses load_defaults 7.2 (our current setting).
# The correct fix is to set config.active_support.to_time_preserves_timezone = :zone, which
# will be done as part of the Rails 8 upgrade. Suppress the warning until then.
DEPRECATION WARNING: `to_time` will always preserve the full timezone rather than offset of the receiver in Rails 8\.1\.
