Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump oas and oas-normalize #892

Closed
wants to merge 3 commits into from
Closed
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 __tests__/lib/analyzeOas.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { OASDocument } from 'oas/dist/rmoas.types';
import type { OASDocument } from 'oas/rmoas.types';

import petstore from '@readme/oas-examples/3.0/json/petstore.json';
import { describe, it, expect } from 'vitest';
Expand Down
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"ignore": "^5.2.0",
"mime-types": "^2.1.35",
"node-fetch": "^2.6.1",
"oas": "^20.10.2",
"oas-normalize": "^8.4.1",
"oas": "^21.0.3",
"oas-normalize": "^9.0.0",
"open": "^8.2.1",
"ora": "^5.4.1",
"parse-link-header": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/openapi/convert.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { CommandOptions } from '../../lib/baseCommand';
import type { OASDocument } from 'oas/dist/rmoas.types';
import type { OASDocument } from 'oas/rmoas.types';

import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/openapi/inspect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Analysis, AnalyzedFeature } from '../../lib/analyzeOas';
import type { CommandOptions } from '../../lib/baseCommand';
import type { OASDocument } from 'oas/dist/rmoas.types';
import type { OASDocument } from 'oas/rmoas.types';

import chalk from 'chalk';
import config from 'config';
Expand Down
4 changes: 2 additions & 2 deletions src/cmds/openapi/reduce.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { CommandOptions } from '../../lib/baseCommand';
import type { OASDocument } from 'oas/dist/rmoas.types';
import type { OASDocument } from 'oas/rmoas.types';

import fs from 'fs';
import path from 'path';

import chalk from 'chalk';
import Oas from 'oas';
import oasReducer from 'oas/dist/lib/reducer';
import oasReducer from 'oas/lib/reducer';
import ora from 'ora';
import prompts from 'prompts';

Expand Down
6 changes: 3 additions & 3 deletions src/lib/analyzeOas.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OASAnalysis, OASAnalysisFeature } from 'oas/dist/analyzer';
import type { OASDocument } from 'oas/dist/rmoas.types';
import type { OASAnalysis, OASAnalysisFeature } from 'oas/analyzer';
import type { OASDocument } from 'oas/rmoas.types';

import analyzer from 'oas/dist/analyzer';
import analyzer from 'oas/analyzer';

export interface AnalyzedFeature extends OASAnalysisFeature {
description: string;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2020", "ES2021.Intl"],
"module": "CommonJS",
"module": "NodeNext",
"outDir": "dist/",
"paths": {
"editor": [".sink.d.ts"]
Expand Down
Loading