Skip to content

Commit

Permalink
refactor(yaml): move loader and dumper files (#5270)
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
timreichen authored Jul 3, 2024
1 parent 735609e commit b775a95
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions yaml/_dumper/dumper.ts → yaml/_dumper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import {
SPACE,
TAB,
VERTICAL_LINE,
} from "../_chars.ts";
import { YamlError } from "../_error.ts";
import type { Schema } from "../_schema.ts";
import { State } from "../_state.ts";
import type { RepresentFn, StyleVariant, Type } from "../_type.ts";
import * as common from "../_utils.ts";
} from "./_chars.ts";
import { YamlError } from "./_error.ts";
import type { Schema } from "./_schema.ts";
import { State } from "./_state.ts";
import type { RepresentFn, StyleVariant, Type } from "./_type.ts";
import * as common from "./_utils.ts";

type Any = common.Any;
type ArrayObject<T = Any> = common.ArrayObject<T>;
Expand Down
14 changes: 7 additions & 7 deletions yaml/_loader/loader.ts → yaml/_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ import {
SPACE,
TAB,
VERTICAL_LINE,
} from "../_chars.ts";
import { YamlError } from "../_error.ts";
import { Mark } from "../_mark.ts";
import type { Schema, TypeMap } from "../_schema.ts";
import { State } from "../_state.ts";
import type { Type } from "../_type.ts";
import * as common from "../_utils.ts";
} from "./_chars.ts";
import { YamlError } from "./_error.ts";
import { Mark } from "./_mark.ts";
import type { Schema, TypeMap } from "./_schema.ts";
import { State } from "./_state.ts";
import type { Type } from "./_type.ts";
import * as common from "./_utils.ts";

type Any = common.Any;
type ArrayObject<T = Any> = common.ArrayObject<T>;
Expand Down
2 changes: 1 addition & 1 deletion yaml/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.

import { load, loadDocuments } from "./_loader/loader.ts";
import { load, loadDocuments } from "./_loader.ts";
import { SCHEMA_MAP } from "./_schema.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion yaml/stringify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.

import { dump } from "./_dumper/dumper.ts";
import { dump } from "./_dumper.ts";
import { SCHEMA_MAP } from "./_schema.ts";
import type { StyleVariant } from "./_type.ts";

Expand Down

0 comments on commit b775a95

Please sign in to comment.