I had to migrate to a different development environment over the weekend, and while setting up again my local librejs repo, reinstalling all the npm dependencies, I noticed the bundle didn't compile anymore. After a bit of hair pulling, I realized Acorn had a major update and our dependency has been split in 3 separate modules ("acorn", "acorn-loose" and "walk"). Also, the parse_dammit() method we relied upon has been replaced by require("acorn-loose").parse().
So, before going on with the contact finder / complain to owner overhaul, I had to fix quite a few places to let LibreJS keep compiling against up-to-date dependencies.
Since I'm still frantically working on the feature branch, could someone (quidam?) play with this patch to be sure it doesn't cause any major regression?
Thanks!
I had to migrate to a different development environment over the weekend, and while setting up again my local librejs repo, reinstalling all the npm dependencies, I noticed the bundle didn't compile anymore. After a bit of hair pulling, I realized Acorn had a major update and our dependency has been split in 3 separate modules ("acorn", "acorn-loose" and "walk"). Also, the parse_dammit() method we relied upon has been replaced by require("acorn-loose").parse().
So, before going on with the contact finder / complain to owner overhaul, I had to fix quite a few places to let LibreJS keep compiling against up-to-date dependencies.
Since I'm still frantically working on the feature branch, could someone (quidam?) play with this patch to be sure it doesn't cause any major regression?
Thanks!