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.2 to 0.1.3

4

CHANGELOG.md

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

## [0.1.3](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.2...rules-engine-0.1.3) (2024-07-11)
## [0.1.3](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.2...rules-engine-0.1.3) (2024-07-11)
## [0.1.2](https://github.com/ClipboardHealth/cbh-core/compare/rules-engine-0.1.1...rules-engine-0.1.2) (2024-02-27)

@@ -7,0 +11,0 @@

2

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

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

@@ -19,7 +19,8 @@ import { type ReadonlyDeep } from "type-fest";

* Only the `input` and not the full `context` is passed to `runIf`. This prevents rules from
* relying on `output`, which may be modified by previous rules by the time `run` is called.
* relying on `output`, which may be appended to by previous rules by the time `run` is called.
*/
runIf: (input: ReadonlyDeep<TInput>) => boolean;
/**
* Runs the actual rule and returns a new context by appending to the output array.
* A pure function that runs rule logic and returns a new context by appending to the output
* array.
*

@@ -26,0 +27,0 @@ * @see {@link appendOutput}

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