From 56995a29956d69aadb64d1cf839671c69c016d94 Mon Sep 17 00:00:00 2001 From: Siddharth Baleja Date: Mon, 9 Feb 2026 11:18:10 +0530 Subject: [PATCH] Fix: Upgrade TypeScript to 4.9.5 and add iri-reference format --- package-lock.json | 15 ++++++++------- package.json | 2 +- schemas/TD.schema.json | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24b923a..899674a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "glob": "^7.1.6", "jsonpointer": "^5.0.0", "mocha": "^11.1.0", - "typescript": "^3.8.3", + "typescript": "^4.9.5", "vscode-test": "^1.3.0", "wot-thing-description": "github:w3c/wot-thing-description#bafa33e47c84bb879e1f5a102649cc3bea1ec3ca" }, @@ -7795,10 +7795,11 @@ } }, "node_modules/typescript": { - "version": "3.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.5.tgz", - "integrity": "sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -13963,9 +13964,9 @@ "dev": true }, "typescript": { - "version": "3.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.5.tgz", - "integrity": "sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true }, "urdf": { diff --git a/package.json b/package.json index 0339f52..3b4f5a0 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "glob": "^7.1.6", "jsonpointer": "^5.0.0", "mocha": "^11.1.0", - "typescript": "^3.8.3", + "typescript": "^4.9.5", "vscode-test": "^1.3.0", "wot-thing-description": "github:w3c/wot-thing-description#bafa33e47c84bb879e1f5a102649cc3bea1ec3ca" } diff --git a/schemas/TD.schema.json b/schemas/TD.schema.json index 8a032ed..7b6642f 100644 --- a/schemas/TD.schema.json +++ b/schemas/TD.schema.json @@ -6,7 +6,8 @@ "$id": "https://raw.githubusercontent.com/w3c/wot-thing-description/main/validation/td-json-schema-validation.json", "definitions": { "anyUri": { - "type": "string" + "type": "string", + "format": "iri-reference" }, "description": { "type": "string"