diff --git a/eslint.config.mjs b/eslint.config.mjs index 752c49bbd..7c096556e 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -84,7 +84,7 @@ export default defineConfig([ "n/no-unsupported-features/node-builtins": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430 "n/no-extraneous-import": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430 "n/no-deprecated-api": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430 - "n/no-unpublished-import": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430 + "n/no-unpublished-import": "error", "n/no-process-exit": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430 "n/hashbang": "warn", diff --git a/package-lock.json b/package-lock.json index a1f7df527..e9afb9754 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11872,6 +11872,8 @@ }, "node_modules/wot-thing-description-types": { "version": "1.1.0-12-March-2025", + "resolved": "https://registry.npmjs.org/wot-thing-description-types/-/wot-thing-description-types-1.1.0-12-March-2025.tgz", + "integrity": "sha512-BRRW4uBATljCPqCbpzNhgY2HFXz8Llh7mAJmjkVimxizOPq8bkmlm0Op/Yv8l7pNQ1GaoBtYwn2BQQjhcQCadA==", "license": "W3C-20150513" }, "node_modules/wot-thing-model-types": { @@ -11880,6 +11882,8 @@ }, "node_modules/wot-typescript-definitions": { "version": "0.8.0-SNAPSHOT.31", + "resolved": "https://registry.npmjs.org/wot-typescript-definitions/-/wot-typescript-definitions-0.8.0-SNAPSHOT.31.tgz", + "integrity": "sha512-BBUWfJnNsSMb60FlUfQN+TWFP2W71LM4g7in83Y+vO6BjGvsyO0KY4jTbazjhLdxxTjbyftrExNkKNwtBIbxfA==", "license": "W3C-20150513", "dependencies": { "wot-thing-description-types": "1.1.0-12-March-2025" @@ -12479,14 +12483,14 @@ "uritemplate": "0.3.4", "url-toolkit": "2.1.6", "uuid": "^7.0.3", - "web-streams-polyfill": "^4.0.0" + "web-streams-polyfill": "^4.0.0", + "wot-thing-description-types": "^1.1.0-12-March-2025" }, "devDependencies": { "@types/content-type": "^1.1.8", "@types/debug": "^4.1.7", "@types/uritemplate": "^0.3.4", - "@types/uuid": "^8.3.1", - "wot-thing-description-types": "^1.1.0-12-March-2025" + "@types/uuid": "^8.3.1" } }, "packages/core/node_modules/ajv-formats": { diff --git a/packages/core/package.json b/packages/core/package.json index 6acad672a..6e8fa3dd3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -18,8 +18,7 @@ "@types/content-type": "^1.1.8", "@types/debug": "^4.1.7", "@types/uritemplate": "^0.3.4", - "@types/uuid": "^8.3.1", - "wot-thing-description-types": "^1.1.0-12-March-2025" + "@types/uuid": "^8.3.1" }, "dependencies": { "@petamoriken/float16": "^3.1.1", @@ -34,7 +33,8 @@ "uritemplate": "0.3.4", "url-toolkit": "2.1.6", "uuid": "^7.0.3", - "web-streams-polyfill": "^4.0.0" + "web-streams-polyfill": "^4.0.0", + "wot-thing-description-types": "^1.1.0-12-March-2025" }, "scripts": { "build": "tsc -b", diff --git a/packages/examples/src/security/oauth/package.json b/packages/examples/src/security/oauth/package.json index ce6c0c28f..654548ec6 100644 --- a/packages/examples/src/security/oauth/package.json +++ b/packages/examples/src/security/oauth/package.json @@ -18,7 +18,9 @@ "cors": "^2.8.5", "ts-node": "10.9.1", "typescript": "4.7.4", - "typescript-standard": "^0.3.36", + "typescript-standard": "^0.3.36" + }, + "dependencies": { "wot-typescript-definitions": "0.8.0-SNAPSHOT.31" } }