diff --git a/package.json b/package.json index 09821397..307cbbcd 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "eslint": "10.6.0", "espree": "11.2.0", "jiti": "^2.7.0", - "lucide-static": "1.83.0", + "lucide-static": "1.85.0", "playwright-core": "1.65.1", "postcss": "8.5.34", "prettier": "3.8.1", @@ -50,6 +50,7 @@ "packageManager": "pnpm@10.28.0", "pnpm": { "overrides": { + "cross-spawn@>=7.0.0 <7.1.0": "^7.1.0", "fast-uri@<3.1.9": "^3.1.9", "minimatch@>=7 <11.0.1": "^11.0.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b43ade1..77cc389e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: + cross-spawn@>=7.0.0 <7.1.0: ^7.1.0 fast-uri@<3.1.9: ^3.1.9 minimatch@>=7 <11.0.1: ^11.0.1 @@ -40,8 +41,8 @@ importers: specifier: ^2.7.0 version: 2.7.0 lucide-static: - specifier: 1.83.0 - version: 1.83.0 + specifier: 1.85.0 + version: 1.85.0 playwright-core: specifier: 1.65.1 version: 1.65.1 @@ -1321,8 +1322,8 @@ packages: typescript: optional: true - cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + cross-spawn@7.1.2: + resolution: {integrity: sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==} engines: {node: '>= 8'} css-functions-list@3.3.3: @@ -1435,8 +1436,8 @@ packages: '@babel/eslint-parser': optional: true - eslint-plugin-ember@13.9.1: - resolution: {integrity: sha512-Xu4bruvGeeGL9Swch8T8y0Ls4lEoZahm8nfL9hp0IAI+nJvSVcU8+K5TT1DQJliG/sV2XY4qM9cKFXA3vJU5Jg==} + eslint-plugin-ember@13.11.10: + resolution: {integrity: sha512-9yxJwlWDy+APMQMS0D1+3Q64JozHnUJ8C/psBptOCyRNCMbQUq6NIhxePimeAjdotDUeMmOXjeLzUflXeiqFbA==} engines: {node: '>= 20.19'} peerDependencies: '@typescript-eslint/parser': '*' @@ -1811,8 +1812,8 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - lucide-static@1.83.0: - resolution: {integrity: sha512-GOJktV2eBckh8MAHAOajiW+DErsADmQrGHNoyT57Un6F/Xrq2MP3IwIhgIUHaekyCtKNawJjSCXMI5ND3yRxbQ==} + lucide-static@1.85.0: + resolution: {integrity: sha512-xDHdPDFEPWlgdMyA0molkUwcqZQMo5mTO0TTAMa1gymr3VeGs7LMZjwrsIDwP4yUAqYuImaOyN0t1Ek54+HusQ==} mathml-tag-names@4.0.0: resolution: {integrity: sha512-aa6AU2Pcx0VP/XWnh8IGL0SYSgQHDT6Ucror2j2mXeFAlN3ahaNs8EZtG1YiticMkSLj3Gt6VPFfZogt7G5iFQ==} @@ -2695,7 +2696,7 @@ snapshots: ember-eslint-parser: 0.16.1(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(@typescript-eslint/parser@8.72.1(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3))(typescript@5.9.3) eslint: 10.6.0(jiti@2.7.0) eslint-plugin-decorator-position: 6.1.1(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(eslint@10.6.0(jiti@2.7.0)) - eslint-plugin-ember: 13.9.1(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(@typescript-eslint/parser@8.72.1(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3) + eslint-plugin-ember: 13.11.10(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(@typescript-eslint/parser@8.72.1(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3) eslint-plugin-qunit: 8.2.6(eslint@10.6.0(jiti@2.7.0)) eslint-plugin-simple-import-sort: 13.0.0(eslint@10.6.0(jiti@2.7.0)) eslint-plugin-tsdoc: 0.5.4(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3) @@ -3536,7 +3537,7 @@ snapshots: optionalDependencies: typescript: 5.9.3 - cross-spawn@7.0.6: + cross-spawn@7.1.2: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 @@ -3662,7 +3663,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-ember@13.9.1(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(@typescript-eslint/parser@8.72.1(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3): + eslint-plugin-ember@13.11.10(@babel/eslint-parser@8.0.7(@babel/core@8.0.10)(eslint@10.6.0(jiti@2.7.0)))(@typescript-eslint/parser@8.72.1(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.6.0(jiti@2.7.0))(typescript@5.9.3): dependencies: '@ember-data/rfc395-data': 0.0.4 aria-query: 5.3.2 @@ -3740,7 +3741,7 @@ snapshots: '@humanwhocodes/retry': 0.4.3 '@types/estree': 1.0.8 ajv: 6.15.0 - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 debug: 4.4.3 escape-string-regexp: 4.0.0 eslint-scope: 9.1.2 @@ -4018,7 +4019,7 @@ snapshots: dependencies: yallist: 3.1.1 - lucide-static@1.83.0: {} + lucide-static@1.85.0: {} mathml-tag-names@4.0.0: {} diff --git a/spec/lib/discourse_member_subdomains/ai_reviewer_spec.rb b/spec/lib/discourse_member_subdomains/ai_reviewer_spec.rb index a671b1ea..538e617e 100644 --- a/spec/lib/discourse_member_subdomains/ai_reviewer_spec.rb +++ b/spec/lib/discourse_member_subdomains/ai_reviewer_spec.rb @@ -39,16 +39,21 @@ let(:fake_model) { Object.new } let(:fake_proxy) { instance_double("DiscourseAi::Completions::Llm") } + # Discourse's Helpers#stub_const shadows RSpec's 2-arg stub_const. + def rspec_stub_const(name, value) + RSpec::Mocks::ExampleMethods.instance_method(:stub_const).bind_call(self, name, value) + end + before do - stub_const("LlmModel", Class.new) - stub_const( + rspec_stub_const("LlmModel", Class.new) + rspec_stub_const( "DiscourseAi::Completions::Prompt", Class.new do def initialize(*) end end, ) - stub_const( + rspec_stub_const( "DiscourseAi::Completions::Llm", Class.new do def self.proxy(*) diff --git a/themes/jtech/assets/icons-sprite.svg b/themes/jtech/assets/icons-sprite.svg index 8a567fe4..16e64477 100644 --- a/themes/jtech/assets/icons-sprite.svg +++ b/themes/jtech/assets/icons-sprite.svg @@ -110,7 +110,7 @@ - +