{"id":21307378,"url":"https://github.com/jdegand/angular-polyfill","last_synced_at":"2026-05-14T22:42:10.961Z","repository":{"id":244120833,"uuid":"813930714","full_name":"jdegand/angular-polyfill","owner":"jdegand","description":"Angular Polyfill implementation and Cypress Test","archived":false,"fork":false,"pushed_at":"2024-06-13T03:15:22.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T21:41:03.239Z","etag":null,"topics":["angular","cypress"],"latest_commit_sha":null,"homepage":"","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/jdegand.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":"2024-06-12T02:44:49.000Z","updated_at":"2024-06-13T03:15:25.000Z","dependencies_parsed_at":"2024-11-21T16:48:00.303Z","dependency_job_id":null,"html_url":"https://github.com/jdegand/angular-polyfill","commit_stats":null,"previous_names":["jdegand/angular-polyfill"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdegand/angular-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdegand","download_url":"https://codeload.github.com/jdegand/angular-polyfill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-polyfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33046240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["angular","cypress"],"created_at":"2024-11-21T16:31:40.359Z","updated_at":"2026-05-14T22:42:10.933Z","avatar_url":"https://github.com/jdegand.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Polyfill\n\n## Built With\n\n- [Angular](https://angular.dev)\n- [Angular CLI](https://github.com/angular/angular-cli) version 18.0.2.\n- [Cypress](https://www.cypress.io)\n\n## Thoughts\n\n- It is easy to create a polyfill for Angular.\n- There are plenty of resources to find polyfills that you can copy and paste.\n- It is important to verify that the polyfill is actually being used.  I added a `console.log` to see if the polyfill was being used.  I also checked for the polyfill file in the bundle.\n- I used the new `Object.groupBy` method for my polyfill subject.  \n- This method is really not great for Angular, as such a structure can be hard to iterate over in an Angular template.  You cannot use `Object.keys()`, and nested `keyvalue` pipes can be difficult to implement.\n\n## Continued Development\n\n- Cypress `13.11` works with Angular 18, but there are some glitches.  \n\n## Useful Resources\n\n- [Cypress Docs](https://docs.cypress.io/guides/component-testing/angular/overview) - angular overview\n- [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy#browser_compatibility) - Object.groupBy\n- [Telerik](https://www.telerik.com/blogs/sorting-filtering-grouping-aggregating-data-angular) - sorting filtering grouping aggregating data angular\n- [Medium](https://itnext.io/how-to-build-an-angular-polyfill-0d1d4ddc9aea) - how to build an angular polyfill\n- [Medium](https://frontendinterviewquestions.medium.com/what-is-the-use-of-polyfills-in-angular-02b258ad1c5c) - what is the use of polyfills in angular\n- [Blog](https://glebbahmutov.com/blog/test-polyfills/) - test polyfills with cypress\n- [Gist](https://gist.github.com/gtrabanco/7c97bd41aa74af974fa935bfb5044b6e) - Object.groupby polyfill\n- [Github](https://github.com/es-shims/Object.groupBy) - es-shims/Object.groupBy\n- [Github](https://github.com/microsoft/TypeScript/pull/56805) - TypeScript pull #56805\n- [Stack Overflow](https://stackoverflow.com/questions/77663053/how-to-enable-object-groupby-in-typescript-and-node-js) - how to enable object groupby in typescript and node js\n- [YouTube](https://www.youtube.com/watch?v=DLRi9pEnqPI) - Native Html Dialog With Polyfill in Angular Tutorial\n- [Blog](https://filiphric.com/reading-and-testing-json-object-in-cypress) - reading and testing json object in cypress\n- [Stack Overflow](https://stackoverflow.com/questions/74579858/uncaught-referenceerror-global-is-not-defined-in-angular) - uncausght reference error global is not defined in angular\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fangular-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdegand%2Fangular-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fangular-polyfill/lists"}