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

feelin

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feelin - npm Package Compare versions

Comparing version 3.1.2 to 3.2.0

4

dist/interpreter.d.ts

@@ -18,4 +18,4 @@ import { SyntaxNodeRef } from '@lezer/common';

export type InterpreterContext = Record<string, any>;
export declare function unaryTest(expression: string, context?: InterpreterContext): boolean;
export declare function evaluate(expression: string, context?: InterpreterContext): any;
export declare function unaryTest(expression: string, context?: InterpreterContext, dialect?: string): boolean;
export declare function evaluate(expression: string, context?: InterpreterContext, dialect?: string): any;
type LintError = {

@@ -22,0 +22,0 @@ from: number;

import { Tree } from '@lezer/common';
export type ParseContext = Record<string, any>;
export declare function parseExpression(expression: string, context?: ParseContext): Tree;
export declare function parseUnaryTests(expression: string, context?: ParseContext): Tree;
export declare function parseExpression(expression: string, context?: ParseContext, dialect?: string): Tree;
export declare function parseUnaryTests(expression: string, context?: ParseContext, dialect?: string): Tree;

@@ -7,3 +7,3 @@ import { DateTime, Duration } from 'luxon';

export declare function isBoolean(e: any): e is boolean;
export declare function getType(e: any): "string" | "number" | "boolean" | "nil" | "context" | "list" | "duration" | "time" | "date" | "date time" | "range" | "function" | "literal";
export declare function getType(e: any): "string" | "number" | "literal" | "boolean" | "nil" | "context" | "list" | "duration" | "time" | "date" | "date time" | "range" | "function";
export declare function isType(el: string, type: string): boolean;

@@ -10,0 +10,0 @@ export declare function typeCast(obj: any, type: string): DateTime<boolean>;

{
"name": "feelin",
"version": "3.1.2",
"version": "3.2.0",
"description": "A FEEL parser and interpreter",

@@ -13,25 +13,24 @@ "author": "Nico Rehwaldt <git_nikku@nixis.de>",

"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.3.17",
"@rollup/plugin-typescript": "^12.1.1",
"@types/chai": "^4.3.20",
"@types/luxon": "^3.4.2",
"@types/mocha": "^10.0.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@types/mocha": "^10.0.9",
"chai": "^4.5.0",
"chokidar-cli": "^3.0.0",
"eslint": "^8.57.0",
"eslint-plugin-bpmn-io": "^1.0.1",
"eslint": "^9.14.0",
"eslint-plugin-bpmn-io": "^2.0.2",
"fast-glob": "^3.3.2",
"mocha": "^10.7.3",
"npm-run-all2": "^6.2.2",
"rollup": "^4.20.0",
"mocha": "^10.8.2",
"npm-run-all2": "^7.0.1",
"rollup": "^4.24.4",
"saxen": "^10.0.0",
"source-map-support": "^0.5.21",
"strip-indent": "^4.0.0",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"dependencies": {
"@lezer/lr": "^1.4.2",
"lezer-feel": "^1.2.9",
"lezer-feel": "^1.4.0",
"luxon": "^3.5.0"

@@ -49,3 +48,3 @@ },

"all": "run-s lint build generate-typings test lint:types",
"lint": "eslint . --ext js,ts,cjs",
"lint": "eslint .",
"lint:types": "tsc --noEmit --lib es2019 test/types.ts",

@@ -52,0 +51,0 @@ "build": "rollup -c --bundleConfigAsCjs",

@@ -19,4 +19,4 @@ # feelin

evaluate("Mike's dauther.name", {
'Mike\'s dauther.name': 'Lisa'
evaluate("Mike's daughter.name", {
'Mike\'s daughter.name': 'Lisa'
}); // "Lisa"

@@ -23,0 +23,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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