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

gongo-client-react

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gongo-client-react - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/subscriptions.js

@@ -24,3 +24,3 @@ "use strict";

};
}, [name, args, opts]);
}, [name, JSON.stringify(args), JSON.stringify(opts)]);
return {

@@ -27,0 +27,0 @@ sub,

{
"name": "gongo-client-react",
"version": "0.3.0",
"version": "0.3.1",
"author": "Gadi Cohen <dragon@wastelands.net>",

@@ -5,0 +5,0 @@ "description": "React hooks for GongoJS gongo-client",

@@ -23,2 +23,3 @@ import { useState, useEffect } from "react";

debug("sub", name, args, opts);
// NEW, untested, but should work `:)

@@ -30,3 +31,3 @@ setSub(name && db.subscribe(name, args, opts));

};
}, [name, args, opts]);
}, [name, JSON.stringify(args), JSON.stringify(opts)]);

@@ -33,0 +34,0 @@ return {

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