mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
0fe8426f97
- renamed our internal validation library to "validator" - which is the same as the tool it wraps - updated the public api so that validator methods are directly exposed - this will make it a drop-in replacement for validator-js - in turn, this allows us to pull this out into @tryghost/validator, and use our own wrapper instead of the 3rd party library
3 lines
90 B
JavaScript
3 lines
90 B
JavaScript
module.exports = require('./validator');
|
|
module.exports.validate = require('./validate');
|