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

asrpc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asrpc - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

3

dist/util.js

@@ -33,4 +33,3 @@ "use strict";

get: (srv, prop) => {
if (!(prop in srv.constructor.prototype)
|| typeof srv[prop] != "function") {
if (!(prop in srv) || typeof srv[prop] != "function") {
return srv[prop];

@@ -37,0 +36,0 @@ }

{
"name": "asrpc",
"version": "2.0.0",
"version": "2.0.1",
"description": "A tool to make your class as an RPC service.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -40,4 +40,3 @@ import hash = require("object-hash");

get: (srv, prop: string) => {
if (!(prop in srv.constructor.prototype)
|| typeof srv[prop] != "function") {
if (!(prop in srv) || typeof srv[prop] != "function") {
return srv[prop];

@@ -44,0 +43,0 @@ } else if (!srv[prop][proxified]) {

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