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.4 to 0.0.5

18

index.js
var proto = {}
module.exports = proto
proto.from = require('./from')
proto.to = require('./to')
proto.is = require('./is')
proto.subarray = require('./subarray')
proto.join = require('./join')
proto.copy = require('./copy')
proto.create = require('./create')
proto.from = require('./from.js')
proto.to = require('./to.js')
proto.is = require('./is.js')
proto.subarray = require('./subarray.js')
proto.join = require('./join.js')
proto.copy = require('./copy.js')
proto.create = require('./create.js')
mix(require('./read'), proto)
mix(require('./write'), proto)
mix(require('./read.js'), proto)
mix(require('./write.js'), proto)

@@ -15,0 +15,0 @@ function mix(from, into) {

{
"name": "bops",
"version": "0.0.4",
"version": "0.0.5",
"description": "buffer operations",

@@ -18,2 +18,3 @@ "main": "index.js",

"./to.js": "./typedarray/to.js",
"./is.js": "./typedarray/is.js",
"./write.js": "./typedarray/write.js"

@@ -20,0 +21,0 @@ },

@@ -7,6 +7,10 @@ var test = require('tape')

, no = "World"
, never = { weird: true }
, noway = [ 42 ]
assert.equal(binary.is(yes), true)
assert.equal(binary.is(no), false)
assert.equal(binary.is(never), false)
assert.equal(binary.is(noway), false)
assert.end()
})

@@ -17,3 +17,3 @@ module.exports = {

var map = require('./mapped')
var map = require('./mapped.js')

@@ -20,0 +20,0 @@ function read_uint8(target, at) {

@@ -17,3 +17,3 @@ module.exports = {

var map = require('./mapped')
var map = require('./mapped.js')

@@ -20,0 +20,0 @@ function write_uint8(target, value, at) {

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