Skip to content

Commit

Permalink
Forgot .js in local import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
joepjoosten committed Dec 4, 2024
1 parent 2b88bb3 commit 26d9c07
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion src/BitSet.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @since 1.0.0
*/
import * as internal from "./internal_effect_untraced/bitset"
import * as internal from "./internal_effect_untraced/bitset.js"

/**
* @since 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type * as Either from "effect/Either"
import type * as Function from "effect/Function"
import type * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as internal from "./internal_effect_untraced/parser"
import * as internal from "./internal_effect_untraced/parser.js"

/**
* @since 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/ParserError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import type * as List from "effect/List"
import type * as Option from "effect/Option"
import * as internal from "./internal_effect_untraced/parserError"
import * as internal from "./internal_effect_untraced/parserError.js"

/**
* @since 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/Printer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type * as Either from "effect/Either"
import type * as Function from "effect/Function"
import type * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as internal from "./internal_effect_untraced/printer"
import * as internal from "./internal_effect_untraced/printer.js"

/**
* @since 1.0.0
Expand Down
4 changes: 2 additions & 2 deletions src/Regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type { BitSet } from "@effect/parser/BitSet"
import type * as Chunk from "effect/Chunk"
import type * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as common from "./internal_effect_untraced/common"
import * as internal from "./internal_effect_untraced/regex"
import * as common from "./internal_effect_untraced/common.js"
import * as internal from "./internal_effect_untraced/regex.js"

/**
* @since 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/Syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type * as Either from "effect/Either"
import type * as Function from "effect/Function"
import type * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as internal from "./internal_effect_untraced/syntax"
import * as internal from "./internal_effect_untraced/syntax.js"

/**
* @since 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/Target/Chunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @since 1.0.0
*/
import type { Target } from "@effect/parser/Target"
import * as internal from "../internal_effect_untraced/chunkTarget"
import * as internal from "../internal_effect_untraced/chunkTarget.js"

/**
* @since 1.0.0
Expand Down
4 changes: 2 additions & 2 deletions src/internal_effect_untraced/lookupFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import * as Hash from "effect/Hash"
import * as HashSet from "effect/HashSet"
import * as Number from "effect/Number"
import * as Option from "effect/Option"
import * as bitset from "../internal_effect_untraced/bitset"
import * as common from "../internal_effect_untraced/common"
import * as bitset from "../internal_effect_untraced/bitset.js"
import * as common from "../internal_effect_untraced/common.js"

const LookupFunctionSymbolKey = "@effect/parser/LookupFunction"

Expand Down
8 changes: 4 additions & 4 deletions src/internal_effect_untraced/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import type * as Function from "effect/Function"
import { dual, pipe } from "effect/Function"
import * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as recursive from "../internal_effect_untraced/parser/recursive"
import * as stackSafe from "../internal_effect_untraced/parser/stack-safe"
import * as parserError from "../internal_effect_untraced/parserError"
import * as _regex from "../internal_effect_untraced/regex"
import * as recursive from "../internal_effect_untraced/parser/recursive.js"
import * as stackSafe from "../internal_effect_untraced/parser/stack-safe.js"
import * as parserError from "../internal_effect_untraced/parserError.js"
import * as _regex from "../internal_effect_untraced/regex.js"

/** @internal */
const ParserSymbolKey = "@effect/parser/Parser"
Expand Down
8 changes: 4 additions & 4 deletions src/internal_effect_untraced/parser/recursive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import * as Chunk from "effect/Chunk"
import * as Either from "effect/Either"
import * as List from "effect/List"
import * as Option from "effect/Option"
import * as common from "../common"
import type * as parser from "../parser"
import * as parserError from "../parserError"
import * as _regex from "../regex"
import * as common from "../common.js"
import type * as parser from "../parser.js"
import * as parserError from "../parserError.js"
import * as _regex from "../regex.js"

/**
* The state of the recursive parser implementation.
Expand Down
8 changes: 4 additions & 4 deletions src/internal_effect_untraced/parser/stack-safe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import * as Either from "effect/Either"
import type * as Function from "effect/Function"
import * as List from "effect/List"
import * as Option from "effect/Option"
import * as common from "../common"
import type * as parser from "../parser"
import * as parserError from "../parserError"
import * as regex from "../regex"
import * as common from "../common.js"
import type * as parser from "../parser.js"
import * as parserError from "../parserError.js"
import * as regex from "../regex.js"

/**
* A `Parser` operation, the language that a `Parser` is precompiled to for
Expand Down
6 changes: 3 additions & 3 deletions src/internal_effect_untraced/printer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { constVoid, dual, pipe } from "effect/Function"
import * as List from "effect/List"
import * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as chunkTarget from "../internal_effect_untraced/chunkTarget"
import * as parserError from "../internal_effect_untraced/parserError"
import * as _regex from "../internal_effect_untraced/regex"
import * as chunkTarget from "../internal_effect_untraced/chunkTarget.js"
import * as parserError from "../internal_effect_untraced/parserError.js"
import * as _regex from "../internal_effect_untraced/regex.js"

/** @internal */
const PrinterSymbolKey = "@effect/parser/Printer"
Expand Down
6 changes: 3 additions & 3 deletions src/internal_effect_untraced/regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import * as Chunk from "effect/Chunk"
import { dual, pipe } from "effect/Function"
import * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as bitset from "../internal_effect_untraced/bitset"
import * as common from "../internal_effect_untraced/common"
import * as lookupFunction from "../internal_effect_untraced/lookupFunction"
import * as bitset from "../internal_effect_untraced/bitset.js"
import * as common from "../internal_effect_untraced/common.js"
import * as lookupFunction from "../internal_effect_untraced/lookupFunction.js"

/** @internal */
const RegexSymbolKey = "@effect/parser/Regex"
Expand Down
6 changes: 3 additions & 3 deletions src/internal_effect_untraced/syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { dual, pipe } from "effect/Function"
import * as Option from "effect/Option"
import type * as Predicate from "effect/Predicate"
import * as Tuple from "effect/Tuple"
import * as _parser from "../internal_effect_untraced/parser"
import * as _printer from "../internal_effect_untraced/printer"
import * as _regex from "../internal_effect_untraced/regex"
import * as _parser from "../internal_effect_untraced/parser.js"
import * as _printer from "../internal_effect_untraced/printer.js"
import * as _regex from "../internal_effect_untraced/regex.js"

/** @internal */
const SyntaxSymbolKey = "@effect/Syntax/Syntax"
Expand Down
2 changes: 1 addition & 1 deletion test/examples/json.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as Syntax from "@effect/parser/Syntax"
import { Chunk, Either, Option, pipe } from "effect"
import { hexDigit, tests } from "./utils"
import { hexDigit, tests } from "./utils.js"

const whitespace = pipe(
Syntax.charIn([" ", "\n", "\r", "\t"]),
Expand Down

0 comments on commit 26d9c07

Please sign in to comment.