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

@orpc/shared

Package Overview
Dependencies
Maintainers
2
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orpc/shared - npm Package Compare versions

Comparing version 0.0.0-next.b42ba03 to 0.0.0-next.b4e6d3a

2

dist/index.js

@@ -53,3 +53,3 @@ // src/constants.ts

const proto = Object.getPrototypeOf(value2);
return proto === Object.prototype || proto === null;
return proto === Object.prototype || !proto || !proto.constructor;
}

@@ -56,0 +56,0 @@

@@ -9,6 +9,5 @@ export type Segment = string | number;

/**
* Check if the value is an object.
* Even object created by Object.create(null) is considered an object.
* Check if the value is an object even it created by `Object.create(null)` or more tricky way.
*/
export declare function isObject(value: unknown): value is Record<PropertyKey, unknown>;
//# sourceMappingURL=object.d.ts.map
{
"name": "@orpc/shared",
"type": "module",
"version": "0.0.0-next.b42ba03",
"version": "0.0.0-next.b4e6d3a",
"license": "MIT",

@@ -6,0 +6,0 @@ "homepage": "https://orpc.unnoq.com",

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