Code Monkey home page Code Monkey logo

remotedev's People

Contributors

chnbohwr avatar jhen0409 avatar npmcdn-to-unpkg-bot avatar zalmoxisus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

remotedev's Issues

Package update?

This package uses very obsolete version of socketcluster-client which is incompatible with new socketcluster-server. There is a problem with protocol version.
Will this package be updated any soon?

Feature request: ability to supply custom serializer

With fable-compiler/fable-elmish/#18 adding a basic support for time-traveling debugging, I think I'll see reports of serialization problems from people trying to use it. The issue is F# adds certain features to the plain JS objects that don't survive the state roundtrip.
I'm mitigating the issue to a degree with an internal/provisional Fable features, but it would be really nice to just be able to do my own serialization.
Thank you!

Using remotedev to connect with electron redux tools

I have a dependency that uses remotedev to connect to the redux store.

https://github.com/mobxjs/mobx-state-tree/blob/1b8614a454c9af2acbf06cb7a8d470c95a1d0e96/packages/mst-middlewares/src/redux.ts#L56

In the web everything is fine and that connects to the chrome extension, however in an electron app that installs the redux extensions using electron-devtools-installer, the electron redux tab says

No store found. Most likely you did not allow access to file URLs. See details.

Am I doing something wrong or does remotedev just not support this use case?

unsubscribe in connect() is broken - handles instanceId incorrectly

Hi, first of all, thanks for this handy module! I've managed to get it working with Ionic 2 and @ngrx/store (via @ngrx/store-devtools) for on-device remote debugging via a custom wrapper, and the inspector is working nicely!

The only minor issue I'm running into with remotedev is the way unsubscribe() is handled in the connect() function. It mistakenly assumes that the instanceId is an array index instead of the configured value in the connect options. Therefore, it never actually unsubscribes anything when it's called. (I see your chrome extension code handles this fine and just needs to be ported over here.)

Coincidentally, there's also a complementary bug that kind of neutralizes the problem in @ngrx/store-devtools, where they're calling unsubscribe() immediately upon subscription in their Observable wrapper instead of returning a lambda to call it (I'll be creating an issue over there soon as well). So this bug is temporarily allowing update actions to still be received by ngrx even though it's being called immediately after subscribe() lol. Unfortunately, it doesn't actually handle them correctly for time travel to work, but that's another issue to hopefully be resolved soon on their end.

Should changes.state be parsed?

Hi, as I mentioned in the previous issue #4 I just created, I created a custom proxy for using remotedev with @ngrx/store via @ngrx/store-devtools.

I'm not a React/Redux expert and am unsure of what the expected format is, but I noticed that changes.state is a JSON string instead of an object in the subscribe callback. Currently, in my attempt to get time-travel debugging working, I'm calling changes.state = JSON.parse(changes.state) in my wrapper before passing it to the ngrx store devtools. Is this a bug in remotedev, or should the store devtools be parsing it on their end?

Thanks in advance!

Differently Encoded State Sent to Program from Chrome App (not Chrome DevTools extension)

I'm trying to figure out why the Chrome app always sends back a string of JSON (return value from extractState) whereas the remote.io/local web app returns a decoded plain JS object.

I can see in the message from the remotedev server (running locally) that the state is JSON but has been re-encoded as a JSON string when using the Chrome app. When using remotedev.io/local I can see that it's a JSON object.

I can't try it out in the Chrome Tool (RemoteDev DevTools) because that doesn't display correctly and claims all states are equal.

All this testing was done with the same server (npm remotedev-server), same program connecting to the server, but with different viewing applications.

Upgrade socketcluster-client please

npm audit

                       === npm audit security report ===

┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Denial of Service                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ ws                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >= 1.1.5 <2.0.0 || >=3.3.1                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ remotedev                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ remotedev > socketcluster-client > ws                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/550                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 high severity vulnerability in 14375 scanned packages
  1 vulnerability requires manual review. See the full report for details.

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.