@ball-lang/engine 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ball-lang/engine",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Ball language engine — interprets Ball programs in TypeScript/JavaScript. Runs in Node.js and browsers.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8933,6 +8933,9 @@ export class BallEngine {
8933
8933
  return true;
8934
8934
  }
8935
8935
  else if ((__sw === 'map')) {
8936
+ if (this._isBallSet(value)) {
8937
+ return false;
8938
+ }
8936
8939
  let mapVal = this._stdAsMap(value);
8937
8940
  if ((__ball_eq(mapVal, null) && !((typeof value === 'object' && value !== null && !Array.isArray(value) && !(value instanceof BallDouble) && !(value instanceof Set))))) {
8938
8941
  return false;