Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

Fix jsx-lexer to avoid breaking Pygments TypeScriptLexer.

Anders Kaseorg067a7a3a0f55
diff --git a/requirements/common.in b/requirements/common.in
index e4a658610b7..30c3093b942 100644
--- a/requirements/common.in
+++ b/requirements/common.in
@@ -15,7 +15,7 @@ Jinja2
Markdown
importlib-metadata ; python_version < "3.10" # for Markdown
Pygments
-jsx-lexer
+https://github.com/fcurella/jsx-lexer/archive/bb15e40854724b40c85c079ea851ec26fcc0393a.zip#egg=jsx-lexer==2.0.0+git # https://github.com/fcurella/jsx-lexer/pull/20
uri-template
# Needed for manage.py
diff --git a/requirements/dev.txt b/requirements/dev.txt
index b6f1ce29726..8f500bbfcd5 100644
--- a/requirements/dev.txt
+++ b/requirements/dev.txt
@@ -1082,9 +1082,8 @@ jsonschema-spec==0.1.4 \
# via
# openapi-core
# openapi-spec-validator
-jsx-lexer==2.0.0 \
- --hash=sha256:bff51c2a2faa2c682cbc9a0f360b8c65e4153eb1df06988e8dad34373d3f9995 \
- --hash=sha256:ca22483ced80a92e45fa1855da7cf99309852c0637842a79a759e10ea57b904d
+https://github.com/fcurella/jsx-lexer/archive/bb15e40854724b40c85c079ea851ec26fcc0393a.zip#egg=jsx-lexer==2.0.0+git \
+ --hash=sha256:8a051f1480da5b1efb3734521c5291a656170eda6258fb4a714cdf4921d79c47
# via -r requirements/common.in
lazy-object-proxy==1.9.0 \
--hash=sha256:09763491ce220c0299688940f8dc2c5d05fd1f45af1e42e636b2e8b2303e4382 \
diff --git a/requirements/prod.txt b/requirements/prod.txt
index b16026201d8..851eb81fcd4 100644
--- a/requirements/prod.txt
+++ b/requirements/prod.txt
@@ -844,9 +844,8 @@ jsonschema-spec==0.1.4 \
# via
# openapi-core
# openapi-spec-validator
-jsx-lexer==2.0.0 \
- --hash=sha256:bff51c2a2faa2c682cbc9a0f360b8c65e4153eb1df06988e8dad34373d3f9995 \
- --hash=sha256:ca22483ced80a92e45fa1855da7cf99309852c0637842a79a759e10ea57b904d
+https://github.com/fcurella/jsx-lexer/archive/bb15e40854724b40c85c079ea851ec26fcc0393a.zip#egg=jsx-lexer==2.0.0+git \
+ --hash=sha256:8a051f1480da5b1efb3734521c5291a656170eda6258fb4a714cdf4921d79c47
# via -r requirements/common.in
lazy-object-proxy==1.9.0 \
--hash=sha256:09763491ce220c0299688940f8dc2c5d05fd1f45af1e42e636b2e8b2303e4382 \
diff --git a/version.py b/version.py
index 0ffa5611005..b7575017efa 100644
--- a/version.py
+++ b/version.py
@@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 181
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
-PROVISION_VERSION = (241, 0)
+PROVISION_VERSION = (241, 1)