{"library":"infinite-loop-loader","type":"library","category":null,"description":"A webpack loader that transforms infinite loops (e.g., `while(true)`) by injecting an iteration counter and a throw statement when the limit is exceeded. Version 1.0.9 is the latest stable release. It is part of the OpenComponents ecosystem but can be used standalone. The loader uses falafel/acorn to parse and transform JavaScript. Unlike manual linting or AST-based approaches, this provides a runtime safeguard for accidental infinite loops in webpack-bundled code. It supports configuration of the iteration limit and Acorn parser options. The package ships TypeScript definitions.","language":"javascript","status":"active","version":"1.0.9","tags":["javascript","oc","opencomponents","webpack","loader","inifinite-loop","webpackloader","transform","typescript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install infinite-loop-loader","imports":[]},{"cmd":"yarn add infinite-loop-loader","imports":[]},{"cmd":"pnpm add infinite-loop-loader","imports":[]}],"homepage":null,"github":"https://github.com/opencomponents/base-templates","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/infinite-loop-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}