Skip to content

Commit

Permalink
fn bare specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Sep 10, 2024
1 parent 40c5362 commit 266745e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 20 deletions.
4 changes: 1 addition & 3 deletions deno/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';


Expand Down
2 changes: 1 addition & 1 deletion deno/files/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deno/files/to-extension.js
Original file line number Diff line number Diff line change
@@ -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));
6 changes: 3 additions & 3 deletions deno/parse/parse-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
8 changes: 4 additions & 4 deletions deno/parse/parse-length.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion deno/parse/parse-params.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import capture from '../../../fn/capture.js';
import capture from 'fn/capture.js';


/**
Expand Down
4 changes: 2 additions & 2 deletions deno/parse/parse-string.js
Original file line number Diff line number Diff line change
@@ -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';


/**
Expand Down
2 changes: 1 addition & 1 deletion deno/scope/imports.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import * as path from "https://deno.land/[email protected]/path/mod.ts";
import overload from '../../../fn/overload.js';
import overload from 'fn/overload.js';
import toExtension from '../files/to-extension.js';


Expand Down
6 changes: 3 additions & 3 deletions deno/scope/include.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 266745e

Please sign in to comment.