{"id":42181,"library":"ui5-middleware-iasync","title":"ui5-middleware-iasync","description":"A UI5 CLI middleware that syncs browser interactions across multiple instances to ease manual testing. Current stable version is 3.0.0-alpha.10, released as an alpha with active community maintenance. It uses BrowserSync under the hood to transmit UI interactions via a WebSocket pool, and injects custom HTML to override UI5 control event handlers (e.g., Button click becomes tap). Requires @ui5/cli@3.0.0+ and specVersion \"3.0\". Key differentiators: browser interaction synchronization for UI5 apps, configurable port/debug/logging, and SSL support via https option.","status":"active","version":"3.0.0-alpha.10","language":"javascript","source_language":"en","source_url":"https://github.com/ui5-community/ui5-ecosystem-showcase","tags":["javascript"],"install":[{"cmd":"npm install ui5-middleware-iasync","lang":"bash","label":"npm"},{"cmd":"yarn add ui5-middleware-iasync","lang":"bash","label":"yarn"},{"cmd":"pnpm add ui5-middleware-iasync","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency: requires UI5 CLI V3 with specVersion \"3.0\"","package":"@ui5/cli","optional":false}],"imports":[{"note":"This is a UI5 middleware extension, not a library. It is loaded by the UI5 server via YAML configuration.","wrong":"Attempting to import like a library: import iasync from 'ui5-middleware-iasync'","symbol":"ui5-middleware-iasync","correct":"// No code import needed; configured in ui5.yaml under customMiddleware"}],"quickstart":{"code":"// Install the middleware\nnpm install ui5-middleware-iasync --save-dev\n\n// In ui5.yaml:\n// server:\n//   customMiddleware:\n//   - name: ui5-middleware-iasync\n//     beforeMiddleware: serveResources\n//     configuration:\n//       https: false\n//       debug: false\n//       logConnections: true\n//       port: 4711\n\n// Then run: ui5 serve","lang":"javascript","description":"Shows how to install and configure the middleware in a UI5 project's ui5.yaml. The middleware syncs interactions across browsers."},"warnings":[{"fix":"Upgrade UI5 CLI to v3 and set specVersion: \"3.0\" in your ui5.yaml.","message":"Middleware v3 requires @ui5/cli@3.0.0+ and specVersion \"3.0\". Older UI5 CLI versions are incompatible.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Only use for manual testing; avoid relying on this middleware in production or critical testing scenarios.","message":"Due to manipulation of UI5 controls (e.g., Button click overwritten with tap), interactions may behave unexpectedly.","severity":"gotcha","affected_versions":"all"},{"fix":"Pin to a specific version and watch for breaking changes in future releases.","message":"Version 3.x is currently alpha. API may change before stable release.","severity":"deprecated","affected_versions":"3.0.0-alpha.*"}],"env_vars":null,"search_vec":"'3.0':68 '3.0.0':24,65 'across':13 'activ':31 'alpha':29 'alpha.10':25 'app':76 'becom':61 'browser':11,71 'browsersync':36 'button':59 'cli':7 'click':60 'communiti':32 'configur':77 'control':55 'current':20 'custom':50 'differenti':70 'e.g':58 'eas':17 'event':56 'handler':57 'hood':39 'html':51 'https':83 'iasync':4 'inject':49 'instanc':15 'interact':12,43,72 'javascript':85 'key':69 'mainten':33 'manual':18 'middlewar':3,8 'multipl':14 'option':84 'overrid':53 'pool':47 'port/debug/logging':78 'releas':26 'requir':63 'specvers':67 'ssl':80 'stabl':21 'support':81 'sync':10 'synchron':73 'tap':62 'test':19 'transmit':41 'ui':42 'ui5':2,6,54,75 'ui5-middleware-iasync':1 'ui5/cli':64 'use':35 'version':22 'via':44,82 'websocket':46","created_at":"2026-06-04T18:56:01.138400+00:00","updated_at":"2026-06-04T18:56:01.138400+00:00","problems":[{"fix":"Run `npm install ui5-middleware-iasync --save-dev`.","cause":"Middleware not installed as devDependency or missing from node_modules.","error":"Error: Cannot find module 'ui5-middleware-iasync'"},{"fix":"Ensure 'serveResources' is available or adjust the beforeMiddleware value in ui5.yaml.","cause":"The middleware's 'beforeMiddleware' references a non-existent middleware, often due to incorrect UI5 configuration.","error":"Middleware ui5-middleware-iasync: beforeMiddleware not found: serveResources"},{"fix":"Set port to an integer in the configuration: e.g., port: 4711","cause":"Port value provided as string or omitted causing type error.","error":"Invalid configuration: port must be a number"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-iasync#readme","github":"https://github.com/ui5-community/ui5-ecosystem-showcase","docs":null,"changelog":null,"pypi":null,"npm":"ui5-middleware-iasync","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}