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

@geckos.io/common

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geckos.io/common - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

lib/helpers.js

@@ -14,4 +14,9 @@ "use strict";

try {
// check if it is a string
if (typeof data !== 'string')
return false;
// check if it is a number as a string
if (!isNaN(parseInt(data)))
return false;
// check if it is a JSON object
JSON.parse(data);

@@ -18,0 +23,0 @@ return true;

2

package.json
{
"name": "@geckos.io/common",
"version": "1.0.2",
"version": "1.0.3",
"description": "The common module for @geckos.io/server and @geckos.io/client.",

@@ -5,0 +5,0 @@ "main": "lib",

Sorry, the diff of this file is not supported yet

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