Socket
Socket
Sign inDemoInstall

resolve-protobuf-schema

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-protobuf-schema - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "resolve-protobuf-schema",
"version": "1.0.0",
"version": "1.0.1",
"description": "Read a protobuf schema from the disk, parse it and resolve all imports",

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

@@ -23,3 +23,3 @@ # resolve-protobuf-schema

var resolve = require('resolve-protobuf-schema')
console.log(resolve('test.proto')) // prints the parsed schema
console.log(resolve.sync('test.proto')) // prints the parsed schema
```

@@ -38,7 +38,12 @@

``` js
console.log(resolve('./another-test.proto')) // will print a combined parsed schema
console.log(resolve.sync('./another-test.proto')) // will print a combined parsed schema
```
## API
* `resolve(path, cb)` read and resolve a schema
* `resolve.sync()` sync version of `resolve`
## License
MIT
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