{"id":16898505,"url":"https://github.com/javan/mutation-observer-inner-html-shim","last_synced_at":"2025-10-28T22:19:29.706Z","repository":{"id":57305687,"uuid":"126872890","full_name":"javan/mutation-observer-inner-html-shim","owner":"javan","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-20T18:20:25.000Z","size":99,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T10:37:30.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mutation-observer-inner-html-shim","language":"JavaScript","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/javan.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":"2018-03-26T18:32:38.000Z","updated_at":"2024-06-27T23:07:23.000Z","dependencies_parsed_at":"2022-09-05T18:00:40.486Z","dependency_job_id":null,"html_url":"https://github.com/javan/mutation-observer-inner-html-shim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fmutation-observer-inner-html-shim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fmutation-observer-inner-html-shim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fmutation-observer-inner-html-shim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fmutation-observer-inner-html-shim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javan","download_url":"https://codeload.github.com/javan/mutation-observer-inner-html-shim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248418134,"owners_count":21100190,"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","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-13T17:43:47.806Z","updated_at":"2025-10-28T22:19:24.684Z","avatar_url":"https://github.com/javan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"In IE 11, nodes in `MutationRecord.removedNodes` are always empty when they're removed by setting `innerHTML`. This shim works around the issue by patching `HTMLElement.innerHTML` to remove each child node individually before setting the new value.\n\nReferences:\n* https://connect.microsoft.com/IE/feedback/details/817132/ie-11-childnodes-are-missing-from-mutationobserver-mutations-removednodes-after-setting-innerhtml\n* https://github.com/WebReflection/document-register-element/issues/101\n* https://github.com/skatejs/skatejs/issues/85\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavan%2Fmutation-observer-inner-html-shim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavan%2Fmutation-observer-inner-html-shim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavan%2Fmutation-observer-inner-html-shim/lists"}