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

@cycle/run

Package Overview
Dependencies
Maintainers
3
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 5.4.0 to 5.5.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 5.5.0 (2020-09-18)
* fix(run): setup quicktask lazily, only upon run() ([dee01dd](https://github.com/cyclejs/cyclejs/commit/dee01dd)), closes [#956](https://github.com/cyclejs/cyclejs/issues/956)
## 5.4.0 (2019-11-06)

@@ -2,0 +8,0 @@

2

lib/cjs/internals.js

@@ -6,3 +6,2 @@ "use strict";

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

@@ -45,2 +44,3 @@ var sinkProxies = {};

function replicateMany(sinks, sinkProxies) {
var scheduleMicrotask = quicktask_1.default();
var sinkNames = Object.keys(sinks).filter(function (name) { return !!sinkProxies[name]; });

@@ -47,0 +47,0 @@ var buffers = {};

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

@@ -39,2 +38,3 @@ var sinkProxies = {};

export function replicateMany(sinks, sinkProxies) {
var scheduleMicrotask = quicktask();
var sinkNames = Object.keys(sinks).filter(function (name) { return !!sinkProxies[name]; });

@@ -41,0 +41,0 @@ var buffers = {};

{
"name": "@cycle/run",
"version": "5.4.0",
"description": "The Cycle.js run() function to use with xstream",
"license": "MIT",
"homepage": "https://cycle.js.org",
"bugs": "https://github.com/cyclejs/cyclejs/issues",
"repository": "https://github.com/cyclejs/cyclejs/tree/master/run",
"contributors": [
{
"name": "Andre Staltz",
"email": "andre@staltz.com"
},
{
"name": "Tylor Steinberger",
"email": "tlsteinberger167@gmail.com"
}
],
"keywords": [
"reactive",
"framework",
"rxjs",
"rx",
"unidirectional",
"mvi",
"virtual-dom"
],
"main": "lib/cjs/index.js",
"module": "lib/es6/index.js",
"typings": "lib/cjs/index.d.ts",
"types": "lib/cjs/index.d.ts",
"dependencies": {
"quicktask": "1.1.0",
"xstream": "10.x || 11.x"
},
"devDependencies": {
"@types/mocha": "5.2.x",
"@types/node": "10.12.x",
"@types/sinon": "5.0.x",
"mocha": "~6.2.0",
"sinon": "^7.1.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "=3.2.4",
"xstream": "11.x"
},
"engines": {
"node": ">=0.12.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/cyclejs"
},
"scripts": {
"build": "pnpm run build-cjs && pnpm run build-es6",
"build-cjs": "tsc --module commonjs --outDir ./lib/cjs",
"build-es6": "tsc --module es6 --outDir ./lib/es6",
"lint": "tslint --project tsconfig.lint.json --config ../tslint.json",
"docs": "cd .. && node .scripts/make-api-docs.js run",
"changelog": "cd .. && node .scripts/update-changelogs.js run",
"test": "mocha test/*.ts --require ts-node/register --exit",
"test-ci": "../.scripts/retry.sh pnpm test",
"postbuild": "cp lib/cjs/adapt.* lib/",
"prepublishOnly": "pnpm run build && pnpm test"
},
"publishConfig": {
"access": "public"
}
"name": "@cycle/run",
"version": "5.5.0",
"description": "The Cycle.js run() function to use with xstream",
"license": "MIT",
"homepage": "https://cycle.js.org",
"bugs": "https://github.com/cyclejs/cyclejs/issues",
"repository": "https://github.com/cyclejs/cyclejs/tree/master/run",
"contributors": [
{
"name": "Andre Staltz",
"email": "andre@staltz.com"
},
{
"name": "Tylor Steinberger",
"email": "tlsteinberger167@gmail.com"
}
],
"keywords": [
"reactive",
"framework",
"rxjs",
"rx",
"unidirectional",
"mvi",
"virtual-dom"
],
"main": "lib/cjs/index.js",
"module": "lib/es6/index.js",
"typings": "lib/cjs/index.d.ts",
"types": "lib/cjs/index.d.ts",
"dependencies": {
"quicktask": "1.1.0",
"xstream": "10.x || 11.x"
},
"devDependencies": {
"@types/mocha": "5.2.x",
"@types/node": "10.12.x",
"@types/sinon": "5.0.x",
"mocha": "~6.2.0",
"sinon": "^7.1.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "=3.2.4",
"xstream": "11.x"
},
"engines": {
"node": ">=0.12.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/cyclejs"
},
"scripts": {
"build": "pnpm run build-cjs && pnpm run build-es6",
"build-cjs": "tsc --module commonjs --outDir ./lib/cjs",
"build-es6": "tsc --module es6 --outDir ./lib/es6",
"lint": "tslint --project tsconfig.lint.json --config ../tslint.json",
"docs": "cd .. && node .scripts/make-api-docs.js run",
"changelog": "cd .. && node .scripts/update-changelogs.js run",
"test": "mocha test/*.ts --require ts-node/register --exit",
"test-ci": "../.scripts/retry.sh pnpm test",
"postbuild": "cp lib/cjs/adapt.* lib/",
"prepublishOnly": "pnpm run build && pnpm test"
},
"publishConfig": {
"access": "public"
}
}

@@ -12,4 +12,2 @@ import xs, {Stream} from 'xstream';

const scheduleMicrotask = quicktask();
export function makeSinkProxies<D extends Drivers>(drivers: D): SinkProxies<D> {

@@ -69,3 +67,3 @@ const sinkProxies: SinkProxies<D> = {} as SinkProxies<D>;

complete(): void;
}
};
};

@@ -77,3 +75,3 @@

_e: Array<any>;
}
};
};

@@ -85,2 +83,4 @@

): DisposeFunction {
const scheduleMicrotask = quicktask();
const sinkNames: Array<keyof Si> = Object.keys(sinks).filter(

@@ -87,0 +87,0 @@ name => !!sinkProxies[name]

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