New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@briancavalier/most-behavior

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@briancavalier/most-behavior - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

dist/integral.js.flow

13

dist/index.es.js

@@ -1,2 +0,2 @@

import { snapshot, now, map } from '@most/core';
import { snapshot, map, startWith } from '@most/core';

@@ -39,14 +39,9 @@ //

var sample = function (b , s ) { return map(function (ref) {
var a = ref[0];
var _ = ref[1];
var sample = function (b , s ) { return map(function (ab) { return ab[0]; }, snapshot$1(b, s)); };
return a;
}, snapshot$1(b, s)); };
var always = function (a ) { return function (sb ) { return map(function (b) { return [a, b]; }, sb); }; };
var always = function (a ) { return step(now(a)); };
var fromTime = function (f ) { return map$1(f, snapshotTime); };
var step = function (sa ) { return function (sb ) { return snapshot(function (a, b) { return [a, b]; }, sa, sb); }; };
var step = function (a , sa ) { return function (sb ) { return snapshot(function (a, b) { return [a, b]; }, startWith(a, sa), sb); }; };

@@ -53,0 +48,0 @@ var map$1 = function (f , ba ) { return function (sc ) { return map(function (ref) {

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@most/core')) :
typeof define === 'function' && define.amd ? define(['exports', '@most/core'], factory) :
(factory((global.mostBehave = {}),global.mostCore));
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@most/core')) :
typeof define === 'function' && define.amd ? define(['exports', '@most/core'], factory) :
(factory((global.mostBehave = {}),global.mostCore));
}(this, (function (exports,core) { 'use strict';
//
//
var snapshotTime = function (stream ) { return new SnapshotTime(stream); };
var snapshotTime = function (stream ) { return new SnapshotTime(stream); };
var SnapshotTime = function SnapshotTime (source ) {
this.source = source;
};
var SnapshotTime = function SnapshotTime (source ) {
this.source = source;
};
SnapshotTime.prototype.run = function run (sink , scheduler ) {
return this.source.run(new SnapshotTimeSink(sink), scheduler)
};
SnapshotTime.prototype.run = function run (sink , scheduler ) {
return this.source.run(new SnapshotTimeSink(sink), scheduler)
};
var SnapshotTimeSink = function SnapshotTimeSink (sink ) {
this.sink = sink;
};
var SnapshotTimeSink = function SnapshotTimeSink (sink ) {
this.sink = sink;
};
SnapshotTimeSink.prototype.event = function event (t , a ) {
this.sink.event(t, [t, a]);
};
SnapshotTimeSink.prototype.event = function event (t , a ) {
this.sink.event(t, [t, a]);
};
SnapshotTimeSink.prototype.error = function error (t , e ) {
this.sink.error(t, e);
};
SnapshotTimeSink.prototype.error = function error (t , e ) {
this.sink.error(t, e);
};
SnapshotTimeSink.prototype.end = function end (t ) {
this.sink.end(t);
};
SnapshotTimeSink.prototype.end = function end (t ) {
this.sink.end(t);
};
//
//
var snapshot = function (b , s ) { return b(s); };
var snapshot = function (b , s ) { return b(s); };
var sample = function (b , s ) { return core.map(function (ref) {
var a = ref[0];
var _ = ref[1];
var sample = function (b , s ) { return core.map(function (ab) { return ab[0]; }, snapshot(b, s)); };
return a;
}, snapshot(b, s)); };
var always = function (a ) { return function (sb ) { return core.map(function (b) { return [a, b]; }, sb); }; };
var always = function (a ) { return step(core.now(a)); };
var fromTime = function (f ) { return map(f, snapshotTime); };
var fromTime = function (f ) { return map(f, snapshotTime); };
var step = function (a , sa ) { return function (sb ) { return core.snapshot(function (a, b) { return [a, b]; }, core.startWith(a, sa), sb); }; };
var step = function (sa ) { return function (sb ) { return core.snapshot(function (a, b) { return [a, b]; }, sa, sb); }; };
var map = function (f , ba ) { return function (sc ) { return core.map(function (ref) {
var a = ref[0];
var c = ref[1];
var map = function (f , ba ) { return function (sc ) { return core.map(function (ref) {
var a = ref[0];
var c = ref[1];
return [f(a), c];
}, snapshot(ba, sc)); }; };
return [f(a), c];
}, snapshot(ba, sc)); }; };
var apply = function (bf , ba ) { return liftA2(function (f, a) { return f(a); }, bf, ba); };
var apply = function (bf , ba ) { return liftA2(function (f, a) { return f(a); }, bf, ba); };
var liftA2 = function (f , ba , bb ) { return function (sd ) { return core.map(function (ref) {
var a = ref[0];
var ref_1 = ref[1];
var b = ref_1[0];
var d = ref_1[1];
var liftA2 = function (f , ba , bb ) { return function (sd ) { return core.map(function (ref) {
var a = ref[0];
var ref_1 = ref[1];
var b = ref_1[0];
var d = ref_1[1];
return [f(a, b), d];
}, snapshot(ba, snapshot(bb, sd))); }; };
return [f(a, b), d];
}, snapshot(ba, snapshot(bb, sd))); }; };
exports.snapshot = snapshot;
exports.sample = sample;
exports.time = snapshotTime;
exports.always = always;
exports.fromTime = fromTime;
exports.step = step;
exports.map = map;
exports.apply = apply;
exports.liftA2 = liftA2;
exports.snapshot = snapshot;
exports.sample = sample;
exports.time = snapshotTime;
exports.always = always;
exports.fromTime = fromTime;
exports.step = step;
exports.map = map;
exports.apply = apply;
exports.liftA2 = liftA2;
Object.defineProperty(exports, '__esModule', { value: true });
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=index.js.map
{
"name": "@briancavalier/most-behavior",
"description": "behave",
"version": "2.0.0",
"version": "3.0.0",
"author": "Brian Cavalier <brian@briancavalier.com> (github.com/briancavalier)",

@@ -12,15 +12,15 @@ "bugs": {

"@most/dom-event": "^2.0.0",
"babel-eslint": "^8.2.2",
"babel-eslint": "^10.0.1",
"buba": "^4.0.2",
"eslint-plugin-flowtype": "^2.46.1",
"flow-bin": "^0.67.1",
"flow-copy-source": "^1.3.0",
"mocha": "^5.0.4",
"npm-run-all": "^4.1.2",
"nyc": "^11.6.0",
"rollup": "^0.56.5",
"rollup-plugin-buble": "^0.19.2",
"eslint-plugin-flowtype": "^3.2.0",
"flow-bin": "^0.86.0",
"flow-copy-source": "^2.0.2",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.3",
"nyc": "^13.1.0",
"rollup": "^0.67.3",
"rollup-plugin-buble": "^0.19.4",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-node-resolve": "^3.2.0",
"standard": "^11.0.0"
"rollup-plugin-node-resolve": "^3.4.0",
"standard": "^12.0.1"
},

@@ -52,6 +52,6 @@ "files": [

"dependencies": {
"@most/core": "^1.2.3",
"@most/disposable": "^1.1.0",
"@most/prelude": "^1.7.0",
"@most/types": "^1.0.0"
"@most/core": "^1.3.2",
"@most/disposable": "^1.2.1",
"@most/prelude": "^1.7.2",
"@most/types": "^1.0.1"
},

@@ -58,0 +58,0 @@ "standard": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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