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

arraybuffer.slice

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arraybuffer.slice - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

6

index.js

@@ -5,3 +5,3 @@ /**

*
* @api private
* @api public
*/

@@ -16,7 +16,7 @@

if (start < 0) { start += bytes; }
if (start < 0) { start += bytes; }
if (end < 0) { end += bytes; }
if (end > bytes) { end = bytes; }
if (start >= bytes || start >= end || bytes == 0) {
if (start >= bytes || start >= end || bytes === 0) {
return new ArrayBuffer(0);

@@ -23,0 +23,0 @@ }

{
"name": "arraybuffer.slice",
"description": "Exports a function for slicing ArrayBuffers (no polyfilling)",
"version": "0.0.5",
"version": "0.0.6",
"homepage": "https://github.com/rase-/arraybuffer.slice",

@@ -6,0 +6,0 @@ "dependencies": {},

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