greybel-interpreter 0.5.1 → 0.5.2

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.
@@ -254,8 +254,7 @@ var CustomList = /** @class */ (function (_super) {
254
254
  if (CustomList.isNumber(member)) {
255
255
  var index = me.toIndex(member);
256
256
  if (!me.value.hasOwnProperty(index)) {
257
- console.error(method, member, args);
258
- throw new Error("Unexpected index");
257
+ return null;
259
258
  }
260
259
  if (method.length > 1) {
261
260
  return (_a = me.value[index]).callMethod.apply(_a, __spreadArray([method.slice(1)], __read(args), false));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-interpreter",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",