Comparing version 2.3.0 to 2.3.1
@@ -98,3 +98,3 @@ require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"Focm2+":[function(require,module,exports){ | ||
else | ||
buf[i] = subject[i] | ||
buf.writeInt8(subject[i], i) | ||
} | ||
@@ -101,0 +101,0 @@ } else if (type === 'string') { |
@@ -97,3 +97,3 @@ /*! | ||
else | ||
buf[i] = subject[i] | ||
buf.writeInt8(subject[i], i) | ||
} | ||
@@ -100,0 +100,0 @@ } else if (type === 'string') { |
{ | ||
"name": "buffer", | ||
"description": "Node.js Buffer API, for the browser", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"author": { | ||
@@ -22,5 +22,5 @@ "name": "Feross Aboukhadijeh", | ||
"devDependencies": { | ||
"benchmark": "1.x", | ||
"browserify": "3.x", | ||
"tape": "2.x" | ||
"benchmark": "^1.0.0", | ||
"browserify": "^3.46.0", | ||
"tape": "^2.12.3" | ||
}, | ||
@@ -27,0 +27,0 @@ "homepage": "http://feross.org", |
@@ -12,2 +12,10 @@ var B = require('../').Buffer | ||
test('new buffer from array w/ negatives', function (t) { | ||
t.equal( | ||
new B([-1, -2, -3]).toString('hex'), | ||
'fffefd' | ||
) | ||
t.end() | ||
}) | ||
test('new buffer from string', function (t) { | ||
@@ -14,0 +22,0 @@ t.equal( |
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
1267871
43
19411