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

jayson

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jayson - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

2

lib/server/index.js

@@ -193,3 +193,3 @@ 'use strict';

Server.prototype.getMethod = function(name) {
if (this._methods.hasOwnProperty(name)) {
if (Object.prototype.hasOwnProperty.call(this._methods, name)) {
return this._methods[name];

@@ -196,0 +196,0 @@ }

{
"name": "jayson",
"version": "4.1.2",
"version": "4.1.3",
"description": "JSON-RPC 1.0/2.0 compliant server and client",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -672,3 +672,3 @@ # Jayson

// regular by-name routing first
const fn = this._methods.hasOwnProperty(method) ? this._methods[method] : null;
const fn = Object.prototype.hasOwnProperty.call(this._methods, method) ? this._methods[method] : null;
if(typeof fn === 'function') {

@@ -675,0 +675,0 @@ return fn;

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