@open-rpc/examples
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -42,5 +42,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var schema_utils_js_1 = require("@open-rpc/schema-utils-js"); | ||
var index_1 = __importDefault(require("./index")); | ||
var lodash_1 = require("lodash"); | ||
var json_schema_ref_parser_1 = __importDefault(require("json-schema-ref-parser")); | ||
describe("meta-schema validates all examples without error", function () { | ||
@@ -60,3 +60,3 @@ it("has unique titles for each example", function () { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, schema_utils_js_1.parseOpenRPCDocument(example)]; | ||
case 0: return [4 /*yield*/, json_schema_ref_parser_1.default.dereference(example)]; | ||
case 1: | ||
@@ -63,0 +63,0 @@ result = _a.sent(); |
{ | ||
"name": "@open-rpc/examples", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Collection of example OpenRPC service definition files", | ||
@@ -26,5 +26,6 @@ "main": "build/src/index.js", | ||
], | ||
"dependencies": { | ||
"@open-rpc/meta-schema": "^1.7.3" | ||
}, | ||
"devDependencies": { | ||
"@open-rpc/meta-schema": "^1.6.0", | ||
"@open-rpc/schema-utils-js": "^1.12.0", | ||
"@types/jest": "^25.1.0", | ||
@@ -38,3 +39,4 @@ "@types/json-schema": "^7.0.3", | ||
"tslint": "^6.0.0", | ||
"typescript": "^3.3.3333" | ||
"typescript": "^3.3.3333", | ||
"json-schema-ref-parser": "^7.0.1" | ||
}, | ||
@@ -41,0 +43,0 @@ "keywords": [ |
59380
10
1
+ Added@open-rpc/meta-schema@^1.7.3
+ Added@open-rpc/meta-schema@1.14.9(transitive)