@redocly/openapi-core
Advanced tools
Comparing version
@@ -85,6 +85,6 @@ import * as path from 'node:path'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore FIXME: remove? | ||
// @ts-ignore FIXME: investigate if we still need this (2.0) | ||
if (typeof __webpack_require__ === 'function') { | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore FIXME: remove? | ||
// @ts-ignore FIXME: investigate if we still need this (2.0) | ||
requiredPlugin = __non_webpack_require__(absolutePluginPath); | ||
@@ -91,0 +91,0 @@ } |
@@ -79,3 +79,3 @@ import * as fs from 'node:fs'; | ||
parseYaml(fs.readFileSync(ignoreFile, 'utf-8')) || {}; | ||
replaceSpecWithStruct(Object.keys(this.ignore), this.ignore); // FIXME: remove this | ||
replaceSpecWithStruct(Object.keys(this.ignore), this.ignore); // FIXME: remove this (2.0) | ||
// resolve ignore paths | ||
@@ -325,3 +325,3 @@ for (const fileName of Object.keys(this.ignore)) { | ||
this.styleguide = new StyleguideConfig(rawConfig.styleguide || {}, configFile); | ||
this.theme = rawConfig.theme || {}; // FIXME: theme is deprecated | ||
this.theme = rawConfig.theme || {}; // FIXME: theme is deprecated (2.0) | ||
this.resolve = getResolveConfig(rawConfig?.resolve); | ||
@@ -328,0 +328,0 @@ this.telemetry = rawConfig.telemetry; |
@@ -194,3 +194,3 @@ import { assignOnlyExistingConfig, assignConfig, isDefined, isTruthy, showErrorForDeprecatedField, showWarningForDeprecatedField, } from '../utils.js'; | ||
}, | ||
// FIXME: theme is deprecated | ||
// FIXME: theme is deprecated (2.0) | ||
theme: { | ||
@@ -244,3 +244,3 @@ ...config.rawConfig.theme, | ||
const transformedConfig = { | ||
// FIXME: ? theme is deprecated | ||
// FIXME: theme is deprecated (2.0) | ||
theme: { | ||
@@ -247,0 +247,0 @@ openapi: { |
@@ -911,3 +911,3 @@ import { rootRedoclyConfigSchema } from '@redocly/config'; | ||
properties: { | ||
theme: 'ConfigTheme', // FIXME: ? theme is deprecated | ||
theme: 'ConfigTheme', // FIXME: theme is deprecated (2.0) | ||
corsProxyUrl: { type: 'string' }, | ||
@@ -914,0 +914,0 @@ ctrlFHijack: { type: 'boolean' }, |
import * as fs from 'node:fs'; | ||
import * as path from 'node:path'; | ||
import { minimatch } from 'minimatch'; | ||
import pluralizeOne from 'pluralize'; | ||
import { parseYaml } from './js-yaml/index.js'; | ||
import { env } from './env.js'; | ||
import { logger, colorize } from './logger.js'; | ||
import * as pluralize1 from 'pluralize'; // FIXME: use correct import after migration to ESM | ||
const pluralizeOne = pluralize1.default || pluralize1; // FIXME: use correct import after migration to ESM | ||
export { parseYaml, stringifyYaml } from './js-yaml/index.js'; | ||
@@ -10,0 +9,0 @@ export function pushStack(head, value) { |
{ | ||
"name": "@redocly/openapi-core", | ||
"version": "0.0.0-snapshot.1744188073", | ||
"version": "0.0.0-snapshot.1744362365", | ||
"description": "", | ||
@@ -25,3 +25,3 @@ "type": "module", | ||
"engines": { | ||
"node": ">=20", | ||
"node": ">=22.12.0 || >=20.19.0 <21.0.0", | ||
"npm": ">=10" | ||
@@ -28,0 +28,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1150734
-0.01%15263
-0.01%