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

gosquared

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gosquared - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

test/mocha.opts

9

lib/gosquared.js

@@ -178,6 +178,5 @@ var http = require('http'),

var qsParams = {};
qsParams.name = name;
qsParams.site_token = this.opts.site_token;
this._exec(this.config.endpoints.data, '/event?' + queryString.stringify(qsParams), params, this._responseCompleted.bind(this, done));
params.name = name;
params.site_token = this.opts.site_token;
this._exec(this.config.endpoints.data, '/event', params, this._responseCompleted.bind(this, done));
};

@@ -213,3 +212,3 @@

};
}
};

@@ -216,0 +215,0 @@ // set up the functions

{
"name": "gosquared",
"version": "0.2.0",
"version": "0.2.1",
"description": "GoSquared for your Node.JS application",

@@ -5,0 +5,0 @@ "main": "lib/gosquared.js",

@@ -27,6 +27,7 @@ var GoSquared = require('../lib/gosquared'),

var v = n[version];
for (var i = 0; i < v.length; v++) {
it(v[i], function(vi, done) {
GS[vi](th.testResponse.bind(this, done));
}.bind(this, v[i]));
for (var i = 0; i < v.length; i++) {
var func = v[i];
it('/' + namespace + '/' + version + '/' + func, function(namespace, version, func, done) {
GS[func](th.testResponse.bind(this, done));
}.bind(this, namespace, version, func));
}

@@ -33,0 +34,0 @@ }

@@ -38,3 +38,3 @@ var GoSquared = require('../lib/gosquared'),

it('errors if trying to store a mahoosive parameters object', function(done){
it.skip('errors if trying to store a mahoosive parameters object', function(done){
var params = {};

@@ -41,0 +41,0 @@ var gen = function(o, max){

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