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

@clipboard-health/rules-engine

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clipboard-health/rules-engine - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

## [0.1.4](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.3...rules-engine-0.1.4) (2024-07-12)
### Bug Fixes
* testing Nx upgrade ([f823f5d](https://github.com/ClipboardHealth/cbh-core/commit/f823f5d3e9624d33f55683df8346f99d51bef9e7))
## [0.1.3](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.2...rules-engine-0.1.3) (2024-07-12)
## [0.1.3](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.2...rules-engine-0.1.3) (2024-07-11)

@@ -7,0 +16,0 @@

2

package.json
{
"name": "@clipboard-health/rules-engine",
"version": "0.1.3",
"version": "0.1.4",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "scripts": {

import { type ReadonlyDeep } from "type-fest";
import { type RuleContext } from "./rule";
/**
* Rule output is immutable, do not modify existing items, only append.
* Rule output is immutable, do not modify existing items, only append using this function.
*/
export declare function appendOutput<TInput, TOutput>(context: RuleContext<TInput, TOutput>, output: ReadonlyDeep<TOutput>): RuleContext<TInput, TOutput>;
//# sourceMappingURL=append-output.d.ts.map

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

/**
* Rule output is immutable, do not modify existing items, only append.
* Rule output is immutable, do not modify existing items, only append using this function.
*/

@@ -8,0 +8,0 @@ function appendOutput(context, output) {

@@ -6,5 +6,4 @@ import { type Rule, type RuleContext } from "../rule";

* @param rules The rules to run.
* @returns A rule that runs the first rule that matches the context.
*/
export declare function firstMatch<TInput, TOutput, TContext extends RuleContext<TInput, TOutput>>(...rules: Array<Rule<TInput, TOutput, TContext>>): Rule<TInput, TOutput, TContext>;
//# sourceMappingURL=first-match.d.ts.map

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

* @param rules The rules to run.
* @returns A rule that runs the first rule that matches the context.
*/

@@ -11,0 +10,0 @@ function firstMatch(...rules) {

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