@mjhls/mjh-framework 1.0.1058 → 1.0.1060
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/README.md +1 -1
- package/dist/cjs/View.js +3 -0
- package/dist/esm/View.js +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.1059
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
package/dist/cjs/View.js
CHANGED
|
@@ -2676,6 +2676,9 @@ View.returnGetInitialProps = function () {
|
|
|
2676
2676
|
if (x.applyNoFollowTag) {
|
|
2677
2677
|
article.applyNoFollowTag = true;
|
|
2678
2678
|
}
|
|
2679
|
+
if (x.disableNativeAds) {
|
|
2680
|
+
article.disableNativeAds = true;
|
|
2681
|
+
}
|
|
2679
2682
|
});
|
|
2680
2683
|
}
|
|
2681
2684
|
// check for disableAds flag on content category
|
package/dist/esm/View.js
CHANGED
|
@@ -2666,6 +2666,9 @@ View.returnGetInitialProps = function () {
|
|
|
2666
2666
|
if (x.applyNoFollowTag) {
|
|
2667
2667
|
article.applyNoFollowTag = true;
|
|
2668
2668
|
}
|
|
2669
|
+
if (x.disableNativeAds) {
|
|
2670
|
+
article.disableNativeAds = true;
|
|
2671
|
+
}
|
|
2669
2672
|
});
|
|
2670
2673
|
}
|
|
2671
2674
|
// check for disableAds flag on content category
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjhls/mjh-framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1060",
|
|
4
4
|
"description": "Foundation Framework",
|
|
5
5
|
"author": "mjh-framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"next": "^9 || ^10 || ^11 || ^12",
|
|
30
30
|
"prop-types": "^15.5.4",
|
|
31
31
|
"react": "^15 || ^16 || ^17 || ^18",
|
|
32
|
-
"react-bootstrap": "^1.0.0-beta.14",
|
|
32
|
+
"react-bootstrap": "^1.0.0-beta.14 || ^2",
|
|
33
33
|
"react-dom": "^15 || ^16 || ^17 || ^18",
|
|
34
34
|
"react-share": "^4.0.1"
|
|
35
35
|
},
|