stimulus_reflex 3.5.0.pre10 → 3.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of stimulus_reflex might be problematic. Click here for more details.

@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ module StimulusReflex
4
+ class VersionMismatchError < StandardError
5
+ end
6
+
7
+ module VersionChecker
8
+ def check_version!
9
+ return if StimulusReflex.config.on_failed_sanity_checks == :ignore
10
+ return if version == StimulusReflex::VERSION
11
+
12
+ level = (StimulusReflex.config.on_failed_sanity_checks == :exit) ? "error" : "warn"
13
+ reason = (level == "error") ? "failed to execute your reflex action due to" : "noticed"
14
+
15
+ mismatch = "StimulusReflex #{reason} a version mismatch between your gem and JavaScript version. Package versions must match exactly.\n\nstimulus_reflex gem: #{StimulusReflex::VERSION}\nstimulus_reflex npm: #{npm_version}"
16
+
17
+ StimulusReflex.config.logger.error("\n\e[31m#{mismatch}\e[0m")
18
+
19
+ log = {
20
+ message: mismatch,
21
+ level: level,
22
+ reflexId: id
23
+ }
24
+
25
+ event = {
26
+ name: "stimulus-reflex:version-mismatch",
27
+ reflexId: id,
28
+ detail: {
29
+ message: mismatch,
30
+ gem: StimulusReflex::VERSION,
31
+ npm: npm_version,
32
+ level: level
33
+ }
34
+ }
35
+
36
+ toast = {
37
+ text: mismatch.to_s,
38
+ destination: "https://docs.stimulusreflex.com/hello-world/setup#upgrading-package-versions-and-sanity",
39
+ reflexId: id,
40
+ level: level
41
+ }
42
+
43
+ CableReady::Channels.instance[@channel.stream_name].tap { |channel|
44
+ channel.console_log(log)
45
+ channel.dispatch_event(event)
46
+ channel.stimulus_reflex_version_mismatch(toast) if Rails.env.development?
47
+ }.broadcast
48
+
49
+ return if level == "warn"
50
+
51
+ raise VersionMismatchError.new(mismatch)
52
+ end
53
+ end
54
+ end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- include Rails.application.routes.url_helpers
4
-
5
3
  SR_STEPS = {
6
4
  "action_cable" => "Action Cable",
7
5
  "webpacker" => "Install StimulusReflex using Webpacker",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stimulus_reflex",
3
- "version": "3.5.0-pre10",
3
+ "version": "3.5.0-rc1",
4
4
  "description": "Build reactive applications with the Rails tooling you already know and love.",
5
5
  "keywords": [
6
6
  "ruby",
@@ -46,17 +46,18 @@
46
46
  "build:watch": "yarn rollup -wc",
47
47
  "watch": "yarn build:watch",
48
48
  "test": "web-test-runner javascript/test/**/*.test.js",
49
+ "test:watch": "yarn test --watch",
49
50
  "docs:dev": "vitepress dev docs",
50
- "docs:build": "vitepress build docs",
51
+ "docs:build": "vitepress build docs && cp docs/_redirects docs/.vitepress/dist",
51
52
  "docs:preview": "vitepress preview docs"
52
53
  },
53
54
  "peerDependencies": {
54
55
  "@hotwired/stimulus": ">= 3.0"
55
56
  },
56
57
  "dependencies": {
57
- "@hotwired/stimulus": ">= 3.0, < 4",
58
- "@rails/actioncable": ">= 6.0, < 8",
59
- "cable_ready": "5.0.0-pre10"
58
+ "@hotwired/stimulus": "^3",
59
+ "@rails/actioncable": "^6 || ^7",
60
+ "cable_ready": "5.0.0-rc1"
60
61
  },
61
62
  "devDependencies": {
62
63
  "@open-wc/testing": "^3.1.7",
@@ -65,9 +66,10 @@
65
66
  "@rollup/plugin-terser": "^0.4.0",
66
67
  "@web/dev-server-esbuild": "^0.3.3",
67
68
  "@web/dev-server-rollup": "^0.3.21",
68
- "@web/test-runner": "^0.15.0",
69
+ "@web/test-runner": "^0.15.1",
69
70
  "prettier-standard": "^16.4.1",
70
- "rollup": "^3.17.1",
71
- "vitepress": "^1.0.0-alpha.47"
71
+ "rollup": "^3.19.1",
72
+ "toastify-js": "^1.12.0",
73
+ "vitepress": "^1.0.0-alpha.56"
72
74
  }
73
75
  }
data/rollup.config.mjs CHANGED
@@ -13,13 +13,6 @@ const pretty = () => {
13
13
  })
14
14
  }
15
15
 
16
- const minify = () => {
17
- return terser({
18
- mangle: true,
19
- compress: true
20
- })
21
- }
22
-
23
16
  const esConfig = {
24
17
  format: 'es',
25
18
  inlineDynamicImports: true
@@ -47,23 +40,11 @@ const output = distFolders
47
40
  file: `${distFolder}/${baseName}.umd.js`,
48
41
  plugins: [pretty()]
49
42
  },
50
- {
51
- ...umdConfig,
52
- file: `${distFolder}/${baseName}.umd.min.js`,
53
- sourcemap: true,
54
- plugins: [pretty()]
55
- },
56
43
  {
57
44
  ...esConfig,
58
45
  file: `${distFolder}/${baseName}.js`,
59
46
  format: 'es',
60
47
  plugins: [pretty()]
61
- },
62
- {
63
- ...esConfig,
64
- file: `${distFolder}/${baseName}.min.js`,
65
- sourcemap: true,
66
- plugins: [minify()]
67
48
  }
68
49
  ])
69
50
  .flat()
@@ -46,9 +46,9 @@ Gem::Specification.new do |gem|
46
46
  gem.add_dependency "activesupport", *rails_version
47
47
  gem.add_dependency "railties", *rails_version
48
48
 
49
- gem.add_dependency "cable_ready", ">= 5.0.0.pre10"
49
+ gem.add_dependency "cable_ready", ">= 5.0.0.rc1"
50
50
  gem.add_dependency "nokogiri", "~> 1.0"
51
- gem.add_dependency "rack", "~> 2.0"
51
+ gem.add_dependency "rack", ">= 2", "< 4"
52
52
  gem.add_dependency "redis", ">= 4.0", "< 6.0"
53
53
 
54
54
  gem.add_development_dependency "bundler", "~> 2.0"
data/yarn.lock CHANGED
@@ -21,109 +21,109 @@
21
21
  resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.7.4.tgz#78aea1140a50c4d193e1f06a13b7f12c5e2cbeea"
22
22
  integrity sha512-2VGCk7I9tA9Ge73Km99+Qg87w0wzW4tgUruvWAn/gfey1ZXgmxZtyIRBebk35R1O8TbK77wujVtCnpsGpRy1kg==
23
23
 
24
- "@algolia/cache-browser-local-storage@4.14.3":
25
- version "4.14.3"
26
- resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.14.3.tgz#b9e0da012b2f124f785134a4d468ee0841b2399d"
27
- integrity sha512-hWH1yCxgG3+R/xZIscmUrWAIBnmBFHH5j30fY/+aPkEZWt90wYILfAHIOZ1/Wxhho5SkPfwFmT7ooX2d9JeQBw==
28
- dependencies:
29
- "@algolia/cache-common" "4.14.3"
30
-
31
- "@algolia/cache-common@4.14.3":
32
- version "4.14.3"
33
- resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.14.3.tgz#a78e9faee3dfec018eab7b0996e918e06b476ac7"
34
- integrity sha512-oZJofOoD9FQOwiGTzyRnmzvh3ZP8WVTNPBLH5xU5JNF7drDbRT0ocVT0h/xB2rPHYzOeXRrLaQQBwRT/CKom0Q==
35
-
36
- "@algolia/cache-in-memory@4.14.3":
37
- version "4.14.3"
38
- resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.14.3.tgz#96cefb942aeb80e51e6a7e29f25f4f7f3439b736"
39
- integrity sha512-ES0hHQnzWjeioLQf5Nq+x1AWdZJ50znNPSH3puB/Y4Xsg4Av1bvLmTJe7SY2uqONaeMTvL0OaVcoVtQgJVw0vg==
40
- dependencies:
41
- "@algolia/cache-common" "4.14.3"
42
-
43
- "@algolia/client-account@4.14.3":
44
- version "4.14.3"
45
- resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.14.3.tgz#6d7d032a65c600339ce066505c77013d9a9e4966"
46
- integrity sha512-PBcPb0+f5Xbh5UfLZNx2Ow589OdP8WYjB4CnvupfYBrl9JyC1sdH4jcq/ri8osO/mCZYjZrQsKAPIqW/gQmizQ==
47
- dependencies:
48
- "@algolia/client-common" "4.14.3"
49
- "@algolia/client-search" "4.14.3"
50
- "@algolia/transporter" "4.14.3"
51
-
52
- "@algolia/client-analytics@4.14.3":
53
- version "4.14.3"
54
- resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.14.3.tgz#ca409d00a8fff98fdcc215dc96731039900055dc"
55
- integrity sha512-eAwQq0Hb/aauv9NhCH5Dp3Nm29oFx28sayFN2fdOWemwSeJHIl7TmcsxVlRsO50fsD8CtPcDhtGeD3AIFLNvqw==
56
- dependencies:
57
- "@algolia/client-common" "4.14.3"
58
- "@algolia/client-search" "4.14.3"
59
- "@algolia/requester-common" "4.14.3"
60
- "@algolia/transporter" "4.14.3"
61
-
62
- "@algolia/client-common@4.14.3":
63
- version "4.14.3"
64
- resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.14.3.tgz#c44e48652b2121a20d7a40cfd68d095ebb4191a8"
65
- integrity sha512-jkPPDZdi63IK64Yg4WccdCsAP4pHxSkr4usplkUZM5C1l1oEpZXsy2c579LQ0rvwCs5JFmwfNG4ahOszidfWPw==
66
- dependencies:
67
- "@algolia/requester-common" "4.14.3"
68
- "@algolia/transporter" "4.14.3"
69
-
70
- "@algolia/client-personalization@4.14.3":
71
- version "4.14.3"
72
- resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.14.3.tgz#8f71325035aa2a5fa7d1d567575235cf1d6c654f"
73
- integrity sha512-UCX1MtkVNgaOL9f0e22x6tC9e2H3unZQlSUdnVaSKpZ+hdSChXGaRjp2UIT7pxmPqNCyv51F597KEX5WT60jNg==
74
- dependencies:
75
- "@algolia/client-common" "4.14.3"
76
- "@algolia/requester-common" "4.14.3"
77
- "@algolia/transporter" "4.14.3"
78
-
79
- "@algolia/client-search@4.14.3":
80
- version "4.14.3"
81
- resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.14.3.tgz#cf1e77549f5c3e73408ffe6441ede985fde69da0"
82
- integrity sha512-I2U7xBx5OPFdPLA8AXKUPPxGY3HDxZ4r7+mlZ8ZpLbI8/ri6fnu6B4z3wcL7sgHhDYMwnAE8Xr0AB0h3Hnkp4A==
83
- dependencies:
84
- "@algolia/client-common" "4.14.3"
85
- "@algolia/requester-common" "4.14.3"
86
- "@algolia/transporter" "4.14.3"
87
-
88
- "@algolia/logger-common@4.14.3":
89
- version "4.14.3"
90
- resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.14.3.tgz#87d4725e7f56ea5a39b605771b7149fff62032a7"
91
- integrity sha512-kUEAZaBt/J3RjYi8MEBT2QEexJR2kAE2mtLmezsmqMQZTV502TkHCxYzTwY2dE7OKcUTxi4OFlMuS4GId9CWPw==
92
-
93
- "@algolia/logger-console@4.14.3":
94
- version "4.14.3"
95
- resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.14.3.tgz#1f19f8f0a5ef11f01d1f9545290eb6a89b71fb8a"
96
- integrity sha512-ZWqAlUITktiMN2EiFpQIFCJS10N96A++yrexqC2Z+3hgF/JcKrOxOdT4nSCQoEPvU4Ki9QKbpzbebRDemZt/hw==
97
- dependencies:
98
- "@algolia/logger-common" "4.14.3"
99
-
100
- "@algolia/requester-browser-xhr@4.14.3":
101
- version "4.14.3"
102
- resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.14.3.tgz#bcf55cba20f58fd9bc95ee55793b5219f3ce8888"
103
- integrity sha512-AZeg2T08WLUPvDncl2XLX2O67W5wIO8MNaT7z5ii5LgBTuk/rU4CikTjCe2xsUleIZeFl++QrPAi4Bdxws6r/Q==
104
- dependencies:
105
- "@algolia/requester-common" "4.14.3"
106
-
107
- "@algolia/requester-common@4.14.3":
108
- version "4.14.3"
109
- resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.14.3.tgz#2d02fbe01afb7ae5651ae8dfe62d6c089f103714"
110
- integrity sha512-RrRzqNyKFDP7IkTuV3XvYGF9cDPn9h6qEDl595lXva3YUk9YSS8+MGZnnkOMHvjkrSCKfoLeLbm/T4tmoIeclw==
111
-
112
- "@algolia/requester-node-http@4.14.3":
113
- version "4.14.3"
114
- resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.14.3.tgz#72389e1c2e5d964702451e75e368eefe85a09d8f"
115
- integrity sha512-O5wnPxtDRPuW2U0EaOz9rMMWdlhwP0J0eSL1Z7TtXF8xnUeeUyNJrdhV5uy2CAp6RbhM1VuC3sOJcIR6Av+vbA==
116
- dependencies:
117
- "@algolia/requester-common" "4.14.3"
118
-
119
- "@algolia/transporter@4.14.3":
120
- version "4.14.3"
121
- resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.14.3.tgz#5593036bd9cf2adfd077fdc3e81d2e6118660a7a"
122
- integrity sha512-2qlKlKsnGJ008exFRb5RTeTOqhLZj0bkMCMVskxoqWejs2Q2QtWmsiH98hDfpw0fmnyhzHEt0Z7lqxBYp8bW2w==
123
- dependencies:
124
- "@algolia/cache-common" "4.14.3"
125
- "@algolia/logger-common" "4.14.3"
126
- "@algolia/requester-common" "4.14.3"
24
+ "@algolia/cache-browser-local-storage@4.15.0":
25
+ version "4.15.0"
26
+ resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.15.0.tgz#84f12aec6b6aa69542a3bfd3a4ba458ed2cc8230"
27
+ integrity sha512-uxxFhTWh4JJDb2+FFSmNMfEQ8p9o2vjSpU7iW007QX3OvqljPPN68lk3bpZVaG8pwr5MU1DqpkZ71FcQdVTjgQ==
28
+ dependencies:
29
+ "@algolia/cache-common" "4.15.0"
30
+
31
+ "@algolia/cache-common@4.15.0":
32
+ version "4.15.0"
33
+ resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.15.0.tgz#a198098c4b8fa6ef661879ec22d2a2d1ad77d2bb"
34
+ integrity sha512-Me3PbI4QurAM+3D+htIE0l1xt6+bl/18SG6Wc7bPQEZAtN7DTGz22HqhKNyLF2lR/cOfpaH7umXZlZEhIHf7gQ==
35
+
36
+ "@algolia/cache-in-memory@4.15.0":
37
+ version "4.15.0"
38
+ resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.15.0.tgz#77cac4db36a0aa0837f7a7ceb760188191e35268"
39
+ integrity sha512-B9mg1wd7CKMfpkbiTQ8KlcKkH6ut/goVaI6XmDCUczOOqeuZlV34tuEi7o3Xo1j66KWr/d9pMjjGYcoVPCVeOA==
40
+ dependencies:
41
+ "@algolia/cache-common" "4.15.0"
42
+
43
+ "@algolia/client-account@4.15.0":
44
+ version "4.15.0"
45
+ resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.15.0.tgz#8e0723052169665b4449dc2f8bcf3075feb6a424"
46
+ integrity sha512-8wqI33HRZy5ydfFt6F5vMhtkOiAUhVfSCYXx4U3Go5RALqWLgVUp6wzOo0mr1z08POCkHDpbQMQvyayb1CZ/kw==
47
+ dependencies:
48
+ "@algolia/client-common" "4.15.0"
49
+ "@algolia/client-search" "4.15.0"
50
+ "@algolia/transporter" "4.15.0"
51
+
52
+ "@algolia/client-analytics@4.15.0":
53
+ version "4.15.0"
54
+ resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.15.0.tgz#6b8fe450e1bba114b0d0598cbf9acac482798a36"
55
+ integrity sha512-jrPjEeNEIIQKeA1XCZXx3f3aybtwF7wjYlnfHbLARuZ9AuHzimOKjX0ZwqvMmvTsHivpcZ2rqY+j1E8HoH1ELA==
56
+ dependencies:
57
+ "@algolia/client-common" "4.15.0"
58
+ "@algolia/client-search" "4.15.0"
59
+ "@algolia/requester-common" "4.15.0"
60
+ "@algolia/transporter" "4.15.0"
61
+
62
+ "@algolia/client-common@4.15.0":
63
+ version "4.15.0"
64
+ resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.15.0.tgz#27dd9441aedf481736696d519e55ea8e2f5a4432"
65
+ integrity sha512-PlsJMObZuYw4JlG5EhYv1PHDOv7n5mD5PzqFyoNfSOYaEPRZepa3W579ya29yOu3FZ0VGMNJmB7Q5v/+/fwvIw==
66
+ dependencies:
67
+ "@algolia/requester-common" "4.15.0"
68
+ "@algolia/transporter" "4.15.0"
69
+
70
+ "@algolia/client-personalization@4.15.0":
71
+ version "4.15.0"
72
+ resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.15.0.tgz#6f10eda827d2607ab6c2341464cd35107bf8cf99"
73
+ integrity sha512-Bf0bhRAiNL9LWurzyHRH8UBi4fDt3VbCNkInxVngKQT1uCZWXecwoPWGhcSSpdanBqFJA/1WBt+BWx7a50Bhlg==
74
+ dependencies:
75
+ "@algolia/client-common" "4.15.0"
76
+ "@algolia/requester-common" "4.15.0"
77
+ "@algolia/transporter" "4.15.0"
78
+
79
+ "@algolia/client-search@4.15.0":
80
+ version "4.15.0"
81
+ resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.15.0.tgz#2d849faae7943fcc983ac923eac767666a9e6a9a"
82
+ integrity sha512-dTwZD4u53WdmexnMcoO2Qd/+YCP3ESXKOtD2MryQ1a9dHwB2Y3Qob0kyS1PG82idwM3enbznvscI9Sf4o9PUWQ==
83
+ dependencies:
84
+ "@algolia/client-common" "4.15.0"
85
+ "@algolia/requester-common" "4.15.0"
86
+ "@algolia/transporter" "4.15.0"
87
+
88
+ "@algolia/logger-common@4.15.0":
89
+ version "4.15.0"
90
+ resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.15.0.tgz#a2cf3d3abbdd00594006164302600ba46d75059f"
91
+ integrity sha512-D8OFwn/HpvQz66goIcjxOKsYBMuxiruxJ3cA/bnc0EiDvSA2P2z6bNQWgS5gbstuTZIJmbhr+53NyOxFkmMNAA==
92
+
93
+ "@algolia/logger-console@4.15.0":
94
+ version "4.15.0"
95
+ resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.15.0.tgz#8a0948b0c16ad546af9dd14b9021f21f42737c97"
96
+ integrity sha512-pQOvVaRSEJQJRXKTnxEA6nN1hipSQadJJ4einw0nIlfMOGZh/kps1ybh8vRUlUGyfEuN/3dyFs0W3Ac7hIItlg==
97
+ dependencies:
98
+ "@algolia/logger-common" "4.15.0"
99
+
100
+ "@algolia/requester-browser-xhr@4.15.0":
101
+ version "4.15.0"
102
+ resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.15.0.tgz#38b5956d01408ad4291d89915df921ff8534cca6"
103
+ integrity sha512-va186EfALF+6msYZXaoBSxcnFCg3SoWJ+uv1yMyhQRJRe7cZSHWSVT3s40vmar90gxlBu80KMVwVlsvJhJv6ew==
104
+ dependencies:
105
+ "@algolia/requester-common" "4.15.0"
106
+
107
+ "@algolia/requester-common@4.15.0":
108
+ version "4.15.0"
109
+ resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.15.0.tgz#c68ad3dccc1de71b5be9b08a07e2baf58ec49d82"
110
+ integrity sha512-w0UUzxElbo4hrKg4QP/jiXDNbIJuAthxdlkos9nS8KAPK2XI3R9BlUjLz/ZVs4F9TDGI0mhjrNHhZ12KXcoyhg==
111
+
112
+ "@algolia/requester-node-http@4.15.0":
113
+ version "4.15.0"
114
+ resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.15.0.tgz#02f841586e620c7b4e4e555f315cd52dd815f330"
115
+ integrity sha512-eeEOhFtgwKcgAlKAZpgBRZJ0ILSEBCXxZ9uwfVWPD24W1b6z08gVoTJ6J7lCeCnJmudg+tMElDnGzHkjup9CJA==
116
+ dependencies:
117
+ "@algolia/requester-common" "4.15.0"
118
+
119
+ "@algolia/transporter@4.15.0":
120
+ version "4.15.0"
121
+ resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.15.0.tgz#c65c512206c66aadc2897337220ae5454001967e"
122
+ integrity sha512-JoWR+ixG3EmA0UPntQFN/FV5TasYcYu93d5+oKzHFeZ6Z7rtW5Im9iy/Oh/ggk1AAN5fTdqKewtbBpdaYDbKsQ==
123
+ dependencies:
124
+ "@algolia/cache-common" "4.15.0"
125
+ "@algolia/logger-common" "4.15.0"
126
+ "@algolia/requester-common" "4.15.0"
127
127
 
128
128
  "@angular/compiler@8.2.14":
129
129
  version "8.2.14"
@@ -166,9 +166,9 @@
166
166
  integrity sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==
167
167
 
168
168
  "@babel/parser@^7.16.4":
169
- version "7.21.0"
170
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.0.tgz#cc09288743b867763cb927ba101ccdf0b600b7e4"
171
- integrity sha512-ONjtg4renj14A9pj3iA5T5+r5Eijxbr2eNIkMBTC74occDSsRZUpe8vowmowAjFR1imWlkD8eEmjYXiREZpGZg==
169
+ version "7.21.2"
170
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.2.tgz#dacafadfc6d7654c3051a66d6fe55b6cb2f2a0b3"
171
+ integrity sha512-URpaIJQwEkEC2T9Kn+Ai6Xe/02iNaVCuT/PtoRz3GPVJVDpPd7mLo+VddTbhCRU9TXqW5mSrQfXZyi8kDKOVpQ==
172
172
 
173
173
  "@babel/runtime@^7.8.7":
174
174
  version "7.21.0"
@@ -342,7 +342,7 @@
342
342
  resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.41.4.tgz#508fd82ca40305416e130f0da7b537295ded7989"
343
343
  integrity sha512-DwS94K+M0vtG+cymxH0rslJr09qpdjyOLdCjmpKcG/nNiZQfMA1ybAaFEmwk9UaVlUG9STENFeQwyrLevJB+7g==
344
344
 
345
- "@hotwired/stimulus@>= 3.0, < 4":
345
+ "@hotwired/stimulus@^3":
346
346
  version "3.2.1"
347
347
  resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.1.tgz#e3de23623b0c52c247aba4cd5d530d257008676b"
348
348
  integrity sha512-HGlzDcf9vv/EQrMJ5ZG6VWNs8Z/xMN+1o2OhV1gKiSG6CqZt5MCBB1gRg5ILiN3U0jEAxuDTNPRfBcnZBDmupQ==
@@ -487,7 +487,7 @@
487
487
  "@types/sinon-chai" "^3.2.3"
488
488
  chai-a11y-axe "^1.3.2"
489
489
 
490
- "@rails/actioncable@>= 6.0, < 8":
490
+ "@rails/actioncable@^6 || ^7":
491
491
  version "7.0.4"
492
492
  resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.0.4.tgz#70a3ca56809f7aaabb80af2f9c01ae51e1a8ed41"
493
493
  integrity sha512-tz4oM+Zn9CYsvtyicsa/AwzKZKL+ITHWkhiu7x+xF77clh2b4Rm+s6xnOgY/sGDWoFWZmtKsE95hxBPkgQQNnQ==
@@ -742,9 +742,9 @@
742
742
  integrity sha512-ekGvFhFgrc2zYQoX4JeZPmVzZxw6Dtllga7iGHzfbYIYkAMUx/sAFP2GdFpLff+vdHXu5fl7WX9AT+TtqYcsyw==
743
743
 
744
744
  "@types/node@*":
745
- version "18.14.0"
746
- resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.0.tgz#94c47b9217bbac49d4a67a967fdcdeed89ebb7d0"
747
- integrity sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A==
745
+ version "18.15.1"
746
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.1.tgz#41dc2bf78e8085a250d4670d95edb7fba621dd29"
747
+ integrity sha512-U2TWca8AeHSmbpi314QBESRk7oPjSZjDsR+c+H4ECC1l+kFgpZf8Ydhv3SJpPy51VyZHHqxlb6mTTqYNNRVAIw==
748
748
 
749
749
  "@types/parse5@^6.0.1":
750
750
  version "6.0.3"
@@ -774,9 +774,9 @@
774
774
  integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==
775
775
 
776
776
  "@types/serve-static@*":
777
- version "1.15.0"
778
- resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155"
779
- integrity sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==
777
+ version "1.15.1"
778
+ resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.1.tgz#86b1753f0be4f9a1bee68d459fcda5be4ea52b5d"
779
+ integrity sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==
780
780
  dependencies:
781
781
  "@types/mime" "*"
782
782
  "@types/node" "*"
@@ -1121,10 +1121,10 @@
1121
1121
  "@types/mocha" "^8.2.0"
1122
1122
  "@web/test-runner-core" "^0.10.20"
1123
1123
 
1124
- "@web/test-runner@^0.15.0":
1125
- version "0.15.0"
1126
- resolved "https://registry.yarnpkg.com/@web/test-runner/-/test-runner-0.15.0.tgz#789d4599228b6e991bfeb14db4dfffb50b7ffb4a"
1127
- integrity sha512-8gliiQPRY4oDeq90i53mb5LiilCIzfW6SRGkmZ3K62c1DpOdZsCIgt7GH2OsFF8mB9rb4olK7qQ0gdmRgm27jw==
1124
+ "@web/test-runner@^0.15.1":
1125
+ version "0.15.1"
1126
+ resolved "https://registry.yarnpkg.com/@web/test-runner/-/test-runner-0.15.1.tgz#1cf973a4e7b5f68a4803fdc044584bee633b5fcc"
1127
+ integrity sha512-61L4mvDSvs8Dp3TdKe7WHc8kxHndHlGheWiIFEMgbfetJua6MZ4jyPThISIHSEq3LdAv9key2aDIdmyzk0YJ6w==
1128
1128
  dependencies:
1129
1129
  "@web/browser-logs" "^0.2.2"
1130
1130
  "@web/config-loader" "^0.1.3"
@@ -1192,24 +1192,24 @@ ajv@^6.10.0, ajv@^6.10.2:
1192
1192
  uri-js "^4.2.2"
1193
1193
 
1194
1194
  algoliasearch@^4.0.0:
1195
- version "4.14.3"
1196
- resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.14.3.tgz#f02a77a4db17de2f676018938847494b692035e7"
1197
- integrity sha512-GZTEuxzfWbP/vr7ZJfGzIl8fOsoxN916Z6FY2Egc9q2TmZ6hvq5KfAxY89pPW01oW/2HDEKA8d30f9iAH9eXYg==
1198
- dependencies:
1199
- "@algolia/cache-browser-local-storage" "4.14.3"
1200
- "@algolia/cache-common" "4.14.3"
1201
- "@algolia/cache-in-memory" "4.14.3"
1202
- "@algolia/client-account" "4.14.3"
1203
- "@algolia/client-analytics" "4.14.3"
1204
- "@algolia/client-common" "4.14.3"
1205
- "@algolia/client-personalization" "4.14.3"
1206
- "@algolia/client-search" "4.14.3"
1207
- "@algolia/logger-common" "4.14.3"
1208
- "@algolia/logger-console" "4.14.3"
1209
- "@algolia/requester-browser-xhr" "4.14.3"
1210
- "@algolia/requester-common" "4.14.3"
1211
- "@algolia/requester-node-http" "4.14.3"
1212
- "@algolia/transporter" "4.14.3"
1195
+ version "4.15.0"
1196
+ resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.15.0.tgz#8279576f06667a1d0705e8c22a17daa8e707b469"
1197
+ integrity sha512-+vgKQF5944dYsz9zhKk07JbOYeNdKisoD5GeG0woBL3nLzbn2a+nGwki60DXg7CXvaFXBcTXyJG4C+VaBVd44g==
1198
+ dependencies:
1199
+ "@algolia/cache-browser-local-storage" "4.15.0"
1200
+ "@algolia/cache-common" "4.15.0"
1201
+ "@algolia/cache-in-memory" "4.15.0"
1202
+ "@algolia/client-account" "4.15.0"
1203
+ "@algolia/client-analytics" "4.15.0"
1204
+ "@algolia/client-common" "4.15.0"
1205
+ "@algolia/client-personalization" "4.15.0"
1206
+ "@algolia/client-search" "4.15.0"
1207
+ "@algolia/logger-common" "4.15.0"
1208
+ "@algolia/logger-console" "4.15.0"
1209
+ "@algolia/requester-browser-xhr" "4.15.0"
1210
+ "@algolia/requester-common" "4.15.0"
1211
+ "@algolia/requester-node-http" "4.15.0"
1212
+ "@algolia/transporter" "4.15.0"
1213
1213
 
1214
1214
  angular-estree-parser@1.3.1:
1215
1215
  version "1.3.1"
@@ -1438,10 +1438,10 @@ bytes@3.1.2:
1438
1438
  resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
1439
1439
  integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==
1440
1440
 
1441
- cable_ready@5.0.0-pre10:
1442
- version "5.0.0-pre10"
1443
- resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-pre10.tgz#e92ca5b481335dfff95ae148b7b0da86e98001c0"
1444
- integrity sha512-NevHcu5N5zzUKxyS/cYtkIY6mm7y1anQr9zxu65fqptMOBZS2fukXpz9YEn659yGKyqtCMVNrzkNtkICkBoGAQ==
1441
+ cable_ready@5.0.0-rc1:
1442
+ version "5.0.0-rc1"
1443
+ resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-rc1.tgz#d755f793ef963af18f2696dc07588b616ef76fc6"
1444
+ integrity sha512-Zg964GzT4lNxLoZWR51R7SJub0u/8gYbO7yZPgc3rT/IuOROwEg8/kf5c9/nTYluaFciCNo4Wy9XIeZRzpPhRg==
1445
1445
  dependencies:
1446
1446
  morphdom "2.6.1"
1447
1447
 
@@ -1983,9 +1983,9 @@ errorstacks@^2.2.0:
1983
1983
  integrity sha512-5ecWhU5gt0a5G05nmQcgCxP5HperSMxLDzvWlT5U+ZSKkuDK0rJ3dbCQny6/vSCIXjwrhwSecXBbw1alr295hQ==
1984
1984
 
1985
1985
  es-module-lexer@^1.0.0:
1986
- version "1.1.1"
1987
- resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.1.1.tgz#d4fed363dcd94bf12586266f7b80bbee6d80ce6e"
1988
- integrity sha512-n3ruqU8Te7I5prBd6d0darM8ajFuVNhLWvgo04hN7goWSaSrxe7ENOZitac7akN0A2o+8fMomBDsNPvW/eE3CQ==
1986
+ version "1.2.0"
1987
+ resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.2.0.tgz#812264973b613195ba214f69a84e05b0f4241a67"
1988
+ integrity sha512-2BMfqBDeVCcOlLaL1ZAfp+D868SczNpKArrTM3dhpd7dK/OVlogzY15qpUngt+LMTq5UC/csb9vVQAgupucSbA==
1989
1989
 
1990
1990
  esbuild-android-64@0.14.54:
1991
1991
  version "0.14.54"
@@ -3911,9 +3911,9 @@ postcss@^8.1.10, postcss@^8.4.21:
3911
3911
  source-map-js "^1.0.2"
3912
3912
 
3913
3913
  preact@^10.0.0:
3914
- version "10.12.1"
3915
- resolved "https://registry.yarnpkg.com/preact/-/preact-10.12.1.tgz#8f9cb5442f560e532729b7d23d42fd1161354a21"
3916
- integrity sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==
3914
+ version "10.13.1"
3915
+ resolved "https://registry.yarnpkg.com/preact/-/preact-10.13.1.tgz#d220bd8771b8fa197680d4917f3cefc5eed88720"
3916
+ integrity sha512-KyoXVDU5OqTpG9LXlB3+y639JAGzl8JSBXLn1J9HTSB3gbKcuInga7bZnXLlxmK94ntTs1EFeZp0lrja2AuBYQ==
3917
3917
 
3918
3918
  prelude-ls@~1.1.2:
3919
3919
  version "1.1.2"
@@ -4049,9 +4049,9 @@ puppeteer-core@^13.1.3:
4049
4049
  ws "8.5.0"
4050
4050
 
4051
4051
  qs@^6.5.2:
4052
- version "6.11.0"
4053
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a"
4054
- integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==
4052
+ version "6.11.1"
4053
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.1.tgz#6c29dff97f0c0060765911ba65cbc9764186109f"
4054
+ integrity sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==
4055
4055
  dependencies:
4056
4056
  side-channel "^1.0.4"
4057
4057
 
@@ -4068,9 +4068,9 @@ randombytes@^2.1.0:
4068
4068
  safe-buffer "^5.1.0"
4069
4069
 
4070
4070
  raw-body@^2.3.3:
4071
- version "2.5.1"
4072
- resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857"
4073
- integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==
4071
+ version "2.5.2"
4072
+ resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a"
4073
+ integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==
4074
4074
  dependencies:
4075
4075
  bytes "3.1.2"
4076
4076
  http-errors "2.0.0"
@@ -4078,9 +4078,9 @@ raw-body@^2.3.3:
4078
4078
  unpipe "1.0.0"
4079
4079
 
4080
4080
  readable-stream@^3.1.1, readable-stream@^3.4.0:
4081
- version "3.6.0"
4082
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
4083
- integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
4081
+ version "3.6.2"
4082
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
4083
+ integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
4084
4084
  dependencies:
4085
4085
  inherits "^2.0.3"
4086
4086
  string_decoder "^1.1.1"
@@ -4224,10 +4224,10 @@ rollup@^2.67.0:
4224
4224
  optionalDependencies:
4225
4225
  fsevents "~2.3.2"
4226
4226
 
4227
- rollup@^3.10.0, rollup@^3.17.1:
4228
- version "3.17.2"
4229
- resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.17.2.tgz#a4ecd29c488672a0606e41ef57474fad715750a9"
4230
- integrity sha512-qMNZdlQPCkWodrAZ3qnJtvCAl4vpQ8q77uEujVCCbC/6CLB7Lcmvjq7HyiOSnf4fxTT9XgsE36oLHJBH49xjqA==
4227
+ rollup@^3.10.0, rollup@^3.19.1:
4228
+ version "3.19.1"
4229
+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.19.1.tgz#2b3a31ac1ff9f3afab2e523fa687fef5b0ee20fc"
4230
+ integrity sha512-lAbrdN7neYCg/8WaoWn/ckzCtz+jr70GFfYdlf50OF7387HTg+wiuiqJRFYawwSPpqfqDNYqK7smY/ks2iAudg==
4231
4231
  optionalDependencies:
4232
4232
  fsevents "~2.3.2"
4233
4233
 
@@ -4657,6 +4657,11 @@ to-regex-range@^5.0.1:
4657
4657
  dependencies:
4658
4658
  is-number "^7.0.0"
4659
4659
 
4660
+ toastify-js@^1.12.0:
4661
+ version "1.12.0"
4662
+ resolved "https://registry.yarnpkg.com/toastify-js/-/toastify-js-1.12.0.tgz#cc1c4f5c7e7380e854e20bedceb51980ea29f64d"
4663
+ integrity sha512-HeMHCO9yLPvP9k0apGSdPUWrUbLnxUKNFzgUoZp1PHCLploIX/4DSQ7V8H25ef+h4iO9n0he7ImfcndnN6nDrQ==
4664
+
4660
4665
  toidentifier@1.0.1:
4661
4666
  version "1.0.1"
4662
4667
  resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
@@ -4889,10 +4894,10 @@ vfile@^4.0.0:
4889
4894
  unist-util-stringify-position "^2.0.0"
4890
4895
  vfile-message "^2.0.0"
4891
4896
 
4892
- vite@^4.1.3:
4893
- version "4.1.3"
4894
- resolved "https://registry.yarnpkg.com/vite/-/vite-4.1.3.tgz#001a038c3a7757d532787c0de429b8368136ded5"
4895
- integrity sha512-0Zqo4/Fr/swSOBmbl+HAAhOjrqNwju+yTtoe4hQX9UsARdcuc9njyOdr6xU0DDnV7YP0RT6mgTTOiRtZgxfCxA==
4897
+ vite@^4.1.4:
4898
+ version "4.1.4"
4899
+ resolved "https://registry.yarnpkg.com/vite/-/vite-4.1.4.tgz#170d93bcff97e0ebc09764c053eebe130bfe6ca0"
4900
+ integrity sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==
4896
4901
  dependencies:
4897
4902
  esbuild "^0.16.14"
4898
4903
  postcss "^8.4.21"
@@ -4901,10 +4906,10 @@ vite@^4.1.3:
4901
4906
  optionalDependencies:
4902
4907
  fsevents "~2.3.2"
4903
4908
 
4904
- vitepress@^1.0.0-alpha.47:
4905
- version "1.0.0-alpha.47"
4906
- resolved "https://registry.yarnpkg.com/vitepress/-/vitepress-1.0.0-alpha.47.tgz#3488f23d6239757208d269773eff49cf9e898b09"
4907
- integrity sha512-vj+LOY0WJtKSk98HV4qqG6p4MofmF+C8yrWHiiw+GCMfr6C+610U5D7oD2OruroIafsON6F4nBDWGK8ZyGIpXQ==
4909
+ vitepress@^1.0.0-alpha.56:
4910
+ version "1.0.0-alpha.56"
4911
+ resolved "https://registry.yarnpkg.com/vitepress/-/vitepress-1.0.0-alpha.56.tgz#250a4388ddf2407ec81da7823ceab5c6822e7054"
4912
+ integrity sha512-FNoanHwmgWn4xZZcc8D34VKWcEs0F7e39xiVUahI7VzzI4VeiB+R/euYtPIUcTxIC2pRDhclw7/DO0JFYSGIpw==
4908
4913
  dependencies:
4909
4914
  "@docsearch/css" "^3.3.3"
4910
4915
  "@docsearch/js" "^3.3.3"
@@ -4913,7 +4918,7 @@ vitepress@^1.0.0-alpha.47:
4913
4918
  "@vueuse/core" "^9.13.0"
4914
4919
  body-scroll-lock "4.0.0-beta.0"
4915
4920
  shiki "^0.14.1"
4916
- vite "^4.1.3"
4921
+ vite "^4.1.4"
4917
4922
  vue "^3.2.47"
4918
4923
 
4919
4924
  vnopts@1.0.2: