@kno2/bluebutton 0.6.4 → 0.6.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.
@@ -0,0 +1,16 @@
1
+ name: "dependabot jira ticket sync"
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 0 * * *'
6
+ workflow_dispatch:
7
+
8
+ permissions: read-all
9
+
10
+ jobs:
11
+ dependabot-scan:
12
+ name: Scan for issues
13
+ uses: Kno2/action-workflows/.github/workflows/push-alerts-to-jira-ubuntu.yml@master
14
+ with:
15
+ jira_project_key: DEP
16
+ secrets: inherit
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 14.16.1
@@ -775,7 +775,7 @@ function stripWhitespace(str) {
775
775
  return str;
776
776
  }
777
777
 
778
- return str.replace(/^\s+|\s+$/g, '');
778
+ return str.trim();
779
779
  }
780
780
 
781
781
  ;
@@ -956,7 +956,7 @@ var unescapeSpecialChars = function unescapeSpecialChars(s) {
956
956
  return s;
957
957
  }
958
958
 
959
- return s.replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&').replace(/&quot;/g, '"').replace(/&apos;/g, "'");
959
+ return s.replace(/\&lt;/g, '<').replace(/\&gt;/g, '>').replace(/\&quot;/g, '"').replace(/\&apos;/g, "'").replace(/\&amp;/g, '&');
960
960
  };
961
961
  /*
962
962
  * Retrieve the element's attribute value. Example: