@waves/money-like-to-node
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -19,3 +19,3 @@ "use strict"; | ||
var validators_1 = require("../validators"); | ||
exports.alias = factory_1.factory(__assign({}, general_1.getDefaultTransform(), { alias: utils_1.pipe(utils_1.prop('alias'), validators_1.validate(validators_1.requiredValidator('alias'), validators_1.createValidator(validators_1.isString, 'Alias is not a string!'), validators_1.createValidator(utils_1.pipe(utils_1.length, utils_1.gt(constants_1.ALIAS.MAX_ALIAS_LENGTH)), "Alias max length is " + constants_1.ALIAS.MAX_ALIAS_LENGTH), validators_1.createValidator(utils_1.pipe(utils_1.length, utils_1.lt(constants_1.ALIAS.MIN_ALIAS_LENGTH)), "Alias min length is " + constants_1.ALIAS.MIN_ALIAS_LENGTH), validators_1.createValidator(validators_1.charsInDictionary(constants_1.ALIAS.AVAILABLE_CHARS), "Available alias chars is \"" + constants_1.ALIAS.AVAILABLE_CHARS + "\""))) })); | ||
exports.alias = factory_1.factory(__assign({}, general_1.getDefaultTransform(), { alias: utils_1.pipe(utils_1.prop('alias'), validators_1.validate(validators_1.requiredValidator('alias'), validators_1.createValidator(validators_1.isString, 'Alias is not a string!'), validators_1.createValidator(utils_1.pipe(utils_1.length, utils_1.gte(constants_1.ALIAS.MAX_ALIAS_LENGTH)), "Alias max length is " + constants_1.ALIAS.MAX_ALIAS_LENGTH), validators_1.createValidator(utils_1.pipe(utils_1.length, utils_1.lte(constants_1.ALIAS.MIN_ALIAS_LENGTH)), "Alias min length is " + constants_1.ALIAS.MIN_ALIAS_LENGTH), validators_1.createValidator(validators_1.charsInDictionary(constants_1.ALIAS.AVAILABLE_CHARS), "Available alias chars is \"" + constants_1.ALIAS.AVAILABLE_CHARS + "\""))) })); | ||
//# sourceMappingURL=alias.js.map |
{ | ||
"name": "@waves/money-like-to-node", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
76455
0