New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

joi-tz

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-tz - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

10

package.json
{
"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",

17

README.md

@@ -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
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ftjdavey%2Fjoi-tz.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Ftjdavey%2Fjoi-tz?ref=badge_large)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc