Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baselibrary

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baselibrary - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

baselib.js

@@ -11,2 +11,9 @@ Date.prototype.yyyymmdd = function() {

function randomString(length=10,charSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") {
var text = "";
for (var i = 0; i < length; i++)
text += charSet.charAt(Math.floor(Math.random() * charSet.length));
return text;
}

@@ -37,2 +44,2 @@ function canReadAndWrite(targetPath,create=false) {

module.exports = {canReadAndWrite,softexit}
module.exports = {canReadAndWrite,softexit,randomString}

2

package.json
{
"name": "baselibrary",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "baselib.js",

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