valor-software/ng2-file-upload

Angular 13 Support

chipallen2 opened this issue · 3 comments

Are there plans to publish a build for Angular 13 with Ivy enabled?

I ask because I have trouble running Jest unit tests requiring this package after the Angular 13 upgrade.

Error is:

Importing FileUploadModule which does not have a ɵmod property

      42 |         }).compileComponents();
      43 |
    > 44 |         fixture = TestBed.createComponent(MyComponentUsingNg2FileUpload);
         |                           ^
      45 |         component = fixture.componentInstance;
      46 |         fixture.detectChanges();
      47 |     });

      at ../node_modules/@angular/core/fesm2015/core.mjs:24027:19
          at Array.forEach (<anonymous>)
      at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24024:32)
      at ../node_modules/@angular/core/fesm2015/core.mjs:24054:35
          at Array.forEach (<anonymous>)
      at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24047:32)
      at setScopeOnDeclaredComponents (../node_modules/@angular/core/fesm2015/core.mjs:23966:30)
      at flushModuleScopingQueueAsMuchAsPossible (../node_modules/@angular/core/fesm2015/core.mjs:23652:21)
      at Function.get (../node_modules/@angular/core/fesm2015/core.mjs:24185:21)
      at TestBedRender3.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1756:35)
      at Function.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1616:37)

Yes please!

I fixed it here: #1201
If you have a private npm source you can simply take it and publish it as well, that's what we did.

Enjoy!

I fixed it here: #1201 If you have a private npm source you can simply take it and publish it as well, that's what we did.

Enjoy!

Is it possible to make this version downloadable from npm officially?

I would appreciate this really.