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

avsc

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avsc - npm Package Compare versions

Comparing version 3.3.8 to 3.3.9

2

lib/protocols.js

@@ -128,3 +128,3 @@ /* jshint node: true */

// Cache a string instead of the buffer to avoid retaining an entire slab.
this._hashString = utils.getFingerprint(this.toString()).toString('binary');
this._hashString = utils.getHash(this.toString()).toString('binary');

@@ -131,0 +131,0 @@ // Listener callbacks. Note the prototype used for handlers when this is a

@@ -435,3 +435,3 @@ /* jshint node: true */

this._pos = this._endOf(/[0-9]/);
} else if (/[`A-Za-z_]/.test(c)) {
} else if (/[`A-Za-z_.]/.test(c)) {
id = 'name';

@@ -438,0 +438,0 @@ this._pos = this._endOf(/[`A-Za-z0-9_.]/);

@@ -40,3 +40,3 @@ /* jshint node: true */

*/
function getFingerprint(str, algorithm) {
function getHash(str, algorithm) {
algorithm = algorithm || 'md5';

@@ -638,3 +638,3 @@ var hash = crypto.createHash(algorithm);

capitalize: capitalize,
getFingerprint: getFingerprint,
getHash: getHash,
compare: compare,

@@ -641,0 +641,0 @@ toMap: toMap,

{
"name": "avsc",
"version": "3.3.8",
"version": "3.3.9",
"description": "Avro for JavaScript",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/mtth/avsc",

@@ -32,5 +32,5 @@ # Avsc [![NPM version](https://img.shields.io/npm/v/avsc.svg)](https://www.npmjs.com/package/avsc) [![Build status](https://travis-ci.org/mtth/avsc.svg?branch=master)](https://travis-ci.org/mtth/avsc) [![Coverage status](https://coveralls.io/repos/mtth/avsc/badge.svg?branch=master&service=github)](https://coveralls.io/github/mtth/avsc?branch=master)

+ [Home][home]
+ [API](https://github.com/mtth/avsc/wiki/API)
+ [Quickstart](https://github.com/mtth/avsc/wiki/Quickstart)
+ [Advanced usage](https://github.com/mtth/avsc/wiki/Advanced-usage)
+ [API](https://github.com/mtth/avsc/wiki/API)
+ [Benchmarks][benchmarks]

@@ -37,0 +37,0 @@

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