ts-json-schema-generator
Advanced tools
Comparing version 2.3.0-next.4 to 2.3.0-next.5
@@ -5,3 +5,2 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const glob = tslib_1.__importStar(require("glob")); | ||
const path = tslib_1.__importStar(require("node:path")); | ||
@@ -11,2 +10,3 @@ const normalize_path_1 = tslib_1.__importDefault(require("normalize-path")); | ||
const Errors_js_1 = require("../src/Error/Errors.js"); | ||
const glob_1 = require("glob"); | ||
function loadTsConfigFile(configFile) { | ||
@@ -56,3 +56,3 @@ const raw = typescript_1.default.sys.readFile(configFile); | ||
const rootNamesFromPath = config.path | ||
? glob.sync((0, normalize_path_1.default)(path.resolve(config.path))).map((rootName) => (0, normalize_path_1.default)(rootName)) | ||
? (0, glob_1.globSync)((0, normalize_path_1.default)(path.resolve(config.path))).map((rootName) => (0, normalize_path_1.default)(rootName)) | ||
: []; | ||
@@ -59,0 +59,0 @@ const tsconfig = getTsConfig(config); |
{ | ||
"name": "ts-json-schema-generator", | ||
"version": "2.3.0-next.4", | ||
"version": "2.3.0-next.5", | ||
"description": "Generate JSON schema from your Typescript sources", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,1 @@ | ||
import * as glob from "glob"; | ||
import * as path from "node:path"; | ||
@@ -7,2 +6,3 @@ import normalize from "normalize-path"; | ||
import { BuildError } from "../src/Error/Errors.js"; | ||
import { globSync } from "glob"; | ||
@@ -68,3 +68,3 @@ function loadTsConfigFile(configFile: string) { | ||
const rootNamesFromPath = config.path | ||
? glob.sync(normalize(path.resolve(config.path))).map((rootName) => normalize(rootName)) | ||
? globSync(normalize(path.resolve(config.path))).map((rootName) => normalize(rootName)) | ||
: []; | ||
@@ -71,0 +71,0 @@ const tsconfig = getTsConfig(config); |
{ | ||
"name": "ts-json-schema-generator", | ||
"version": "2.3.0-next.4", | ||
"version": "2.3.0-next.5", | ||
"description": "Generate JSON schema from your Typescript sources", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
843939