New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-json-schema

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-json-schema - npm Package Compare versions

Comparing version 0.38.1 to 0.38.2

dist/test.d.ts

19

package.json
{
"name": "typescript-json-schema",
"version": "0.38.1",
"version": "0.38.2",
"description": "typescript-json-schema generates JSON Schema files from your Typescript sources",
"main": "typescript-json-schema.js",
"typings": "typescript-json-schema.d.ts",
"main": "dist/typescript-json-schema.js",
"typings": "dist/typescript-json-schema.d.ts",
"bin": {

@@ -50,3 +50,3 @@ "typescript-json-schema": "./bin/typescript-json-schema"

"json-stable-stringify": "^1.0.1",
"typescript": "^3.4.5",
"typescript": "^3.5.1",
"yargs": "^13.2.4"

@@ -59,4 +59,4 @@ },

"@types/json-stable-stringify": "^1.0.32",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.2",
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.4",
"ajv": "^6.10.0",

@@ -66,7 +66,8 @@ "chai": "^4.2.0",

"source-map-support": "^0.5.12",
"ts-node": "^8.1.0",
"tslint": "^5.16.0"
"ts-node": "^8.2.0",
"tslint": "^5.17.0"
},
"scripts": {
"test": "npm run build && mocha -t 5000 --require source-map-support/register test",
"prepublishOnly": "npm run build",
"test": "npm run build && mocha -t 5000 --require source-map-support/register dist/test",
"debug": "ts-node --inspect=19248 --debug-brk typescript-json-schema-cli.ts",

@@ -73,0 +74,0 @@ "run": "ts-node typescript-json-schema-cli.ts",

@@ -26,3 +26,3 @@ # typescript-json-schema

The `TYPE` can either be a single, fully qualified type or `*` to generate the schema for all types.
The `TYPE` can either be a single, fully qualified type or `"*"` to generate the schema for all types.

@@ -166,3 +166,3 @@ ```

Inspired and builds upon [Typson](https://github.com/lbovet/typson/), but typescript-json-schema is compatible with more recent Typescript versions. Also, since it uses the Typescript compiler internally, more advanced scenarios are possible.
Inspired and builds upon [Typson](https://github.com/lbovet/typson/), but typescript-json-schema is compatible with more recent Typescript versions. Also, since it uses the Typescript compiler internally, more advanced scenarios are possible. If you are looking for a library that uses the AST instead of the type hierarchy and therefore better support for type aliases, have a look at [vega/ts-json-schema-generator](https://github.com/vega/ts-json-schema-generator).

@@ -169,0 +169,0 @@ ## Debugging

@@ -6,2 +6,3 @@ {

"moduleResolution": "node",
"outDir": "dist",
"isolatedModules": false,

@@ -32,3 +33,4 @@ "experimentalDecorators": true,

"example",
"test/programs"
"test/programs",
"dist"
],

@@ -35,0 +37,0 @@ "compileOnSave": true,

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