@redocly/openapi-core
Advanced tools
Comparing version
@@ -81,3 +81,3 @@ import * as path from 'node:path'; | ||
// Plugins imported from the node_modules in the package install directory (for example, npx cache directory) | ||
path.dirname(url.fileURLToPath(import.meta.url ?? __dirname)), | ||
import.meta.url ? path.dirname(url.fileURLToPath(import.meta.url)) : __dirname, | ||
], | ||
@@ -95,3 +95,3 @@ }); | ||
else { | ||
const mod = await import(url.pathToFileURL(absolutePluginPath).href); | ||
const mod = await import(url.pathToFileURL(absolutePluginPath).pathname); | ||
requiredPlugin = mod.default || mod; | ||
@@ -98,0 +98,0 @@ } |
{ | ||
"name": "@redocly/openapi-core", | ||
"version": "0.0.0-snapshot.1743672197", | ||
"version": "0.0.0-snapshot.1743748158", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
1150104
0.01%