Git Product home page Git Product logo

Comments (7)

rekmarks avatar rekmarks commented on July 3, 2024 1

@NoahZinsmeister this should be merged soon: #17

from json-rpc-engine.

NoahZinsmeister avatar NoahZinsmeister commented on July 3, 2024 1

thanks @rekmarks ! you're a champ

from json-rpc-engine.

kumavis avatar kumavis commented on July 3, 2024

browserify transforms like babelify need to be deps and not dev deps. However, im considering removing the browserify transform because the babelify/babel version change has been an endless headache

from json-rpc-engine.

NoahZinsmeister avatar NoahZinsmeister commented on July 3, 2024

i'm pretty sure this package is the one causing some very obscure babel-related build errors in some of my projects.

i'm a bit confused, why can't you just build your source files locally and distribute the built files? having any babel-related package as a dependency is a recipe for disaster imo.

from json-rpc-engine.

kumavis avatar kumavis commented on July 3, 2024

@NoahZinsmeister can you link to the relevant errors

from json-rpc-engine.

spalladino avatar spalladino commented on July 3, 2024

We have a similar situation, in that we are getting all of babel installed along with our package (zos, a command-line tool) since we indirectly depend on this package. We'd expect babel to be required only as a dev dependency.

Funny thing, we noticed this when core-js (a dependency of Babel) added a post-install message asking for a job for its maintainer.

from json-rpc-engine.

NoahZinsmeister avatar NoahZinsmeister commented on July 3, 2024

The warnings are thrown any time a package depends on json-rpc-engine without having babel as a dependency, which again should absolutely not be a requirement and is bad practice :).

Code shipped in packages should run without compilation/transpilation/whatever in all environments that the author is interested in supporting (for example, ES5 as described in #3).

warning "@walletconnect/web3-subprovider > web3-provider-engine > eth-json-rpc-filters > json-rpc-engine > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@walletconnect/web3-subprovider > web3-provider-engine > eth-json-rpc-filters > json-rpc-engine > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@walletconnect/web3-subprovider > web3-provider-engine > eth-json-rpc-filters > json-rpc-engine > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".

from json-rpc-engine.

Related Issues (18)

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.