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", |
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
77043
1733