diff --git a/deno/compile.js b/deno/compile.js index b785a1f..026593b 100644 --- a/deno/compile.js +++ b/deno/compile.js @@ -3,9 +3,7 @@ // TODO: Remove this, delegate to modules/compile.js - - -import compileAsyncFn from '../../fn/compile-async.js'; +import compileAsyncFn from 'fn/compile-async.js'; import { dimgreendim, dim, red, yellow } from './log.js'; diff --git a/deno/files/read.js b/deno/files/read.js index 5cd8950..be60980 100644 --- a/deno/files/read.js +++ b/deno/files/read.js @@ -3,7 +3,7 @@ read(pathname) **/ -import cache from '../../../fn/cache.js'; +import cache from 'fn/cache.js'; import { dimbluedim } from '../log.js'; // TextDecoder decodes the Uint8Array to unicode text diff --git a/deno/files/to-extension.js b/deno/files/to-extension.js index 9684784..6012fae 100644 --- a/deno/files/to-extension.js +++ b/deno/files/to-extension.js @@ -1,5 +1,5 @@ -import get from '../../../fn/get.js'; -import exec from '../../../fn/exec.js'; +import get from 'fn/get.js'; +import exec from 'fn/exec.js'; export default exec(/\.[\w\d.]+$/, get(0)); diff --git a/deno/parse/parse-comments.js b/deno/parse/parse-comments.js index b95f259..ec58ac3 100644 --- a/deno/parse/parse-comments.js +++ b/deno/parse/parse-comments.js @@ -3,9 +3,9 @@ Parse files for documentation comments */ -import capture from '../../../fn/capture.js'; -import noop from '../../../fn/noop.js'; -import slugify from '../../../fn/slugify.js'; +import capture from 'fn/capture.js'; +import noop from 'fn/noop.js'; +import slugify from 'fn/slugify.js'; import { parseString } from './parse-string.js'; import { parseParams } from './parse-params.js'; diff --git a/deno/parse/parse-length.js b/deno/parse/parse-length.js index 2ad054b..032ffbf 100644 --- a/deno/parse/parse-length.js +++ b/deno/parse/parse-length.js @@ -1,8 +1,8 @@ -import id from '../../../fn/id.js'; -import overload from '../../../fn/overload.js'; -import parseValue from '../../../fn/parse-value.js'; -import toType from '../../../fn/to-type.js'; +import id from 'fn/id.js'; +import overload from 'fn/overload.js'; +import parseValue from 'fn/parse-value.js'; +import toType from 'fn/to-type.js'; /** px(value) diff --git a/deno/parse/parse-params.js b/deno/parse/parse-params.js index 1ae46fb..16cf1ba 100644 --- a/deno/parse/parse-params.js +++ b/deno/parse/parse-params.js @@ -1,4 +1,4 @@ -import capture from '../../../fn/capture.js'; +import capture from 'fn/capture.js'; /** diff --git a/deno/parse/parse-string.js b/deno/parse/parse-string.js index df42b51..53714f7 100644 --- a/deno/parse/parse-string.js +++ b/deno/parse/parse-string.js @@ -1,5 +1,5 @@ -import capture from '../../../fn/capture.js'; -import noop from '../../../fn/noop.js'; +import capture from 'fn/capture.js'; +import noop from 'fn/noop.js'; /** diff --git a/deno/scope/imports.js b/deno/scope/imports.js index 8375e5d..27f4e96 100644 --- a/deno/scope/imports.js +++ b/deno/scope/imports.js @@ -1,6 +1,6 @@ import * as path from "https://deno.land/std@0.110.0/path/mod.ts"; -import overload from '../../../fn/overload.js'; +import overload from 'fn/overload.js'; import toExtension from '../files/to-extension.js'; diff --git a/deno/scope/include.js b/deno/scope/include.js index 2afff3b..d5152a7 100644 --- a/deno/scope/include.js +++ b/deno/scope/include.js @@ -1,7 +1,7 @@ -import exec from '../../../fn/exec.js'; -import overload from '../../../fn/overload.js'; -import toType from '../../../fn/to-type.js'; +import exec from 'fn/exec.js'; +import overload from 'fn/overload.js'; +import toType from 'fn/to-type.js'; import getAbsoluteFile from '../files/get-absolute-file.js'; import prependComment from '../files/prepend-comment.js'; import parseMarkdown from '../parse/parse-markdown.js';