Skip to content

Commit

Permalink
chore(deps): upgrading oas and oas-normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Nov 1, 2023
1 parent 90ce29c commit eed2cac
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 29 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
}
]
}
]
],

// This rule is only really applicable for OSS libraries and doesn't apply to rdme's case.
"readme/no-dual-exports": "off"
}
}
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/rmoas.types';
import type { OASDocument } from 'oas/types';

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

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"ignore": "^5.2.0",
"mime-types": "^2.1.35",
"node-fetch": "^3.3.2",
"oas": "^22.0.0",
"oas-normalize": "^11.0.0",
"oas": "^24.0.0",
"oas-normalize": "^11.0.1",
"open": "^9.1.0",
"ora": "^6.3.1",
"parse-link-header": "^2.0.0",
Expand All @@ -67,7 +67,7 @@
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@readme/better-ajv-errors": "^1.5.0",
"@readme/eslint-config": "^13.1.0",
"@readme/eslint-config": "^13.4.0",
"@readme/oas-examples": "^5.10.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.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 { ZeroAuthCommandOptions } from '../../lib/baseCommand.js';
import type { OASDocument } from 'oas/rmoas.types';
import type { OASDocument } from 'oas/types';

import fs from 'node:fs';
import path from 'node: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.js';
import type { ZeroAuthCommandOptions } from '../../lib/baseCommand.js';
import type { OASDocument } from 'oas/rmoas.types';
import type { OASDocument } from 'oas/types';

import chalk from 'chalk';
import ora from 'ora';
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 { ZeroAuthCommandOptions } from '../../lib/baseCommand.js';
import type { OASDocument } from 'oas/rmoas.types';
import type { OASDocument } from 'oas/types';

import fs from 'node:fs';
import path from 'node:path';

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

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

import analyzer from 'oas/analyzer';

Expand Down

0 comments on commit eed2cac

Please sign in to comment.