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

thriftrw

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thriftrw - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

3

ast.js

@@ -184,3 +184,3 @@ // Copyright (c) 2015 Uber Technologies, Inc.

module.exports.FunctionDefinition = FunctionDefinition;
function FunctionDefinition(id, fields, ft, _throws, annotations) {
function FunctionDefinition(id, fields, ft, _throws, annotations, oneway) {
var self = this;

@@ -193,2 +193,3 @@ self.id = id;

self.annotations = annotations;
self.oneway = oneway;
}

@@ -195,0 +196,0 @@ FunctionDefinition.prototype.type = 'function';

{
"name": "thriftrw",
"version": "2.2.3",
"version": "2.2.4",
"description": "thrift encoding/decoding using bufrw",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -65,2 +65,5 @@ // Copyright (c) 2015 Uber Technologies, Inc.

self.result = spec.compileStruct(resultStruct);
self.annotations = def.annotations;
self.oneway = def.oneway;
};

@@ -67,0 +70,0 @@

@@ -26,2 +26,3 @@ // Copyright (c) 2015 Uber Technologies, Inc.

var ThriftList = require('./list').ThriftList;
var TYPE = require('./TYPE');

@@ -61,2 +62,3 @@ function ThriftSet(valueType, annotations) {

ThriftSet.prototype.name = 'set';
ThriftSet.prototype.typeid = TYPE.SET;

@@ -63,0 +65,0 @@ ThriftSet.prototype.arrayForm = {

@@ -129,3 +129,3 @@ // Copyright (c) 2015 Uber Technologies, Inc.

[new thrift.Bucket({asArray: [1, 2, 3]}), [
0x0f, // type:1 -- 15, struct
0x0e, // type:1 -- 14, set
0x00, 0x01, // field:2 -- 1, asArray

@@ -141,3 +141,3 @@ 0x08, // type:1 -- 8, i32

[new thrift.Bucket({numbersAsObject: {1: true, 2: true, 3: true}}), [
0x0f, // type:1 -- 15, struct
0x0e, // type:1 -- 14, set
0x00, 0x02, // field:2 -- 1, numbersAsObject

@@ -153,3 +153,3 @@ 0x08, // type:1 -- 8, i32

[new thrift.Bucket({stringsAsObject: {1: true, 2: true, 3: true}}), [
0x0f, // type:1 -- 15, struct
0x0e, // type:1 -- 14, set
0x00, 0x03, // field:2 -- 1, numbersAsObject

@@ -156,0 +156,0 @@ 0x0b, // type:1 -- 11, string

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