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

buffer-es6

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer-es6 - npm Package Compare versions

Comparing version 4.9.1 to 4.9.2

27

index.js

@@ -42,3 +42,3 @@ /*!

? global.TYPED_ARRAY_SUPPORT
: typedArraySupport()
: true

@@ -155,15 +155,14 @@ /*

// rollup issues
// if (Buffer.TYPED_ARRAY_SUPPORT) {
// Buffer.prototype.__proto__ = Uint8Array.prototype
// Buffer.__proto__ = Uint8Array
// if (typeof Symbol !== 'undefined' && Symbol.species &&
// Buffer[Symbol.species] === Buffer) {
// // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
// Object.defineProperty(Buffer, Symbol.species, {
// value: null,
// configurable: true
// })
// }
// }
if (Buffer.TYPED_ARRAY_SUPPORT) {
Buffer.prototype.__proto__ = Uint8Array.prototype
Buffer.__proto__ = Uint8Array
if (typeof Symbol !== 'undefined' && Symbol.species &&
Buffer[Symbol.species] === Buffer) {
// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
// Object.defineProperty(Buffer, Symbol.species, {
// value: null,
// configurable: true
// })
}
}

@@ -170,0 +169,0 @@ function assertSize (size) {

{
"name": "buffer-es6",
"description": "Node.js Buffer API, for the browser",
"version": "4.9.1",
"version": "4.9.2",
"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