Results 203 comments of Andreas

@yelworc Yeah, you are absolutely right, actually ideally this would be `oneOf` instead of `anyOf`: https://github.com/axa-ch/json-logic-js/blob/d56799465c6ce011c23f09d45267bba55ae55ec7/schemas/common/any.json#L8 and maybe it works if `object` is removed from all-types here: https://github.com/axa-ch/json-logic-js/blob/d56799465c6ce011c23f09d45267bba55ae55ec7/schemas/common/all-types.json#L7 ACTUALLY IF...

@yelworc I just started to refactor the schemas to get rid of `anyOf` and replace it with `oneOf`. https://github.com/axa-ch/json-logic-js/pull/16 All official tests pass now, so seems to be good.

@yelworc I just released a[ fix version `2.0.1`](https://github.com/axa-ch/json-logic-js/releases/tag/v2.0.1). Works now with `oneOf` only and type `object` is only allowed if it is not a logic object (any existing operator)

@yelworc The last thing which is not ideal I see is, that currently all operations can be combined with any other operator. Tracked here: https://github.com/axa-ch/json-logic-js/issues/17 If you see any other...

@jwadhams We just migrated from `draft-04` to `draft-07` with [`v2.2.2`](https://github.com/axa-ch/json-logic-js/blob/master/CHANGELOG.md#222-2020-05-29).

Tests still pass: ```sh npm run test > [email protected] test /Users/andy/work/js/json-logic-js > gulp test [21:33:26] Using gulpfile ~/work/js/json-logic-js/gulpfile.js [21:33:26] Starting 'test'... Using cached applies() tests Using cached rule_like() tests Including...

I have the same use case, I want to import the CSS file directly from my JS file, as it works with `css-loader`, like: https://github.com/webpack-contrib/css-loader#modules `index.css` ```css .foo {} .bar...

@r3nya You are absolutely right. Though this error happens only in production mode 😞 I linked known webpack issues regarding missing modules for production builds.

@r3nya Thanks for your quick reply. I checked those issues regarding webpack and they should have been fixed in higher version. So I guess just upgrading webpack. should fix it.

great, then I'm looking forward for this PR :)