@vixoniccom/news-internal 0.4.13-beta.17 → 0.4.13-beta.18

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.13-beta.18](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.17...v0.4.13-beta.18) (2023-05-29)
6
+
5
7
  ### [0.4.13-beta.17](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.16...v0.4.13-beta.17) (2023-05-29)
6
8
 
7
9
  ### [0.4.13-beta.16](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.15...v0.4.13-beta.16) (2023-05-26)
package/build.zip CHANGED
Binary file
@@ -106,7 +106,7 @@ const newsList = new List({
106
106
  })
107
107
 
108
108
  export const configuration: Configuration = new Configuration({
109
- durationFormula: `(_values.news && _values.news.filter(function(newsItem) { return new Date(newsItem.expirationDate) > new Date() || !isNaN(newsItem.expirationDate) ; }).length || 0) * (_values.showTime || 10)`,
109
+ durationFormula: `(_values.news && _values.news.filter(function(newsItem) { return new Date(newsItem.expirationDate) > new Date() || isNaN(new Date(newsItem.expirationDate)) ; }).length || 0) * (_values.showTime || 10)`,
110
110
  schema: [
111
111
  newsList,
112
112
  appereanceGroup
@@ -1,5 +1,5 @@
1
1
  {
2
- "durationFormula": "(_values.news && _values.news.filter(function(newsItem) { return new Date(newsItem.expirationDate) > new Date() || !isNaN(newsItem.expirationDate) ; }).length || 0) * (_values.showTime || 10)",
2
+ "durationFormula": "(_values.news && _values.news.filter(function(newsItem) { return new Date(newsItem.expirationDate) > new Date() || isNaN(new Date(newsItem.expirationDate)) ; }).length || 1) * (_values.showTime || 10)",
3
3
  "schema": [
4
4
  {
5
5
  "id": "news",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "author": {
8
8
  "name": ""
9
9
  },
10
- "version": "0.4.13-beta.17",
10
+ "version": "0.4.13-beta.18",
11
11
  "scripts": {
12
12
  "prepublishOnly": "vixonic-module-packager --mode=build",
13
13
  "watch": "vixonic-module-packager --mode=watch",