New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.6 to 0.17.7

1

dist/fluent.d.ts

@@ -30,3 +30,2 @@ import { Observable } from 'rxjs';

mapActionToRouter: (context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>;
constructor(mapActionToRouter: Partial<MapTemplateActionToRouter<TEMPLATES>>);
constructor(mapActionToRouter: (context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>);

@@ -33,0 +32,0 @@ route<ACTION extends keyof TEMPLATES, ARGS extends TEMPLATES[ACTION]>(action: ACTION, args: ARGS, source?: SOURCE, score?: number): any;

4

dist/fluent.js

@@ -144,5 +144,3 @@ "use strict";

function Templates(mapActionToRouter) {
this.mapActionToRouter = typeof mapActionToRouter === 'function'
? mapActionToRouter
: function () { return mapActionToRouter; };
this.mapActionToRouter = mapActionToRouter;
}

@@ -149,0 +147,0 @@ Templates.prototype.route = function (action, args) {

{
"name": "prague-fluent",
"version": "0.17.6",
"version": "0.17.7",
"description": "fluent API for Prague",

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

@@ -102,18 +102,5 @@ import { Observable } from 'rxjs';

export class Templates <TEMPLATES, CONTEXT = any, SOURCE = string> {
mapActionToRouter: (context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>;
constructor(
mapActionToRouter: Partial<MapTemplateActionToRouter<TEMPLATES>>
);
constructor(
mapActionToRouter: (context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>
);
constructor(
mapActionToRouter: Partial<MapTemplateActionToRouter<TEMPLATES>> | ((context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>)
public mapActionToRouter: (context: CONTEXT) => Partial<MapTemplateActionToRouter<TEMPLATES>>
) {
this.mapActionToRouter = typeof mapActionToRouter === 'function'
? mapActionToRouter
: () => mapActionToRouter;
}

@@ -120,0 +107,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