Socket
Socket
Sign inDemoInstall

@squared-functions/module

Package Overview
Dependencies
Maintainers
1
Versions
354
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squared-functions/module - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

8

index.js

@@ -1,2 +0,2 @@

/* @squared-functions/module 0.3.2
/* @squared-functions/module 0.3.3
https://github.com/anpham6/squared-functions */

@@ -13,3 +13,3 @@

.split('.')
.map(value => parseInt(value));
.map(value => +value);
}

@@ -35,2 +35,6 @@ checkVersion(major, minor, patch = 0) {

}
replaceExtension(value, ext) {
const index = value.lastIndexOf('.');
return (index !== -1 ? value.substring(0, index) : value) + '.' + ext;
}
writeFail(description, message) {

@@ -37,0 +41,0 @@ console.log(`${chalk.bgRed.bold.white('FAIL')}: ${description} (${message})`);

{
"name": "@squared-functions/module",
"version": "0.3.2",
"version": "0.3.3",
"description": "Module extension class for squared-functions",

@@ -18,5 +18,5 @@ "main": "index.js",

"dependencies": {
"@squared-functions/types": "^0.3.6",
"@squared-functions/types": "^0.3.9",
"chalk": "^4.1.0"
}
}
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