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

swagger-to-flowtype

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-to-flowtype - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

.vscode/settings.json

8

dist/index.js

@@ -68,3 +68,4 @@ #! /usr/bin/env node

Object.keys(definitions).forEach(function (k) {
var headLine = _this.withExport ? "export type " + k + " = " : "type " + k + " = ";
var def = FlowTypeGenerator.prepareDefinition(k);
var headLine = _this.withExport ? "export type " + def + " = " : "type " + def + " = ";
_this.appendResult(headLine);

@@ -155,2 +156,7 @@ _this.determineTypes(k, definitions, true);

}
}, {
key: "prepareDefinition",
value: function prepareDefinition(def) {
return def.replace("[", "").replace("]", "");
}
}]);

@@ -157,0 +163,0 @@

5

package.json
{
"name": "swagger-to-flowtype",
"version": "0.0.5",
"version": "0.0.6",
"description": "Command line tool for generating flow types from swagger",

@@ -12,3 +12,4 @@ "main": "./dist/index.js",

"build": "babel ./src -d ./dist",
"prepublish": "npm run build"
"prepublish": "npm run build",
"flow": "flow"
},

@@ -15,0 +16,0 @@ "author": "yayoc <hi@yayoc.com> (http://yayoc.com)",

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