@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.cjs CHANGED
@@ -1945,7 +1945,7 @@ function generateLrsBridgeCode(options) {
1945
1945
  } catch (e) {}
1946
1946
 
1947
1947
  for (var j = 0; j < urlsToCheck.length; j++) {
1948
- var match = urlsToCheck[j].match(/(https?://core-[a-zA-Z0-9_-]+.bravais.com)/);
1948
+ var match = urlsToCheck[j].match(/(https?:\\/\\/core-[a-zA-Z0-9_-]+\\.bravais\\.com)/);
1949
1949
  if (match) {
1950
1950
  return match[1];
1951
1951
  }
@@ -2461,14 +2461,14 @@ function generateLrsBridgeCode(options) {
2461
2461
 
2462
2462
  // 5. Clean up - remove any "Home" or generic names if we're on a real lesson
2463
2463
  if (lessonInfo.name) {
2464
- lessonInfo.name = lessonInfo.name.replace(/^\\d+\\.\\s*/, ''); // Remove leading numbers "1. "
2464
+ lessonInfo.name = lessonInfo.name.replace(/^\\\\d+\\\\.\\\\s*/, ''); // Remove leading numbers "1. "
2465
2465
  if (lessonInfo.name.length > 200) {
2466
2466
  lessonInfo.name = lessonInfo.name.substring(0, 200) + '...';
2467
2467
  }
2468
2468
  }
2469
2469
 
2470
2470
  if (lessonInfo.sectionName) {
2471
- lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\d+\\.\\s*/, '');
2471
+ lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\\\d+\\\\.\\\\s*/, '');
2472
2472
  if (lessonInfo.sectionName.length > 200) {
2473
2473
  lessonInfo.sectionName = lessonInfo.sectionName.substring(0, 200) + '...';
2474
2474
  }
@@ -3793,7 +3793,7 @@ function generateLrsBridgeCode(options) {
3793
3793
  // ========================================================================
3794
3794
 
3795
3795
  function init() {
3796
- log('Initializing LRS bridge v2.5.0...');
3796
+ log('Initializing LRS bridge v2.5.1...');
3797
3797
 
3798
3798
  // Extract course info early
3799
3799
  extractCourseInfo();