Release v0.0.2

This commit is contained in:
Alex Hultman
2019-01-15 14:57:17 +01:00
parent cc16c6299b
commit 4be2cd6223
3 changed files with 3 additions and 2 deletions

5
uws.js
View File

@@ -1,5 +1,6 @@
/*
* Copyright 2018 Alex Hultman and contributors.
* Authored by Alex Hultman, 2018-2019.
* Intellectual property of third-party.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +19,7 @@ module.exports = (() => {
try {
const uWS = require(`./uws_${process.platform}_${process.versions.modules}.node`);
/* We are not compatible with Node.js domain */
process.nextTick = (f, ...args) => uWS.nextTick(f.apply(...args));
process.nextTick = (f, ...args) => uWS.nextTick(() => f(...args));
return uWS;
} catch (e) {
throw new Error('This version of µWS is not compatible with your Node.js build.\n\n' + e.toString());

Binary file not shown.

Binary file not shown.