chuvsu-js 2.6.1 → 2.6.2

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.
Files changed (2) hide show
  1. package/dist/tt/parse.js +1 -1
  2. package/package.json +1 -1
package/dist/tt/parse.js CHANGED
@@ -406,7 +406,7 @@ function parseTeacherSemesterEntry(el) {
406
406
  type: typeMatch?.[1] ?? "",
407
407
  weeks: parseWeeks(weeksMatch?.[1] ?? ""),
408
408
  teacher: { name: "" },
409
- groups: groupsMatch?.[1]?.trim() ?? "",
409
+ groups: groupsMatch?.[1]?.trim().replace(/\s*\(\d+\s*подгруппа\)/, "") ?? "",
410
410
  subgroup: subgroupMatch ? parseInt(subgroupMatch[1]) : undefined,
411
411
  weekParity,
412
412
  substitutions: substitutions.length > 0 ? substitutions : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chuvsu-js",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Node.js library for ChuvSU student portal (lk.chuvsu.ru) and schedule (tt.chuvsu.ru)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",