Comparing version 3.3.8 to 3.3.9
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164468
5330