Giter Club home page Giter Club logo

Comments (4)

igorpavlov-zz avatar igorpavlov-zz commented on August 16, 2024

Update: I have changed "options =" to "var options =" (line 233) and "req =" to "var req =" (line 244) and it now works perfectly.

from opentok-node.

TomV avatar TomV commented on August 16, 2024

If this is resolved, then you can close the issue, right?

from opentok-node.

igorpavlov-zz avatar igorpavlov-zz commented on August 16, 2024

I do not know if this is resolved or not, I haven't updated Opentok api. Opentok developers should not make any variables global in their modules. If this is resolved, there should be an answer from them. However, here is absolutely no answer for 4 months.

from opentok-node.

aoberoi avatar aoberoi commented on August 16, 2024

@igorpavlov sorry about the silence regarding the issue. i can admit we have room for improvement in terms of monitoring external feedback on these SDKs. thanks for taking the time to try and help improve it with your feedback.

in this particular instance i don't see any issues with the code (the changes you suggested are now in the repo). but even before then, i'm not sure there would have been any issue. even if options and req were not defined with var, that should at most be visible in the current file opentok.js. you shouldn't be writing any additional code in that file, only including it using npm and require('opentok'). so it would be impossible for these variables to leak to your express app.

from opentok-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.