stimulus_reflex 3.5.3 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f263910793deb40545ce21257891050bcea23bb612ccc3537b6655d17a9ab425
4
- data.tar.gz: 0b3570e952a8f9646ed2fa0b9b090cc9518dc55ed17f215a1839e11b27411438
3
+ metadata.gz: f416f48e3b847fe581185068a449279a07f41dbf681a4e4a0a9ac1ffe7be3f63
4
+ data.tar.gz: 6292e00d9e9c6b9d2f9b9aeb275c020c87c673a659e041e685b5f6ad6acec234
5
5
  SHA512:
6
- metadata.gz: '049480ba71eaf824360cbf301d912282315d2615f0b979110841abf01f22380b1a7e4c37e667d25175b9e05ed9200ebd57b06b6af932854eaebecf9fee5e65a5'
7
- data.tar.gz: dfd82208502ebf1f3a5dfefba059715a213c8b3158ea415a7fa09d2a95e62bd6caa3fe891ef325a6c1b5e1892de0bc1dcf89248b5490aa93b1aa0df38f259697
6
+ metadata.gz: c50ba14f346b50dc50d1df74821d0e48fe2b39a403b82478351b12e4cb2f0b3c541ce70707c6c2b718be64ba3435fcd8d1af27bb26809c81b6f26d72942fe1c0
7
+ data.tar.gz: 996bc6321eab53ba8f297567c75f79d6457c69147ff5040fbc36850c9baec1306c29603bc7141505287661902417c5ecbffb8981c1644795a50241a90f05dfb2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stimulus_reflex (3.5.3)
4
+ stimulus_reflex (3.5.4)
5
5
  actioncable (>= 5.2)
6
6
  actionpack (>= 5.2)
7
7
  actionview (>= 5.2)
@@ -9,6 +9,7 @@ PATH
9
9
  cable_ready (~> 5.0)
10
10
  nokogiri (~> 1.0)
11
11
  nokogiri-html5-inference (~> 0.3)
12
+ ostruct (~> 0.6)
12
13
  rack (>= 2, < 4)
13
14
  railties (>= 5.2)
14
15
  redis (>= 4.0, < 6.0)
@@ -146,6 +147,8 @@ GEM
146
147
  net-smtp (0.5.0)
147
148
  net-protocol
148
149
  nio4r (2.7.3)
150
+ nokogiri (1.17.2-arm64-darwin)
151
+ racc (~> 1.4)
149
152
  nokogiri (1.17.2-x86_64-darwin)
150
153
  racc (~> 1.4)
151
154
  nokogiri (1.17.2-x86_64-linux)
@@ -153,6 +156,7 @@ GEM
153
156
  nokogiri-html5-inference (0.3.0)
154
157
  nokogiri (~> 1.14)
155
158
  observer (0.1.2)
159
+ ostruct (0.6.1)
156
160
  parallel (1.22.1)
157
161
  parser (3.2.1.0)
158
162
  ast (~> 2.4.1)
@@ -243,6 +247,8 @@ GEM
243
247
  zeitwerk (2.6.18)
244
248
 
245
249
  PLATFORMS
250
+ arm64-darwin-23
251
+ arm64-darwin-24
246
252
  x86_64-darwin-19
247
253
  x86_64-darwin-22
248
254
  x86_64-darwin-23
@@ -994,7 +994,7 @@ var peerDependencies = {
994
994
 
995
995
  var dependencies = {
996
996
  "@hotwired/stimulus": "^3",
997
- "@rails/actioncable": "^6 || ^7",
997
+ "@rails/actioncable": "^6 || ^7 || ^8",
998
998
  cable_ready: "^5.0.6"
999
999
  };
1000
1000
 
@@ -901,7 +901,7 @@
901
901
  };
902
902
  var dependencies = {
903
903
  "@hotwired/stimulus": "^3",
904
- "@rails/actioncable": "^6 || ^7",
904
+ "@rails/actioncable": "^6 || ^7 || ^8",
905
905
  cable_ready: "^5.0.6"
906
906
  };
907
907
  var devDependencies = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StimulusReflex
4
- VERSION = "3.5.3"
4
+ VERSION = "3.5.4"
5
5
  end
data/package.json CHANGED
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@hotwired/stimulus": "^3",
59
- "@rails/actioncable": "^6 || ^7",
59
+ "@rails/actioncable": "^6 || ^7 || ^8",
60
60
  "cable_ready": "^5.0.6"
61
61
  },
62
62
  "devDependencies": {
data/package.json~ ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "stimulus_reflex",
3
+ "version": "3.5.3",
4
+ "description": "Build reactive applications with the Rails tooling you already know and love.",
5
+ "keywords": [
6
+ "ruby",
7
+ "rails",
8
+ "websockets",
9
+ "actioncable",
10
+ "turbolinks",
11
+ "reactive",
12
+ "cable",
13
+ "ujs",
14
+ "ssr",
15
+ "stimulus",
16
+ "reflex",
17
+ "stimulus_reflex",
18
+ "dom",
19
+ "morphdom"
20
+ ],
21
+ "homepage": "https://docs.stimulusreflex.com",
22
+ "bugs": "https://github.com/stimulusreflex/stimulus_reflex/issues",
23
+ "repository": "https://github.com/stimulusreflex/stimulus_reflex",
24
+ "license": "MIT",
25
+ "author": "Nathan Hopkins <natehop@gmail.com>",
26
+ "contributors": [
27
+ "Andrew Mason <andrewmcodes@protonmail.com>",
28
+ "Julian Rubisch <julian@julianrubisch.at>",
29
+ "Marco Roth <marco.roth@intergga.ch>",
30
+ "Nathan Hopkins <natehop@gmail.com>"
31
+ ],
32
+ "main": "./dist/stimulus_reflex.js",
33
+ "module": "./dist/stimulus_reflex.js",
34
+ "browser": "./dist/stimulus_reflex.js",
35
+ "import": "./dist/stimulus_reflex.js",
36
+ "unpkg": "./dist/stimulus_reflex.umd.js",
37
+ "umd": "./dist/stimulus_reflex.umd.js",
38
+ "files": [
39
+ "dist/*",
40
+ "javascript/*"
41
+ ],
42
+ "scripts": {
43
+ "lint": "yarn run format --check",
44
+ "format": "yarn run prettier-standard ./javascript/**/*.js rollup.config.mjs",
45
+ "build": "yarn rollup -c",
46
+ "build:watch": "yarn rollup -wc",
47
+ "watch": "yarn build:watch",
48
+ "test": "web-test-runner javascript/test/**/*.test.js",
49
+ "test:watch": "yarn test --watch",
50
+ "docs:dev": "vitepress dev docs",
51
+ "docs:build": "vitepress build docs && cp docs/_redirects docs/.vitepress/dist",
52
+ "docs:preview": "vitepress preview docs"
53
+ },
54
+ "peerDependencies": {
55
+ "@hotwired/stimulus": ">= 3.0"
56
+ },
57
+ "dependencies": {
58
+ "@hotwired/stimulus": "^3",
59
+ "@rails/actioncable": "^6 || ^7",
60
+ "cable_ready": "^5.0.6"
61
+ },
62
+ "devDependencies": {
63
+ "@open-wc/testing": "^4.0.0",
64
+ "@rollup/plugin-json": "^6.1.0",
65
+ "@rollup/plugin-node-resolve": "^15.3.0",
66
+ "@rollup/plugin-terser": "^0.4.4",
67
+ "@web/dev-server-esbuild": "^1.0.2",
68
+ "@web/dev-server-rollup": "^0.6.4",
69
+ "@web/test-runner": "^0.19.0",
70
+ "prettier-standard": "^16.4.1",
71
+ "rollup": "^4.22.4",
72
+ "toastify-js": "^1.12.0",
73
+ "vitepress": "^1.0.0-beta.1"
74
+ }
75
+ }
@@ -51,6 +51,7 @@ Gem::Specification.new do |gem|
51
51
  gem.add_dependency "rack", ">= 2", "< 4"
52
52
  gem.add_dependency "redis", ">= 4.0", "< 6.0"
53
53
  gem.add_dependency "nokogiri-html5-inference", "~> 0.3"
54
+ gem.add_dependency "ostruct", "~> 0.6"
54
55
 
55
56
  gem.add_development_dependency "bundler", "~> 2.0"
56
57
  gem.add_development_dependency "magic_frozen_string_literal", "~> 1.2"
data/yarn.lock CHANGED
@@ -619,10 +619,10 @@
619
619
  unbzip2-stream "^1.4.3"
620
620
  yargs "^17.7.2"
621
621
 
622
- "@rails/actioncable@^6 || ^7":
623
- version "7.0.4"
624
- resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.0.4.tgz#70a3ca56809f7aaabb80af2f9c01ae51e1a8ed41"
625
- integrity sha512-tz4oM+Zn9CYsvtyicsa/AwzKZKL+ITHWkhiu7x+xF77clh2b4Rm+s6xnOgY/sGDWoFWZmtKsE95hxBPkgQQNnQ==
622
+ "@rails/actioncable@^6 || ^7 || ^8":
623
+ version "8.0.200"
624
+ resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-8.0.200.tgz#1d27d9d55e45266e061190db045925e0b4d53d6b"
625
+ integrity sha512-EDqWyxck22BHmv1e+mD8Kl6GmtNkhEPdRfGFT7kvsv1yoXd9iYrqHDVAaR8bKmU/syC5eEZ2I5aWWxtB73ukMw==
626
626
 
627
627
  "@rollup/plugin-json@^6.1.0":
628
628
  version "6.1.0"
@@ -1588,7 +1588,7 @@ axe-core@^4.3.3:
1588
1588
  resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.6.3.tgz#fc0db6fdb65cc7a80ccf85286d91d64ababa3ece"
1589
1589
  integrity sha512-/BQzOX780JhsxDnPpH4ZiyrJAzcd8AfzFPkv+89veFSr1rcMjuq2JDCwypKaPeB6ljHp9KjXhPpjgCvQlWYuqg==
1590
1590
 
1591
- b4a@^1.6.4, b4a@^1.6.6:
1591
+ b4a@^1.6.4:
1592
1592
  version "1.6.6"
1593
1593
  resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.6.tgz#a4cc349a3851987c3c4ac2d7785c18744f6da9ba"
1594
1594
  integrity sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==
@@ -1603,39 +1603,43 @@ balanced-match@^1.0.0:
1603
1603
  resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
1604
1604
  integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
1605
1605
 
1606
- bare-events@^2.0.0, bare-events@^2.2.0:
1606
+ bare-events@^2.2.0:
1607
1607
  version "2.5.0"
1608
1608
  resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.5.0.tgz#305b511e262ffd8b9d5616b056464f8e1b3329cc"
1609
1609
  integrity sha512-/E8dDe9dsbLyh2qrZ64PEPadOQ0F4gbl1sUJOrmph7xOiIxfY8vwab/4bFLh4Y88/Hk/ujKcrQKc+ps0mv873A==
1610
1610
 
1611
- bare-fs@^2.1.1:
1612
- version "2.3.5"
1613
- resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-2.3.5.tgz#05daa8e8206aeb46d13c2fe25a2cd3797b0d284a"
1614
- integrity sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==
1611
+ bare-events@^2.5.4:
1612
+ version "2.5.4"
1613
+ resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.5.4.tgz#16143d435e1ed9eafd1ab85f12b89b3357a41745"
1614
+ integrity sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==
1615
+
1616
+ bare-fs@^4.0.1:
1617
+ version "4.0.2"
1618
+ resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-4.0.2.tgz#a879c7b5d9242663ef80d75d6b99c2c6701664d6"
1619
+ integrity sha512-S5mmkMesiduMqnz51Bfh0Et9EX0aTCJxhsI4bvzFFLs8Z1AV8RDHadfY5CyLwdoLHgXbNBEN1gQcbEtGwuvixw==
1615
1620
  dependencies:
1616
- bare-events "^2.0.0"
1617
- bare-path "^2.0.0"
1618
- bare-stream "^2.0.0"
1621
+ bare-events "^2.5.4"
1622
+ bare-path "^3.0.0"
1623
+ bare-stream "^2.6.4"
1619
1624
 
1620
- bare-os@^2.1.0:
1621
- version "2.4.4"
1622
- resolved "https://registry.yarnpkg.com/bare-os/-/bare-os-2.4.4.tgz#01243392eb0a6e947177bb7c8a45123d45c9b1a9"
1623
- integrity sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==
1625
+ bare-os@^3.0.1:
1626
+ version "3.6.1"
1627
+ resolved "https://registry.yarnpkg.com/bare-os/-/bare-os-3.6.1.tgz#9921f6f59edbe81afa9f56910658422c0f4858d4"
1628
+ integrity sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g==
1624
1629
 
1625
- bare-path@^2.0.0, bare-path@^2.1.0:
1626
- version "2.1.3"
1627
- resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-2.1.3.tgz#594104c829ef660e43b5589ec8daef7df6cedb3e"
1628
- integrity sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==
1630
+ bare-path@^3.0.0:
1631
+ version "3.0.0"
1632
+ resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-3.0.0.tgz#b59d18130ba52a6af9276db3e96a2e3d3ea52178"
1633
+ integrity sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==
1629
1634
  dependencies:
1630
- bare-os "^2.1.0"
1635
+ bare-os "^3.0.1"
1631
1636
 
1632
- bare-stream@^2.0.0:
1633
- version "2.3.0"
1634
- resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.3.0.tgz#5bef1cab8222517315fca1385bd7f08dff57f435"
1635
- integrity sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==
1637
+ bare-stream@^2.6.4:
1638
+ version "2.6.5"
1639
+ resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.6.5.tgz#bba8e879674c4c27f7e27805df005c15d7a2ca07"
1640
+ integrity sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==
1636
1641
  dependencies:
1637
- b4a "^1.6.6"
1638
- streamx "^2.20.0"
1642
+ streamx "^2.21.0"
1639
1643
 
1640
1644
  base64-js@^1.3.1:
1641
1645
  version "1.5.1"
@@ -4909,7 +4913,7 @@ statuses@2.0.1:
4909
4913
  resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
4910
4914
  integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==
4911
4915
 
4912
- streamx@^2.15.0, streamx@^2.20.0:
4916
+ streamx@^2.15.0:
4913
4917
  version "2.20.1"
4914
4918
  resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.20.1.tgz#471c4f8b860f7b696feb83d5b125caab2fdbb93c"
4915
4919
  integrity sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==
@@ -4920,6 +4924,16 @@ streamx@^2.15.0, streamx@^2.20.0:
4920
4924
  optionalDependencies:
4921
4925
  bare-events "^2.2.0"
4922
4926
 
4927
+ streamx@^2.21.0:
4928
+ version "2.22.0"
4929
+ resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.22.0.tgz#cd7b5e57c95aaef0ff9b2aef7905afa62ec6e4a7"
4930
+ integrity sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==
4931
+ dependencies:
4932
+ fast-fifo "^1.3.2"
4933
+ text-decoder "^1.1.0"
4934
+ optionalDependencies:
4935
+ bare-events "^2.2.0"
4936
+
4923
4937
  string-argv@^0.3.0:
4924
4938
  version "0.3.1"
4925
4939
  resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
@@ -5076,15 +5090,15 @@ table@^5.2.3:
5076
5090
  string-width "^3.0.0"
5077
5091
 
5078
5092
  tar-fs@^3.0.6:
5079
- version "3.0.6"
5080
- resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.0.6.tgz#eaccd3a67d5672f09ca8e8f9c3d2b89fa173f217"
5081
- integrity sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==
5093
+ version "3.0.8"
5094
+ resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.0.8.tgz#8f62012537d5ff89252d01e48690dc4ebed33ab7"
5095
+ integrity sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==
5082
5096
  dependencies:
5083
5097
  pump "^3.0.0"
5084
5098
  tar-stream "^3.1.5"
5085
5099
  optionalDependencies:
5086
- bare-fs "^2.1.1"
5087
- bare-path "^2.1.0"
5100
+ bare-fs "^4.0.1"
5101
+ bare-path "^3.0.0"
5088
5102
 
5089
5103
  tar-stream@^3.1.5:
5090
5104
  version "3.1.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stimulus_reflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
11
+ date: 2025-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actioncable
@@ -162,6 +162,20 @@ dependencies:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0.3'
165
+ - !ruby/object:Gem::Dependency
166
+ name: ostruct
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '0.6'
172
+ type: :runtime
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
177
+ - !ruby/object:Gem::Version
178
+ version: '0.6'
165
179
  - !ruby/object:Gem::Dependency
166
180
  name: bundler
167
181
  requirement: !ruby/object:Gem::Requirement
@@ -359,6 +373,7 @@ files:
359
373
  - lib/stimulus_reflex/version_checker.rb
360
374
  - lib/tasks/stimulus_reflex/stimulus_reflex.rake
361
375
  - package.json
376
+ - package.json~
362
377
  - rollup.config.mjs
363
378
  - stimulus_reflex.gemspec
364
379
  - web-test-runner.config.mjs