Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Jun 11, 2024
1 parent 09b2014 commit c2faedb
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions deps.pure_ext.ts → deps.pure.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @deno-types="https://deno.land/[email protected]/csv/mod.ts"
export {parse, stringify} from "https://esm.sh/gh/denoland/[email protected]/csv/mod.ts?bundle&target=esnext";
// @deno-types="https://deno.land/x/[email protected].44/index.d.ts"
export {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "https://esm.sh/gh/gildas-lormeau/[email protected].44/index.js?bundle&target=esnext";
// @deno-types="https://deno.land/x/[email protected].45/index.d.ts"
export {ZipReader, ZipWriter, Uint8ArrayReader, Uint8ArrayWriter} from "https://esm.sh/gh/gildas-lormeau/[email protected].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";
Expand Down
2 changes: 1 addition & 1 deletion deps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export {dirname, fromFileUrl} from "https://deno.land/[email protected]/path/mod.ts";
export {exists} from "https://deno.land/[email protected]/fs/mod.ts";
export {delay} from "https://deno.land/[email protected]/async/mod.ts";

export {DOMParser} from "https://deno.land/x/[email protected].45/deno-dom-wasm.ts";
export {DOMParser} from "https://deno.land/x/[email protected].46/deno-dom-wasm.ts";

export {init as smtpTest} from "npm:[email protected]";
2 changes: 1 addition & 1 deletion deps.deno_ext.ts → deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {Logger, ConsoleHandler, FileHandler} from "https://deno.land/[email protected]/log/mod.ts";
export {format} from "https://deno.land/[email protected]/datetime/mod.ts";

export {type Element, DOMParser} from "https://deno.land/x/[email protected].45/deno-dom-wasm.ts";
export {type Element, DOMParser} from "https://deno.land/x/[email protected].46/deno-dom-wasm.ts";

// @deno-types="npm:@types/[email protected]"
export {createTransport} from "npm:[email protected]";
2 changes: 1 addition & 1 deletion src/deno_ext/dom.ts
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/deno_ext/log.ts
Original file line number Diff line number Diff line change
@@ -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}`;
Expand Down
2 changes: 1 addition & 1 deletion src/deno_ext/smtp.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {createTransport} from "../../deps.deno_ext.ts";
import {createTransport} from "../../deps.ts";
import {type DataMap} from "../pure/minipack.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/pure/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function fetchExtend<T extends keyof ResponseType>(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",
Expand Down
2 changes: 1 addition & 1 deletion src/pure_ext/csv.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/pure_ext/excel.ts
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion src/pure_ext/zip.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down

0 comments on commit c2faedb

Please sign in to comment.