{"id":18432259,"url":"https://github.com/naturalclar/react-native-swipe-list","last_synced_at":"2025-10-15T17:40:23.748Z","repository":{"id":41719801,"uuid":"239287995","full_name":"Naturalclar/react-native-swipe-list","owner":"Naturalclar","description":"Swipeable FlatList Component for react-native","archived":false,"fork":false,"pushed_at":"2023-01-27T04:36:13.000Z","size":1354,"stargazers_count":35,"open_issues_count":15,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-16T18:59:54.409Z","etag":null,"topics":["flatlist","listview","react-native","swipeable"],"latest_commit_sha":null,"homepage":"","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/Naturalclar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-09T10:50:32.000Z","updated_at":"2025-02-18T20:26:33.000Z","dependencies_parsed_at":"2023-02-03T16:30:29.143Z","dependency_job_id":null,"html_url":"https://github.com/Naturalclar/react-native-swipe-list","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Naturalclar/react-native-swipe-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-swipe-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-swipe-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-swipe-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-swipe-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naturalclar","download_url":"https://codeload.github.com/Naturalclar/react-native-swipe-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-swipe-list/sbom","scorecard":{"id":99388,"data":{"date":"2025-08-11","repo":{"name":"github.com/Naturalclar/react-native-swipe-list","commit":"ade00f0827878ddf0f4c82eeee0c9dc32535ab5d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":6,"reason":"Found 5/8 approved changesets -- score normalized to 6","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/workflow.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/Naturalclar/react-native-swipe-list/workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/Naturalclar/react-native-swipe-list/workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/Naturalclar/react-native-swipe-list/workflow.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"40 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-7gc6-qh9x-w6h8","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-f5x2-xv93-4p23","Warn: Project is vulnerable to: GHSA-gmpm-xp43-f7g6","Warn: Project is vulnerable to: GHSA-pf27-929j-9pmm","Warn: Project is vulnerable to: GHSA-327c-qx3v-h673","Warn: Project is vulnerable to: GHSA-x4cf-6jr3-3qvp","Warn: Project is vulnerable to: GHSA-mph8-6787-r8hw","Warn: Project is vulnerable to: GHSA-7mhc-prgv-r3q4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-v8v8-6859-qxm4","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","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-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-7f53-fmmv-mfjv","Warn: Project is vulnerable to: GHSA-2j79-8pqc-r7x6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-15T09:48:59.093Z","repository_id":41719801,"created_at":"2025-08-15T09:48:59.093Z","updated_at":"2025-08-15T09:48:59.093Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279096727,"owners_count":26102640,"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-15T02:00:07.814Z","response_time":56,"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":["flatlist","listview","react-native","swipeable"],"created_at":"2024-11-06T05:28:02.960Z","updated_at":"2025-10-15T17:40:23.701Z","avatar_url":"https://github.com/Naturalclar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-swipe-list\n\n[![Build Status][build-badge]][build]\n[![Version][version-badge]][package]\n![Supports iOS and Android][support-badge]\n[![MIT License][license-badge]][license]\n\nAn FlatList Component that is swipeable.\n\nThis was originally a fork of an experimental component `SwipeableFlatList` which was removed from the react-native core.\n\n![Demo](https://user-images.githubusercontent.com/6936373/74122473-b188b100-4c0e-11ea-9d11-953c822a911f.gif)\n\n## Install\n\nIn order to use this package, you will also need to install `react-native-gesture-handler` to your project.\n\n```\nyarn add react-native-swipe-list react-native-gesture-handler\n```\n\n## Usage\n\n```tsx\nimport React, { useState } from 'react';\nimport { LayoutAnimation, SafeAreaView, StyleSheet } from 'react-native';\nimport {\n  SwipeableFlatList,\n  SwipeableQuickActionButton,\n  SwipeableQuickActions,\n} from 'react-native-swipe-list';\nimport { ListItem } from './ListItem';\nconst styles = StyleSheet.create({\n  container: { flex: 1 },\n});\n\nconst initialData = [...Array(30)].map((_, index) =\u003e ({\n  id: index,\n  text: `Item ${index}`,\n}));\n\nexport const TestModule = () =\u003e {\n  const [data, setData] = useState(initialData);\n\n  return (\n    \u003cSafeAreaView style={styles.container}\u003e\n      \u003cSwipeableFlatList\n        data={data}\n        renderItem={({ item }) =\u003e \u003cListItem {...item} /\u003e}\n        keyExtractor={index =\u003e index.id}\n        renderLeftActions={({ item }) =\u003e (\n          \u003cSwipeableQuickActions\u003e\n            \u003cSwipeableQuickActionButton\n              onPress={() =\u003e {\n                LayoutAnimation.configureNext(\n                  LayoutAnimation.Presets.easeInEaseOut,\n                );\n                setData(data.filter(value =\u003e value !== item.album));\n              }}\n              text=\"delete\"\n              textStyle={{ fontWeight: 'bold', color: 'white' }}\n            /\u003e\n          \u003c/SwipeableQuickActions\u003e\n        )}\n        renderRightActions={({ item }) =\u003e (\n          \u003cSwipeableQuickActions\u003e\n            \u003cSwipeableQuickActionButton onPress={() =\u003e {}} text=\"Other\" /\u003e\n            \u003cSwipeableQuickActionButton onPress={() =\u003e {}} text=\"Flag\" /\u003e\n            \u003cSwipeableQuickActionButton onPress={() =\u003e {}} text=\"Archive\" /\u003e\n          \u003c/SwipeableQuickActions\u003e\n        )}\n      /\u003e\n    \u003c/SafeAreaView\u003e\n  );\n};\n```\n\n# Reference\n\n## Props\n\n`SwipeableFlatList` takes in `FlatListProps` as well as the following props:\n\n### `renderLeftActions`\n\nViews to be displayed when user swipes the item from the left side.\n\n| Type                                          | Required |\n| --------------------------------------------- | -------- |\n| (info: ListRenderItemInfo) =\u003e React.ReactNode | No       |\n\n---\n\n### `renderRightActions`\n\nViews to be displayed when user swipes the item from the right side.\n\n| Type                                          | Required |\n| --------------------------------------------- | -------- |\n| (info: ListRenderItemInfo) =\u003e React.ReactNode | No       |\n\n---\n\n### `closeOnScroll`\n\nWhen `true`, swiped view will close when user scrolls.\nDefault is `true`\n\n| Type    | Required |\n| ------- | -------- |\n| boolean | No       |\n\n## License\n\nThe library is released under the MIT license. For more information see [`LICENSE`](/LICENSE).\n\n[build-badge]: https://img.shields.io/github/workflow/status/Naturalclar/react-native-swipe-list/Main%20workflow?style=flat-square\n[build]: https://github.com/Naturalclar/react-native-swipe-list/actions\n[version-badge]: https://img.shields.io/npm/v/react-native-swipe-list.svg?style=flat-square\n[package]: https://www.npmjs.com/package/react-native-swipe-list\n[support-badge]: https://img.shields.io/badge/platforms-android%20|%20ios-lightgrey.svg?style=flat-square\n[license-badge]: https://img.shields.io/npm/l/react-native-swipe-list.svg?style=flat-square\n[license]: https://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalclar%2Freact-native-swipe-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaturalclar%2Freact-native-swipe-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalclar%2Freact-native-swipe-list/lists"}