mod-build 4.0.16 → 4.0.17
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/tasks/templates.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 4.0.17
|
|
2
|
+
|
|
3
|
+
- Updating `fetchTcpaFromSitegenie()` to no longer have any use-cases of QuinStreet as the company name; should be Modernize all the time.
|
|
4
|
+
|
|
1
5
|
## 4.0.16
|
|
2
6
|
|
|
3
7
|
- Tech Debt: Moving the `getDefaultTopRecommendedContent()` locally back to the bestcompany-top-recommended repo (as it is not needed as a global function)
|
package/package.json
CHANGED
package/tasks/templates.js
CHANGED
|
@@ -98,7 +98,7 @@ const fetchTcpaFromSitegenie = async (config, tempConfig) => {
|
|
|
98
98
|
const responseJson = resp.data;
|
|
99
99
|
console.log('SiteGenie TCPA response successful: ', responseJson);
|
|
100
100
|
|
|
101
|
-
let finalTCPA = await
|
|
101
|
+
let finalTCPA = await responseJson.tcpa.replace(/QuinStreet/g, 'Modernize');
|
|
102
102
|
const removeInlineStyleRegex = / style="[^"]*"/g;
|
|
103
103
|
finalTCPA = finalTCPA.replace(removeInlineStyleRegex, '');
|
|
104
104
|
if (finalTCPA.includes(companyPlaceholder)) {
|