Skip to content

Commit

Permalink
chore: update dependencies (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki authored Jun 29, 2024
1 parent 6d74efb commit 83cb449
Show file tree
Hide file tree
Showing 13 changed files with 2,004 additions and 1,418 deletions.
4 changes: 0 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ RSpec/MultipleMemoizedHelpers:
Max: 15
RSpec/ExampleLength:
Max: 20
RSpec/FilePath:
SpecSuffixOnly: true
RSpec/NestedGroups:
Max: 5
RSpec/RepeatedExampleGroupDescription:
Expand All @@ -28,8 +26,6 @@ RSpec/MultipleExpectations:
Enabled: false
RSpec/SpecFilePathFormat:
Enabled: false
RSpecRails:
Enabled: false
FactoryBot/SyntaxMethods:
Enabled: false
require:
Expand Down
3,314 changes: 1,959 additions & 1,355 deletions frontend/package-lock.json

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,52 @@
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^3.0.6",
"@vueuse/core": "^10.9.0",
"@vueuse/router": "^10.9.0",
"ace-builds": "^1.33.0",
"axios": "^1.6.8",
"bulma": "^1.0.0",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@vueuse/core": "^10.11.0",
"@vueuse/router": "^10.11.0",
"ace-builds": "^1.35.1",
"axios": "^1.7.2",
"bulma": "^1.0.1",
"bulma-helpers": "^0.4.3",
"dayjs": "^1.11.10",
"dayjs": "^1.11.11",
"font-awesome-animation": "^1.1.1",
"js-sha256": "^0.11.0",
"just-truncate": "^2.2.0",
"ts-dedent": "^2.2.0",
"url-parse": "^1.5.10",
"uuidv4": "^6.2.13",
"vue": "^3.4.23",
"vue-concurrency": "^5.0.0",
"vue": "^3.4.31",
"vue-concurrency": "^5.0.1",
"vue-json-pretty": "^2.4.0",
"vue-router": "^4.3.2",
"vue-router": "^4.4.0",
"vue3-ace-editor": "^2.2.4",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@redocly/cli": "1.11.0",
"@rushstack/eslint-patch": "^1.10.2",
"@redocly/cli": "1.16.0",
"@rushstack/eslint-patch": "^1.10.3",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.12.7",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.9",
"@types/url-parse": "^1.4.11",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vitejs/plugin-vue": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "2.4.5",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-vue": "^9.25.0",
"jsdom": "^24.0.0",
"eslint-plugin-vue": "^9.26.0",
"jsdom": "^24.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"typescript": "~5.4.5",
"vite": "^5.2.9",
"vitest": "^1.5.0",
"vue-tsc": "^2.0.13"
"prettier": "^3.3.2",
"typescript": "~5.5.2",
"vite": "^5.3.2",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.22"
}
}
2 changes: 1 addition & 1 deletion lib/mihari/clients/crtsh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Crtsh < Base
# @param [Integer, nil] timeout
#
def initialize(base_url = "https://crt.sh", headers: {}, timeout: nil)
super(base_url, headers:, timeout:)
super
end

#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/clients/dnstwister.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DNSTwister < Base
# @param [Integer, nil] timeout
#
def initialize(base_url = "https://dnstwister.report", headers: {}, timeout: nil)
super(base_url, headers:, timeout:)
super
end

#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/clients/google_public_dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GooglePublicDNS < Base
# @param [Integer, nil] timeout
#
def initialize(base_url = "https://dns.google", headers: {}, timeout: nil)
super(base_url, headers:, timeout:)
super
end

#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/clients/mmdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MMDB < Base
# @param [Integer, nil] timeout
#
def initialize(base_url = "https://ip.circl.lu", headers: {}, timeout: nil)
super(base_url, headers:, timeout:)
super
end

#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/clients/shodan_internet_db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ShodanInternetDB < Base
# @param [Integer, nil] timeout
#
def initialize(base_url = "https://internetdb.shodan.io", headers: {}, timeout: nil)
super(base_url, headers:, timeout:)
super
end

#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/enrichers/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Base < Actor
# @param [Hash, nil] options
#
def initialize(options: nil)
super(options:)
super
end

#
Expand Down
23 changes: 12 additions & 11 deletions mihari.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,20 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rspec-httpbin", "~> 0.1.0"
spec.add_development_dependency "rspec-parameterized", "~> 1.0.2"
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "rubocop-factory_bot", "~> 2.26.0"
spec.add_development_dependency "rubocop-capybara", "~> 2.21"
spec.add_development_dependency "rubocop-factory_bot", "~> 2.26.1"
spec.add_development_dependency "rubocop-rake", "~> 0.6"
spec.add_development_dependency "rubocop-rspec", "~> 2.31.0"
spec.add_development_dependency "rubocop-rspec", "~> 3.0.1"
spec.add_development_dependency "rubocop-yard", "~> 0.9.3"
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
spec.add_development_dependency "standard", "~> 1.36.0"
spec.add_development_dependency "standard", "~> 1.39.0"
spec.add_development_dependency "test-prof", "~> 1.3.3"
spec.add_development_dependency "timecop", "~> 0.9.9"
spec.add_development_dependency "timecop", "~> 0.9.10"
spec.add_development_dependency "vcr", "~> 6.2"
spec.add_development_dependency "webmock", "~> 3.23.1"

unless ci_env?
spec.add_development_dependency "lefthook", "~> 1.6.15"
spec.add_development_dependency "lefthook", "~> 1.6.18"
spec.add_development_dependency "ruby-lsp-rspec", "~> 0.1.12"
spec.add_development_dependency "solargraph", "~> 0.50"
end
Expand All @@ -84,7 +85,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "dry-struct", "1.6.0"
spec.add_dependency "dry-validation", "1.10.0"
spec.add_dependency "email_address", "0.2.4"
spec.add_dependency "grape", "2.0.0"
spec.add_dependency "grape", "2.1.2"
spec.add_dependency "grape-entity", "1.0.1"
spec.add_dependency "grape-swagger", "2.1.0"
spec.add_dependency "grape-swagger-entity", "0.5.4"
Expand All @@ -96,22 +97,22 @@ Gem::Specification.new do |spec|
spec.add_dependency "normalize_country", "0.3.2"
spec.add_dependency "parallel", "1.25.1"
spec.add_dependency "plissken", "3.0.0"
spec.add_dependency "public_suffix", "5.0.5"
spec.add_dependency "public_suffix", "6.0.0"
spec.add_dependency "puma", "6.4.2"
spec.add_dependency "rack", "3.0.11"
spec.add_dependency "rack", "3.1.4"
spec.add_dependency "rack-cors", "2.0.2"
spec.add_dependency "rack-session", "2.0.0"
spec.add_dependency "rackup", "2.1.0"
spec.add_dependency "search_cop", "1.4.0"
spec.add_dependency "semantic_logger", "4.15.0"
spec.add_dependency "sentry-ruby", "~> 5.17.3"
spec.add_dependency "sentry-sidekiq", "~> 5.17.3"
spec.add_dependency "sentry-ruby", "~> 5.18.0"
spec.add_dependency "sentry-sidekiq", "~> 5.18.0"
spec.add_dependency "sidekiq", "7.2.4"
spec.add_dependency "slack-notifier", "2.4.0"
spec.add_dependency "sqlite3", "~> 1.7"
spec.add_dependency "thor", "1.3.1"
spec.add_dependency "thor-hollaback", "0.2.1"
spec.add_dependency "tilt", "2.3.0"
spec.add_dependency "tilt", "2.4.0"
spec.add_dependency "tilt-jbuilder", "0.7.1"
spec.add_dependency "uuidtools", "2.2.0"
spec.add_dependency "whois", "5.1.1"
Expand Down
2 changes: 1 addition & 1 deletion spec/analyzers/analyzer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class AnalyzerTest < Mihari::Analyzers::Base
public :normalized_artifacts

def initialize(query = "dummy")
super(query)
super
end

def artifacts
Expand Down
5 changes: 0 additions & 5 deletions spec/web/endpoints/alerts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ def app
end

describe "delete /api/alerts/:id" do
it "returns 400" do
delete "/api/alerts/foo"
expect(last_response.status).to eq(400)
end

it "returns 404" do
delete "/api/alerts/0"
expect(last_response.status).to eq(404)
Expand Down
10 changes: 0 additions & 10 deletions spec/web/endpoints/artifacts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ def app
end

describe "get /api/artifacts/:id" do
it "returns 400" do
get "/api/artifacts/foo"
expect(last_response.status).to eq(400)
end

it "returns 404" do
get "/api/artifacts/0"
expect(last_response.status).to eq(404)
Expand Down Expand Up @@ -64,11 +59,6 @@ def app
end

describe "delete /api/artifacts/:id" do
it "returns 400" do
delete "/api/artifacts/foo"
expect(last_response.status).to eq(400)
end

it "returns 404" do
delete "/api/artifacts/0"
expect(last_response.status).to eq(404)
Expand Down

0 comments on commit 83cb449

Please sign in to comment.