From 3542e783cf724df254b1fdb87bb725694d92c6dd Mon Sep 17 00:00:00 2001 From: Snider Date: Mon, 18 Mar 2024 16:19:44 +0000 Subject: [PATCH] openpgp, websockets include fix --- deno.json | 3 +-- src/mod/cryptography/openpgp/openpgp.service.ts | 4 ++-- src/mod/io/protocols/websocket/websocket.server.ts | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deno.json b/deno.json index bf564a6..69d64fe 100644 --- a/deno.json +++ b/deno.json @@ -58,8 +58,7 @@ "ini/": "https://deno.land/x/gini@1.1.0/", "jwt/": "https://deno.land/x/djwt@v2.8/", "mustache/": "https://deno.land/x/mustache@v0.3.0/", - "websocket/": "https://deno.land/x/websocket@v0.1.3/", - "openpgp/": "https://deno.land/x/openpgp@v5.7.0/", + "https://deno.land/x/websocket/": "https://deno.land/x/websocket@v0.1.3/", "s3Client": "https://deno.land/x/s3_lite_client@0.7.0/mod.ts", "https://deno.land/x/sqlite/": "https://deno.land/x/sqlite@v3.8/", "webdav": "npm:webdav", diff --git a/src/mod/cryptography/openpgp/openpgp.service.ts b/src/mod/cryptography/openpgp/openpgp.service.ts index a10706e..b5d35fc 100644 --- a/src/mod/cryptography/openpgp/openpgp.service.ts +++ b/src/mod/cryptography/openpgp/openpgp.service.ts @@ -1,5 +1,5 @@ -import * as openpgp from "lib/openpgp.mjs"; -import * as path from "std/path/mod.ts"; +import * as openpgp from "../../../../lib/openpgp.mjs"; +import * as path from "https://deno.land/std/path/mod.ts"; import { Injectable } from "https://deno.land/x/danet/mod.ts"; import {ModIoFsLocalService} from "../../io/fs/local/service.ts"; import {QuasiSaltService} from "../hash/quasi-salt.service.ts"; diff --git a/src/mod/io/protocols/websocket/websocket.server.ts b/src/mod/io/protocols/websocket/websocket.server.ts index c7e6aaa..2996119 100644 --- a/src/mod/io/protocols/websocket/websocket.server.ts +++ b/src/mod/io/protocols/websocket/websocket.server.ts @@ -1,5 +1,5 @@ import { ZeroMQServerService } from "./zeromq/server.service.ts"; -import { WebSocketClient, WebSocketServer } from "websocket/mod.ts"; +import { WebSocketClient, WebSocketServer } from "https://deno.land/x/websocket/mod.ts"; import * as zmq from "https://deno.land/x/jszmq/mod.ts"; import {Logger} from "https://deno.land/x/danet/src/logger.ts"; export interface WebSocketMessageRequest {