@lvce-editor/about-view 4.5.0 → 4.6.0

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.
@@ -1128,7 +1128,7 @@ const formatAboutDate = (isoDate, now) => {
1128
1128
  return 'unknown';
1129
1129
  }
1130
1130
  const date = new Date(isoDate).getTime();
1131
- if (isNaN(date)) {
1131
+ if (Number.isNaN(date)) {
1132
1132
  return `Invalid Date: ${isoDate}`;
1133
1133
  }
1134
1134
  const ago = formatDate(date, now);
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@lvce-editor/about-view",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "description": "About View Worker",
5
- "main": "dist/aboutWorkerMain.js",
6
- "type": "module",
7
5
  "keywords": [
8
6
  "about-view"
9
7
  ],
10
- "author": "Lvce Editor",
11
- "license": "MIT",
12
8
  "repository": {
13
9
  "type": "git",
14
10
  "url": "git+https://github.com/lvce-editor/about-view.git"
15
- }
11
+ },
12
+ "license": "MIT",
13
+ "author": "Lvce Editor",
14
+ "type": "module",
15
+ "main": "dist/aboutWorkerMain.js"
16
16
  }