Comparing version 5.0.0 to 5.0.1
{ | ||
"name": "joi-tz", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Timezone string validation for Joi 16.x or higher.", | ||
@@ -14,3 +14,5 @@ "keywords": [ | ||
], | ||
"exports": ["./lib/index.js"], | ||
"exports": [ | ||
"./lib/index.js" | ||
], | ||
"files": [ | ||
@@ -37,3 +39,3 @@ "lib" | ||
"dependencies": { | ||
"luxon": "^3.4.4" | ||
"luxon": "^3.5.0" | ||
}, | ||
@@ -44,3 +46,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"coveralls": "^3.1.0", | ||
"coveralls-next": "^4.2.1", | ||
"eslint": "^8.57.0", | ||
@@ -47,0 +49,0 @@ "eslint-config-standard": "^17.1.0", |
@@ -30,4 +30,4 @@ # joi-tz - Joi Timezone Validation | ||
Joi.timezone().validate('Melbourne/Australia'); | ||
// returns {error: null, value: 'Melbourne/Australia'} | ||
Joi.timezone().validate('Australia/Darwin'); | ||
// returns {value: 'Australia/Darwin'} | ||
``` | ||
@@ -40,10 +40,11 @@ | ||
| Version | @hapi/joi 16.x | joi 16.x | joi 17.x | | ||
|----------------------------------------------------------------|----------------|----------|----------| | ||
| [5.0.0](https://github.com/tjdavey/joi-tz/releases/tag/v5.0.0) | | ✅ | ✅ | | ||
| [4.1.1](https://github.com/tjdavey/joi-tz/releases/tag/v4.1.1) | | ✅ | ✅ | | ||
| [4.1.0](https://github.com/tjdavey/joi-tz/releases/tag/v4.1.0) | | ✅ | ✅ | | ||
| [4.0.2](https://github.com/tjdavey/joi-tz/releases/tag/v4.0.2) | ✅ | | | | ||
| Version | @hapi/joi 16.x | joi 16.x | joi 17.x | Timezone Database | | ||
|----------------------------------------------------------------|----------------|----------|----------|---------------------------------------------------------| | ||
| [5.0.1](https://github.com/tjdavey/joi-tz/releases/tag/v5.0.1) | | ✅ | ✅ | [Luxon](https://moment.github.io/luxon) 3.5.x | | ||
| [5.0.0](https://github.com/tjdavey/joi-tz/releases/tag/v5.0.0) | | ✅ | ✅ | [Luxon](https://moment.github.io/luxon) 3.4.x | | ||
| [4.1.1](https://github.com/tjdavey/joi-tz/releases/tag/v4.1.1) | | ✅ | ✅ | [Moment-Timezone](https://momentjs.com/timezone/) 0.5.x | | ||
| [4.1.0](https://github.com/tjdavey/joi-tz/releases/tag/v4.1.0) | | ✅ | ✅ | [Moment-Timezone](https://momentjs.com/timezone/) 0.5.x | | ||
| [4.0.2](https://github.com/tjdavey/joi-tz/releases/tag/v4.0.2) | ✅ | | | [Moment-Timezone](https://momentjs.com/timezone/) 0.5.x | | ||
## License | ||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Ftjdavey%2Fjoi-tz?ref=badge_large) |
5207
49
Updatedluxon@^3.5.0