Giter Club home page Giter Club logo

Comments (4)

igorklopov avatar igorklopov commented on July 19, 2024

Hi, Simas! I discourage you disable all warnings, because newly introduced bug may come unnoticed. If you really want to mute them, provide may-exclude per occurence.
https://github.com/zeit/now-cli/blob/5.0.0/bin/now.js#L114
I will add may-exculde description soon to readme.

from pkg.

simast avatar simast commented on July 19, 2024

Hi Igor!

Thanks for bringing enclose back from the dead (and with Node 7+ support)!

I can's say I am a huge fan of extending and monkey-patching built-in require with such a custom functionality and adding pkg specific arguments all over your codebase just to ignore those warnings. There is also an issue that at some point Node.js will decide to implement their own second require param for some reason.

Anyway, if you think there is a good reason not to include loglevel param - I will have to live with those warnings.

from pkg.

igorklopov avatar igorklopov commented on July 19, 2024

Is it your code that causes warnings? Or code of npm dependencies? If so, name those npm deps please.

from pkg.

simast avatar simast commented on July 19, 2024

Yes, my code is causing those warnings. Think about functionality that would load all .js files in a directory (plugins and such).

from pkg.

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.