{"id":15046212,"url":"https://github.com/biko2/typescript-fsa-redux-saga-extended","last_synced_at":"2025-10-30T20:36:54.689Z","repository":{"id":30241818,"uuid":"121246794","full_name":"biko2/typescript-fsa-redux-saga-extended","owner":"biko2","description":"TypeScript FSA utilities for redux-saga used by BIKO","archived":false,"fork":false,"pushed_at":"2022-03-15T19:35:18.000Z","size":42,"stargazers_count":7,"open_issues_count":4,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-20T01:40:18.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/biko2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-12T12:57:38.000Z","updated_at":"2019-06-28T04:40:24.000Z","dependencies_parsed_at":"2022-07-27T15:18:50.247Z","dependency_job_id":null,"html_url":"https://github.com/biko2/typescript-fsa-redux-saga-extended","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/biko2/typescript-fsa-redux-saga-extended","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ftypescript-fsa-redux-saga-extended","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ftypescript-fsa-redux-saga-extended/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ftypescript-fsa-redux-saga-extended/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ftypescript-fsa-redux-saga-extended/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biko2","download_url":"https://codeload.github.com/biko2/typescript-fsa-redux-saga-extended/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biko2%2Ftypescript-fsa-redux-saga-extended/sbom","scorecard":{"id":237868,"data":{"date":"2025-08-11","repo":{"name":"github.com/biko2/typescript-fsa-redux-saga-extended","commit":"c40b2a09853757722acdbc13222f7f6d7d2f207d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T06:05:38.309Z","repository_id":30241818,"created_at":"2025-08-17T06:05:38.309Z","updated_at":"2025-08-17T06:05:38.309Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280929569,"owners_count":26415348,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-09-24T20:52:51.806Z","updated_at":"2025-10-30T20:36:54.661Z","avatar_url":"https://github.com/biko2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [TypeScript FSA](https://github.com/biko2/typescript-fsa-redux-saga-extended) utilities for redux-saga\n\n## Installation\n\n```\nnpm install --save typescript-fsa-redux-saga-extended\n```\n\n## API\n\n### `bindAsyncAction(actionCreators: AsyncActionCreators): HigherOrderSaga`\n\nCreates higher-order-saga that wraps target saga with async actions, mainly based on [typescript-fsa-redux-saga](https://www.npmjs.com/package/typescript-fsa-redux-saga).\n\nMain differences with[typescript-fsa-redux-saga](https://www.npmjs.com/package/typescript-fsa-redux-saga):\n\n* It is designed to work with `takeLatest/takeEvery`\n* Accepts an action instead of a `{params}` object\n* Does not throw any error (which would stop all sagas)\n* Does not dispatch an `started` action. This avoids the need for a `trigger` action, because instead of having another dummy action just for triggering, you can use that `started` action as a trigger.\n* Resulting saga dispatches only `done`/`failed` upon finish.\n\n**Example:**\n\n```ts\n// actions.ts\nimport actionCreatorFactory from 'typescript-fsa';\n\nconst actionCreator = actionCreatorFactory();\n\n// specify parameters and result shapes as generic type arguments\nexport const doSomething = actionCreator.async\u003c\n  { foo: string }, // parameter type\n  { bar: number } // result type\n\u003e('DO_SOMETHING');\n\n// saga.ts\nimport { SagaIterator } from 'redux-saga';\nimport { call } from 'redux-saga/effects';\nimport { doSomething } from './actions';\n\nconst doSomethingWorker = bindAsyncAction(doSomething)(function*(\n  action,\n): SagaIterator {\n  const bar = yield call(fetchSomething, action.payload.foo);\n  return { bar };\n});\n\nfunction* watchIncrementAsync() {\n  yield takeLatest(doSomethingWorkerActionCreator.started, doSomethingWorker);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiko2%2Ftypescript-fsa-redux-saga-extended","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiko2%2Ftypescript-fsa-redux-saga-extended","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiko2%2Ftypescript-fsa-redux-saga-extended/lists"}