Quick Note: Versioned Imports

Heads up! Starting from the next video we'll be versioning our Deno imports. Let's make sure our version of Deno is compatible with the version of our imports so our code compiles!

To follow along with the code in the videos exactly, use Deno version 1.1.3 by running the following command in your terminal:

deno upgrade --version 1.1.3

Or to use the latest version of Deno, ensure that the import for Oak points to the latest version found in the dropdown here: https://deno.land/x/oak

For example with:

Our import might look like:

import { Application } from "https://deno.land/x/oak@v6.0.1/mod.ts";

Also ensure that the imports for our standard library modules point to the latest version found in the dropdown here: https://deno.land/std/

For example with:

Our import might look like:

import { join } from "https://deno.land/std@0.61.0/path/mod.ts";

Heads up, with the latest versions there may have been slight changes in the Deno APIs.