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

buffer

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer - npm Package Compare versions

Comparing version 2.1.10 to 2.1.11

2

bundle.js

@@ -94,3 +94,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){

var i
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
// Speed optimization -- use set if we're copying from a typed array

@@ -97,0 +97,0 @@ buf._set(subject)

@@ -93,3 +93,3 @@ /**

var i
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
// Speed optimization -- use set if we're copying from a typed array

@@ -96,0 +96,0 @@ buf._set(subject)

{
"name": "buffer",
"description": "Node.js Buffer API, for the browser",
"version": "2.1.10",
"version": "2.1.11",
"author": {

@@ -45,3 +45,4 @@ "name": "Feross Aboukhadijeh",

"prepublish": "./bundle.sh",
"perf": "cd perf/solo && browserify --debug readUInt32BE.js > bundle.js && open index.html"
"perf": "cd perf/solo && browserify --debug readUInt32BE.js > bundle.js && open index.html",
"size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c"
},

@@ -55,7 +56,8 @@ "testling": {

"safari/5.1..latest",
"opera/11.0..latest",
"opera/12.0..latest",
"iphone/6",
"ipad/6"
"ipad/6",
"android-browser/latest"
]
}
}

@@ -1,8 +0,4 @@

# buffer (native-buffer-browserify)
[![Build Status](http://img.shields.io/travis/feross/buffer.svg)](https://travis-ci.org/feross/buffer)
[![NPM Version](http://img.shields.io/npm/v/buffer.svg)](https://npmjs.org/package/buffer)
[![NPM](http://img.shields.io/npm/dm/buffer.svg)](https://npmjs.org/package/buffer)
[![Gittip](http://img.shields.io/gittip/feross.svg)](https://www.gittip.com/feross/)
# buffer [![build](https://img.shields.io/travis/feross/buffer.svg)](https://travis-ci.org/feross/buffer) [![npm](https://img.shields.io/npm/v/buffer.svg)](https://npmjs.org/package/buffer) [![npm downloads](https://img.shields.io/npm/dm/buffer.svg)](https://npmjs.org/package/buffer) [![gittip](https://img.shields.io/gittip/feross.svg)](https://www.gittip.com/feross/)
The buffer module from [node.js](http://nodejs.org/), for the browser.
#### The buffer module from [node.js](http://nodejs.org/), for the browser.

@@ -38,3 +34,6 @@ [![testling badge](https://ci.testling.com/feross/buffer.png)](https://ci.testling.com/feross/buffer)

This module was previously called **native-buffer-browserify**, but please use **buffer**
from now on.
## usage

@@ -41,0 +40,0 @@

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