• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sass / node-sass / 3228
69%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2018 01:06PM UTC
Jobs 1
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3228

push

travis-ci

xzyfer
fix: propagate async context

This is an alternative to some of the fixes in [1].

Starting with Nan 2.9.0, we have the ability to propagate async context
across async hops. Certain variants of Nan::Callback::Call are now
deprecated to encourage use of the context presevering alternatives.
Certain variants of Node's MakeCallback that were used internally are
going to be deprecated in Node 10.

Summary is that one should use Nan::Call for sync calls, and
Nan::Callback::Call for async. The latter expects an async resource
corresponding to the async operation to be provided at the call time.

This patch fixes things up so that 1) node-sass isn't using any
deprecated APIs, and 2) properly propagates async context for async
callbacks by creating async resources in the appropriate places.

[1]: https://github.com/sass/node-sass/pull/2295

134 of 197 branches covered (68.02%)

252 of 334 relevant lines covered (75.45%)

1008.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3228.1 04 Apr 2018 01:06PM UTC 0
75.45
Travis Job 3228.1
Source Files on build 3228
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3228
  • 1676810c on github
  • Prev Build on master (#3211)
  • Next Build on master (#3251)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc