@capraconsulting/validation-utils-js
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@capraconsulting/validation-utils-js", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Utils for valdiation of input fields", | ||
@@ -13,3 +13,5 @@ "main": "dist/index.js", | ||
"lint": "tslint -c tslint.json 'src/**/*.ts'", | ||
"prettier": "prettier --config ./.prettierrc --write 'src/**/*.ts'" | ||
"prettier": "prettier --config ./.prettierrc --write 'src/**/*.ts'", | ||
"prepublishOnly": "npm run lint && npm run test && npm run build", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
@@ -16,0 +18,0 @@ "repository": { |
@@ -1,3 +0,2 @@ | ||
const isNonEmptyString = (value: string): boolean => | ||
!!value && value.constructor === String; | ||
import { isNonEmptyString } from '../common/common-validator'; | ||
@@ -4,0 +3,0 @@ export const isValidNorwegianPhoneNumber = (phoneNumber: string): boolean => |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26256
35
202