diff options
author | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-07 22:28:16 +0100 |
---|---|---|
committer | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-07 22:28:16 +0100 |
commit | 45bd47e536e2bf3706cae2be526de313f042bf36 (patch) | |
tree | dccb83a2e7e07d7d78f9983dc3acb6c4ac0dd937 | |
parent | 04b6f2942367bfbd398ff1fe96d60f758caf4316 (diff) | |
download | mongo-edu-45bd47e536e2bf3706cae2be526de313f042bf36.zip |
cleanup & version bump
-rw-r--r-- | package.json | 6 | ||||
-rw-r--r-- | scripts/winpy3fix.js | 26 |
2 files changed, 3 insertions, 29 deletions
diff --git a/package.json b/package.json index 3127d6e..00812e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongo-edu", "preferGlobal": true, - "version": "0.1.33", + "version": "0.1.34", "author": "Przemyslaw Pluta <przemyslawplutadev@gmail.com> (http://przemyslawpluta.com)", "description": "Select and download videos and handouts from university.mongodb.com courses", "main": "./mongo-edu", @@ -40,12 +40,12 @@ "mv": "~2.0.3", "optimist": "~0.6.1", "progress": "~1.1.8", - "request": "~2.40.0", + "request": "~2.42.0", "request-progress": "~0.3.1", "rimraf": "~2.2.8", "unzip": "~0.1.9", "which": "~1.0.5", - "youtube-dl": "~1.5.12" + "youtube-dl": "~1.5.13" }, "engines": { "node": ">= 0.8.x" diff --git a/scripts/winpy3fix.js b/scripts/winpy3fix.js deleted file mode 100644 index 14d8f13..0000000 --- a/scripts/winpy3fix.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * mongo-edu - * - * Copyright (c) 2014 Przemyslaw Pluta - * Licensed under the MIT license. - * https://github.com/przemyslawpluta/mongo-edu/blob/master/LICENSE - */ - -var mv = require('mv'), - fs = require('fs'), - path = require('path'); - -var isWin = /^win/.test(process.platform); - -if (isWin) { - var target = path.resolve(__dirname + '../' + '../node_modules/youtube-dl/lib/youtube-dl.js'); - - fs.unlink(target, function (err) { - 'use strict'; - if (err !== null) { return console.log(err.stack); } - mv(path.resolve(__dirname + '../' + '../.temp/youtube-dl.js'), target, function error(err) { - if (err) { console.log(err); } - console.log('win py3.x fix'); - }); - }); -}
\ No newline at end of file |