@dov118/eso-status
Advanced tools
Comparing version 1.1.14 to 1.2.0
@@ -1,5 +0,27 @@ | ||
## [1.1.13](https://github.com/dov118/eso-status/compare/1.1.13...1.1.14) (2021-05-28) | ||
## [1.2.0](https://github.com/dov118/eso-status/compare/1.1.14...1.2.0) (2021-06-03) | ||
### Features | ||
* Change **ps4** ServerSupport to **ps** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **ps4_eu** ServerSlug to **ps_eu** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **ps4_na** ServerSlug to **ps_na** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The European PlayStation®4 megaserver is currently unavailable while we perform maintenance.** to **The European PlayStation® megaserver is currently unavailable while we perform maintenance.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The European PlayStation®4 megaserver is currently available.** to **The European PlayStation® megaserver is currently available.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The North American PlayStation®4 megaserver is currently unavailable while we perform maintenance.** to **The North American PlayStation® megaserver is currently unavailable while we perform maintenance.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The North American PlayStation®4 megaserver is currently available.** to **The North American PlayStation® megaserver is currently available.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The North American Xbox One megaserver is currently unavailable while we perform maintenance.** to **The North American Xbox megaserver is currently unavailable while we perform maintenance.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
* Change **The European Xbox One megaserver is currently unavailable while we perform maintenance.** to **The European Xbox megaserver is currently unavailable while we perform maintenance.** ([6b5e5d2](https://github.com/dov118/eso-status/commit/6b5e5d2a19d26f4a3732c60c714ee9b9a3b80bbc)) | ||
### Updates | ||
* Update **jest** from **27.0.1** to **27.0.4** ([8877079](https://github.com/dov118/eso-status/commit/8877079a0b71ed05288f2f4d052852f7b38c4f3b)) | ||
* Update **ts-jest** from **27.0.1** to **27.0.2** ([4a90633](https://github.com/dov118/eso-status/commit/4a90633add01cb87c25829a47435d83c86252774)) | ||
### Code Refactoring | ||
* Update **README.md** with new ServerSupport and ServerSlug ([b702c9b](https://github.com/dov118/eso-status/commit/b702c9b24c85e3975c5c035a7367cb572d2c02f5)) | ||
## [1.1.14](https://github.com/dov118/eso-status/compare/1.1.13...1.1.14) (2021-05-28) | ||
### Updates | ||
* Update **ts-jest** from **27.0.0** to **27.0.1** ([9620430](https://github.com/dov118/eso-status/commit/9620430ffa6c7e601fd2a255b12b66656720eb3b)) | ||
@@ -6,0 +28,0 @@ * Update **typescript** from **4.2.4** to **4.3.2** ([b8394ec](https://github.com/dov118/eso-status/commit/b8394ecfcc89e842f8054079b6b342e7b022081b)) |
@@ -219,7 +219,7 @@ /** | ||
*/ | ||
export declare type ServerSupport = 'xbox' | 'ps4' | 'pc' | 'none'; | ||
export declare type ServerSupport = 'xbox' | 'ps' | 'pc' | 'none'; | ||
/** | ||
* Server/service slug | ||
*/ | ||
declare type ServerSlug = 'pc_eu' | 'pc_na' | 'ps4_eu' | 'ps4_na' | 'xbox_eu' | 'xbox_na' | 'site_web' | 'pts' | 'web_forum' | 'crown_store' | 'eso_store' | 'account_system'; | ||
declare type ServerSlug = 'pc_eu' | 'pc_na' | 'ps_eu' | 'ps_na' | 'xbox_eu' | 'xbox_na' | 'site_web' | 'pts' | 'web_forum' | 'crown_store' | 'eso_store' | 'account_system'; | ||
/** | ||
@@ -226,0 +226,0 @@ * Server/service status |
@@ -174,3 +174,3 @@ "use strict"; | ||
var slugs = []; | ||
if (raw.includes('Xbox One megaserver')) { | ||
if (raw.includes('Xbox megaserver')) { | ||
if (raw.includes('North American')) { | ||
@@ -187,12 +187,12 @@ slugs.push('xbox_na'); | ||
} | ||
if (raw.includes('PlayStation®4 megaserver')) { | ||
if (raw.includes('PlayStation® megaserver')) { | ||
if (raw.includes('North American')) { | ||
slugs.push('ps4_na'); | ||
slugs.push('ps_na'); | ||
} | ||
else if (raw.includes('European')) { | ||
slugs.push('ps4_eu'); | ||
slugs.push('ps_eu'); | ||
} | ||
else { | ||
slugs.push('ps4_na'); | ||
slugs.push('ps4_eu'); | ||
slugs.push('ps_na'); | ||
slugs.push('ps_eu'); | ||
} | ||
@@ -215,3 +215,3 @@ } | ||
slugs.push('xbox_eu'); | ||
slugs.push('ps4_eu'); | ||
slugs.push('ps_eu'); | ||
} | ||
@@ -221,3 +221,3 @@ if (raw.includes('North American megaservers')) { | ||
slugs.push('xbox_na'); | ||
slugs.push('ps4_na'); | ||
slugs.push('ps_na'); | ||
} | ||
@@ -243,4 +243,4 @@ if (raw.includes('ESO Website')) { | ||
if (raw.includes('PlayStation® Network')) { | ||
slugs.push('ps4_na'); | ||
slugs.push('ps4_eu'); | ||
slugs.push('ps_na'); | ||
slugs.push('ps_eu'); | ||
} | ||
@@ -259,4 +259,4 @@ if (raw.includes('Xbox Live™')) { | ||
slugs.push('xbox_eu'); | ||
slugs.push('ps4_na'); | ||
slugs.push('ps4_eu'); | ||
slugs.push('ps_na'); | ||
slugs.push('ps_eu'); | ||
} | ||
@@ -308,4 +308,4 @@ return slugs; | ||
} | ||
else if (serverSlug.includes('ps4')) { | ||
return 'ps4'; | ||
else if (serverSlug.includes('ps')) { | ||
return 'ps'; | ||
} | ||
@@ -312,0 +312,0 @@ else if (serverSlug.includes('xbox')) { |
{ | ||
"name": "@dov118/eso-status", | ||
"version": "1.1.14", | ||
"version": "1.2.0", | ||
"description": "Library used to get servers status of The elders scrolls Online game", | ||
@@ -26,4 +26,4 @@ "main": "lib/index.js", | ||
"@types/jest": "^26.0.23", | ||
"ts-jest": "^27.0.1", | ||
"jest": "^27.0.1", | ||
"jest": "^27.0.4", | ||
"ts-jest": "^27.0.2", | ||
"typescript": "^4.3.2" | ||
@@ -30,0 +30,0 @@ }, |
133
README.md
@@ -47,7 +47,7 @@ # ESO-STATUS | ||
[ | ||
pts: { | ||
raw_date: '2020.12.16 - 15:45 UTC (10:45 EST)', | ||
raw_information: 'The PTS is currently available.', | ||
date: '2020-12-16T15:45:00.000Z', | ||
slug: 'pts', | ||
eso_store: { | ||
raw_date: '2021.06.03 - 13:10 UTC (9:10 EDT)', | ||
raw_information: 'The ESO store and account system are currently available.', | ||
date: '2021-06-03T13:10:00.000Z', | ||
slug: 'eso_store', | ||
support: 'none', | ||
@@ -57,33 +57,33 @@ zone: 'none', | ||
}, | ||
ps4_na: { | ||
raw_date: '2020.12.09 - 13:30 UTC (8:30 EST)', | ||
raw_information: 'The North American PlayStation®4 megaserver is currently available.', | ||
date: '2020-12-09T13:30:00.000Z', | ||
slug: 'ps4_na', | ||
support: 'ps4', | ||
account_system: { | ||
raw_date: '2021.06.03 - 13:10 UTC (9:10 EDT)', | ||
raw_information: 'The ESO store and account system are currently available.', | ||
date: '2021-06-03T13:10:00.000Z', | ||
slug: 'account_system', | ||
support: 'none', | ||
zone: 'none', | ||
status: 'up' | ||
}, | ||
xbox_na: { | ||
raw_date: '2021.06.02 - 15:45 UTC (11:45 EST)', | ||
raw_information: 'The North American Xbox megaserver is currently available.', | ||
date: '2021-06-02T15:45:00.000Z', | ||
slug: 'xbox_na', | ||
support: 'xbox', | ||
zone: 'na', | ||
status: 'up' | ||
}, | ||
ps4_eu: { | ||
raw_date: '2020.12.09 - 13:30 UTC (8:30 EST)', | ||
raw_information: 'The European PlayStation®4 megaserver is currently available.', | ||
date: '2020-12-09T13:30:00.000Z', | ||
slug: 'ps4_eu', | ||
support: 'ps4', | ||
xbox_eu: { | ||
raw_date: '2021.06.02 - 15:45 UTC (11:45 EST)', | ||
raw_information: 'The European Xbox megaserver is currently available.', | ||
date: '2021-06-02T15:45:00.000Z', | ||
slug: 'xbox_eu', | ||
support: 'xbox', | ||
zone: 'eu', | ||
status: 'up' | ||
}, | ||
site_web: { | ||
raw_date: '2020.12.08 - 14:40 UTC (9:40 EST)', | ||
raw_information: 'The ESO Website is currently online.', | ||
date: '2020-12-08T14:40:00.000Z', | ||
slug: 'site_web', | ||
support: 'none', | ||
zone: 'none', | ||
status: 'up' | ||
}, | ||
pc_na: { | ||
raw_date: '2020.12.7 - 12:35 UTC (7:35 EDT)', | ||
raw_date: '2021.06.02 - 14:30 UTC (10:30 EDT)', | ||
raw_information: 'The North American PC/Mac megaserver is currently available.', | ||
date: '2020-12-07T12:35:00.000Z', | ||
date: '2021-06-02T14:30:00.000Z', | ||
slug: 'pc_na', | ||
@@ -94,43 +94,34 @@ support: 'pc', | ||
}, | ||
pc_eu: { | ||
raw_date: '2020.12.7 - 12:35 UTC (7:35 EDT)', | ||
raw_information: 'The European PC/Mac megaserver is currently available.', | ||
date: '2020-12-07T12:35:00.000Z', | ||
slug: 'pc_eu', | ||
support: 'pc', | ||
zone: 'eu', | ||
status: 'up' | ||
}, | ||
xbox_na: { | ||
raw_date: '2020.12.05 - 08:15 UTC (03:15 EST)', | ||
raw_information: 'The North American Xbox One megaserver is currently available.', | ||
date: '2020-12-05T08:15:00.000Z', | ||
slug: 'xbox_na', | ||
support: 'xbox', | ||
ps_na: { | ||
raw_date: '2021.06.02 - 9:45 UTC (5:45 EST)', | ||
raw_information: 'The North American PlayStation® megaserver is currently available.', | ||
date: '2021-06-02T09:45:00.000Z', | ||
slug: 'ps_na', | ||
support: 'ps', | ||
zone: 'na', | ||
status: 'up' | ||
}, | ||
xbox_eu: { | ||
raw_date: '2020.12.05 - 08:15 UTC (03:15 EST)', | ||
raw_information: 'The European Xbox One megaserver is currently available.', | ||
date: '2020-12-05T08:15:00.000Z', | ||
slug: 'xbox_eu', | ||
support: 'xbox', | ||
ps_eu: { | ||
raw_date: '2021.06.02 - 9:45 UTC (5:45 EST)', | ||
raw_information: 'The European PlayStation® megaserver is currently available.', | ||
date: '2021-06-02T09:45:00.000Z', | ||
slug: 'ps_eu', | ||
support: 'ps', | ||
zone: 'eu', | ||
status: 'up' | ||
}, | ||
eso_store: { | ||
raw_date: '2020.12.03 - 19:05 UTC (14:05 EST)', | ||
raw_information: 'The issues affecting purchases in the ESO store have been resolved.', | ||
date: '2020-12-03T19:05:00.000Z', | ||
slug: 'eso_store', | ||
support: 'none', | ||
zone: 'none', | ||
pc_eu: { | ||
raw_date: '2021.06.01 - 10:20 UTC (6:20 EDT)', | ||
raw_information: 'The European PC/Mac megaserver is currently available.', | ||
date: '2021-06-01T10:20:00.000Z', | ||
slug: 'pc_eu', | ||
support: 'pc', | ||
zone: 'eu', | ||
status: 'up' | ||
}, | ||
account_system: { | ||
raw_date: '2020.11.18 - 16:40 UTC (11:40 EST)', | ||
raw_information: 'The ESO store and account system are currently available.', | ||
date: '2020-11-18T16:40:00.000Z', | ||
slug: 'account_system', | ||
pts: { | ||
raw_date: '2021.05.17 - 16:00 UTC (12:00 EDT)', | ||
raw_information: 'The PTS is currently available.', | ||
date: '2021-05-17T16:00:00.000Z', | ||
slug: 'pts', | ||
support: 'none', | ||
@@ -140,21 +131,13 @@ zone: 'none', | ||
}, | ||
crown_store: { | ||
raw_date: '2020.11.03 - 18:30 UTC (13:30 EST)', | ||
raw_information: 'The Crown Store is currently available.', | ||
date: '2020-11-03T18:30:00.000Z', | ||
slug: 'crown_store', | ||
site_web: { | ||
raw_date: '2021.01.14 - 14:45 UTC (9:45 EST)', | ||
raw_information: 'The ESO Website is currently online.', | ||
date: '2021-01-14T14:45:00.000Z', | ||
slug: 'site_web', | ||
support: 'none', | ||
zone: 'none', | ||
status: 'up' | ||
}, | ||
web_forum: { | ||
raw_date: '2020.07.17 - 22:15 UTC (18:15 EDT)', | ||
raw_information: 'The ESO Forums are currently available.', | ||
date: '2020-07-17T22:15:00.000Z', | ||
slug: 'web_forum', | ||
support: 'none', | ||
zone: 'none', | ||
status: 'up' | ||
} | ||
] | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35918
140