Comments (4)
definitely agree it could clean up the build stuff. that is pretty messy right now. maybe we should use es6 modules instead since everything is heading that way. what do you think?
from validatorjs.
To be honest quite honest I've never actually used webpack or got much into es6, but hear generally good things. I've used browserify though which is very straightforward and would be a breeze for us to easily support browser and node with minimal filesize bloat and easy testing.
Not sure using es6 just for it's module loading is worth it at this point, as you would still need browserify or webpack ontop of something like babel. Might as well just use browserify and that's it ?
from validatorjs.
good point. ok let's go with browserify. i haven't used webpack either.
from validatorjs.
PR #50
from validatorjs.
Related Issues (20)
- My email address is in your security policy HOT 2
- Custom replacements not working for custom rules HOT 1
- Wildcard object validation supported? HOT 1
- Validator.passes() throws an exception when using in AWS Lambda deployed with AWS CDK HOT 13
- An error with a valid regexp HOT 1
- Local Server URL Marked as Invalid HOT 2
- Other validations are being ignored when value is null HOT 3
- Accept only keys defined in rule object HOT 1
- Accessing request object inside register() registerAsync() HOT 1
- can't create custom message by mask .*. HOT 1
- [Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'messages.def')] HOT 2
- TypeError: Cannot read properties of undefined (reading 'def') HOT 1
- Vite + React - leads to undefined error HOT 5
- Validator.registerAsync() argument message should be optional
- Validator.registerAsync() callback documentation
- Ability to register a rule per validator instance
- Is project still maintained HOT 6
- Validator.register: TypeError: Cannot set properties of undefined HOT 5
- Required_if not working with numbers
- required_without accepts empty arrays but laravel doesn't
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validatorjs.