diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c0b84ff6..95630f96a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 7.11.0 - 2023-11-19 + +### Features + +Want to have custom filters or other variables per query? You can now access a per query `#$qOption##` hash of JSON data in your query template. For example, if you are accessing a RAG endpoint, and you are passing in a query and need some query specific document ids, you can now do that! + +https://github.com/o19s/quepid/pull/883 and https://github.com/o19s/quepid/pull/885 by @epugh. Big thanks to @mkr for his work on splainer-search upgrades to support this, and @atarora for masterminding the use of the `qOption` in queries. + +### Improvements + +* More robust handling of the Static File end point, and better handling of proxied queries that don't return json. https://github.com/o19s/quepid/pull/886 by @epugh. + +* On to Rails 7.1.2! https://github.com/o19s/quepid/pull/837 by @epugh. + ## 7.10.0 - 2023-11-03 Big feature! Or should I say big refactoring? Meet your new friend "The Search Endpoint". You can now configure a connection to a search engine, maybe one of the classic ones like Solr, OpenSearch, or Elasticsearch, or some new ones like "Static CSV File" or even a "Custom Search API". Once that is configured, then you can reuse that connection over and over. Even better, you can share it with your friends in your Team, similar to how you share Cases and Scorers. diff --git a/Gemfile b/Gemfile index 715fb5537..cec184eef 100755 --- a/Gemfile +++ b/Gemfile @@ -6,55 +6,47 @@ ruby '3.2.2' gem 'activerecord-import', '>= 1.0.7' gem 'acts_as_list', '>= 1.0.1' +gem 'ancestry' gem 'angular-rails-templates', '>= 1.0.0.beta' gem 'apipie-rails', '~> 1.2' gem 'bcrypt', '~> 3.1.7' -gem 'sassc-rails', '~> 2.1' -gem 'turbolinks', '~> 5' +gem 'bootsnap', require: false +gem 'cal-heatmap-rails', '~> 3.6' # provides assets for cal heatmap, that requires old d3 gem 'colorize', require: false gem 'cookies_eu' +gem 'd3-rails', '~> 3.5.5' # For cal heatmap gem 'devise', '>= 4.6.2' gem 'devise_invitable', '~> 2.0' + +# Using this as it wires in via Sprockets and I can't get npm version to work with the main app. +# Had no luck with js/svg approach ;-( +gem 'font-awesome-sass' gem 'gabba' gem 'intercom-rails' gem 'jbuilder', '~> 2.7' -gem 'redis', '~> 5.0.6' gem 'jquery-rails' gem 'jquery-ui-rails' # Can we narrow the widgets to load faster? +gem 'listen', '~> 3.3' gem 'mysql2' - -gem 'net-smtp' -gem 'net-pop', '~> 0.1.1' -gem 'net-imap', '~> 0.3.0' +gem 'omniauth' +gem 'omniauth-google-oauth2' +gem 'omniauth-keycloak' +gem 'omniauth-rails_csrf_protection' gem 'postmark-rails' +gem 'prophet-rb', '~> 0.5.0' gem 'puma' gem 'pundit' -gem 'rails', '~> 7.0.8' +gem 'rails', '~> 7.1.2' +gem 'rails-healthcheck', '~> 1.4' +gem 'rails-html-sanitizer' +gem 'rack-cors', '~> 2.0' +gem 'redis', '~> 5.0.6' gem 'responders' +gem 'sassc-rails', '~> 2.1' gem 'sidekiq' gem 'terser' -gem 'bootsnap', require: false -gem 'listen', '~> 3.3' - -gem 'cal-heatmap-rails', '~> 3.6' # provides assets for cal heatmap, that requires old d3 -gem 'd3-rails', '~> 3.5.5' # For cal heatmap - -# Using this as it wires in via Sprockets and I can't get npm version to work with the main app. -# Had no luck with js/svg approach ;-( -gem 'font-awesome-sass' - -gem 'rack-cors', '~> 2.0' -gem 'ancestry' - -gem 'omniauth', '~> 2.0' -gem 'omniauth-keycloak' -gem 'omniauth-google-oauth2' -gem 'omniauth-rails_csrf_protection', '~> 1.0' - -gem 'prophet-rb', '~> 0.5.0' -gem 'rails-healthcheck', '~> 1.4' -gem 'rails-html-sanitizer' - +gem 'thor' +gem 'turbolinks', '~> 5' gem 'vega', '~> 0.3.0' group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index ea866fc3a..25bbbf8f7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,72 +1,81 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.0.8) - actionpack (= 7.0.8) - activesupport (= 7.0.8) + actioncable (7.1.2) + actionpack (= 7.1.2) + activesupport (= 7.1.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.8) - actionpack (= 7.0.8) - activejob (= 7.0.8) - activerecord (= 7.0.8) - activestorage (= 7.0.8) - activesupport (= 7.0.8) + zeitwerk (~> 2.6) + actionmailbox (7.1.2) + actionpack (= 7.1.2) + activejob (= 7.1.2) + activerecord (= 7.1.2) + activestorage (= 7.1.2) + activesupport (= 7.1.2) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.8) - actionpack (= 7.0.8) - actionview (= 7.0.8) - activejob (= 7.0.8) - activesupport (= 7.0.8) + actionmailer (7.1.2) + actionpack (= 7.1.2) + actionview (= 7.1.2) + activejob (= 7.1.2) + activesupport (= 7.1.2) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp - rails-dom-testing (~> 2.0) - actionpack (7.0.8) - actionview (= 7.0.8) - activesupport (= 7.0.8) - rack (~> 2.0, >= 2.2.4) + rails-dom-testing (~> 2.2) + actionpack (7.1.2) + actionview (= 7.1.2) + activesupport (= 7.1.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.8) - actionpack (= 7.0.8) - activerecord (= 7.0.8) - activestorage (= 7.0.8) - activesupport (= 7.0.8) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actiontext (7.1.2) + actionpack (= 7.1.2) + activerecord (= 7.1.2) + activestorage (= 7.1.2) + activesupport (= 7.1.2) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.8) - activesupport (= 7.0.8) + actionview (7.1.2) + activesupport (= 7.1.2) builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.8) - activesupport (= 7.0.8) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.1.2) + activesupport (= 7.1.2) globalid (>= 0.3.6) - activemodel (7.0.8) - activesupport (= 7.0.8) - activerecord (7.0.8) - activemodel (= 7.0.8) - activesupport (= 7.0.8) - activerecord-import (1.5.0) + activemodel (7.1.2) + activesupport (= 7.1.2) + activerecord (7.1.2) + activemodel (= 7.1.2) + activesupport (= 7.1.2) + timeout (>= 0.4.0) + activerecord-import (1.5.1) activerecord (>= 4.2) - activestorage (7.0.8) - actionpack (= 7.0.8) - activejob (= 7.0.8) - activerecord (= 7.0.8) - activesupport (= 7.0.8) + activestorage (7.1.2) + actionpack (= 7.1.2) + activejob (= 7.1.2) + activerecord (= 7.1.2) + activesupport (= 7.1.2) marcel (~> 1.0) - mini_mime (>= 1.1.0) - activesupport (7.0.8) + activesupport (7.1.2) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) acts_as_list (1.1.0) activerecord (>= 4.2) @@ -75,8 +84,8 @@ GEM aes_key_wrap (1.1.0) ancestry (4.3.3) activerecord (>= 5.2.6) - angular-rails-templates (1.2.0) - railties (>= 5.0, < 7.1) + angular-rails-templates (1.2.1) + railties (>= 5.0, < 7.2) sprockets (>= 3.0, < 5) sprockets-rails tilt @@ -88,15 +97,16 @@ GEM actionpack (>= 5.0) activesupport (>= 5.0) ast (2.4.2) - base64 (0.1.1) - bcrypt (3.1.19) + base64 (0.2.0) + bcrypt (3.1.20) benchmark-ips (2.12.0) + bigdecimal (3.1.4) bindata (2.4.15) bindex (0.8.1) - bootsnap (1.16.0) + bootsnap (1.17.0) msgpack (~> 1.2) builder (3.2.4) - bullet (7.0.7) + bullet (7.1.4) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) cal-heatmap-rails (3.6.2) @@ -110,7 +120,7 @@ GEM regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) choice (0.2.0) - cmdstan (0.2.2) + cmdstan (0.3.0) colorize (1.1.0) concurrent-ruby (1.2.2) connection_pool (2.4.1) @@ -121,7 +131,7 @@ GEM crass (1.0.6) d3-rails (3.5.17) railties (>= 3.1) - date (3.3.3) + date (3.3.4) dead_end (4.0.0) derailed_benchmarks (2.1.2) benchmark-ips (~> 2) @@ -135,16 +145,18 @@ GEM rake (> 10, < 14) ruby-statistics (>= 2.1) thor (>= 0.19, < 2) - devise (4.9.2) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) - devise_invitable (2.0.8) + devise_invitable (2.0.9) actionmailer (>= 5.0) devise (>= 4.6) docile (1.4.0) + drb (2.2.0) + ruby2_keywords erubi (1.12.0) execjs (2.9.1) faraday (2.7.11) @@ -154,7 +166,7 @@ GEM faraday-follow_redirects (0.3.0) faraday (>= 1, < 3) faraday-net_http (3.0.2) - ffi (1.15.5) + ffi (1.16.3) font-awesome-sass (6.4.2) sassc (~> 2.0) gabba (1.0.1) @@ -170,6 +182,10 @@ GEM concurrent-ruby (~> 1.0) intercom-rails (0.4.2) activesupport (> 3.0) + io-console (0.6.0) + irb (1.9.0) + rdoc + reline (>= 0.3.8) jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) @@ -197,7 +213,7 @@ GEM listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.21.4) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -208,7 +224,6 @@ GEM marcel (1.0.2) matrix (0.4.2) memory_profiler (1.0.1) - method_source (1.0.0) mini_histogram (0.3.1) mini_mime (1.1.5) minitest (5.20.0) @@ -221,20 +236,21 @@ GEM ruby2_keywords (>= 0.0.5) msgpack (1.7.2) multi_xml (0.6.0) + mutex_m (0.2.0) mysql2 (0.5.5) - net-imap (0.3.7) + net-imap (0.4.5) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout net-smtp (0.4.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.4-aarch64-linux) + nio4r (2.6.0) + nokogiri (1.15.5-aarch64-linux) racc (~> 1.4) - nokogiri (1.15.4-x86_64-linux) + nokogiri (1.15.5-x86_64-linux) racc (~> 1.4) numo-narray (0.9.2.1) oauth2 (2.0.9) @@ -265,10 +281,10 @@ GEM omniauth (~> 2.0) orm_adapter (0.5.0) parallel (1.23.0) - parser (3.2.2.3) + parser (3.2.2.4) ast (~> 2.4.1) racc - postmark (1.24.1) + postmark (1.25.0) json postmark-rails (0.22.1) actionmailer (>= 3.0.0) @@ -277,12 +293,14 @@ GEM cmdstan (>= 0.2) numo-narray (>= 0.9.1.7) rover-df - public_suffix (5.0.3) + psych (5.1.1.1) + stringio + public_suffix (5.0.4) puma (6.4.0) nio4r (~> 2.0) pundit (2.3.1) activesupport (>= 3.0.0) - racc (1.7.1) + racc (1.7.3) rack (2.2.8) rack-cors (2.0.1) rack (>= 2.0.0) @@ -290,22 +308,27 @@ GEM rack (>= 1.2.0) rack-protection (3.1.0) rack (~> 2.2, >= 2.2.4) + rack-session (1.0.1) + rack (< 3) rack-test (2.1.0) rack (>= 1.3) - rails (7.0.8) - actioncable (= 7.0.8) - actionmailbox (= 7.0.8) - actionmailer (= 7.0.8) - actionpack (= 7.0.8) - actiontext (= 7.0.8) - actionview (= 7.0.8) - activejob (= 7.0.8) - activemodel (= 7.0.8) - activerecord (= 7.0.8) - activestorage (= 7.0.8) - activesupport (= 7.0.8) + rackup (1.0.0) + rack (< 3) + webrick + rails (7.1.2) + actioncable (= 7.1.2) + actionmailbox (= 7.1.2) + actionmailer (= 7.1.2) + actionpack (= 7.1.2) + actiontext (= 7.1.2) + actionview (= 7.1.2) + activejob (= 7.1.2) + activemodel (= 7.1.2) + activerecord (= 7.1.2) + activestorage (= 7.1.2) + activesupport (= 7.1.2) bundler (>= 1.15.0) - railties (= 7.0.8) + railties (= 7.1.2) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -325,49 +348,54 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.0.8) - actionpack (= 7.0.8) - activesupport (= 7.0.8) - method_source + railties (7.1.2) + actionpack (= 7.1.2) + activesupport (= 7.1.2) + irb + rackup (>= 1.0.0) rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) + rake (13.1.0) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - redis (5.0.7) - redis-client (>= 0.9.0) - redis-client (0.17.0) + rdoc (6.6.0) + psych (>= 4.0.0) + redis (5.0.8) + redis-client (>= 0.17.0) + redis-client (0.18.0) connection_pool - regexp_parser (2.8.1) - responders (3.1.0) + regexp_parser (2.8.2) + reline (0.4.0) + io-console (~> 0.5) + responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) rexml (3.2.6) rover-df (0.3.4) numo-narray (>= 0.9.1.9) - rubocop (1.56.3) - base64 (~> 0.1.1) + rubocop (1.57.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) rubocop-capybara (2.19.0) rubocop (~> 1.41) - rubocop-rails (2.21.1) + rubocop-rails (2.22.2) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-graphviz (1.2.5) rexml ruby-progressbar (1.13.0) @@ -382,11 +410,11 @@ GEM sprockets (> 3.0) sprockets-rails tilt - selenium-webdriver (4.12.0) + selenium-webdriver (4.15.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - sidekiq (7.1.4) + sidekiq (7.2.0) concurrent-ruby (< 2) connection_pool (>= 2.3.0) rack (>= 2.2.4) @@ -407,17 +435,18 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - terser (1.1.18) + stringio (3.0.9) + terser (1.1.19) execjs (>= 0.3.0, < 3) - thor (1.2.2) + thor (1.3.0) tilt (2.3.0) - timeout (0.4.0) + timeout (0.4.1) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) uniform_notifier (1.16.0) vega (0.3.1) version_gem (1.1.3) @@ -432,13 +461,14 @@ GEM addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.8.1) websocket (1.2.10) websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.11) + zeitwerk (2.6.12) PLATFORMS aarch64-linux @@ -474,20 +504,17 @@ DEPENDENCIES minitest-reporters (>= 0.5.0) mocha (~> 2.0) mysql2 - net-imap (~> 0.3.0) - net-pop (~> 0.1.1) - net-smtp - omniauth (~> 2.0) + omniauth omniauth-google-oauth2 omniauth-keycloak - omniauth-rails_csrf_protection (~> 1.0) + omniauth-rails_csrf_protection postmark-rails prophet-rb (~> 0.5.0) puma pundit rack-cors (~> 2.0) rack-mini-profiler - rails (~> 7.0.8) + rails (~> 7.1.2) rails-controller-testing rails-erd (~> 1.6) rails-healthcheck (~> 1.4) @@ -502,6 +529,7 @@ DEPENDENCIES sidekiq simplecov terser + thor turbolinks (~> 5) vega (~> 0.3.0) web-console diff --git a/app/models/query.rb b/app/models/query.rb index b1ad0e6ec..e230a861a 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -49,7 +49,7 @@ class Query < ApplicationRecord scope :has_information_need, -> { where.not(information_need: [ nil, '' ]) } - serialize :options, JSON + serialize :options, coder: JSON def parent_list self.case.queries diff --git a/app/models/score.rb b/app/models/score.rb index fdc84965f..52fc691e6 100644 --- a/app/models/score.rb +++ b/app/models/score.rb @@ -32,7 +32,7 @@ class Score < ApplicationRecord self.table_name = 'case_scores' - serialize :queries, JSON + serialize :queries, coder: JSON # Associations belongs_to :case diff --git a/app/models/scorer.rb b/app/models/scorer.rb index 433ea9d9b..32a7e38c5 100644 --- a/app/models/scorer.rb +++ b/app/models/scorer.rb @@ -61,8 +61,8 @@ def self.system_default_scorer end # Transform scale from array to a string - serialize :scale, ScaleSerializer - serialize :scale_with_labels, JSON + serialize :scale, coder: ScaleSerializer + serialize :scale_with_labels, coder: JSON after_initialize do |scorer| scorer.scale = [] if scorer.scale.blank? diff --git a/config/environments/test.rb b/config/environments/test.rb index 5b5624098..31d22decb 100755 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -30,7 +30,7 @@ config.cache_store = :null_store # Raise exceptions instead of rendering exception templates. - config.action_dispatch.show_exceptions = false + config.action_dispatch.show_exceptions = :none # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index f8a18a09e..2c20284dc 100755 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -10,7 +10,7 @@ # Add Yarn node_modules folder to the asset load path. Rails.application.config.assets.paths << Rails.root.join('node_modules') -Rails.application.config.assets.paths << Rails.root.join('spec/karma') if Rails.env.development? || Rails.env.test? +Rails.application.config.assets.paths << Rails.root.join('spec/karma') if Rails.env.local? # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in the app/assets diff --git a/db/schema.rb b/db/schema.rb index 96c6540d6..3512de42b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_11_11_181543) do +ActiveRecord::Schema[7.1].define(version: 2023_11_11_181543) do create_table "annotations", id: :integer, charset: "utf8mb3", force: :cascade do |t| t.text "message" t.string "source" diff --git a/package.json b/package.json index 9cdea3f34..23ac391fa 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "license": "Apache-2.0", "dependencies": { "@popperjs/core": "^2.11.6", - "@rails/actioncable": "7.0.8", - "@rails/activestorage": "7.0.8", - "@rails/ujs": "7.0.8", + "@rails/actioncable": "7.1.2", + "@rails/activestorage": "7.1.2", + "@rails/ujs": "7.1.2", "ace-builds": "1.31.1", "angular": "~1.8.3", "angular-animate": "^1.8.3", @@ -42,7 +42,7 @@ "splainer-search": "2.30.3", "tether-shepherd": "latest", "turbolinks": "^5.2.0", - "vega": "5.25.0" + "vega": "5.26.1" }, "devDependencies": { "angular-mocks": "~1.8.3", diff --git a/test/controllers/books_controller_test.rb b/test/controllers/books_controller_test.rb index ce46c4187..f4c207dc3 100644 --- a/test/controllers/books_controller_test.rb +++ b/test/controllers/books_controller_test.rb @@ -20,8 +20,14 @@ def test_functionality login_user + # Bullet::Notification::UnoptimizedQueryError: + # GET /books + # Need Counter Cache with Active Record size + # Book => [:rated_query_doc_pairs] + Bullet.enable = false get '/books' assert_equal 200, status + Bullet.enable = true patch "/books/#{book.id}/combine", params: { book_ids: { "#{james_bond_movies.id}": '1' } } follow_redirect! diff --git a/test/controllers/search_endpoints_controller_test.rb b/test/controllers/search_endpoints_controller_test.rb index 5cac35679..ea8466f4c 100644 --- a/test/controllers/search_endpoints_controller_test.rb +++ b/test/controllers/search_endpoints_controller_test.rb @@ -22,7 +22,7 @@ class SearchEndpointsControllerTest < ActionDispatch::IntegrationTest assert_response :success end - test 'throw error on attempting to create search_endpoint with no teams' do + test 'should create search_endpoint using existing parameters doesnt change anything' do assert_difference('SearchEndpoint.count', 0) do post search_endpoints_url, params: { search_endpoint: { @@ -35,10 +35,8 @@ class SearchEndpointsControllerTest < ActionDispatch::IntegrationTest } } end - assert_response :ok - - # this assert could be better. - assert @response.parsed_body.include?('You must select at least one team to share this end point with') + assert_response :success + assert_empty SearchEndpoint.last.teams end test 'should create search_endpoint' do diff --git a/yarn.lock b/yarn.lock index 3d706f5fe..0a0175e06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,11 +3,11 @@ "@babel/code-frame@^7.0.0": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" - integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.4.tgz#03ae5af150be94392cb5c7ccd97db5a19a5da6aa" + integrity sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA== dependencies: - "@babel/highlight" "^7.22.13" + "@babel/highlight" "^7.23.4" chalk "^2.4.2" "@babel/helper-validator-identifier@^7.22.20": @@ -15,10 +15,10 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== -"@babel/highlight@^7.22.13": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" - integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== dependencies: "@babel/helper-validator-identifier" "^7.22.20" chalk "^2.4.2" @@ -34,10 +34,10 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== -"@puppeteer/browsers@1.7.1": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-1.7.1.tgz#04f1e3aec4b87f50a7acc8f64be2149bda014f0a" - integrity sha512-nIb8SOBgDEMFY2iS2MdnUZOg2ikcYchRrBoF+wtdjieRFKR2uGRipHY/oFLo+2N6anDualyClPzGywTHRGrLfw== +"@puppeteer/browsers@1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-1.8.0.tgz#fb6ee61de15e7f0e67737aea9f9bab1512dbd7d8" + integrity sha512-TkRHIV6k2D8OlUe8RtG+5jgOF/H98Myx0M6AOafC8DdNVOFiBSFa5cpRDtpm8LXOa9sVwe0+e6Q3FC56X/DZfg== dependencies: debug "4.3.4" extract-zip "2.0.1" @@ -45,24 +45,24 @@ proxy-agent "6.3.1" tar-fs "3.0.4" unbzip2-stream "1.4.3" - yargs "17.7.1" + yargs "17.7.2" -"@rails/actioncable@7.0.8": - version "7.0.8" - resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.0.8.tgz#f44e7517f2d1570f1eabeea457dbeb17ed3a2d12" - integrity sha512-GjYQv89ZOOfbFw8VMNUOG33GXzyAA/TCVoD+742Ob4svm1XXUkd+w+ewqUXd+7VHQtV35y1/O78AGIPeJDTy/g== +"@rails/actioncable@7.1.2": + version "7.1.2" + resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.1.2.tgz#d261ff4b72844f5af496671346ec478798f4ac2c" + integrity sha512-KGziTZfbmGm8/fHOpj515xupbYU+49hsp4etfdpoDJ/CEY2bRZR0cyFcJkpK6n0t/sxOHNWY6bo9vSgXZvT7Mg== -"@rails/activestorage@7.0.8": - version "7.0.8" - resolved "https://registry.yarnpkg.com/@rails/activestorage/-/activestorage-7.0.8.tgz#7ea8a656b5621e0dc57f51e3ad2f06c3af30d3ea" - integrity sha512-CxPyCxTV0HIaZP8qqH11tkESNl8TrQsIAesAgeOXDOl0BkaN6nC0/Mq2/0ngezBu9CZbFzfHtP2g6Yl8BWkV8g== +"@rails/activestorage@7.1.2": + version "7.1.2" + resolved "https://registry.yarnpkg.com/@rails/activestorage/-/activestorage-7.1.2.tgz#088dce680fa1e0a4f8e0c5ac91073f729204ed06" + integrity sha512-evC/xGlpq5XGpcNJina3oNVVB8pUp1GpnN3a84SVA+UNuB6O91OdNRl9BGHNAOo6/jxmFtLb73PIjWqQyVE14w== dependencies: spark-md5 "^3.0.1" -"@rails/ujs@7.0.8": - version "7.0.8" - resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-7.0.8.tgz#59853367d0827b3955d2c4bedfd5eba4a79d3422" - integrity sha512-tOQQBVH8LsUpGXqDnk+kaOGVsgZ8maHAhEiw3Git3p88q+c0Slgu47HuDnL6sVxeCfz24zbq7dOjsVYDiTpDIA== +"@rails/ujs@7.1.2": + version "7.1.2" + resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-7.1.2.tgz#ea903bcc0224e17156015d995b6f1b83e27d64b2" + integrity sha512-c5x02djEKEVVE4qfN4XgElJS4biM0xxtIVpcJ0ZHLK116U19rowTtmD0AJ/RCb3Xaewa4GPIWLlwgeC0dCQqzw== "@socket.io/component-emitter@~3.1.0": version "3.1.0" @@ -87,9 +87,9 @@ "@types/node" "*" "@types/estree@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" - integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== + version "1.0.5" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== "@types/geojson@7946.0.4": version "7946.0.4" @@ -97,9 +97,11 @@ integrity sha512-MHmwBtCb7OCv1DSivz2UNJXPGU/1btAWRKlqJ2saEhVJkpkvqHMMaOpKg0v4sAbDWSQekHGvPVMM8nQ+Jen03Q== "@types/node@*": - version "20.6.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.3.tgz#5b763b321cd3b80f6b8dde7a37e1a77ff9358dd9" - integrity sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA== + version "20.9.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.9.2.tgz#002815c8e87fe0c9369121c78b52e800fadc0ac6" + integrity sha512-WHZXKFCEyIUJzAwh3NyyTHYSR35SevJ6mZ1nWwJafKtiQbqRTIKSRcw3Ma3acqgsent3RRDqeVwpHntMk+9irg== + dependencies: + undici-types "~5.26.4" "@types/node@>=10.0.0": version "20.5.7" @@ -107,9 +109,9 @@ integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA== "@types/yauzl@^2.9.1": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.0.tgz#b3248295276cf8c6f153ebe6a9aba0c988cb2599" - integrity sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw== + version "2.10.3" + resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.3.tgz#e9b2808b4f109504a03cda958259876f61017999" + integrity sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q== dependencies: "@types/node" "*" @@ -382,10 +384,10 @@ chokidar@^3.5.1: optionalDependencies: fsevents "~2.3.2" -chromium-bidi@0.4.27: - version "0.4.27" - resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-0.4.27.tgz#6b12b9cb4d43f66803258cb3b2c4a857e5911cc7" - integrity sha512-8Irq0FbKYN8Xmj8M62kta6wk5MyDKeYIFtNavxQ2M3xf2v5MCC4ntf+FxitQu1iHaQvGU6t5O+Nrep0RNNS0EQ== +chromium-bidi@0.4.33: + version "0.4.33" + resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-0.4.33.tgz#9a9aba5a5b07118c8e7d6405f8ee79f47418dd1d" + integrity sha512-IxoFM5WGQOIAd95qrSXzJUv4eXIrh+RvU3rwwqIiwYuvfE7U/Llj4fejbsJnjJMUYCuGtVQsY2gv7oGl4aTNSQ== dependencies: mitt "3.0.1" urlpattern-polyfill "9.0.0" @@ -531,20 +533,13 @@ custom-event@~1.0.0: resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425" integrity sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg== -"d3-array@1 - 3", "d3-array@2 - 3", "d3-array@2.10.0 - 3", "d3-array@2.5.0 - 3", d3-array@3, d3-array@^3.2.0, d3-array@^3.2.2: +"d3-array@1 - 3", "d3-array@2 - 3", "d3-array@2.10.0 - 3", "d3-array@2.5.0 - 3", d3-array@3, d3-array@3.2.4, d3-array@^3.2.0, d3-array@^3.2.2: version "3.2.4" resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-3.2.4.tgz#15fec33b237f97ac5d7c986dc77da273a8ed0bb5" integrity sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg== dependencies: internmap "1 - 2" -d3-array@3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-3.2.2.tgz#f8ac4705c5b06914a7e0025bbf8d5f1513f6a86e" - integrity sha512-yEEyEAbDrF8C6Ob2myOBLjwBLck1Z89jMGFee0oPsn95GqjerpaOA4ch+vc2l0FNFFwMD5N7OCSEN5eAlsUbgQ== - dependencies: - internmap "1 - 2" - d3-axis@3: version "3.0.0" resolved "https://registry.yarnpkg.com/d3-axis/-/d3-axis-3.0.0.tgz#c42a4a13e8131d637b745fc2973824cfeaf93322" @@ -809,10 +804,10 @@ d3@~7.8.2: d3-transition "3" d3-zoom "3" -data-uri-to-buffer@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-5.0.1.tgz#db89a9e279c2ffe74f50637a59a32fb23b3e4d7c" - integrity sha512-a9l6T1qqDogvvnw0nKlfZzqsyikEBZBClF39V3TFoKhDtGBqHu2HkuomJc02j5zft8zrUaXEuoicLeW54RkzPg== +data-uri-to-buffer@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz#540bd4c8753a25ee129035aebdedf63b078703c7" + integrity sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg== date-format@^4.0.14: version "4.0.14" @@ -869,10 +864,10 @@ destroy@1.2.0: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== -devtools-protocol@0.0.1179426: - version "0.0.1179426" - resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1179426.tgz#c4c3ee671efae868395569123002facbbbffa267" - integrity sha512-KKC7IGwdOr7u9kTGgjUvGTov/z1s2H7oHi3zKCdR9eSDyCPia5CBi4aRhtp7d8uR7l0GS5UTDw3TjKGu5CqINg== +devtools-protocol@0.0.1203626: + version "0.0.1203626" + resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1203626.tgz#4366a4c81a7e0d4fd6924e9182c67f1e5941e820" + integrity sha512-nEzHZteIUZfGCZtTiS1fRpC8UZmsfD1SiyPvaUNvS13dvKf666OAm8YTi0+Ca3n1nLEyu49Cy4+dPWpaHFJk9g== di@^0.0.1: version "0.0.1" @@ -1148,12 +1143,12 @@ get-stream@^5.1.0: pump "^3.0.0" get-uri@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-6.0.1.tgz#cff2ba8d456c3513a04b70c45de4dbcca5b1527c" - integrity sha512-7ZqONUVqaabogsYNWlYj0t3YZaL6dhuEueZXGF+/YVmf6dHmaFg8/6psJKqhx9QykIDKzpGcy2cn4oV4YC7V/Q== + version "6.0.2" + resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-6.0.2.tgz#e019521646f4a8ff6d291fbaea2c46da204bb75b" + integrity sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw== dependencies: basic-ftp "^5.0.2" - data-uri-to-buffer "^5.0.1" + data-uri-to-buffer "^6.0.0" debug "^4.3.4" fs-extra "^8.1.0" @@ -1734,26 +1729,26 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -puppeteer-core@21.3.1: - version "21.3.1" - resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-21.3.1.tgz#806c317c36f543b2f2c7362a5c1c3c64e5c57fc5" - integrity sha512-3VrCDEAHk0hPvE8qtfKgsT8CzRuaQrDQGXdCOuMFJM7Ap+ghpQzhPa9H3DE3gZgwDvC5Jt7SxUkAWLCeNbD0xw== +puppeteer-core@21.5.2: + version "21.5.2" + resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-21.5.2.tgz#6d3de4efb2ae65f1ee072043787b75594e88035f" + integrity sha512-v4T0cWnujSKs+iEfmb8ccd7u4/x8oblEyKqplqKnJ582Kw8PewYAWvkH4qUWhitN3O2q9RF7dzkvjyK5HbzjLA== dependencies: - "@puppeteer/browsers" "1.7.1" - chromium-bidi "0.4.27" + "@puppeteer/browsers" "1.8.0" + chromium-bidi "0.4.33" cross-fetch "4.0.0" debug "4.3.4" - devtools-protocol "0.0.1179426" - ws "8.14.1" + devtools-protocol "0.0.1203626" + ws "8.14.2" puppeteer@^21.3.0: - version "21.3.1" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-21.3.1.tgz#0196d6f9fcdd6c2f97948d64f2dd7ee8187174b1" - integrity sha512-MhDvA+BYmzx+9vHJ/ZtknhlPbSPjTlHQnW1QYfkGpBcGW2Yy6eMahjkNuhAzN29H9tb47IcT0QsVcUy3Txx+SA== + version "21.5.2" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-21.5.2.tgz#0a4a72175c0fd0944d6486f4734807e1671d527b" + integrity sha512-BaAGJOq8Fl6/cck6obmwaNLksuY0Bg/lIahCLhJPGXBFUD2mCffypa4A592MaWnDcye7eaHmSK9yot0pxctY8A== dependencies: - "@puppeteer/browsers" "1.7.1" + "@puppeteer/browsers" "1.8.0" cosmiconfig "8.3.6" - puppeteer-core "21.3.1" + puppeteer-core "21.5.2" qjobs@^1.2.0: version "1.2.0" @@ -1953,9 +1948,9 @@ streamroller@^3.1.5: fs-extra "^8.1.0" streamx@^2.15.0: - version "2.15.1" - resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.15.1.tgz#396ad286d8bc3eeef8f5cea3f029e81237c024c6" - integrity sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA== + version "2.15.5" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.15.5.tgz#87bcef4dc7f0b883f9359671203344a4e004c7f1" + integrity sha512-9thPGMkKC2GctCzyCUjME3yR03x2xNo0GPKGkRw2UMYN+gqWa9uqpyNWhmsNCutU5zHmkUum0LsCRQTXUgUCAg== dependencies: fast-fifo "^1.1.0" queue-tick "^1.0.1" @@ -2095,6 +2090,11 @@ unbzip2-stream@1.4.3: buffer "^5.2.1" through "^2.3.8" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -2192,10 +2192,10 @@ vega-format@^1.1.1, vega-format@~1.1.1: vega-time "^2.1.1" vega-util "^1.17.1" -vega-functions@^5.13.1, vega-functions@~5.13.2: - version "5.13.2" - resolved "https://registry.yarnpkg.com/vega-functions/-/vega-functions-5.13.2.tgz#928348b7867955be3fb6a2b116fd15b6a24992ad" - integrity sha512-YE1Xl3Qi28kw3vdXVYgKFMo20ttd3+SdKth1jUNtBDGGdrOpvPxxFhZkVqX+7FhJ5/1UkDoAYs/cZY0nRKiYgA== +vega-functions@^5.13.1, vega-functions@^5.14.0, vega-functions@~5.14.0: + version "5.14.0" + resolved "https://registry.yarnpkg.com/vega-functions/-/vega-functions-5.14.0.tgz#8235157ae35c0e12f9122e3b783d693967de3c40" + integrity sha512-Q0rocHmJDfQ0tS91kdN8WcEosq1e3HPK1Yf5z36SPYPmTzKw3uxUGE52tLxC832acAYqPmi8R41wAoI/yFQTPg== dependencies: d3-array "^3.2.2" d3-color "^3.1.0" @@ -2204,7 +2204,7 @@ vega-functions@^5.13.1, vega-functions@~5.13.2: vega-expression "^5.1.0" vega-scale "^7.3.0" vega-scenegraph "^4.10.2" - vega-selections "^5.4.1" + vega-selections "^5.4.2" vega-statistics "^1.8.1" vega-time "^2.1.1" vega-util "^1.17.1" @@ -2253,16 +2253,16 @@ vega-loader@^4.5.1, vega-loader@~4.5.1: vega-format "^1.1.1" vega-util "^1.17.1" -vega-parser@~6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/vega-parser/-/vega-parser-6.2.0.tgz#c982aff0a6409486cbbe743a5799412b8b897654" - integrity sha512-as+QnX8Qxe9q51L1C2sVBd+YYYctP848+zEvkBT2jlI2g30aZ6Uv7sKsq7QTL6DUbhXQKR0XQtzlanckSFdaOQ== +vega-parser@~6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/vega-parser/-/vega-parser-6.2.1.tgz#102299993ef6c9562c6e3388925cb8a2663176ac" + integrity sha512-F79bQXt6fMkACR+TfFl7ueehKO26yCR/3iRZxhU7/pgHerx/d8K8pf2onMguu3NAN4eitT+PPuTgkDZtcqo9Qg== dependencies: vega-dataflow "^5.7.5" vega-event-selector "^3.0.1" - vega-functions "^5.13.1" - vega-scale "^7.3.0" - vega-util "^1.17.1" + vega-functions "^5.14.0" + vega-scale "^7.3.1" + vega-util "^1.17.2" vega-projection@^1.6.0, vega-projection@~1.6.0: version "1.6.0" @@ -2291,10 +2291,10 @@ vega-runtime@^6.1.4, vega-runtime@~6.1.4: vega-dataflow "^5.7.5" vega-util "^1.17.1" -vega-scale@^7.3.0, vega-scale@~7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/vega-scale/-/vega-scale-7.3.0.tgz#02b83435a892c6d91a87ee7d3d350fac987f464b" - integrity sha512-pMOAI2h+e1z7lsqKG+gMfR6NKN2sTcyjZbdJwntooW0uFHwjLGjMSY7kSd3nSEquF0HQ8qF7zR6gs1eRwlGimw== +vega-scale@^7.3.0, vega-scale@^7.3.1, vega-scale@~7.3.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/vega-scale/-/vega-scale-7.3.1.tgz#5cb23d1edcf5d759e25fe40b7608a6132a62da46" + integrity sha512-tyTlaaCpHN2Ik/PPKl/j9ThadBDjPtypqW1D7IsUSkzfoZ7RPlI2jwAaoj2C/YW5jFRbEOx3njmjogp48I5CvA== dependencies: d3-array "^3.2.2" d3-interpolate "^3.0.1" @@ -2302,10 +2302,10 @@ vega-scale@^7.3.0, vega-scale@~7.3.0: vega-time "^2.1.1" vega-util "^1.17.1" -vega-scenegraph@^4.10.2, vega-scenegraph@^4.9.2, vega-scenegraph@~4.10.2: - version "4.10.2" - resolved "https://registry.yarnpkg.com/vega-scenegraph/-/vega-scenegraph-4.10.2.tgz#3ae9ad8e99bbf75e2a4f3ebf2c1f9dee7562d245" - integrity sha512-R8m6voDZO5+etwNMcXf45afVM3XAtokMqxuDyddRl9l1YqSJfS+3u8hpolJ50c2q6ZN20BQiJwKT1o0bB7vKkA== +vega-scenegraph@^4.10.2, vega-scenegraph@^4.9.2, vega-scenegraph@~4.11.1: + version "4.11.1" + resolved "https://registry.yarnpkg.com/vega-scenegraph/-/vega-scenegraph-4.11.1.tgz#5faf91d3d1d45ce593e421550303d284ebfba141" + integrity sha512-XXEy8zbLYATj6yuIz6PcSGxO/pob4DEYBHdwoN4tfB2Yz6/eModF0JJdlNsGWNxV27VO6EPtzpJEc5Ql/OOQNw== dependencies: d3-path "^3.1.0" d3-shape "^3.2.0" @@ -2314,12 +2314,12 @@ vega-scenegraph@^4.10.2, vega-scenegraph@^4.9.2, vega-scenegraph@~4.10.2: vega-scale "^7.3.0" vega-util "^1.17.1" -vega-selections@^5.4.1: - version "5.4.1" - resolved "https://registry.yarnpkg.com/vega-selections/-/vega-selections-5.4.1.tgz#3233acb920703bfc323df8b960aa52e55ac08c70" - integrity sha512-EtYc4DvA+wXqBg9tq+kDomSoVUPCmQfS7hUxy2qskXEed79YTimt3Hcl1e1fW226I4AVDBEqTTKebmKMzbSgAA== +vega-selections@^5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/vega-selections/-/vega-selections-5.4.2.tgz#cb4f41f5d4c0ee924ebf131b8dbd43e7885bcad4" + integrity sha512-99FUhYmg0jOJr2/K4TcEURmJRkuibrCDc8KBUX7qcQEITzrZ5R6a4QE+sarCvbb3hi8aA9GV2oyST6MQeA9mgQ== dependencies: - d3-array "3.2.2" + d3-array "3.2.4" vega-expression "^5.0.1" vega-util "^1.17.1" @@ -2339,10 +2339,10 @@ vega-time@^2.1.1, vega-time@~2.1.1: d3-time "^3.1.0" vega-util "^1.17.1" -vega-transforms@~4.10.2: - version "4.10.2" - resolved "https://registry.yarnpkg.com/vega-transforms/-/vega-transforms-4.10.2.tgz#3a5ff3e92d8b0ee86868aed88e57b847b459d64e" - integrity sha512-sJELfEuYQ238PRG+GOqQch8D69RYnJevYSGLsRGQD2LxNz3j+GlUX6Pid+gUEH5HJy22Q5L0vsTl2ZNhIr4teQ== +vega-transforms@~4.11.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/vega-transforms/-/vega-transforms-4.11.0.tgz#3b7c2508c6cb1929fe69012e18ce7162223f7b8a" + integrity sha512-BeDASz7s9pIFjcSBljJJb8Eg0to2VjU0DvS/UjCQQYtqlfmzz78/mZnHyC+mW06h58ZKN+1QrIfqTZ6uMB4ySw== dependencies: d3-array "^3.2.2" vega-dataflow "^5.7.5" @@ -2350,17 +2350,17 @@ vega-transforms@~4.10.2: vega-time "^2.1.1" vega-util "^1.17.1" -vega-typings@~0.24.0: - version "0.24.2" - resolved "https://registry.yarnpkg.com/vega-typings/-/vega-typings-0.24.2.tgz#7fa93e1ecccf2ea1e711024ef45aa3ef84b9ad1c" - integrity sha512-fW02GElYoqweCCaPqH6iH44UZnzXiX9kbm1qyecjU3k5s0vtufLI7Yuz/a/uL37mEAqTMQplBBAlk0T9e2e1Dw== +vega-typings@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/vega-typings/-/vega-typings-1.0.1.tgz#748facd9e1f5a1d8c0e9ee148d3210286058b5d2" + integrity sha512-VYsezOoYU8lDWGX6m5g6+m48Icq5RhZ51ek4Gc2UJkz8WJpYlVeN81Ko/smQMLblcU5NTD4Ffu+Mb3EcnXpMZw== dependencies: "@types/geojson" "7946.0.4" vega-event-selector "^3.0.1" - vega-expression "^5.0.1" - vega-util "^1.17.1" + vega-expression "^5.1.0" + vega-util "^1.17.2" -vega-util@^1.15.2, vega-util@^1.17.1, vega-util@~1.17.2: +vega-util@^1.15.2, vega-util@^1.17.1, vega-util@^1.17.2, vega-util@~1.17.2: version "1.17.2" resolved "https://registry.yarnpkg.com/vega-util/-/vega-util-1.17.2.tgz#f69aa09fd5d6110c19c4a0f0af9e35945b99987d" integrity sha512-omNmGiZBdjm/jnHjZlywyYqafscDdHaELHx1q96n5UOz/FlO9JO99P4B3jZg391EFG8dqhWjQilSf2JH6F1mIw== @@ -2388,10 +2388,10 @@ vega-view@~5.11.1: vega-scenegraph "^4.10.2" vega-util "^1.17.1" -vega-voronoi@~4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/vega-voronoi/-/vega-voronoi-4.2.1.tgz#521a22d3d4c545fe1d5eea19eac0fd3ac5e58b1b" - integrity sha512-zzi+fxU/SBad4irdLLsG3yhZgXWZezraGYVQfZFWe8kl7W/EHUk+Eqk/eetn4bDeJ6ltQskX+UXH3OP5Vh0Q0Q== +vega-voronoi@~4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/vega-voronoi/-/vega-voronoi-4.2.2.tgz#f2068ddd01d184047c4f18bceb14dbf5edab2854" + integrity sha512-Bq2YOp2MGphhQnUuLwl3dsyBs6MuEU86muTjDbBJg33+HkZtE1kIoQZr+EUHa46NBsY1NzSKddOTu8wcaFrWiQ== dependencies: d3-delaunay "^6.0.2" vega-dataflow "^5.7.5" @@ -2408,10 +2408,10 @@ vega-wordcloud@~4.1.4: vega-statistics "^1.8.1" vega-util "^1.17.1" -vega@5.25.0: - version "5.25.0" - resolved "https://registry.yarnpkg.com/vega/-/vega-5.25.0.tgz#086a799dfcd6958b6ca8eb41c92673ea591db323" - integrity sha512-lr+uj0mhYlSN3JOKbMNp1RzZBenWp9DxJ7kR3lha58AFNCzzds7pmFa7yXPbtbaGhB7Buh/t6n+Bzk3Y0VnF5g== +vega@5.26.1: + version "5.26.1" + resolved "https://registry.yarnpkg.com/vega/-/vega-5.26.1.tgz#8d7882eae9579207ec2fff8bd6a6125cdac2c4b4" + integrity sha512-1IguabCfv5jGUwMg4d8V9Lf/yBxaUc1EXmRwHzV8pMSy6KUB0h7rh9gYU0ja+vOB7b5qygRwppqeL0cATrzLUw== dependencies: vega-crossfilter "~4.1.1" vega-dataflow "~5.7.5" @@ -2420,25 +2420,25 @@ vega@5.25.0: vega-expression "~5.1.0" vega-force "~4.2.0" vega-format "~1.1.1" - vega-functions "~5.13.2" + vega-functions "~5.14.0" vega-geo "~4.4.1" vega-hierarchy "~4.1.1" vega-label "~1.2.1" vega-loader "~4.5.1" - vega-parser "~6.2.0" + vega-parser "~6.2.1" vega-projection "~1.6.0" vega-regression "~1.2.0" vega-runtime "~6.1.4" - vega-scale "~7.3.0" - vega-scenegraph "~4.10.2" + vega-scale "~7.3.1" + vega-scenegraph "~4.11.1" vega-statistics "~1.9.0" vega-time "~2.1.1" - vega-transforms "~4.10.2" - vega-typings "~0.24.0" + vega-transforms "~4.11.0" + vega-typings "~1.0.1" vega-util "~1.17.2" vega-view "~5.11.1" vega-view-transforms "~4.5.9" - vega-voronoi "~4.2.1" + vega-voronoi "~4.2.2" vega-wordcloud "~4.1.4" void-elements@^2.0.0: @@ -2480,10 +2480,10 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -ws@8.14.1: - version "8.14.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.1.tgz#4b9586b4f70f9e6534c7bb1d3dc0baa8b8cf01e0" - integrity sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A== +ws@8.14.2: + version "8.14.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" + integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== ws@~8.11.0: version "8.11.0" @@ -2505,10 +2505,10 @@ yargs-parser@^21.1.1: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs@17.7.1: - version "17.7.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.1.tgz#34a77645201d1a8fc5213ace787c220eabbd0967" - integrity sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw== +yargs@17.7.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: cliui "^8.0.1" escalade "^3.1.1"