{"id":19168774,"url":"https://github.com/tradingview/retry-ensure-webpack-plugin","last_synced_at":"2025-05-07T14:43:02.037Z","repository":{"id":39887136,"uuid":"159486917","full_name":"tradingview/retry-ensure-webpack-plugin","owner":"tradingview","description":"Webpack plugin for retrying async chunk loading","archived":false,"fork":false,"pushed_at":"2023-04-07T00:42:37.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T23:32:01.003Z","etag":null,"topics":["chunk","loading","retry","webpack","webpack4"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tradingview.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-28T10:50:11.000Z","updated_at":"2024-01-25T02:35:06.000Z","dependencies_parsed_at":"2024-11-09T09:43:53.688Z","dependency_job_id":"495c626c-876a-46dc-a018-4ca3773272f8","html_url":"https://github.com/tradingview/retry-ensure-webpack-plugin","commit_stats":null,"previous_names":["subzey/retry-ensure-webpack-plugin"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradingview%2Fretry-ensure-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradingview%2Fretry-ensure-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradingview%2Fretry-ensure-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradingview%2Fretry-ensure-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tradingview","download_url":"https://codeload.github.com/tradingview/retry-ensure-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252862257,"owners_count":21815826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chunk","loading","retry","webpack","webpack4"],"created_at":"2024-11-09T09:43:47.215Z","updated_at":"2025-05-07T14:43:01.990Z","avatar_url":"https://github.com/tradingview.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Webpack plugin for retrying async chunk loading.\n\nRetries internal `__webpack__require__.e /* nsure */` function call on promise rejections.\n\nCompatible with Webpack 4 and 5.\n\n## Usage\n\n```js\nconst RetryEnsureWebpackPlugin = require('retry-ensure-webpack-plugin').RetryEnsureWebpackPlugin;\n/* ... */\nplugins.push(new RetryEnsureWebpackPlugin(options));\n```\n\n## Options\n\nAn optional parameter, object with properties.\n\n### `max` (`number`)\n\nThe max amount of retries. After that, Promise rejection is not handled by this plugin.\n\n_Note:_ This option is \"max retries\", not \"max requests\". In the worst case there would be `1 + max` requests total.\n\nIf `max` equals `0`, this plugin is turned off entirely.\n\n`Infinity` is a valid value, if you want to retry until the end of time.\n\nDefault: `3`.\n\n### `delay` (`number | string`)\n\n- `number`: Amount of milliseconds between retries, constant value.\n\n- `string`: Expression that returns a numeric value. A variable `retriedTimes` can be used for exponential (or whatever you like) backoff. `retriedTimes` equals `0` at the first retry attempt.\n\n*Note that this expression is not validated in any way. It's just plugged into your generated code.*\n\nDefault: `'retriedTimes * retriedTimes * 1000'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradingview%2Fretry-ensure-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftradingview%2Fretry-ensure-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradingview%2Fretry-ensure-webpack-plugin/lists"}