Is there any possibility to install node packages (no matter by npm or yarn) and their dependencies released before some date? It looks that it's technically possible, because all versions have the corresponding date release, but I don't see any specific way to do it.
Sometimes, it's impossible to get the set of packages that correspond to the release date requirement. In this case it's okay to get the earliest version that we can to get.
That's exactly what
beforedirective does in npm.https://docs.npmjs.com/cli/v8/using-npm/config#before
Just create file .npmrc in the root folder of your project, and put the directive there
check if it's working using
npm config listcommand.After it
npm installwill use only versions released before this date.