Defaulting `options.cwd` to `process.cwd()`, passing `options.cwd` to...
Defaulting `options.cwd` to `process.cwd()`, passing `options.cwd` to `worker.js`, fixing `worker.js` by setting `global.__dirname` to `obj.cwd` on init, really fixes #10
Showing
- .eslintrc 19 additions, 20 deletions.eslintrc
- Gruntfile.js 16 additions, 11 deletionsGruntfile.js
- lib/index.js 11 additions, 7 deletionslib/index.js
- lib/worker.js 1 addition, 1 deletionlib/worker.js
- package.json 8 additions, 8 deletionspackage.json
- src/index.js 6 additions, 2 deletionssrc/index.js
- src/worker.js 1 addition, 1 deletionsrc/worker.js
{ | ||
"name": "tiny-worker", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Tiny WebWorker for Server", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
... | ... | @@ -23,13 +23,13 @@ |
}, | ||
"homepage": "https://github.com/avoidwork/tiny-worker", | ||
"devDependencies": { | ||
"babel-eslint": "^4.1.0", | ||
"grunt": "^0.4.5", | ||
"grunt-babel": "^5.0.0", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-nodeunit": "^0.4.1", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-eslint": "^17.1.0" | ||
"babel-preset-es2015": "~6.22.0", | ||
"grunt": "~1.0.1", | ||
"grunt-babel": "~6.0.0", | ||
"grunt-cli": "~1.2.0", | ||
"grunt-contrib-nodeunit": "~1.0.0", | ||
"grunt-contrib-watch": "~1.0.0", | ||
"grunt-eslint": "~19.0.0" | ||
}, | ||
"dependencies": {} | ||
} |
Please register or sign in to comment