New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bettercorp/tools

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bettercorp/tools - npm Package Compare versions

Comparing version 1.2.20211118015545 to 1.3.20220126151136

4

lib/Tools.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc