aboutsummaryrefslogtreecommitdiffstats
path: root/community/yarn/remove-support-for-legacy-nodejs.patch
diff options
context:
space:
mode:
authorEd Robinson <ed.robinson@reevoo.com>2017-05-22 15:25:08 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-06-07 23:28:18 +0200
commit3d51e66748ac73ccbcf01d631e9c8162c194dcd2 (patch)
treecb653507fb485f2e84d6cbc2267dc6691bbb93ec /community/yarn/remove-support-for-legacy-nodejs.patch
parent5c1ff074fcbe7050105c2e3de7362f13220dd33b (diff)
downloadaports-3d51e66748ac73ccbcf01d631e9c8162c194dcd2.tar.bz2
aports-3d51e66748ac73ccbcf01d631e9c8162c194dcd2.tar.xz
community/yarn: update to 0.24.6
Diffstat (limited to 'community/yarn/remove-support-for-legacy-nodejs.patch')
-rw-r--r--community/yarn/remove-support-for-legacy-nodejs.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/community/yarn/remove-support-for-legacy-nodejs.patch b/community/yarn/remove-support-for-legacy-nodejs.patch
deleted file mode 100644
index f3c291ea6d..0000000000
--- a/community/yarn/remove-support-for-legacy-nodejs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- dist/bin/yarn.js
-+++ dist/bin/yarn.js
-@@ -13,10 +13,8 @@
-
- if (semver.satisfies(ver, '>=5.0.0')) {
- path = '../lib/cli/index.js';
--} else if (semver.satisfies(ver, '>=4.0.0')) {
-- path = '../lib-legacy/cli/index.js';
- } else {
-- console.log(require('chalk').red('Node version ' + ver + ' is not supported, please use Node.js 4.0 or higher.'));
-+ console.log(require('chalk').red('Node version ' + ver + ' is not supported, please use Node.js 5.0 or higher.'));
- process.exit(1);
- }
-
-@@ -27,7 +25,7 @@
-
- // ensure cache directory exists
- var mkdirp = require('mkdirp');
--var constants = require('../lib-legacy/constants');
-+var constants = require('../lib/constants');
- mkdirp.sync(constants.MODULE_CACHE_DIRECTORY);
-
- // init roadrunner