spel2js icon indicating copy to clipboard operation
spel2js copied to clipboard

Parse Spring Expression Language in JavaScript

Results 14 spel2js issues
Sort by recently updated
recently updated
newest added

Using angular 13 i get the following error: `Could not find a declaration file for module 'spel2js'` when trying to import as: `import { StandardContext, SpelExpressionEvaluator } from 'spel2js';` I...

Bumps [karma](https://github.com/karma-runner/karma) from 1.7.1 to 6.3.16. Release notes Sourced from karma's releases. v6.3.16 6.3.16 (2022-02-10) Bug Fixes security: mitigate the "Open Redirect Vulnerability" (ff7edbb) v6.3.15 6.3.15 (2022-02-05) Bug Fixes helper:...

dependencies

spel2js failed to compile expression with negative value version: 0.2.6 ```javascript test('test', () => { let c = spel2js.SpelExpressionEvaluator.compile('1.0 > -5000.0') // fail to compile console.log(c); }) // test failed...

Hi, I'm using Angular 8 for frontend. I have an expression and object for evaluating. For example expression is "(getSubFoo()!=null && getSubFoo() == 'XYZ')" and object is export class Foo{...

object.property throws null pointer exception when object is defined and there is no property. Ideally it should not throw an exception instead return null or undefined. example: let obj =...

suppose employe.id = null and expression = "employe.id ? true : false" if I am trying to evaluate the above expression using SpelExpressionEvaluator.compile(expression) function call. It returns NullPointer exception which...

Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.0.4 to 4.2.2. Changelog Sourced from browserify-sign's changelog. v4.2.2 - 2023-10-25 Fixed [Tests] log when openssl doesn't support cipher [#37](https://github.com/crypto-browserify/browserify-sign/issues/37) Commits Only apps should have lockfiles 09a8995...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) to 4.17.21 and updates ancestor dependencies [lodash](https://github.com/lodash/lodash), [karma](https://github.com/karma-runner/karma), [karma-browserify](https://github.com/nikku/karma-browserify), [karma-coverage](https://github.com/karma-runner/karma-coverage), [karma-webpack](https://github.com/webpack-contrib/karma-webpack) and [release-it](https://github.com/release-it/release-it). These dependencies need to be updated together. Updates `lodash` from 4.17.4 to 4.17.21 Commits f299b52...

dependencies

Bumps [fsevents](https://github.com/fsevents/fsevents) from 1.1.2 to 1.2.13. Release notes Sourced from fsevents's releases. Release v1.2.13 Only build on Mac-OSX Release v1.2.11 Removing node-pre-gyp so that building fsevents becomes easier and enabled...

dependencies

This test works fine. ![image](https://github.com/benmarch/spel2js/assets/71214194/798550c1-cbd3-4047-b12f-2fd1740bb4b4) This one fails: ![image](https://github.com/benmarch/spel2js/assets/71214194/2c17b95f-4e19-4b8d-8685-4557c377d15e) that's the error: ![image](https://github.com/benmarch/spel2js/assets/71214194/d888ed27-fded-4df7-87b2-612e92df4d87) semantically these should be equal. What's wrong? Anyway the getValue is correct, the problem is on the...