{"id":18867765,"url":"https://github.com/seancodes/ember-file-upload-bug-demo","last_synced_at":"2026-07-19T00:36:33.998Z","repository":{"id":165700597,"uuid":"641110398","full_name":"seanCodes/ember-file-upload-bug-demo","owner":"seanCodes","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-15T19:56:44.000Z","size":198,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T02:59:02.462Z","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/seanCodes.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":"2023-05-15T19:56:26.000Z","updated_at":"2023-05-15T19:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"59336da7-c891-418a-acb1-593ca6aaa7a7","html_url":"https://github.com/seanCodes/ember-file-upload-bug-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seanCodes/ember-file-upload-bug-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanCodes%2Fember-file-upload-bug-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanCodes%2Fember-file-upload-bug-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanCodes%2Fember-file-upload-bug-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanCodes%2Fember-file-upload-bug-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanCodes","download_url":"https://codeload.github.com/seanCodes/ember-file-upload-bug-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanCodes%2Fember-file-upload-bug-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35636543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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-11-08T05:11:05.017Z","updated_at":"2026-07-19T00:36:33.675Z","avatar_url":"https://github.com/seanCodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bug Demo for ember-file-upload\n\nThis is a demo repo for the issue [adopted-ember-addons/ember-file-upload#929](https://github.com/adopted-ember-addons/ember-file-upload/issues/929).\n\n### Reproduction\n\n1. `npm install`\n2. `ember serve`\n3. Navigate to http://localhost:4200/ or http://localhost:4200/tests/\n\nError:\n\n```\nUncaught Error: Could not find module `miragejs` imported from `ember-file-upload`\n```\n\nSee `controllers/application.js` for the code causing the issue:\n\n```js\nimport Controller from '@ember/controller'\nimport { action } from '@ember/object'\nimport { UploadFile } from 'ember-file-upload'\n\nexport default class ApplicationController extends Controller {\n  @action\n  foo() {\n    const file = new File(['foo'], 'foo.txt', { type: 'text/plain' })\n\n    console.log(new UploadFile(file))\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseancodes%2Fember-file-upload-bug-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseancodes%2Fember-file-upload-bug-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseancodes%2Fember-file-upload-bug-demo/lists"}