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

ifc-expressions

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ifc-expressions - npm Package Compare versions

Comparing version 2.0.1-beta.4 to 2.0.1-beta.5

2

dist/cjs/expression/function/impl/PROPERTY.js

@@ -37,3 +37,3 @@ "use strict";

const propertyName = propertyNameVal.stringValue;
const resultingObjectAccessor = accessorFun(propertyName);
const resultingObjectAccessor = accessorFun.call(objectRef, propertyName);
if ((0, IfcExpressionUtils_js_1.isNullish)(resultingObjectAccessor)) {

@@ -40,0 +40,0 @@ return new ExprEvalResult_js_1.ExprEvalFunctionEvaluationObjectNotFoundErrorObj(ExprKind_js_1.ExprKind.FUNCTION, ExprEvalResult_js_1.ExprEvalStatus.IFC_PROPERTY_NOT_FOUND, `No ifc property found with name '${propertyName}'`, this.getName(), propertyName, callingExpr.getTextSpan());

@@ -24,3 +24,3 @@ "use strict";

if (typeof accessorFun === "function") {
const resultingObjectAccessor = accessorFun();
const resultingObjectAccessor = accessorFun.call(objectRef);
if ((0, IfcExpressionUtils_js_1.isNullish)(resultingObjectAccessor)) {

@@ -27,0 +27,0 @@ return new ExprEvalResult_js_1.ExprEvalFunctionEvaluationObjectNotFoundErrorObj(ExprKind_js_1.ExprKind.FUNCTION, ExprEvalResult_js_1.ExprEvalStatus.IFC_TYPE_OBJECT_NOT_FOUND, `No type object found`, this.getName(), "[Type of IFC element]", callingExpr.getTextSpan());

@@ -34,3 +34,3 @@ import { Func } from "../Func.js";

const propertyName = propertyNameVal.stringValue;
const resultingObjectAccessor = accessorFun(propertyName);
const resultingObjectAccessor = accessorFun.call(objectRef, propertyName);
if (isNullish(resultingObjectAccessor)) {

@@ -37,0 +37,0 @@ return new ExprEvalFunctionEvaluationObjectNotFoundErrorObj(ExprKind.FUNCTION, ExprEvalStatus.IFC_PROPERTY_NOT_FOUND, `No ifc property found with name '${propertyName}'`, this.getName(), propertyName, callingExpr.getTextSpan());

@@ -21,3 +21,3 @@ import { Func } from "../Func.js";

if (typeof accessorFun === "function") {
const resultingObjectAccessor = accessorFun();
const resultingObjectAccessor = accessorFun.call(objectRef);
if (isNullish(resultingObjectAccessor)) {

@@ -24,0 +24,0 @@ return new ExprEvalFunctionEvaluationObjectNotFoundErrorObj(ExprKind.FUNCTION, ExprEvalStatus.IFC_TYPE_OBJECT_NOT_FOUND, `No type object found`, this.getName(), "[Type of IFC element]", callingExpr.getTextSpan());

{
"name": "ifc-expressions",
"version": "2.0.1-beta.4",
"version": "2.0.1-beta.5",
"description": "Parsing and evaluation of IFC expressions",

@@ -5,0 +5,0 @@ "main": "dist/cjs/IfcExpression.js",

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 not supported yet

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