Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import enforce from 'n4s/dist/enforce.min';
import any from 'anyone/any';
import passable from './core/passable';
import draft from './core/draft';
import test from './core/test';
import validate from './utilities/validate';
import { singleton } from './lib';
import { WARN, FAIL, VERSION } from './constants';
passable.VERSION = VERSION;
passable.enforce = enforce;
passable.draft = draft;
passable.Enforce = enforce.Enforce;
passable.test = test;
passable.validate = validate;
passable.any = any;
passable.WARN = WARN;
passable.FAIL = FAIL;
singleton.register(passable);
export default passable;