{"id":15362898,"url":"https://github.com/ngot/circular_reference","last_synced_at":"2026-04-19T07:31:20.414Z","repository":{"id":73524149,"uuid":"119819060","full_name":"ngot/circular_reference","owner":"ngot","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-03T10:40:48.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T15:50:48.917Z","etag":null,"topics":["circularreference","fibjs","js","nodejs"],"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/ngot.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-01T10:15:33.000Z","updated_at":"2018-02-01T10:22:50.000Z","dependencies_parsed_at":"2024-08-01T17:04:01.707Z","dependency_job_id":null,"html_url":"https://github.com/ngot/circular_reference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ngot/circular_reference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngot%2Fcircular_reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngot%2Fcircular_reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngot%2Fcircular_reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngot%2Fcircular_reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngot","download_url":"https://codeload.github.com/ngot/circular_reference/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngot%2Fcircular_reference/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31998792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["circularreference","fibjs","js","nodejs"],"created_at":"2024-10-01T13:04:11.007Z","updated_at":"2026-04-19T07:31:20.396Z","avatar_url":"https://github.com/ngot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Circular Reference\n\nCircular reference in Node.js and Fibjs.\n\n## Node.js\n\nJust a note here. 🤣🤣🤣\n\nnode a.js\n\n```shell\na1\nb1\na is: {}\nb2\nb is: bbb\na2\n```\n\n## Fibjs\n\nIt is different in fibjs.\n\nLet's have a look at the log:\n\nfibjs a.js\n\n```shell\na1\nb1\na1\nb is: {}\na2\na is: aaa\nb2\nb is: bbb\na2\n```\n\nIt's because fibjs has the `run` mechanism which is different from Node.js.Fibjs won't cache the run entry file.\n\nIf you use `c.js` to bootstrap the program, the behavior will be the same.\n\nfibjs c.js\n\n```shell\na1\nb1\na is: {}\nb2\nb is: bbb\na2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngot%2Fcircular_reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngot%2Fcircular_reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngot%2Fcircular_reference/lists"}