Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

protobuf2flowtype

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protobuf2flowtype - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+7
-2
build/generate.js

@@ -467,3 +467,3 @@ const ProtoBuf = require('protobufjs');

*/
function processProto(protoFile, root) {
function processProto(protoFile, root, imported = []) {
const protPath = path.format({

@@ -476,3 +476,8 @@ dir: root,

protoAst.imports.forEach(file => processProto(file, root));
imported.push(protoFile);
protoAst.imports.forEach(file => {
if (imported.indexOf(file) === -1) {
processProto(file, root, imported);
}
});

@@ -479,0 +484,0 @@ return Namespace.getNamespace(protoAst.package).update(protoAst);

{
"name": "protobuf2flowtype",
"version": "3.0.1",
"version": "3.0.2",
"description": "Given protobuf file will generate node packages which export protobufjs builders annotated with flowtype type anotations",

@@ -14,3 +14,3 @@ "main": "runtime/index.js",

"mustache": "^2.2.1",
"protobuf2flowtype-runtime": "3.0.1",
"protobuf2flowtype-runtime": "3.0.2",
"yargs": "^6.0.0"

@@ -17,0 +17,0 @@ },

{
"name": "protobuf2flowtype-runtime",
"version": "3.0.1",
"version": "3.0.2",
"description": "Base flowtype type annotations for protobuf",

@@ -5,0 +5,0 @@ "main": "index.js",