@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/cli.js CHANGED
@@ -1936,7 +1936,7 @@ function generateLrsBridgeCode(options) {
1936
1936
  } catch (e) {}
1937
1937
 
1938
1938
  for (var j = 0; j < urlsToCheck.length; j++) {
1939
- var match = urlsToCheck[j].match(/(https?://core-[a-zA-Z0-9_-]+.bravais.com)/);
1939
+ var match = urlsToCheck[j].match(/(https?:\\/\\/core-[a-zA-Z0-9_-]+\\.bravais\\.com)/);
1940
1940
  if (match) {
1941
1941
  return match[1];
1942
1942
  }
@@ -2452,14 +2452,14 @@ function generateLrsBridgeCode(options) {
2452
2452
 
2453
2453
  // 5. Clean up - remove any "Home" or generic names if we're on a real lesson
2454
2454
  if (lessonInfo.name) {
2455
- lessonInfo.name = lessonInfo.name.replace(/^\\d+\\.\\s*/, ''); // Remove leading numbers "1. "
2455
+ lessonInfo.name = lessonInfo.name.replace(/^\\\\d+\\\\.\\\\s*/, ''); // Remove leading numbers "1. "
2456
2456
  if (lessonInfo.name.length > 200) {
2457
2457
  lessonInfo.name = lessonInfo.name.substring(0, 200) + '...';
2458
2458
  }
2459
2459
  }
2460
2460
 
2461
2461
  if (lessonInfo.sectionName) {
2462
- lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\d+\\.\\s*/, '');
2462
+ lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\\\d+\\\\.\\\\s*/, '');
2463
2463
  if (lessonInfo.sectionName.length > 200) {
2464
2464
  lessonInfo.sectionName = lessonInfo.sectionName.substring(0, 200) + '...';
2465
2465
  }
@@ -3784,7 +3784,7 @@ function generateLrsBridgeCode(options) {
3784
3784
  // ========================================================================
3785
3785
 
3786
3786
  function init() {
3787
- log('Initializing LRS bridge v2.5.0...');
3787
+ log('Initializing LRS bridge v2.5.1...');
3788
3788
 
3789
3789
  // Extract course info early
3790
3790
  extractCourseInfo();