Skip to content

Commit

Permalink
compilation fix
Browse files Browse the repository at this point in the history
Turns out that import maps don't behave the way you expect when attempting to compile an application. So, we use absolute links instead. Unfortunate but it is what it is.
  • Loading branch information
NetOpWibby committed Nov 28, 2022
1 parent b5337f8 commit 2b4e7aa
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 30 deletions.
3 changes: 1 addition & 2 deletions import_map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"imports": {
"/": "./",
"./": "./",
"std/": "https://deno.land/[email protected]/"
"./": "./"
}
}
2 changes: 1 addition & 1 deletion src/answer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/a.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/aaaa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/caa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/dnskey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/records/ds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/records/hinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/mx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/ns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/nsec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/nsec3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/null.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/records/opt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/ptr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/rp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/rrsig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/soa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/srv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/records/sshfp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/records/txt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/records/unknown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down
2 changes: 1 addition & 1 deletion src/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";



Expand Down
2 changes: 1 addition & 1 deletion src/typebitmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/// import

import { Buffer } from "std/node/internal/buffer.mjs";
import { Buffer } from "https://deno.land/std@0.166.0/node/internal/buffer.mjs";

/// util

Expand Down

0 comments on commit 2b4e7aa

Please sign in to comment.