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

bops

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bops - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "bops",
"version": "0.0.1",
"version": "0.0.2",
"description": "buffer operations",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,6 +15,9 @@ module.exports = copy

function fast_copy(from, to, j, i, jend) {
for(var iend = jend + i; i < iend; ++i) {
to[j++] = from[i]
}
function fast_copy(source, target, target_start, source_start, source_end) {
for(var i = target_start, len = source_end - source_start + target_start, j = source_start;
i < len;
++i,
++j) {
target[j] = source[i]
}
}

@@ -21,0 +24,0 @@

module.exports = join
function join(targets, hint) {
if(!targets.length) {
return new Uint8Array(0)
}
var len = hint !== undefined ? hint : get_length(targets)

@@ -5,0 +9,0 @@ , out = new Uint8Array(len)

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