diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.json index 22855080cef..793a8575296 100644 --- a/app/assets/javascripts/discourse/package.json +++ b/app/assets/javascripts/discourse/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@babel/core": "^7.19.6", - "@babel/standalone": "^7.19.3", + "@babel/standalone": "^7.19.6", "@discourse/itsatrap": "^2.0.10", "@discourse/backburner.js": "^2.7.1-0", "@ember/jquery": "^2.0.0", diff --git a/app/assets/javascripts/yarn.lock b/app/assets/javascripts/yarn.lock index 33e6bade59e..c64cf4ad13e 100644 --- a/app/assets/javascripts/yarn.lock +++ b/app/assets/javascripts/yarn.lock @@ -992,10 +992,10 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/standalone@^7.19.3": - version "7.19.3" - resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.19.3.tgz#c14f669c931e5579021b432c612bb4d027603ee8" - integrity sha512-zSdDx28L6f27Y59OMrl8mBbtyB/cpIGlHm7wVOHlcmUTpD10AiUILkekZATkkpsuTagTWezdJmUaeY8P2SONUA== +"@babel/standalone@^7.19.6": + version "7.19.6" + resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.19.6.tgz#88674a287d3875a635b62afb066ebf162cedf13c" + integrity sha512-SUOBMtHlxGpXf14X85c1vtHyxYgIODBUdclntETSEGkgI274MNPBUkOVWpvFmRhMuLokK3CL07qJoK2e5CIToA== "@babel/template@^7.16.7", "@babel/template@^7.18.10", "@babel/template@^7.18.6": version "7.18.10" diff --git a/spec/lib/discourse_js_processor_spec.rb b/spec/lib/discourse_js_processor_spec.rb index 1d87b5a85bd..b1f5dc031aa 100644 --- a/spec/lib/discourse_js_processor_spec.rb +++ b/spec/lib/discourse_js_processor_spec.rb @@ -47,9 +47,7 @@ RSpec.describe DiscourseJsProcessor do const template = function (attrs, state) { var _r = []; - _r.push(somevalue); - return _r; }; });