{"id":16822704,"url":"https://github.com/strml/flow-bluebird","last_synced_at":"2026-07-15T04:31:06.184Z","repository":{"id":65991068,"uuid":"47778880","full_name":"STRML/flow-bluebird","owner":"STRML","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-22T14:39:52.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-31T03:44:23.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/STRML.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-10T18:06:28.000Z","updated_at":"2015-12-10T18:32:15.000Z","dependencies_parsed_at":"2023-02-19T21:51:06.984Z","dependency_job_id":null,"html_url":"https://github.com/STRML/flow-bluebird","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/STRML/flow-bluebird","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fflow-bluebird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fflow-bluebird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fflow-bluebird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fflow-bluebird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRML","download_url":"https://codeload.github.com/STRML/flow-bluebird/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fflow-bluebird/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272982771,"owners_count":25025984,"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-08-31T02:00:09.071Z","response_time":79,"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-10-13T11:05:31.088Z","updated_at":"2025-10-20T02:17:38.160Z","avatar_url":"https://github.com/STRML.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flow-bluebird\n\nAttempting to override builtin Promise with Bluebird and make async/await work.\n\n[Was not successful](https://github.com/facebook/flow/issues/1171) with the `declare` syntax, so I'm\nredirecting requires to a `util/bluebird.js` module that defines the class' interface.\n\nOutput is:\n\n```\n$ flow\ntest.js:6\n  6:   let output = await doubleAsync(a);\n                    ^^^^^^^^^^^^^^^^^^^^ await\n  7:   return output / 2;\n              ^^^^^^ Promise. This type is incompatible with\n  7:   return output / 2;\n              ^^^^^^^^^^ number\n\ntest.js:17\n 17:   return result[0] / 2;\n              ^^^^^^^^^ access of computed property/element. Indexable signature not found in\n 17:   return result[0] / 2;\n              ^^^^^^ Promise\n\ntest.js:21\n 21:   return await Promise.doesntExist(doubleAsync(a));\n                      ^^^^^^^^^^^ property `doesntExist`. Property not found in\n704: export default Promise;\n                    ^^^^^^^ statics of Promise. See: util/bluebird.js:704\n\n\nFound 3 errors\n```\n\nWould expect no errors on line 6 and 17, error on 21 is expected and indicative that the bluebird\ndefinition is being properly read.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrml%2Fflow-bluebird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrml%2Fflow-bluebird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrml%2Fflow-bluebird/lists"}