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

cyclic-router

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyclic-router - npm Package Compare versions

Comparing version 4.0.6 to 4.0.7

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# v4.0.7 (2017-08-04)
# v4.0.6 (2017-08-03)

@@ -2,0 +5,0 @@

2

lib/index.d.ts

@@ -1,3 +0,3 @@

export { makeRouterDriver } from './makeRouterDriver';
export * from './makeRouterDriver';
export { RouterSource } from './RouterSource';
export * from './interfaces';
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var makeRouterDriver_1 = require("./makeRouterDriver");
exports.makeRouterDriver = makeRouterDriver_1.makeRouterDriver;
__export(require("./makeRouterDriver"));
var RouterSource_1 = require("./RouterSource");
exports.RouterSource = RouterSource_1.RouterSource;
//# sourceMappingURL=index.js.map
import { RouteMatcher } from './interfaces';
import { RouterSource } from './RouterSource';
import { History } from 'history';
import { HistoryInput, GenericInput } from '@cycle/history';
import { Stream } from 'xstream';
export declare type HistoryAction = HistoryInput | GenericInput | string;
export declare type RouterSink = Stream<HistoryAction>;
/**

@@ -11,3 +15,18 @@ * Instantiates an new router driver function using the same arguments required

*/
declare function makeRouterDriver(history: History, routeMatcher: RouteMatcher): (sink$: any) => RouterSource;
declare function makeRouterDriver(history: History, routeMatcher: RouteMatcher): (sink$: Stream<string | {
type: "push";
pathname: string;
state?: any;
} | {
type: "replace";
pathname: string;
state?: any;
} | {
type: "go";
amount: number;
} | {
type: "goBack";
} | {
type: "goForward";
} | GenericInput>) => RouterSource;
export { makeRouterDriver };
{
"name": "cyclic-router",
"version": "4.0.6",
"version": "4.0.7",
"description": "A router driver built for Cycle.js",

@@ -30,11 +30,11 @@ "main": "lib/index.js",

"dependencies": {
"@cycle/history": "^6.2.0",
"@cycle/history": "^6.3.0",
"@cycle/run": "^3.1.0",
"history": "^4.6.1"
"history": "^4.6.3"
},
"devDependencies": {
"@cycle/rxjs-run": "^7.0.0",
"@types/history": "^4.5.1",
"@types/history": "^4.6.0",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.22",
"@types/node": "^8.0.19",
"assert": "^1.4.1",

@@ -41,0 +41,0 @@ "babel-preset-es2015": "^6.24.1",

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