Packages

A tool to audit Erlang & Elixir dependencies, to make sure your Gleam ✨ projects really sparkle!

Retired package: Security issue - Vulnerability warnings were never emitted due to an inverted advisory filter. Upgrade to 3.3.1 or 4.0.0-rc2+.

Current section

Files

Jump to
go_over src go_over_dev.erl
Raw

src/go_over_dev.erl

-module(go_over_dev).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-define(FILEPATH, "src/go_over_dev.gleam").
-export([main/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(false).
-file("src/go_over_dev.gleam", 70).
?DOC(false).
-spec main() -> nil.
main() ->
Conf@1 = case go_over@config:spin_up(
go_over@config:read_config(<<"gleam.toml"/utf8>>),
shellout_ffi:start_arguments()
) of
{error, E} ->
gleam_stdlib:println_error(E),
shellout_ffi:os_exit(0),
erlang:error(#{gleam_error => panic,
message => <<"Unreachable, please create an issue in https://github.com/bwireman/go-over if you see this"/utf8>>,
file => <<?FILEPATH/utf8>>,
module => <<"go_over_dev"/utf8>>,
function => <<"main"/utf8>>,
line => 77});
{ok, Conf} ->
Conf
end,
gxyz@function:iff_nil(
true,
gxyz@function:freeze2(
fun go_over:print_warnings/2,
[{warning,
none,
<<"fake"/utf8>>,
{some, <<"x.y.z"/utf8>>},
<<"Retired"/utf8>>,
warning_reason_vulnerable,
severity_critical,
direct},
{warning,
none,
<<"another_fake"/utf8>>,
{some, <<"1.2.3"/utf8>>},
<<"Vulnerable"/utf8>>,
warning_reason_vulnerable,
severity_high,
direct},
{warning,
none,
<<"and_another"/utf8>>,
{some, <<"4.5.6"/utf8>>},
<<"Vulnerable"/utf8>>,
warning_reason_vulnerable,
severity_moderate,
direct},
{warning,
none,
<<"one_more"/utf8>>,
{some, <<"7.8.9"/utf8>>},
<<"Vulnerable"/utf8>>,
warning_reason_vulnerable,
severity_low,
indirect},
{warning,
none,
<<"this_one_was_retired"/utf8>>,
{some, <<"10.11.12"/utf8>>},
<<"Retired"/utf8>>,
warning_reason_retired,
severity_package_retired_security,
indirect},
{warning,
none,
<<"rejected_license"/utf8>>,
none,
<<"Retired"/utf8>>,
warning_reason_retired,
severity_rejected_license,
indirect}],
Conf@1
)
).