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.9 to 2.1.10

5

bundle.js

@@ -94,6 +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 && (subject instanceof Uint8Array
|| subject instanceof Uint16Array || subject instanceof Int16Array
|| subject instanceof Uint32Array || subject instanceof Int32Array
|| subject instanceof Float32Array || subject instanceof Float64Array)) {
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
// Speed optimization -- use set if we're copying from a typed array

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

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

var i
if (Buffer._useTypedArrays && (subject instanceof Uint8Array
|| subject instanceof Uint16Array || subject instanceof Int16Array
|| subject instanceof Uint32Array || subject instanceof Int32Array
|| subject instanceof Float32Array || subject instanceof Float64Array)) {
if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') {
// Speed optimization -- use set if we're copying from a typed array

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

2

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

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

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