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

pusher-platform-node

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pusher-platform-node - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json
{
"name": "pusher-platform-node",
"version": "0.8.2",
"version": "0.8.3",
"main": "./target/index.js",

@@ -5,0 +5,0 @@ "types": "./target/index.d.ts",

@@ -46,4 +46,4 @@ import extend = require("extend");

if (!options.instanceId) throw new Error('Expected `instance` property in Instance options!');
if (options.instanceId.split(":").length !== 3) throw new Error('The instance property is in the wrong format!');
if (!options.instanceId) throw new Error('Expected `instanceId` property in Instance options!');
if (options.instanceId.split(":").length !== 3) throw new Error('The `instanceId` property is in the wrong format!');
if(!options.serviceName) throw new Error('Expected `serviceName` property in Instance options!');

@@ -50,0 +50,0 @@ if(!options.serviceVersion) throw new Error('Expected `serviceVersion` property in Instance otpions!');

@@ -11,5 +11,5 @@ "use strict";

if (!options.instanceId)
throw new Error('Expected `instance` property in Instance options!');
throw new Error('Expected `instanceId` property in Instance options!');
if (options.instanceId.split(":").length !== 3)
throw new Error('The instance property is in the wrong format!');
throw new Error('The `instanceId` property is in the wrong format!');
if (!options.serviceName)

@@ -16,0 +16,0 @@ throw new Error('Expected `serviceName` property in Instance options!');

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