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

io-ts-from-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-ts-from-json-schema - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5-alpha1

10

lib/cli.js

@@ -406,3 +406,11 @@ #!/usr/bin/env node

function fromRef(refString) {
var ref = parseRef(refString);
// eslint-disable-next-line
var ref;
try {
// eslint-disable-next-line
ref = parseRef(refString);
}
catch (_a) {
return error('Failed to parse reference');
}
if (ref.filePath === '') {

@@ -409,0 +417,0 @@ return gen.customCombinator(ref.variableName, ref.variableName, [ref.variableName]);

2

package.json
{
"name": "io-ts-from-json-schema",
"version": "0.0.4",
"version": "0.0.5-alpha1",
"description": "Iotsfjs is a static code generation utility used for converting json schema files into static TypeScript types and io-ts runtime validators.",

@@ -5,0 +5,0 @@ "main": "lib/cli.js",

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