@patch-adams/core 1.4.5 → 1.4.6

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.
package/dist/index.cjs CHANGED
@@ -1609,7 +1609,7 @@ function generateLrsBridgeCode(options) {
1609
1609
  } catch (e) {}
1610
1610
 
1611
1611
  for (var j = 0; j < urlsToCheck.length; j++) {
1612
- var match = urlsToCheck[j].match(/(https?://core-[a-zA-Z0-9_-]+.bravais.com)/);
1612
+ var match = urlsToCheck[j].match(/(https?:\\/\\/core-[a-zA-Z0-9_-]+\\.bravais\\.com)/);
1613
1613
  if (match) {
1614
1614
  return match[1];
1615
1615
  }
@@ -2125,14 +2125,14 @@ function generateLrsBridgeCode(options) {
2125
2125
 
2126
2126
  // 5. Clean up - remove any "Home" or generic names if we're on a real lesson
2127
2127
  if (lessonInfo.name) {
2128
- lessonInfo.name = lessonInfo.name.replace(/^\\d+\\.\\s*/, ''); // Remove leading numbers "1. "
2128
+ lessonInfo.name = lessonInfo.name.replace(/^\\\\d+\\\\.\\\\s*/, ''); // Remove leading numbers "1. "
2129
2129
  if (lessonInfo.name.length > 200) {
2130
2130
  lessonInfo.name = lessonInfo.name.substring(0, 200) + '...';
2131
2131
  }
2132
2132
  }
2133
2133
 
2134
2134
  if (lessonInfo.sectionName) {
2135
- lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\d+\\.\\s*/, '');
2135
+ lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\\\d+\\\\.\\\\s*/, '');
2136
2136
  if (lessonInfo.sectionName.length > 200) {
2137
2137
  lessonInfo.sectionName = lessonInfo.sectionName.substring(0, 200) + '...';
2138
2138
  }
@@ -3457,7 +3457,7 @@ function generateLrsBridgeCode(options) {
3457
3457
  // ========================================================================
3458
3458
 
3459
3459
  function init() {
3460
- log('Initializing LRS bridge v2.5.0...');
3460
+ log('Initializing LRS bridge v2.5.1...');
3461
3461
 
3462
3462
  // Extract course info early
3463
3463
  extractCourseInfo();