New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

pull-obv

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-obv - npm Package Compare versions

Comparing version
1.2.0
to
1.3.0
+6
-6
index.js

@@ -41,10 +41,10 @@

obv.set = function (_state) {
state = _state
for(var i = 0;i < listeners.length; i++)
listeners[i](state)
}
return obv
}
{
"name": "pull-obv",
"description": "",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "https://github.com/dominictarr/pull-obv",

@@ -6,0 +6,0 @@ "repository": {

@@ -122,1 +122,26 @@ var More = require('../')

tape('manually set state', function (t) {
var i = 0
var obv = More(function (ary, item) {
return ary.concat(item)
}, function (_, cb) {
cb(null, ++i)
}, [])
obv.more()
var rm = obv(function (a) {
t.deepEqual(a, [1])
})
rm ()
rm = obv(function (a) {
t.deepEqual(a, [-1, 0, 1])
}, false)
obv.set([-1,0].concat(obv.value))
t.end()
})