Laukik
Laukik
I know i am commenting on a old post but i am still facing this issue and i fear the above workaround will not work. I dont have any ajax/fetch...
> you get the sessionID and sign the cookie youtself. After that, send connect.sid in the headers then save it yourself on the client I may not have understood this,...
@HarshithaKP Nope i didnt try it, it was too much of a workaround for single browser
@HarshithaKP I don't have the code now this project is shelved, in total what i understand is for "Safari" due to enhanced security doesn't send cookies when requesting for scripts...
Is there a way around this since "new" keyword is like default with ES6 can it support stubs themselves with objects.. EG: `const returnStub = sinon.stub(); const stub = sinon.stub().returns(returnStub);...
Sorry i wrote in jiffy, I was trying to do following ```javascript const instanceStub = sinon.stub(); const type = sinon.stub(); type.returns(instanceStub); const instance = new type(); console.log(instance); //prints proxy function,...
Corrected code, ohh i saw the date now 🙂
@luin Do you think just adding .cjs in the extension will help as Node moves ahead every version ? else loading the module in newer versions is becoming impossible...
To load ioredis into new mjs modules... since most new application will be written in ESM modules now we can explicitly mention its of type esm or cjs with extension...
I think this needs to be fixed so that tree shaking can be done to only use functions that are required..