From c2faedb37338b8e013462ca70fdd51bcda236cbd Mon Sep 17 00:00:00 2001 From: dojyorin Date: Wed, 12 Jun 2024 03:27:00 +0900 Subject: [PATCH] update --- deps.pure_ext.ts => deps.pure.ts | 4 ++-- deps.test.ts | 2 +- deps.deno_ext.ts => deps.ts | 2 +- src/deno_ext/dom.ts | 2 +- src/deno_ext/log.ts | 2 +- src/deno_ext/smtp.ts | 2 +- src/pure/fetch.ts | 2 +- src/pure_ext/csv.ts | 2 +- src/pure_ext/excel.ts | 2 +- src/pure_ext/zip.ts | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) rename deps.pure_ext.ts => deps.pure.ts (83%) rename deps.deno_ext.ts => deps.ts (91%) diff --git a/deps.pure_ext.ts b/deps.pure.ts similarity index 83% rename from deps.pure_ext.ts rename to deps.pure.ts index cb9091a..1fdfbb9 100644 --- a/deps.pure_ext.ts +++ b/deps.pure.ts @@ -1,7 +1,7 @@ // @deno-types="https://deno.land/std@0.224.0/csv/mod.ts" export {parse, stringify} from "https://esm.sh/gh/denoland/deno_std@0.224.0/csv/mod.ts?bundle&target=esnext"; -// @deno-types="https://deno.land/x/zipjs@v2.7.44/index.d.ts" -export {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "https://esm.sh/gh/gildas-lormeau/zip.js@v2.7.44/index.js?bundle&target=esnext"; +// @deno-types="https://deno.land/x/zipjs@v2.7.45/index.d.ts" +export {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "https://esm.sh/gh/gildas-lormeau/zip.js@v2.7.45/index.js?bundle&target=esnext"; // @deno-types="https://cdn.sheetjs.com/xlsx-0.20.2/package/types/index.d.ts" export {type WorkBook as RawWorkBook, type WorkSheet as RawWorkSheet, type CellObject as RawWorkCell, set_cptable, read as xlsxRead, write as xlsxWrite, utils as xlsxUtil} from "https://cdn.sheetjs.com/xlsx-0.20.2/package/xlsx.mjs"; diff --git a/deps.test.ts b/deps.test.ts index 4ae24f3..d410a4b 100644 --- a/deps.test.ts +++ b/deps.test.ts @@ -3,6 +3,6 @@ export {dirname, fromFileUrl} from "https://deno.land/std@0.224.0/path/mod.ts"; export {exists} from "https://deno.land/std@0.224.0/fs/mod.ts"; export {delay} from "https://deno.land/std@0.224.0/async/mod.ts"; -export {DOMParser} from "https://deno.land/x/deno_dom@v0.1.45/deno-dom-wasm.ts"; +export {DOMParser} from "https://deno.land/x/deno_dom@v0.1.46/deno-dom-wasm.ts"; export {init as smtpTest} from "npm:smtp-tester@2.1.0"; \ No newline at end of file diff --git a/deps.deno_ext.ts b/deps.ts similarity index 91% rename from deps.deno_ext.ts rename to deps.ts index 806ba6e..875fb24 100644 --- a/deps.deno_ext.ts +++ b/deps.ts @@ -1,7 +1,7 @@ export {Logger, ConsoleHandler, FileHandler} from "https://deno.land/std@0.224.0/log/mod.ts"; export {format} from "https://deno.land/std@0.224.0/datetime/mod.ts"; -export {type Element, DOMParser} from "https://deno.land/x/deno_dom@v0.1.45/deno-dom-wasm.ts"; +export {type Element, DOMParser} from "https://deno.land/x/deno_dom@v0.1.46/deno-dom-wasm.ts"; // @deno-types="npm:@types/nodemailer@6.4.15" export {createTransport} from "npm:nodemailer@6.9.13"; \ No newline at end of file diff --git a/src/deno_ext/dom.ts b/src/deno_ext/dom.ts index 6bba39e..8f1ed73 100644 --- a/src/deno_ext/dom.ts +++ b/src/deno_ext/dom.ts @@ -1,4 +1,4 @@ -import {type Element, DOMParser} from "../../deps.deno_ext.ts"; +import {type Element, DOMParser} from "../../deps.ts"; function selectedElement(elements:Element[], attribute:"checked" | "selected"){ return elements.find(v => typeof v.getAttribute(attribute) === "string"); diff --git a/src/deno_ext/log.ts b/src/deno_ext/log.ts index 2445fe2..8b550b2 100644 --- a/src/deno_ext/log.ts +++ b/src/deno_ext/log.ts @@ -1,4 +1,4 @@ -import {Logger, ConsoleHandler, FileHandler, format} from "../../deps.deno_ext.ts"; +import {Logger, ConsoleHandler, FileHandler, format} from "../../deps.ts"; function logRecord(date:Date, level:string, message:string){ return `${format(date, "yyyy-MM-ddTHH:mm:ss")} [${level}] ${message}`; diff --git a/src/deno_ext/smtp.ts b/src/deno_ext/smtp.ts index 07f22b3..e54e526 100644 --- a/src/deno_ext/smtp.ts +++ b/src/deno_ext/smtp.ts @@ -1,4 +1,4 @@ -import {createTransport} from "../../deps.deno_ext.ts"; +import {createTransport} from "../../deps.ts"; import {type DataMap} from "../pure/minipack.ts"; /** diff --git a/src/pure/fetch.ts b/src/pure/fetch.ts index 02497b9..33bd691 100644 --- a/src/pure/fetch.ts +++ b/src/pure/fetch.ts @@ -44,7 +44,7 @@ export async function fetchExtend(path:string, typ method: option?.method ?? "GET", credentials: option?.credentials ?? "omit", mode: option?.mode ?? "cors", - cache: option?.cache ?? "no-cache", + cache: option?.cache ?? "no-store", redirect: option?.redirect ?? "follow", keepalive: option?.keepalive ?? false, referrerPolicy: option?.referrerPolicy ?? "no-referrer", diff --git a/src/pure_ext/csv.ts b/src/pure_ext/csv.ts index 8284ef2..09b19d1 100644 --- a/src/pure_ext/csv.ts +++ b/src/pure_ext/csv.ts @@ -1,4 +1,4 @@ -import {parse, stringify} from "../../deps.pure_ext.ts"; +import {parse, stringify} from "../../deps.pure.ts"; import {primitiveParseX} from "../pure/primitive.ts"; /** diff --git a/src/pure_ext/excel.ts b/src/pure_ext/excel.ts index 41570bc..f9335b5 100644 --- a/src/pure_ext/excel.ts +++ b/src/pure_ext/excel.ts @@ -1,4 +1,4 @@ -import {type RawWorkBook, type RawWorkSheet, type RawWorkCell, xlsxcp, set_cptable, xlsxRead, xlsxWrite, xlsxUtil} from "../../deps.pure_ext.ts"; +import {type RawWorkBook, type RawWorkSheet, type RawWorkCell, xlsxcp, set_cptable, xlsxRead, xlsxWrite, xlsxUtil} from "../../deps.pure.ts"; import {timeFormatSerialize} from "../pure/time.ts"; export type {RawWorkBook, RawWorkSheet, RawWorkCell}; diff --git a/src/pure_ext/zip.ts b/src/pure_ext/zip.ts index 5fc3308..9ae5027 100644 --- a/src/pure_ext/zip.ts +++ b/src/pure_ext/zip.ts @@ -1,4 +1,4 @@ -import {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "../../deps.pure_ext.ts"; +import {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "../../deps.pure.ts"; import {type DataMap} from "../pure/minipack.ts"; /**