mirror of
https://github.com/hanzoai/protobuf.js.git
synced 2026-09-24 17:02:08 +00:00
* Get protobufjs-cli to a publishable state * Fix eslint issues * Fix pbts path * Install cli package deps on CI 'build' job * fix: get rid of require-protobufjs.js * fix: lint * fix: versions * chore(deps): update package-lock.json Co-authored-by: Stacey Sern <[email protected]> Co-authored-by: Gabriel Cangussu <[email protected]> Co-authored-by: Alexander Fenster <[email protected]>
11 lines
290 B
JavaScript
11 lines
290 B
JavaScript
"use strict";
|
|
module.exports = proto2_target;
|
|
|
|
var protobuf = require("protobufjs");
|
|
|
|
proto2_target.description = "Protocol Buffers, Version 2";
|
|
|
|
function proto2_target(root, options, callback) {
|
|
require("./proto")(root, protobuf.util.merge(options, { syntax: "proto2" }), callback);
|
|
}
|