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

@open-rpc/schema-utils-js

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-rpc/schema-utils-js - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

25

build/dereference-document.js

@@ -286,2 +286,3 @@ "use strict";

_h.params = _o.sent();
if (!(method.result !== undefined)) return [3 /*break*/, 17];
_j = method;

@@ -291,2 +292,4 @@ return [4 /*yield*/, derefItem(method.result, doc, resolver)];

_j.result = _o.sent();
_o.label = 17;
case 17:
componentSchemas = {};

@@ -298,21 +301,23 @@ if (doc.components && doc.components.schemas) {

_k = 0, params_1 = params;
_o.label = 17;
case 17:
if (!(_k < params_1.length)) return [3 /*break*/, 20];
_o.label = 18;
case 18:
if (!(_k < params_1.length)) return [3 /*break*/, 21];
p = params_1[_k];
_l = p;
return [4 /*yield*/, handleSchemaWithSchemaComponents(p.schema, componentSchemas)];
case 18:
case 19:
_l.schema = _o.sent();
_o.label = 19;
case 19:
_o.label = 20;
case 20:
_k++;
return [3 /*break*/, 17];
case 20:
return [3 /*break*/, 18];
case 21:
if (!(method.result !== undefined)) return [3 /*break*/, 23];
result = method.result;
_m = result;
return [4 /*yield*/, handleSchemaWithSchemaComponents(result.schema, componentSchemas)];
case 21:
case 22:
_m.schema = _o.sent();
return [2 /*return*/, method];
_o.label = 23;
case 23: return [2 /*return*/, method];
}

@@ -319,0 +324,0 @@ });

4

package.json
{
"name": "@open-rpc/schema-utils-js",
"private": false,
"version": "2.0.2",
"version": "2.0.3",
"description": "",

@@ -48,3 +48,3 @@ "main": "build/index.js",

"@types/is-url": "^1.2.28",
"@types/isomorphic-fetch": "0.0.36",
"@types/isomorphic-fetch": "0.0.39",
"@types/jest": "^29.5.12",

@@ -51,0 +51,0 @@ "@types/json-schema": "^7.0.3",

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