GithubHelp home page GithubHelp logo

sendamply / amply-js Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 14 KB

Javascript SDK for Amply

Home Page: https://sendamply.com

License: MIT License

JavaScript 100.00%
amply email javascript node nodejs transactional-email

amply-js's People

Contributors

paulwhite avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

peterdmendez

amply-js's Issues

CachableLookup preventing Jest from exiting

I'm not sure if this or CachableLookup is the right place to report it, but it appears a dependency of this module is preventing Jest from shutting down after running tests. When run with the --detectOpenHandles option I'm seeing:

Jest has detected the following 1 open handle potentially keeping Jest from exiting:

  โ—  DNSCHANNEL

      at new CacheableLookup (../node_modules/cacheable-lookup/source/index.js:91:14)
      at new Request (../node_modules/amply.js/lib/request.js:64:21)
      at new Client (../node_modules/amply.js/lib/client.js:9:20)
      at Object.<anonymous> (../node_modules/amply.js/index.js:4:18)

I'd opened szmarczak/cacheable-lookup#58 to see if they could help but the error goes away when I comment out these two lines:

amply-js/lib/request.js

Lines 64 to 65 in 3d726e3

this.dnsCache = new cacheableLookup;
this.dnsCache.install(this.httpsAgent);

I'll try downgrading to the 0.0.2-rc.8 release and see if that addresses it.

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.