You made a big change but only bumped minor version, so our project that relies on this library stopped working by itself because it updated library.
As a workaround, we forced older version using package.json
/app/node_modules/react-scrolllock/dist/PropertyToggle.js:25
var defaultTarget = document.body;
^
ReferenceError: document is not defined
at Object.<anonymous> (/app/node_modules/react-scrolllock/dist/PropertyToggle.js:25:21)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/node_modules/react-scrolllock/dist/ScrollLock.js:17:23)
at Module._compile (module.js:660:30)
error: Forever detected script exited with code: 1
You made a big change but only bumped minor version, so our project that relies on this library stopped working by itself because it updated library. As a workaround, we forced older version using package.json