fix(core): update

This commit is contained in:
2022-07-08 11:55:25 +02:00
commit 326448ace9
14 changed files with 11637 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartvalidator',
version: '1.0.2',
description: 'a wrapper for the validator package to perform validations'
}
+11
View File
@@ -0,0 +1,11 @@
import * as plugins from './smartvalidator.plugins.js';
export class SmartValidator {
public static validator = plugins.validator;
constructor() {}
public isIban(stringArg: string) {
return plugins.validator.isIBAN(stringArg);
}
}
+7
View File
@@ -0,0 +1,7 @@
import validatorMod from 'validator';
const validator: typeof validatorMod.default = validatorMod as any;
export {
validator
}