Skip to content

Node.js based forum software built for the modern web

chore: up lavender

Barış Soner Uşaklı968976c528fa
diff --git a/.husky/commit-msg b/.husky/commit-msg
index ee7716e431..e8511eaeaf 100755
--- a/.husky/commit-msg
+++ b/.husky/commit-msg
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
-npx.cmd --no-install commitlint --edit $1
+npx --no-install commitlint --edit $1
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 5d18e75522..c70c608e78 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
-npx.cmd --no-install lint-staged
\ No newline at end of file
+npx --no-install lint-staged
\ No newline at end of file
diff --git a/install/package.json b/install/package.json
index 87e45dc4a5..71465182d9 100644
--- a/install/package.json
+++ b/install/package.json
@@ -113,10 +113,10 @@
"nodebb-plugin-web-push": "0.8.2",
"nodebb-rewards-essentials": "1.0.3",
"nodebb-theme-harmony": "3.1.0",
- "nodebb-theme-lavender": "8.0.6",
+ "nodebb-theme-lavender": "8.1.0",
"nodebb-theme-peace": "3.1.0",
"nodebb-theme-persona": "15.1.0",
- "nodebb-widget-essentials": "8.0.0",
+ "nodebb-widget-essentials": "8.0.1",
"nodemailer": "9.0.3",
"nprogress": "0.2.0",
"passport": "0.7.0",
diff --git a/test/translator.js b/test/translator.js
index 4e31ff8aeb..3a6f7a8d29 100644
--- a/test/translator.js
+++ b/test/translator.js
@@ -67,9 +67,9 @@ describe('Translator shim', () => {
done();
});
- it('should escape html and tx, if everything is passed as first string and its not a valid token', (done) => {
+ it('should escape html, if everything is passed as first string and its not a valid token', (done) => {
const str = helpers.tx.call(context, '[[<script>alert("xss")</script>, <script>alert("xss")</script>]]');
- assert.strictEqual(str, '&lsqb;&lsqb;&lt;script&gt;alert(&quot;xss&quot;)&lt;/script&gt;, &lt;script&gt;alert(&quot;xss&quot;)&lt;/script&gt;&rsqb;&rsqb;');
+ assert.strictEqual(str, '[[&lt;script&gt;alert(&quot;xss&quot;)&lt;/script&gt;, &lt;script&gt;alert(&quot;xss&quot;)&lt;/script&gt;]]');
done();
});