New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pbnj

Package Overview
Dependencies
Maintainers
10
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pbnj - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

5

CHANGELOG.md
Change Log
==========
Version 0.11.1 *(2017-01-25)*
----------------------------
* Add service options
Version 0.8.0 *(2016-05-19)*

@@ -5,0 +10,0 @@ ----------------------------

@@ -21,2 +21,3 @@

this._methods = {} // by name
this._options = {}
this._methodSequence = [] // note(djm): preserves method sequence w/in the service

@@ -40,2 +41,3 @@ }

fullName: helper.joinPackage(this._package, this._name),
options: this._options,
get methods() {

@@ -81,1 +83,16 @@ if (methods) return methods

}
ServiceDescriptor.prototype.addOption = function (name, value) {
this._options[name] = value
return this
}
ServiceDescriptor.prototype.getOption = function (name) {
return this._options[name]
}
ServiceDescriptor.prototype.getOptionKeys = function () {
return Object.keys(this._options)
}

3

lib/parser.js

@@ -163,2 +163,5 @@

break
case 'option':
parseOption(service)
break
default:

@@ -165,0 +168,0 @@ throw new ParseError(identifier, token)

23

package.json
{
"name": "pbnj",
"version": "0.11.0",
"keywords": ["protocol", "buffer", "proto", "protobuf", "parser", "codegen"],
"version": "0.12.0",
"keywords": [
"protocol",
"buffer",
"proto",
"protobuf",
"parser",
"codegen"
],
"description": "JavaScript protocol buffer schema parser and template based code generator",

@@ -17,7 +24,9 @@ "homepage": "https://github.com/Medium/pbnj",

},
"maintainers": [ {
"name": "Dan Pupius",
"email": "dan@pupi.us",
"web": "http://pupius.co.uk/"
} ],
"maintainers": [
{
"name": "Dan Pupius",
"email": "dan@pupi.us",
"web": "http://pupius.co.uk/"
}
],
"main": "lib/pbnj.js",

@@ -24,0 +33,0 @@ "scripts": {

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