Socket
Socket
Sign inDemoInstall

json-schema-to-flow-type

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-to-flow-type - npm Package Compare versions

Comparing version 0.4.0 to 1.0.0

2

lib/FlowTypeGenerator.js

@@ -43,3 +43,3 @@ 'use strict';

return t.objectTypeAnnotation(properties, flowSchema.$union ? [t.objectTypeIndexer(t.identifier('key'), t.anyTypeAnnotation(), processor(flowSchema.flowType('any')))] : null, null, !!flowSchema.$exact);
return t.objectTypeAnnotation(properties, flowSchema.$union ? [t.objectTypeIndexer(t.identifier('key'), t.anyTypeAnnotation(), processor(flowSchema.flowType('any')))] : null, null, null, !!flowSchema.$exact);
};

@@ -46,0 +46,0 @@

{
"name": "json-schema-to-flow-type",
"version": "0.4.0",
"version": "1.0.0",
"ava": {

@@ -35,3 +35,3 @@ "files": [

"@babel/generator": "^7.0.0-beta.44",
"@babel/types": "^7.0.0-beta.44",
"@babel/types": "^7.0.0",
"eslint-plugin-flow": "^2.29.1",

@@ -38,0 +38,0 @@ "lodash": "4.17.x"

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