Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/openapi-generator/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { command, run, option, string, optional, positional } from 'cmd-ts';
import * as E from 'fp-ts/Either';
import * as fs from 'fs';
import * as p from 'path';
import * as p from 'node:path';
import type { Expression } from '@swc/core';
import type { OpenAPIV3 } from 'openapi-types';

Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-generator/src/packageInfo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs/promises';
import * as p from 'path';
import * as p from 'node:path';

export async function getPackageJsonPath(
entryPoint: string,
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-generator/src/project.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import * as p from 'path';
import * as p from 'node:path';
import { promisify } from 'util';
import * as E from 'fp-ts/Either';
import resolve from 'resolve';
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-generator/src/resolveInit.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as swc from '@swc/core';
import type { Block } from 'comment-parser';
import * as E from 'fp-ts/Either';
import { dirname } from 'path';
import { dirname } from 'node:path';

import type { Project } from './project';
import type { SourceFile } from './sourceFile';
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-generator/test/externalModule.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as E from 'fp-ts/lib/Either';
import assert from 'node:assert/strict';
import test from 'node:test';
import * as p from 'path';
import * as p from 'node:path';

import { parsePlainInitializer, Project, type Schema } from '../src';
import { KNOWN_IMPORTS } from '../src/knownImports';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '../src';
import { KNOWN_IMPORTS } from '../src/knownImports';
import { findSymbolInitializer } from '../src/resolveInit';
import * as p from 'path';
import * as p from 'node:path';
import * as E from 'fp-ts/Either';

/** External library parsing and api spec generation test case
Expand Down
2 changes: 1 addition & 1 deletion packages/superagent-wrapper/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as E from 'fp-ts/Either';
import { pipe } from 'fp-ts/pipeable';
import * as t from 'io-ts';
import * as PathReporter from 'io-ts/lib/PathReporter';
import { posix } from 'path';
import { posix } from 'node:path';
import { URL } from 'whatwg-url';

type SuccessfulResponses<Route extends h.HttpRoute> = {
Expand Down
Loading