Transpile TypeScript on the fly and deliver it from your server as ES Modules.

Overview

ts-serve

Test codecov

TypeScript + ES Modules

Transpile TypeScript on the fly and serve it from your server as ES Modules.

import { serve } from "https://deno.land/[email protected]/http/mod.ts";
import { serveDirWithTs } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";

serve((request) => serveDirWithTs(request));
// index.html
<script src="./main.ts" type="module"></script>;

// main.ts
console.log(1);
  • Supports ts, tsx and jsx transpiling.
  • The URL remains *.ts and will not be rewritten. That is, import "./foo.ts" and <script src="./foo.ts" type="module"> work on browser.
  • You can use import "./foo.ts", which has the same syntax as Deno. This means that you can use the completion and diagnostic features for frontend code by installing the Deno and Deno extensions in your editor.

Usage

As oak middleware:

import { Application } from "https://deno.land/x/[email protected]/mod.ts";
import { tsMiddleware } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";

const app = new Application();

// use middleware and transpile TS code
app.use(tsMiddleware);

// serve static file
app.use(async (ctx, next) => {
  try {
    await ctx.send({ root: "./" });
  } catch {
    await next();
  }
});
await app.listen({ port: 8000 });

As a replacement for the serveDir function in the Deno standard library:

import { serve } from "https://deno.land/[email protected]/http/mod.ts";
import { serveDirWithTs } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";

serve((request) => serveDirWithTs(request));

As a replacement for the serveFile function in the Deno standard library:

import { serve } from "https://deno.land/[email protected]/http/mod.ts";
import { serveFileWithTs } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";

serve((request) => serveFileWithTs(request, "./mod.ts"));

develop

> deno task test
Comments
  • Error on Deno Deploy using serveFileWithTs

    Error on Deno Deploy using serveFileWithTs

    First of all, thank you so much for this great library! I've implemented it in my Simple Deno Website Boilerplate, but it's failing on Deno Deploy:

    Uncaught SyntaxError: The requested module 'https://deno.land/[email protected]/http/file_server.ts' does not provide an export named 'ServeDirOptions'
        at https://deno.land/x/[email protected]/mod.ts:1:20
    

    Screenshot from 2022-07-30 10-51-30

    It's quite weird because I can see the export does exist in std and has for a while, maybe it's a Deno Deploy runtime issue (I've asked in the Discord server and also created an issue at https://github.com/denoland/deploy_feedback/issues/252), but wanted to log here in case someone else sees it.

    opened by BrunoBernardino 3
  • feat: fourceInstantiateWasm

    feat: fourceInstantiateWasm

    Calling this function has no effect whether it is called or not. Calling this function will force the loading of the wasm file used internally. For performance sensitive servers, etc., call this function first to tell it to load wasm. There is no need to call this function where performance is not important. In that case, the wasm file will be automatically loaded in about 3 seconds when you transpile for the first time.

    import { serve } from "https://deno.land/[email protected]/http/mod.ts";
    import { serveDirWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";
    
    fourceInstantiateWasm();
    serve((request) => serveDirWithTs(request));
    

    close #13

    opened by ayame113 1
  • Don't lazy load wasm

    Don't lazy load wasm

    The wasm files are currently lazily loaded, so the first transpile takes a few seconds. This is long. I think you need to change it to read the wasm file as soon as the module is loaded.

    opened by ayame113 1
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/1] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/12] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.145.0
    [1/12] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.145.0
    [2/12] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/12] Using latest: https://deno.land/[email protected]/media_types/mod.ts
    [3/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/12] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [4/12] Using latest: https://deno.land/x/[email protected]/response.ts
    [5/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [6/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [7/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [8/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [9/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [9/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [10/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [10/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [11/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [11/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [12/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [12/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Using latest: https://deno.land/[email protected]/async/mod.ts
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Using latest: https://deno.land/[email protected]/http/mod.ts
    
    Already latest version:
    https://deno.land/x/[email protected]/mod.ts == 0.3.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/media_types/mod.ts == 0.145.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/response.ts == v10.6.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/async/mod.ts == 0.145.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    
    Successfully updated:
    https://deno.land/[email protected]/http/file_server.ts 0.141.0 -> 0.145.0
    
    opened by github-actions[bot] 1
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/1] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/12] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.145.0
    [1/12] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.145.0
    [2/12] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/12] Using latest: https://deno.land/[email protected]/media_types/mod.ts
    [3/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/12] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [4/12] Using latest: https://deno.land/x/[email protected]/response.ts
    [5/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [6/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [7/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [8/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [9/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [9/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [10/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [10/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [11/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [11/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [12/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [12/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Using latest: https://deno.land/[email protected]/async/mod.ts
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Using latest: https://deno.land/[email protected]/http/mod.ts
    
    Already latest version:
    https://deno.land/x/[email protected]/mod.ts == 0.3.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/media_types/mod.ts == 0.145.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/response.ts == v10.6.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/async/mod.ts == 0.145.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/[email protected]/testing/asserts.ts == 0.145.0
    https://deno.land/[email protected]/http/mod.ts == 0.145.0
    
    Successfully updated:
    https://deno.land/[email protected]/http/file_server.ts 0.144.0 -> 0.145.0
    
    opened by github-actions[bot] 1
  • Update Deno Dependencies

    Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Using latest: https://deno.land/[email protected]/http/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/1] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    [1/1] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.144.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.144.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.144.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/12] Using latest: https://deno.land/[email protected]/http/file_server.ts
    [2/12] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/12] Using latest: https://deno.land/[email protected]/media_types/mod.ts
    [3/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/12] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [4/12] Using latest: https://deno.land/x/[email protected]/response.ts
    [5/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [6/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [7/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [8/12] Using latest: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [9/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [9/12] Using latest: https://deno.land/[email protected]/http/mod.ts
    [10/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [10/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [11/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [11/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [12/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [12/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    Already latest version:
    https://deno.land/[email protected]/http/mod.ts == 0.144.0
    https://deno.land/x/[email protected]/mod.ts == 0.2.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/[email protected]/http/file_server.ts == 0.144.0
    https://deno.land/[email protected]/media_types/mod.ts == 0.144.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/response.ts == v10.6.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.144.0
    https://deno.land/[email protected]/http/mod.ts == 0.144.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  == 0.144.0
    https://deno.land/[email protected]/http/mod.ts == 0.144.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/testing/asserts.ts 0.143.0 -> 0.144.0
    https://deno.land/[email protected]/testing/asserts.ts 0.143.0 -> 0.144.0
    https://deno.land/[email protected]/testing/asserts.ts 0.143.0 -> 0.144.0
    https://deno.land/[email protected]/async/mod.ts 0.143.0 -> 0.144.0
    
    opened by github-actions[bot] 1
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/mod_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [2/2] Looking for releases: https://deno.land/[email protected]/testing/mock.ts
    [2/2] Attempting update: https://deno.land/[email protected]/testing/mock.ts -> 0.166.0
    [2/2] Update successful: https://deno.land/[email protected]/testing/mock.ts -> 0.166.0
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.166.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.166.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [2/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [1/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/example/serve.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/1] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [1/1] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    
    /home/runner/work/ts-serve/ts-serve/example/main.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_response.ts
    [1/4] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [1/4] Attempting update: https://deno.land/[email protected]/media_types/mod.ts -> 0.166.0
    [1/4] Update successful: https://deno.land/[email protected]/media_types/mod.ts -> 0.166.0
    [2/4] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/4] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [2/4] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [3/4] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [3/4] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.166.0
    [3/4] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.166.0
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_response_test.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/1] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [1/1] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.166.0
    [2/2] Looking for releases: https://esm.sh/[email protected]/
    [2/2] Attempting update: https://esm.sh/[email protected]/ -> 18.3.0-next-fecc288b7-20221025
    [2/2] Update successful: https://esm.sh/[email protected]/ -> 18.3.0-next-fecc288b7-20221025
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Attempting update: https://deno.land/x/[email protected]/mod.ts -> 0.11.0
    [1/2] Update successful: https://deno.land/x/[email protected]/mod.ts -> 0.11.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/file_server.ts
    [1/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.166.0
    [1/7] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.166.0
    [2/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [2/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.166.0
    [2/7] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.166.0
    [3/7] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [3/7] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [3/7] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [4/7] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/7] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [5/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.166.0
    [5/7] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.166.0
    [6/7] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/7] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [6/7] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.166.0
    [7/7] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/7] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/oak.ts
    [1/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/4] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [2/4] Using latest: https://deno.land/x/[email protected]/response.ts
    [3/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    Already latest version:
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/[email protected]/response.ts == v11.1.0
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/testing/asserts.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/testing/mock.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/testing/asserts.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/async/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/testing/asserts.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.159.0 -> 0.166.0
    https://deno.land/[email protected]/media_types/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/file_server.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/testing/asserts.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/testing/asserts.ts 0.153.0 -> 0.166.0
    https://esm.sh/[email protected]/ 18.3.0-next-e61fd91f5-20220630 -> 18.3.0-next-fecc288b7-20221025
    https://deno.land/x/[email protected]/mod.ts 0.7.0 -> 0.11.0
    https://deno.land/[email protected]/http/file_server.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.153.0 -> 0.166.0
    https://deno.land/[email protected]/http/mod.ts 0.153.0 -> 0.166.0
    
    opened by github-actions[bot] 0
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [2/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [1/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.153.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.153.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Attempting update: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    [3/3] Update successful: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    
    /home/runner/work/ts-serve/ts-serve/mod_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [2/2] Looking for releases: https://deno.land/[email protected]/testing/mock.ts
    [2/2] Attempting update: https://deno.land/[email protected]/testing/mock.ts -> 0.153.0
    [2/2] Update successful: https://deno.land/[email protected]/testing/mock.ts -> 0.153.0
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.153.0
    [2/2] Looking for releases: https://esm.sh/[email protected]/
    [2/2] Using latest: https://esm.sh/[email protected]/
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Attempting update: https://deno.land/x/[email protected]/mod.ts -> 0.7.0
    [1/2] Update successful: https://deno.land/x/[email protected]/mod.ts -> 0.7.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/oak.ts
    [1/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/4] Attempting update: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    [1/4] Update successful: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    [2/4] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [2/4] Attempting update: https://deno.land/x/[email protected]/response.ts -> v11.1.0
    [2/4] Update successful: https://deno.land/x/[email protected]/response.ts -> v11.1.0
    [3/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/4] Attempting update: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    [3/4] Update successful: https://deno.land/x/[email protected]/mod.ts -> v11.1.0
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/file_server.ts
    [1/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.153.0
    [1/8] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.153.0
    [2/8] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/8] Attempting update: https://deno.land/[email protected]/media_types/mod.ts -> 0.153.0
    [2/8] Update successful: https://deno.land/[email protected]/media_types/mod.ts -> 0.153.0
    [3/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [3/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.153.0
    [3/8] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.153.0
    [4/8] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [4/8] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [4/8] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [5/8] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [5/8] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [6/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [6/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.153.0
    [6/8] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.153.0
    [7/8] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [7/8] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [7/8] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.153.0
    [8/8] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/8] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    Already latest version:
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://esm.sh/[email protected]/ == 18.3.0-next-e61fd91f5-20220630
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/testing/asserts.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/mod.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/mod.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/testing/asserts.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/async/mod.ts 0.152.0 -> 0.153.0
    https://deno.land/x/[email protected]/mod.ts v10.6.0 -> v11.1.0
    https://deno.land/[email protected]/testing/asserts.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/testing/mock.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/testing/asserts.ts 0.152.0 -> 0.153.0
    https://deno.land/x/[email protected]/mod.ts 0.5.0 -> 0.7.0
    https://deno.land/x/[email protected]/mod.ts v10.6.0 -> v11.1.0
    https://deno.land/x/[email protected]/response.ts v10.6.0 -> v11.1.0
    https://deno.land/x/[email protected]/mod.ts v10.6.0 -> v11.1.0
    https://deno.land/[email protected]/http/file_server.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/media_types/mod.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/mod.ts 0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.152.0 -> 0.153.0
    https://deno.land/[email protected]/http/mod.ts 0.152.0 -> 0.153.0
    
    opened by github-actions[bot] 0
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [2/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [1/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.152.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.152.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/mod_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Using latest: https://deno.land/[email protected]/testing/asserts.ts
    [2/2] Looking for releases: https://deno.land/[email protected]/testing/mock.ts
    [2/2] Using latest: https://deno.land/[email protected]/testing/mock.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.152.0
    [2/2] Looking for releases: https://esm.sh/[email protected]/
    [2/2] Using latest: https://esm.sh/[email protected]/
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Attempting update: https://deno.land/x/[email protected]/mod.ts -> 0.5.0
    [1/2] Update successful: https://deno.land/x/[email protected]/mod.ts -> 0.5.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/oak.ts
    [1/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/4] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [2/4] Using latest: https://deno.land/x/[email protected]/response.ts
    [3/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/file_server.ts
    [1/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.152.0
    [1/8] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.152.0
    [2/8] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/8] Attempting update: https://deno.land/[email protected]/media_types/mod.ts -> 0.152.0
    [2/8] Update successful: https://deno.land/[email protected]/media_types/mod.ts -> 0.152.0
    [3/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [3/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.152.0
    [3/8] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.152.0
    [4/8] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [4/8] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [4/8] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [5/8] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [5/8] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [6/8] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [6/8] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.152.0
    [6/8] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.152.0
    [7/8] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [7/8] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [7/8] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.152.0
    [8/8] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/8] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    Already latest version:
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/[email protected]/testing/asserts.ts == 0.152.0
    https://deno.land/[email protected]/testing/mock.ts == 0.152.0
    https://esm.sh/[email protected]/ == 18.3.0-next-e61fd91f5-20220630
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/response.ts == v10.6.0
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/testing/asserts.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/mod.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/mod.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/testing/asserts.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/async/mod.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/testing/asserts.ts 0.151.0 -> 0.152.0
    https://deno.land/x/[email protected]/mod.ts 0.4.0 -> 0.5.0
    https://deno.land/[email protected]/http/file_server.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/media_types/mod.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/mod.ts 0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.151.0 -> 0.152.0
    https://deno.land/[email protected]/http/mod.ts 0.151.0 -> 0.152.0
    
    opened by github-actions[bot] 0
  • error: Uncaught (in promise) Error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.

    error: Uncaught (in promise) Error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.

    import { transpile } from "https://deno.land/x/[email protected]/mod.ts";
    transpile(
      `import { render } from "https://esm.sh/[email protected]";`,
      new URL("file:///src.tsx"),
    );
    
    opened by ayame113 0
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/12] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.151.0
    [1/12] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.151.0
    [2/12] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [2/12] Attempting update: https://deno.land/[email protected]/media_types/mod.ts -> 0.151.0
    [2/12] Update successful: https://deno.land/[email protected]/media_types/mod.ts -> 0.151.0
    [3/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/12] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [4/12] Using latest: https://deno.land/x/[email protected]/response.ts
    [5/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/12] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.151.0
    [5/12] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.151.0
    [6/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/12] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    [6/12] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    [7/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [8/12] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [8/12] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.151.0
    [8/12] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.151.0
    [9/12] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [9/12] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    [9/12] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    [10/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [10/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [11/12] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [11/12] Using latest: https://deno.land/x/[email protected]/mod.ts
    [12/12] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [12/12] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.151.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.151.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [2/2] Looking for releases: https://esm.sh/[email protected]
    [2/2] Attempting update: https://esm.sh/[email protected] -> 18.3.0-next-e61fd91f5-20220630
    [2/2] Update successful: https://esm.sh/[email protected] -> 18.3.0-next-e61fd91f5-20220630
    
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.151.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    [2/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.151.0
    
    Already latest version:
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/response.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v10.6.0
    https://deno.land/x/[email protected]/mod.ts == 0.4.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/http/file_server.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/media_types/mod.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.149.0 -> 0.151.0
    https://deno.land/[email protected]/http/mod.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.149.0 -> 0.151.0
    https://deno.land/[email protected]/http/mod.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/testing/asserts.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/async/mod.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/testing/asserts.ts 0.149.0 -> 0.151.0
    https://esm.sh/[email protected] 17.0.2 -> 18.3.0-next-e61fd91f5-20220630
    https://deno.land/[email protected]/testing/asserts.ts 0.149.0 -> 0.151.0
    https://deno.land/[email protected]/http/mod.ts 0.149.0 -> 0.151.0
    
    opened by github-actions[bot] 0
  • Update Deno Dependencies

    Update Deno Dependencies

    Some external modules are stale.

    Details
    /home/runner/work/ts-serve/ts-serve/file_server_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [2/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [2/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [2/2] Looking for releases: https://esm.sh/[email protected]/
    [2/2] Using latest: https://esm.sh/[email protected]/
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_response.ts
    [1/4] Looking for releases: https://deno.land/[email protected]/media_types/mod.ts
    [1/4] Attempting update: https://deno.land/[email protected]/media_types/mod.ts -> 0.170.0
    [1/4] Update successful: https://deno.land/[email protected]/media_types/mod.ts -> 0.170.0
    [2/4] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [2/4] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [2/4] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [3/4] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [3/4] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.170.0
    [3/4] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.170.0
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_bench.ts
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile_response_test.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/1] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [1/1] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    
    /home/runner/work/ts-serve/ts-serve/utils/transpile.ts
    [1/2] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/2] Attempting update: https://deno.land/x/[email protected]/mod.ts -> 0.12.0
    [1/2] Update successful: https://deno.land/x/[email protected]/mod.ts -> 0.12.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/test/a.jsx
    
    /home/runner/work/ts-serve/ts-serve/test/a.tsx
    
    /home/runner/work/ts-serve/ts-serve/oak_test.ts
    [1/3] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/3] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [1/3] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [2/3] Looking for releases: https://deno.land/[email protected]/async/mod.ts
    [2/3] Attempting update: https://deno.land/[email protected]/async/mod.ts -> 0.170.0
    [2/3] Update successful: https://deno.land/[email protected]/async/mod.ts -> 0.170.0
    [3/3] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/3] Using latest: https://deno.land/x/[email protected]/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/mod_test.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/testing/asserts.ts
    [1/2] Attempting update: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [1/2] Update successful: https://deno.land/[email protected]/testing/asserts.ts -> 0.170.0
    [2/2] Looking for releases: https://deno.land/[email protected]/testing/mock.ts
    [2/2] Attempting update: https://deno.land/[email protected]/testing/mock.ts -> 0.170.0
    [2/2] Update successful: https://deno.land/[email protected]/testing/mock.ts -> 0.170.0
    
    /home/runner/work/ts-serve/ts-serve/mod.ts
    [1/2] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/2] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [1/2] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [2/2] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [2/2] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/example/serve.ts
    [1/1] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [1/1] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [1/1] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    
    /home/runner/work/ts-serve/ts-serve/example/main.ts
    
    /home/runner/work/ts-serve/ts-serve/src/oak.ts
    [1/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [1/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [2/4] Looking for releases: https://deno.land/x/[email protected]/response.ts
    [2/4] Using latest: https://deno.land/x/[email protected]/response.ts
    [3/4] Looking for releases: https://deno.land/x/[email protected]/mod.ts
    [3/4] Using latest: https://deno.land/x/[email protected]/mod.ts
    [4/4] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/4] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    /home/runner/work/ts-serve/ts-serve/src/file_server.ts
    [1/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts
    [1/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts -> 0.170.0
    [1/7] Update successful: https://deno.land/[email protected]/http/file_server.ts -> 0.170.0
    [2/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [2/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.170.0
    [2/7] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.170.0
    [3/7] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [3/7] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [3/7] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [4/7] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [4/7] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [5/7] Looking for releases: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from 
    [5/7] Attempting update: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.170.0
    [5/7] Update successful: https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  -> 0.170.0
    [6/7] Looking for releases: https://deno.land/[email protected]/http/mod.ts
    [6/7] Attempting update: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [6/7] Update successful: https://deno.land/[email protected]/http/mod.ts -> 0.170.0
    [7/7] Looking for releases: https://deno.land/x/ts_serve@$VERSION/mod.ts
    [7/7] Skip updating: https://deno.land/x/ts_serve@$VERSION/mod.ts
    
    Already latest version:
    https://esm.sh/[email protected]/ == 18.3.0-next-fecc288b7-20221025
    https://deno.land/x/ts_serve@$VERSION/utils/transpile_response.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/[email protected]/response.ts == v11.1.0
    https://deno.land/x/[email protected]/mod.ts == v11.1.0
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    https://deno.land/x/ts_serve@$VERSION/mod.ts == $VERSION
    
    Successfully updated:
    https://deno.land/[email protected]/testing/asserts.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/testing/asserts.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/media_types/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/file_server.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/testing/asserts.ts 0.166.0 -> 0.170.0
    https://deno.land/x/[email protected]/mod.ts 0.11.0 -> 0.12.0
    https://deno.land/[email protected]/testing/asserts.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/async/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/testing/asserts.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/testing/mock.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/file_server.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
     *
     * ```ts
     * import { serve } from  0.166.0 -> 0.170.0
    https://deno.land/[email protected]/http/mod.ts 0.166.0 -> 0.170.0
    
    opened by github-actions[bot] 0
  • support CLI entrypoint

    support CLI entrypoint

    something like this

    deno run --allow-net --allow-read https://deno.land/x/ts_serve@.../xxxxxx.ts
    > HTTP server listening on http://localhost:4507/
    
    opened by ayame113 0
Releases(v1.4.2)
  • v1.4.2(Nov 25, 2022)

    What's Changed

    • Update Deno Dependencies by @github-actions in https://github.com/ayame113/ts-serve/pull/20
    • chore: update sourecemap url by @ayame113 in https://github.com/ayame113/ts-serve/pull/21
    • chore: add hono example by @ayame113 in https://github.com/ayame113/ts-serve/pull/22
    • fix: std version in readme by @ayame113 in https://github.com/ayame113/ts-serve/pull/23

    Full Changelog: https://github.com/ayame113/ts-serve/compare/v1.4.1...v1.4.2

    Source code(tar.gz)
    Source code(zip)
  • v1.4.1(Aug 25, 2022)

    What's Changed

    • Update Deno Dependencies by @github-actions in https://github.com/ayame113/ts-serve/pull/17

    Full Changelog: https://github.com/ayame113/ts-serve/compare/v1.4.0...v1.4.1

    Source code(tar.gz)
    Source code(zip)
  • v1.4.0(Aug 20, 2022)

    What's Changed

    • feat: soure map url by @ayame113 in https://github.com/ayame113/ts-serve/pull/14

    After this PR, code like the following will be executable:

    await transpile(
      "function name(params:type) {}",
      new URL("file:///src"),
      MediaType.TypeScript,
    )
    

    Until now, if the second argument did not have an extension, the file type could not be guessed and failed. Now you can pass MediaType as the third argument to indicate the file type.

    • feat: fourceInstantiateWasm by @ayame113 in https://github.com/ayame113/ts-serve/pull/16

    Calling this function has no effect whether it is called or not. Calling this function will force the loading of the wasm file used internally. For performance sensitive servers, etc., call this function first to tell it to load wasm. There is no need to call this function where performance is not important. In that case, the wasm file will be automatically loaded in about 3 seconds when you transpile for the first time.

    import { serve } from "https://deno.land/[email protected]/http/mod.ts";
    import { serveDirWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$VERSION/mod.ts";
    
    fourceInstantiateWasm();
    serve((request) => serveDirWithTs(request));
    
    • Update Deno Dependencies by @github-actions in https://github.com/ayame113/ts-serve/pull/15

    Full Changelog: https://github.com/ayame113/ts-serve/compare/v1.3.0...v1.4.0

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Aug 7, 2022)

    What's Changed

    • feat: Correctly handle URLs without extensions by @ayame113 in https://github.com/ayame113/ts-serve/pull/11
    • Update Deno Dependencies by @github-actions in https://github.com/ayame113/ts-serve/pull/8

    Full Changelog: https://github.com/ayame113/ts-serve/compare/v1.2.0...v1.3.0

    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Jul 30, 2022)

    What's Changed

    • Update Deno Dependencies in https://github.com/ayame113/ts-serve/pull/4
    • Update Deno Dependencies in https://github.com/ayame113/ts-serve/pull/5
    • Update Deno Dependencies in https://github.com/ayame113/ts-serve/pull/6
    • Update Deno Dependencies in https://github.com/ayame113/ts-serve/pull/7

    Full Changelog: https://github.com/ayame113/ts-serve/compare/v1.1.0...v1.2.0

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Jun 17, 2022)

  • v1.0.1(Jun 16, 2022)

Owner
ayame113
college student
ayame113
pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.

pjax = pushState + ajax pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles,

Chris Wanstrath 16.8k Jan 5, 2023
Open-source CD platform that helps developers to deliver applications efficiently by simplifying software releases and operations in any environment.

dyrector.io - The open source internal delivery platform Overview dyrector.io is an open-source internal delivery platform that helps developers to de

dyrector.io 160 Jan 3, 2023
Browser Extension to deliver AI-generated alt-text for the Visually Impaired.

GenAlt - Generated Image Descriptions for BVI The Blind and Visually Impaired (BVI) rely on alt-text, image descriptions, to experience the trillions

Anish 11 Sep 10, 2022
This project is based on the Awesome Books app repo, refactored with ES6 and organized with modules. The purpose of this project is to learn functionality organization using JavaScript modules.

Awesome Books with ES6 and modules A basic app project built with HTML, CSS and JS ES6 to keep track of awesome books. Built With HTML/CSS and JS best

Karla Delgado 10 Aug 27, 2022
Remix TypeScript monorepo with Turborepo pipelines, Prisma, PostgreSQL, Docker deploy to Fly.io, pnpm, TailwindCSS and Tsyringe for DI.

Remix template with Turborepo, TypeScript and pnpm. The remix app deploys to fly.io or build to Docker image. Example packages for Database with prisma, Tsyringe dependency injection, UI, and internal TypeScript packages.

Philippe L'ATTENTION 33 Dec 29, 2022
LiveTabs is a Javascript library that allows you to create and manage tabs on the fly. This library gives the ability to your application to act like browser tabs, making dynamic tabs.

LiveTabs Table of content Description Goals Technologies Setup Description LiveTabs is a Javascript library that allows you to create and manage tabs

Hossein Khalili 3 May 3, 2022
Monolithic repo for api server, image server, web server

Onsecondary Market Deployed at https://market.onsecondary.com Monolithic repo for api server, image server, web server TODO -use a script to cull expi

Admazzola 2 Jan 11, 2022
Asciifly is a webapp where you can asciify images and youtube videos on the fly.

Asciifly Asciifly is a webapp where you can asciify images and youtube videos on the fly. Come visit at https://asciifly.com Hosting I'm hosting this

André Esser 7 May 23, 2022
An Open Source Remix template that integrates Stripe Subscriptions, Social Authentication, Testing and a few more features. PostgreSQL version. Deploys to Fly.io

Live Demo · Twitter An open source Remix Stack that integrates Stripe Subscriptions, Social Authentication, Testing and a few more features. PostgreSQ

xo 25 Dec 7, 2022
An Open Source Remix template that integrates Stripe Subscriptions, Social Authentication, Testing and a few more features. SQLite version. Deploys to Fly.io

Live Demo · Twitter An Open Source Remix template that integrates Stripe Subscriptions, Social Authentication, Testing and a few more features. SQLite

xo 135 Dec 31, 2022
A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Prisma ORM. Deploys to Fly.io

Live Demo · Twitter A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Pris

Remix Stacks 18 Oct 31, 2022
Fallback for SVG images by automatically creating PNG versions on-the-fly

SVGMagic - Cross browser SVG This repository is no longer actively mainted. It has proven to be very usefull back in 2013, but these days SVGs are sup

Dirk Groenen 596 Jul 27, 2022
Extract data-like things from a website on the fly.

There-should-be-an-API Oh, I think this website needs an API. Extract data-like things from a website on the fly. Demo The demo API is hosted on a 256

JacobLinCool 3 Mar 26, 2022
The Remix Stack for deploying to Fly with Supabase, authentication, testing, linting, formatting, etc.

Remix Supa Fly Stack Learn more about Remix Stacks. npx create-remix --template rphlmr/supa-fly-stack What's in the stack Fly app deployment with Doc

Raphaël Moreau 157 Jan 7, 2023
The Remix Blog Stack for deploying to Fly with MDX, SQLite, testing, linting, formatting, etc.

Remix Speed Metal Stack Learn more about Remix Stacks. npx create-remix --template Girish21/speed-metal-stack Remix Blog ?? This blog starter template

Girish 141 Jan 2, 2023
The Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, formatting, etc.

Remix Indie Stack Learn more about Remix Stacks. npx create-remix --template remix-run/indie-stack What's in the stack Fly app deployment with Docker

Remix 688 Dec 30, 2022
The Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, formatting, etc.

The Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, formatting, etc.

Remix 677 Jan 2, 2023
npm registry proxy with on-the-fly filtering

npm-registry-firewall ?? ?? ?? npm registry proxy with on-the-fly filtering Key Features Restricts access to remote packages by predicate: name org ve

Anton Golub 48 Dec 16, 2022