Update npm packages and resolve breaking changes from packages#2175
Conversation
|
we don't open support issues anyhow so that isn't much of an issue.. are there any platform issues with Electron 10? |
@sdetweil |
|
I'm always for bumping the dependencies. But it is a huge risk. Did any of you try it on a Pi as well? |
|
I can try it out on my pi4. give me a day or two :-) |
|
I won't be able to for another week..out if town |
|
Runs fine on my PI4. I took the liberty to merge the current develop branch and also update all other packages again. Mabe you should do that too @jakemulley so that the merge conflicts go away. |
|
@rejas That's done for you 👍🏼 However, I've reverted |
|
i think in the newest develop there is a fix for that so 0.12.3 should run fine when you merged it. Isnt that right @sdetweil ? |
|
12.3 is required for the latest fixes. I didn't see any test errors with the updated fix pr |
|
Hi, i had a problem with my MMM-SynologySurveillanceModule which had been caused of (as it looks like) the old electron version. Although the DOM object contained img nodes with valid mjpeg streams they had not been displayed randomly. |
|
Sounds good @Tom-Hirschberger So only thing left for @jakemulley is to bump the node-ical dependency back again to ^0.12.3 |
|
Thanks @rejas, @sdetweil and @Tom-Hirschberger for doing some further testing and letting me know that using node-ical 0.12.3 is OK to use 👍🏼 I've updated the packages again, it's up to date with develop, and here are the final versions:
Am happy to rebase this into a single commit PR if needs be - if you need anything else from me, feel free to let me know. |
|
Let's see how this goes ... :) |
|
ok, this may whack other users getting calendar fixes |
|
We have 1,5 month to iron things out. We can always roll back some dependency bumps. |
|
tested my docker image with new develop branch on RPi3B, no problems so far. |
👋🏼 Awesome project here! I was playing around with it and thought I'd update some of the packages to say thanks for building and maintaining this 👍🏼
This PR updates the following packages:
3.1.3→10.5.06.1.7→8.0.07.9.0→7.11.06.11.0→6.14.030.5.1→30.7.33.23.3→4.1.111.6.2→16.4.07.1.2→8.2.01.0.6→1.0.72.28.0→2.29.10.12.0→0.12.23.0.2→3.1.01.85.0→2.21.08.0.0→10.0.013.7.1→13.7.2Quick note on Electron and Spectron
I have purposely not upgraded Electron to version 10, or Spectron to version 12, as they contain breaking changes that require a bigger rewrite of some blocks of code which deserve their own PR. Electron 6 is also out of support since May 2020.
Resolved breaking changes
helmetintroducedhelmet.contentSecurityPolicyin version 4, which I've turned off in the server setup to mimic its behaviour from version 3http-authno longer supportsexpressas of version 4, so I've switched that to use express-basic-auth insteadjsdomrequires specifying external file sources with their correct protocol,file://, from version 12, so I've added that into the respective tests where requiredNode versions
electron 7dropped support for <= Node 8helmet 4dropped support for <= Node 10jsdom 16dropped support for <= Node 10mocha 8dropped support for <= Node 10