@lcap/nasl 4.4.1-rc.7 → 4.4.1-rc.9

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.
@@ -4016,6 +4016,7 @@ class NaslServer {
4016
4016
  this.semEnv.app = rawApp;
4017
4017
  const isAIStrictMode = this.flags.isStrictMode;
4018
4018
  this.semEnv.isAIStrictMode = isAIStrictMode;
4019
+ this.semEnv.looseTypeCheck = String(rawApp.preferenceMap?.looseTypeCheck) === 'true' ? true : undefined;
4019
4020
  this.semEnv.refMgr.buildQNameDefsForApp(rawApp);
4020
4021
  this.semEnv.errorDiagnoser = nasl_language_server_core_1.checker.createErrorDiagnoser({
4021
4022
  app: rawApp,