Skip to content

Commit 2ce6a4e

Browse files
committed
refactor: use relative imports
1 parent 2707e3e commit 2ce6a4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+58
-58
lines changed

README_test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { assertEquals } from "@std/assert";
22
import { pipe } from "@core/pipe";
3-
import * as rootMod from "@core/iterutil";
4-
import * as asyncMod from "@core/iterutil/async";
5-
import * as pipeMod from "@core/iterutil/pipe";
6-
import * as pipeAsyncMod from "@core/iterutil/pipe/async";
3+
import * as rootMod from "./mod.ts";
4+
import * as asyncMod from "./async/mod.ts";
5+
import * as pipeMod from "./pipe/mod.ts";
6+
import * as pipeAsyncMod from "./pipe/async/mod.ts";
77

88
Deno.test("README", async (t) => {
99
await t.step("case 1", () => {

pipe/async/chain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type Chain, chain as base } from "@core/iterutil/async/chain";
1+
import { type Chain, chain as base } from "../../async/chain.ts";
22

33
/**
44
* Returns an operator that chains multiple iterables to the iterable.

pipe/async/chunked.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { chunked as base } from "@core/iterutil/async/chunked";
1+
import { chunked as base } from "../../async/chunked.ts";
22

33
/**
44
* Returns an operator that chunks the iterable into arrays of `size`.

pipe/async/compact.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { compact } from "@core/iterutil/async/compact";
1+
import { compact } from "../../async/compact.ts";
22

33
export {
44
/**

pipe/async/compress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { compress as base } from "@core/iterutil/async/compress";
1+
import { compress as base } from "../../async/compress.ts";
22

33
/**
44
* Returns an operator that compresses an iterable by selecting elements using a selector iterable.

pipe/async/cycle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cycle } from "@core/iterutil/async/cycle";
1+
import { cycle } from "../../async/cycle.ts";
22

33
export {
44
/**

pipe/async/drop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { drop as base } from "@core/iterutil/async/drop";
1+
import { drop as base } from "../../async/drop.ts";
22

33
/**
44
* Returns an operator that drops the first `limit` items from the iterable.

pipe/async/drop_while.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { dropWhile as base } from "@core/iterutil/async/drop-while";
1+
import { dropWhile as base } from "../../async/drop_while.ts";
22

33
/**
44
* Returns an operator that drops elements from the iterable while the predicate returns true.

pipe/async/enumerate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { enumerate as base } from "@core/iterutil/async/enumerate";
1+
import { enumerate as base } from "../../async/enumerate.ts";
22

33
/**
44
* Returns an operator that enumerates the iterable.

pipe/async/every.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { every as base } from "@core/iterutil/async/every";
1+
import { every as base } from "../../async/every.ts";
22

33
/**
44
* Returns an operator that tests whether every element in the iterable satisfies the provided testing function.

0 commit comments

Comments
 (0)