Socket
Socket
Sign inDemoInstall

@apollo/protobufjs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/protobufjs - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

dist/light/protobuf.min.js
/*!
* protobuf.js v1.2.0 (c) 2016, daniel wirtz
* compiled thu, 29 apr 2021 21:26:12 utc
* protobuf.js v1.2.1 (c) 2016, daniel wirtz
* compiled thu, 29 apr 2021 21:46:32 utc
* licensed under the bsd-3-clause license

@@ -5,0 +5,0 @@ * see: https://github.com/apollographql/protobuf.js for details

/*!
* protobuf.js v1.2.0 (c) 2016, daniel wirtz
* compiled thu, 29 apr 2021 21:26:11 utc
* protobuf.js v1.2.1 (c) 2016, daniel wirtz
* compiled thu, 29 apr 2021 21:46:32 utc
* licensed under the bsd-3-clause license

@@ -5,0 +5,0 @@ * see: https://github.com/apollographql/protobuf.js for details

{
"name": "@apollo/protobufjs",
"version": "1.2.1",
"version": "1.2.2",
"versionScheme": "~",

@@ -5,0 +5,0 @@ "description": "Protocol Buffers for JavaScript (& TypeScript).",

@@ -75,3 +75,3 @@ "use strict";

* @type {Object}
* @property {number|Long} [seconds]
* @property {number} [seconds]
* @property {number} [nanos]

@@ -100,3 +100,3 @@ * @memberof common

* @type {Object}
* @property {number|Long} [seconds]
* @property {number} [seconds]
* @property {number} [nanos]

@@ -255,3 +255,3 @@ * @memberof common

* @type {Object}
* @property {number|Long} [value]
* @property {number} [value]
* @memberof common

@@ -272,3 +272,3 @@ */

* @type {Object}
* @property {number|Long} [value]
* @property {number} [value]
* @memberof common

@@ -275,0 +275,0 @@ */

@@ -345,3 +345,3 @@ "use strict";

* @returns {FieldDecorator} Decorator function
* @template T extends number | number[] | Long | Long[] | string | string[] | boolean | boolean[] | Uint8Array | Uint8Array[] | Buffer | Buffer[]
* @template T extends number | number[] | string | string[] | boolean | boolean[] | Uint8Array | Uint8Array[] | Buffer | Buffer[]
*/

@@ -348,0 +348,0 @@ Field.d = function decorateField(fieldId, fieldType, fieldRule, defaultValue) {

@@ -110,3 +110,3 @@ "use strict";

* @returns {FieldDecorator} Decorator function
* @template T extends { [key: string]: number | Long | string | boolean | Uint8Array | Buffer | number[] | Message<{}> }
* @template T extends { [key: string]: number | string | boolean | Uint8Array | Buffer | number[] | Message<{}> }
*/

@@ -113,0 +113,0 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {

@@ -174,3 +174,3 @@ "use strict";

/**
/*
* Reads a varint as a signed 64 bit value.

@@ -182,3 +182,3 @@ * @name Reader#int64

/**
/*
* Reads a varint as an unsigned 64 bit value.

@@ -190,3 +190,3 @@ * @name Reader#uint64

/**
/*
* Reads a zig-zag encoded varint as a signed 64 bit value.

@@ -252,3 +252,3 @@ * @name Reader#sint64

/**
/*
* Reads fixed 64 bits.

@@ -260,3 +260,3 @@ * @name Reader#fixed64

/**
/*
* Reads zig-zag encoded fixed 64 bits.

@@ -263,0 +263,0 @@ * @name Reader#sfixed64

@@ -77,3 +77,3 @@ "use strict";

* Constructs new long bits from a number, long or string.
* @param {Long|number|string} value Value
* @param {number|string} value Value
* @returns {util.LongBits} Instance

@@ -110,3 +110,3 @@ */

/**
/*
* Converts this long bits to a long.

@@ -113,0 +113,0 @@ * @param {boolean} [unsigned=false] Whether unsigned or not

@@ -160,5 +160,4 @@ "use strict";

/**
/*
* Long.js's Long class if available.
* @type {Constructor<Long>}
*/

@@ -190,3 +189,3 @@ util.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long

/**
/*
* Converts a number or long to an 8 characters long hash string.

@@ -202,3 +201,3 @@ * @param {Long|number} value Value to convert

/**
/*
* Converts an 8 characters long hash string to a long or number.

@@ -205,0 +204,0 @@ * @param {string} hash Hash

@@ -253,3 +253,3 @@ "use strict";

* Writes an unsigned 64 bit value as a varint.
* @param {Long|number|string} value Value to write
* @param {number|string} value Value to write
* @returns {Writer} `this`

@@ -266,3 +266,3 @@ * @throws {TypeError} If `value` is a string and no long library is present.

* @function
* @param {Long|number|string} value Value to write
* @param {number|string} value Value to write
* @returns {Writer} `this`

@@ -275,3 +275,3 @@ * @throws {TypeError} If `value` is a string and no long library is present.

* Writes a signed 64 bit value as a varint, zig-zag encoded.
* @param {Long|number|string} value Value to write
* @param {number|string} value Value to write
* @returns {Writer} `this`

@@ -320,3 +320,3 @@ * @throws {TypeError} If `value` is a string and no long library is present.

* Writes an unsigned 64 bit value as fixed 64 bits.
* @param {Long|number|string} value Value to write
* @param {number|string} value Value to write
* @returns {Writer} `this`

@@ -333,3 +333,3 @@ * @throws {TypeError} If `value` is a string and no long library is present.

* @function
* @param {Long|number|string} value Value to write
* @param {number|string} value Value to write
* @returns {Writer} `this`

@@ -336,0 +336,0 @@ * @throws {TypeError} If `value` is a string and no long library is present.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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