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

@cycle/run

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cycle/run - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="4.2.0"></a>
# 4.2.0 (2018-06-25)
### Bug Fixes
* **run:** use 'quicktask' dependency, supporting React Native ([2f3ed44](https://github.com/cyclejs/cyclejs/commit/2f3ed44))
<a name="4.1.0"></a>

@@ -2,0 +12,0 @@ # 4.1.0 (2017-12-08)

20

dist/cycle-run.js

@@ -219,4 +219,4 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Cycle = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

var adapt_1 = require("./adapt");
var microtask_1 = require("./microtask");
var scheduleMicrotask = microtask_1.default();
var quicktask_1 = require("quicktask");
var scheduleMicrotask = quicktask_1.default();
function makeSinkProxies(drivers) {

@@ -404,17 +404,6 @@ var sinkProxies = {};

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./adapt":2,"./microtask":4}],4:[function(require,module,exports){
},{"./adapt":2,"quicktask":4}],4:[function(require,module,exports){
(function (process){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Inspired by https://github.com/yoshuawuyts/nanotask, this function manages
* a queue of microtasks. It returns a "scheduleMicrotask" helper.
*
* Uses MutationObserver in the browser, supported by many browsers, including
* IE11.
*
* Uses process.nextTick in Node.js.
*
* Uses setTimeout otherwise.
*/
function microtask() {

@@ -435,2 +424,5 @@ if (typeof MutationObserver !== 'undefined') {

}
else if (typeof setImmediate !== 'undefined') {
return setImmediate;
}
else if (typeof process !== 'undefined') {

@@ -437,0 +429,0 @@ return process.nextTick;

@@ -10,3 +10,3 @@ (function(v){"object"===typeof exports&&"undefined"!==typeof module?module.exports=v():"function"===typeof define&&define.amd?define([],v):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).Cycle=v()})(function(){return function a(m,c,q){function g(k,h){if(!c[k]){if(!m[k]){var l="function"==typeof require&&require;if(!h&&l)return l(k,!0);if(e)return e(k,!0);h=Error("Cannot find module '"+k+"'");throw h.code="MODULE_NOT_FOUND",h;}h=c[k]={exports:{}};

var b=g(c),d=e(c,b);c=l(d);var f=a(c);"undefined"!==typeof window&&(window.Cyclejs=window.Cyclejs||{},window.Cyclejs.sinks=f);return{sinks:f,sources:d,run:function(){var a=k(f,b);return function(){for(var b in d)d.hasOwnProperty(b)&&d[b]&&d[b].dispose&&d[b].dispose();a()}}}}function m(a,c){a=h(a,c);"undefined"!==typeof window&&window.CyclejsDevTool_startGraphSerializer&&window.CyclejsDevTool_startGraphSerializer(a.sinks);return a.run()}Object.defineProperty(c,"__esModule",{value:!0});var r="undefined"!==
typeof window?window.xstream:"undefined"!==typeof q?q.xstream:null,t=a("./adapt"),n=a("./microtask").default();c.setup=h;c.run=m;c.default=m}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./adapt":2,"./microtask":4}],4:[function(a,m,c){(function(a){Object.defineProperty(c,"__esModule",{value:!0});c.default=function(){if("undefined"!==typeof MutationObserver){var c=document.createTextNode(""),e=[],l=0;(new MutationObserver(function(){for(;e.length;)e.shift()()})).observe(c,
{characterData:!0});return function(a){e.push(a);c.data=l=1-l}}return"undefined"!==typeof a?a.nextTick:setTimeout}}).call(this,a("_process"))},{_process:1}]},{},[3])(3)});
typeof window?window.xstream:"undefined"!==typeof q?q.xstream:null,t=a("./adapt"),n=a("quicktask").default();c.setup=h;c.run=m;c.default=m}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./adapt":2,quicktask:4}],4:[function(a,m,c){(function(a){Object.defineProperty(c,"__esModule",{value:!0});c.default=function(){if("undefined"!==typeof MutationObserver){var c=document.createTextNode(""),e=[],l=0;(new MutationObserver(function(){for(;e.length;)e.shift()()})).observe(c,
{characterData:!0});return function(a){e.push(a);c.data=l=1-l}}return"undefined"!==typeof setImmediate?setImmediate:"undefined"!==typeof a?a.nextTick:setTimeout}}).call(this,a("_process"))},{_process:1}]},{},[3])(3)});

@@ -5,4 +5,4 @@ "use strict";

var adapt_1 = require("./adapt");
var microtask_1 = require("./microtask");
var scheduleMicrotask = microtask_1.default();
var quicktask_1 = require("quicktask");
var scheduleMicrotask = quicktask_1.default();
function makeSinkProxies(drivers) {

@@ -9,0 +9,0 @@ var sinkProxies = {};

import xs from 'xstream';
import { adapt } from './adapt';
import microtask from './microtask';
var scheduleMicrotask = microtask();
import quicktask from 'quicktask';
var scheduleMicrotask = quicktask();
function makeSinkProxies(drivers) {

@@ -6,0 +6,0 @@ var sinkProxies = {};

{
"name": "@cycle/run",
"version": "4.1.0",
"version": "4.2.0",
"description": "The Cycle.js run() function to use with xstream",

@@ -33,3 +33,4 @@ "license": "MIT",

"dependencies": {
"xstream": "10.x || 11.x"
"xstream": "10.x || 11.x",
"quicktask": "1.1.0"
},

@@ -36,0 +37,0 @@ "devDependencies": {

import xs, {Stream} from 'xstream';
import {adapt} from './adapt';
import microtask from './microtask';
import quicktask from 'quicktask';
import {

@@ -30,3 +30,3 @@ CycleProgram,

const scheduleMicrotask = microtask();
const scheduleMicrotask = quicktask();

@@ -33,0 +33,0 @@ function makeSinkProxies<So extends Sources, Si extends Sinks>(

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