@bettercorp/tools
Advanced tools
Comparing version 1.2.20211118015545 to 1.3.20220126151136
@@ -287,4 +287,6 @@ "use strict"; | ||
return { status: false }; | ||
if (/[A-Za-z]/g.test(valueAsString)) | ||
if (valueAsString.split(',').length > 2) | ||
return { status: false }; | ||
if (!(/^[0-9 ,.\-]{1,}$/g.test(valueAsString))) | ||
return { status: false }; | ||
let nValue = Number.parseFloat(valueAsString); | ||
@@ -291,0 +293,0 @@ if (this.isNumber(nValue)) |
@@ -1,1 +0,1 @@ | ||
{"name":"@bettercorp/tools","scripts":{"dev":"nodemon -L --watch src/**/*.ts --watch plugins/**/*.ts --exec ts-node src/index.ts","start":"node lib/index.js","build":"tsc","deploy":"npm publish","version":"node ./build/version.js $0","test":"./node_modules/mocha/bin/mocha --reporter mocha-junit-reporter --reporter-options mochaFile=junit.xml","testDev":"./node_modules/mocha/bin/mocha"},"license":"AGPL-3.0-only","repository":{"url":"https://gitlab.com/BetterCorp/public/tools"},"files":["lib/**/*"],"main":"lib/index.js","version":"1.2.20211118015545","dependencies":{"@types/node":"^16.11.6","@types/uuid":"^8.3.1","crypto-js":"^4.1.1","events":"^3.3.0","express":"^4.17.1","just-clone":"^4.1.1","moment":"^2.29.1","stream":"0.0.2","uuid":"^8.3.2","ws":"^8.2.3"},"devDependencies":{"@types/crypto-js":"^4.0.2","mocha":"^9.1.3","mocha-junit-reporter":"^2.0.2","ts-node":"^10.4.0","tslint":"^6.1.3","typescript":"^4.4.4"}} | ||
{"name":"@bettercorp/tools","scripts":{"dev":"nodemon -L --watch src/**/*.ts --watch plugins/**/*.ts --exec ts-node src/index.ts","start":"node lib/index.js","build":"tsc","deploy":"npm publish","version":"node ./build/version.js $0","test":"./node_modules/mocha/bin/mocha --reporter mocha-junit-reporter --reporter-options mochaFile=junit.xml","testDev":"./node_modules/mocha/bin/mocha"},"license":"AGPL-3.0-only","repository":{"url":"https://gitlab.com/BetterCorp/tools"},"files":["lib/**/*"],"main":"lib/index.js","version":"1.3.20220126151136","dependencies":{"@types/node":"^16.11.6","@types/uuid":"^8.3.1","crypto-js":"^4.1.1","events":"^3.3.0","express":"^4.17.1","just-clone":"^4.1.1","moment":"^2.29.1","stream":"0.0.2","uuid":"^8.3.2","ws":"^8.2.3"},"devDependencies":{"@types/crypto-js":"^4.0.2","mocha":"^9.1.3","mocha-junit-reporter":"^2.0.2","ts-node":"^10.4.0","tslint":"^6.1.3","typescript":"^4.4.4"}} |
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
71961
534