Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-json-schema-generator

Package Overview
Dependencies
Maintainers
3
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-json-schema-generator - npm Package Compare versions

Comparing version 2.3.0-next.4 to 2.3.0-next.5

4

dist/factory/program.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc