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

@skipper-dev/essentials

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skipper-dev/essentials - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

main.js
module.exports = {
decodeBase64(input) {
if (!input) throw new error('You need to specify a base64 string to decode.')
try {
input = input.toString()
} catch (err) {
throw new error('You have to provide a input type of string, int or boolean, recieved type ' + typeof(input))
}
if (typeof(input) != 'string') throw new error('You have to provide a input type of string, int or boolean, recieved type ' + typeof(input))
try {
var decoded = new Buffer(input, 'base64').toString('ascii')

@@ -5,0 +13,0 @@ return decoded

2

package.json
{
"name": "@skipper-dev/essentials",
"version": "1.0.3",
"version": "1.0.4",
"description": "A essentials module with every important feature the npm community features and some more. Basicially just a big chunk of utils",

@@ -5,0 +5,0 @@ "main": "main.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