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

prague-fluent

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prague-fluent - npm Package Compare versions

Comparing version 0.17.9 to 0.17.10

9

dist/fluent.d.ts

@@ -40,9 +40,2 @@ import { Observable } from 'rxjs';

constructor(routes: TemplateRoute<any, any>[]);
toObject(): {
templates: {
action: any;
args: any;
score: number;
}[];
};
}

@@ -87,3 +80,3 @@ export declare type Action<ARG = undefined> = (arg?: ARG) => Observableable<any>;

mapTemplate<TEMPLATES, CONTEXT>(templates: Templates<TEMPLATES>, context?: CONTEXT): Router<ARG, any>;
mapMultiple(router: AnyRouter<Array<TemplateRoute<any, any>>>): Router<ARG, any>;
mapMultiple(router: AnyRouter<MultipleRoute>): Router<ARG, any>;
tap<VALUE>(fn: (route: Route<VALUE>) => Observableable<any>): Router<ARG, any>;

@@ -90,0 +83,0 @@ default(router: AnyRouter<NoRoute>): Router<ARG, any>;

@@ -177,11 +177,2 @@ "use strict";

}
MultipleRoute.prototype.toObject = function () {
return {
templates: this.routes.map(function (route) { return ({
action: route.action,
args: route.args,
score: route.score
}); })
};
};
return MultipleRoute;

@@ -307,5 +298,3 @@ }(Route));

return this.mapByType({
multiple: function (route) { return Router
.from(router)
.route$(route.routes); }
multiple: router
});

@@ -312,0 +301,0 @@ };

2

package.json
{
"name": "prague-fluent",
"version": "0.17.9",
"version": "0.17.10",
"description": "fluent API for Prague",

@@ -5,0 +5,0 @@ "main": "dist/fluent.js",

@@ -167,12 +167,2 @@ import { Observable } from 'rxjs';

}
toObject() {
return {
templates: this.routes.map(route => ({
action: route.action,
args: route.args,
score: route.score
}))
}
}
}

@@ -336,8 +326,6 @@

mapMultiple (
router: AnyRouter<Array<TemplateRoute<any, any>>>
router: AnyRouter<MultipleRoute>
) {
return this.mapByType({
multiple: route => Router
.from(router)
.route$(route.routes)
multiple: router
});

@@ -344,0 +332,0 @@ }

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