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

@cycle/time

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cycle/time - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

CHANGELOG.md

4

most.d.ts
import { Stream } from 'most';
import { Frame } from './dist/animation-frames';
import { Frame } from './src/animation-frames';
declare type Operator = <T>(stream: Stream<T>) => Stream<T>;

@@ -19,3 +19,3 @@ interface TimeSource {

declare function mockTimeSource(args?: Object): MockTimeSource;
declare function timeDriver(_: any, adapter: any): TimeSource;
declare function timeDriver(sink: any): TimeSource;
export { Operator, TimeSource, timeDriver, MockTimeSource, mockTimeSource };
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
var most = require("most");
var adapt_1 = require("@cycle/run/lib/adapt");
var mock_time_source_1 = require("./dist/mock-time-source");
var time_driver_1 = require("./dist/time-driver");
var mock_time_source_1 = require("./src/mock-time-source");
var time_driver_1 = require("./src/time-driver");
adapt_1.setAdapt(function (stream) { return most.from(stream); });

@@ -12,5 +12,6 @@ function mockTimeSource(args) {

exports.mockTimeSource = mockTimeSource;
function timeDriver(_, adapter) {
return time_driver_1.timeDriver(_, adapter);
function timeDriver(sink) {
return time_driver_1.timeDriver(sink);
}
exports.timeDriver = timeDriver;
//# sourceMappingURL=most.js.map
{
"name": "@cycle/time",
"version": "0.8.0",
"version": "0.9.0",
"description": "A time driver designed to enable awesome testing and dev tooling",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"homepage": "https://cycle.js.org",
"bugs": "https://github.com/cyclejs/cyclejs/issues",
"repository": "https://github.com/cyclejs/cyclejs/tree/master/time",
"author": "Nick Johnstone",
"license": "MIT",
"homepage": "https://github.com/cyclejs/time#readme",
"main": "lib/index.js",
"module": "lib/es6/index.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"dependencies": {
"@cycle/run": "3.x",
"combine-errors": "3.0.x",
"performance-now": "^2.1.0",
"raf": "3.3.x",
"setimmediate": "1.0.x",
"sorted-immutable-list": "1.1.x",
"variable-diff": "1.1.x",
"xstream": "*"
},
"devDependencies": {
"@cycle/dom": "17.6",
"@cycle/rxjs-run": "7.0",
"@types/mocha": "2.2.x",
"@types/node": "7.0.x",
"garnish": "5.2.x",
"markdown-doctest": "0.9.x",
"most": "1.5.x",
"rxjs": "5.4.x",
"snabbdom-selector": "1.2.x"
},
"publishConfig": {
"access": "public"
},
"files": [

@@ -17,48 +45,15 @@ "dist/",

],
"publishConfig": {
"access": "public"
"browserify-shim": {
"xstream": "global:xstream"
},
"scripts": {
"start": "budo -d example example/index.ts:index.js --live -- -p tsify",
"test": "mocha 'test/**/*.ts' --compilers ts:ts-node/register && npm run test/docs",
"test/auto": "mocha 'test/**/*.ts' --compilers ts:ts-node/register --watch -R min",
"test/docs": "npm run compile && markdown-doctest",
"compile": "tsc && tsc rxjs.ts most.ts --declaration --lib DOM,ES5,ES6",
"prepublish": "npm run compile",
"postpublish": "greenkeeper-postpublish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cyclejs/time.git"
},
"bugs": {
"url": "https://github.com/cyclejs/time/issues"
},
"dependencies": {
"@cycle/run": "^1.0.0-rc.9",
"combine-errors": "^3.0.3",
"raf": "^3.3.0",
"setimmediate": "^1.0.5",
"sorted-immutable-list": "^1.1.0",
"variable-diff": "^1.1.0",
"xstream": "*"
},
"devDependencies": {
"@cycle/dom": "^15.0.0-rc.2",
"@cycle/rxjs-run": "^4.0.0-rc.6",
"@types/mocha": "^2.2.37",
"@types/node": "^7.0.8",
"browserify": "^14.0.0",
"budo": "^9.2.2",
"garnish": "^5.2.0",
"greenkeeper-postpublish": "^1.0.1",
"markdown-doctest": "^0.9.1",
"mocha": "^3.1.2",
"most": "^1.2.2",
"rxjs": "^5.1.0",
"snabbdom-selector": "^1.1.1",
"ts-node": "^3.0.2",
"tsify": "^3.0.0",
"typescript": "^2.1.5"
"start": "../node_modules/.bin/budo -d example example/index.ts:index.js --live -- -p tsify",
"test-watch": "../node_modules/.bin/mocha 'test/**/*.ts' --compilers ts:ts-node/register --watch -R min",
"test-node": "../node_modules/.bin/mocha 'test/**/*.ts' --compilers ts:ts-node/register",
"test": "npm run test-node && npm run test-docs",
"test-ci": "npm run test",
"test-docs": "markdown-doctest",
"browserify": "../node_modules/.bin/browserify lib/index.js --global-transform=browserify-shim --standalone CycleTime --exclude xstream --outfile dist/cycle-time.js",
"uglify": "../node_modules/.bin/uglifyjs dist/cycle-time.js --compress --mangle -o dist/cycle-time.min.js"
}
}

@@ -412,3 +412,3 @@ # @cycle/time

#### `assertEqual(actualStream, expectedStream, comparator = assert.deepEqual)`
Can be used to assert two streams are equivalent. This is useful when combine with `.diagram` for creating tests.
Can be used to assert two streams are equivalent. This is useful when combined with `.diagram` for creating tests.

@@ -478,3 +478,3 @@ ```js

function comparator (actual, expected) {
function mycomparator (actual, expected) {
return actual.bar === expected.bar;

@@ -486,3 +486,3 @@ }

expected,
comparator
mycomparator
);

@@ -489,0 +489,0 @@

import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/from';
import { Frame } from './dist/animation-frames';
import { Frame } from './src/animation-frames';
declare type Operator = <T>(observable: Observable<T>) => Observable<T>;

@@ -20,3 +20,3 @@ interface TimeSource {

declare function mockTimeSource(args?: Object): MockTimeSource;
declare function timeDriver(_: any, adapter: any): TimeSource;
declare function timeDriver(sink: any): TimeSource;
export { Operator, TimeSource, timeDriver, MockTimeSource, mockTimeSource };
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
var Observable_1 = require("rxjs/Observable");
// tslint:disable-next-line:no-import-side-effect
require("rxjs/add/observable/from");
var adapt_1 = require("@cycle/run/lib/adapt");
var mock_time_source_1 = require("./dist/mock-time-source");
var time_driver_1 = require("./dist/time-driver");
var mock_time_source_1 = require("./src/mock-time-source");
var time_driver_1 = require("./src/time-driver");
adapt_1.setAdapt(function (stream) { return Observable_1.Observable.from(stream); });

@@ -13,5 +14,6 @@ function mockTimeSource(args) {

exports.mockTimeSource = mockTimeSource;
function timeDriver(_, adapter) {
return time_driver_1.timeDriver(_, adapter);
function timeDriver(sink) {
return time_driver_1.timeDriver(sink);
}
exports.timeDriver = timeDriver;
//# sourceMappingURL=rxjs.js.map
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