0
0
mirror of https://github.com/tj/n.git synced 2024-11-29 13:52:34 +01:00
Commit Graph

248 Commits

Author SHA1 Message Date
Anton Kindblad
ad2c3eb874 using DIM instead of Dark gray when listing and logging, improves readability on dark color-themes 2017-02-09 18:26:25 +01:00
Daniel Bayerlein
85c72c548f Bump version to 2.1.4 2016-12-17 09:58:20 +01:00
Travis Webb
55a021b661 Merge pull request #349 from not-an-aardvark/sort-semver
Sort double-digit semver numbers correctly
2016-10-06 15:18:39 -04:00
Kristjan Broder Lund
2fda71a121 Resolve versions with no dots 2016-09-08 15:10:32 +00:00
Angelo Paolo Obispo
3e31edd580 updated versions in bash script and package.json to 2.1.3 2016-07-12 23:15:36 +08:00
Nimit Kalra
399d9134f2 Revert "Handling SIGINT correctly." 2016-07-06 09:18:25 -05:00
Nimit Kalra
cdd5ae03f4 Merge pull request #348 from JeffDownie/master
Handling SIGINT correctly.
2016-07-06 09:16:05 -05:00
Nimit Kalra
85ee3d6899 Merge pull request #318 from AntSworD/for-PR
Allow more options for custom source mirrors.
2016-06-15 17:42:57 -05:00
not-an-aardvark
12fbebef7e Sort double-digit semver numbers correctly 2016-04-05 03:37:03 -04:00
Jeff Downie
8f73a018ab Handling SIGINT correctly. 2016-03-23 11:57:37 +00:00
Nimit Kalra
7f790c4cdd Allow using stable in n use. 2015-12-20 16:11:47 -06:00
Nimit Kalra
20258b2169 Allow using latest in n use. 2015-12-20 16:11:43 -06:00
JunJian Zheng
781e78774f Add is_oss_ok
add is_oss_ok, keep is_ok not changed
2015-12-07 15:34:59 +08:00
Stefan Maric
0f590a4ef2 Add support for "lts" alias, closes #313
--lts will display latest LTS version
lts will install latest LTS version

Node LTS releases use "a naming convention based on the Periodic
Table of Elements [...] in alphabetical order", as announced here:
https://nodejs.org/en/blog/release/v4.2.0/

LTS versions have their own folder in nodejs' dist folder, e.g.:
https://nodejs.org/dist/latest-argon/

To retrieve latest LTS' latest version, we search for and fetch
that folder. We get the semver number from the first file that
holds it. Then we can fetch the trallbar.
2015-11-04 22:20:36 -04:30
JunJian Zheng
61cd568f81 3xx and 2xx 2015-10-19 09:29:43 +08:00
JunJian Zheng
8582e0e7e2 Update n 2015-10-16 21:30:55 +08:00
Ilya Mochalov
cefebb20aa Added the disabling PaX's mprotect() during an activation 2015-09-17 01:02:54 +05:00
Ilya Mochalov
2704e872b3 fixed a changing position of select version menu after pressing up/down arrows 2015-08-30 16:42:04 +05:00
Ilya Mochalov
0ffaaa5894 fix the PT_PAX_FLAGS of the node binary, for systems with grsecurity and PaX 2015-08-30 12:04:09 +05:00
Max Rittmüller
456fe65eef Merge branch 'fix-cp-target-is-link' of git://github.com/chrootsu/n into chrootsu-fix-cp-target-is-link 2015-08-29 17:51:18 +02:00
Max Rittmüller
505fd9413b Merge branch 'display_help_on_no_installed_versions' of git://github.com/jbnicolai/n into jbnicolai-display_help_on_no_installed_versions 2015-08-29 17:31:15 +02:00
Max Rittmüller
07b2c90c4b Updated to fit into current version of n 2015-08-29 17:20:26 +02:00
wblankenship
c7fdd994f6 Allow for 3rd party projects 2015-08-28 17:18:25 -04:00
Max Rittmüller
08652c8cc8 Show additional feedback for removal problem 2015-07-22 21:45:34 +02:00
Max Rittmüller
484be00f41 Fixed support for using version numbers with 'v' in front 2015-07-22 18:10:28 +02:00
Max Rittmüller
79760f3b7d Fixed support for deletion of several versions 2015-07-22 11:28:19 +02:00
Max Rittmüller
53d157c89d Prevent removing the currently active version of Node.js/io.js 2015-07-21 14:23:08 +02:00
Max Rittmüller
2a400cc835 Replaced --strip with --strip-components 2015-07-19 23:10:25 +02:00
Max Rittmüller
2209c4acd8 Merge branch 'issue-184' of git://github.com/tedgaydos/n into tedgaydos-issue-184 2015-07-19 14:52:08 +02:00
Max Rittmüller
93689ade05 1.4.0 2015-07-19 14:18:59 +02:00
Ilya Mochalov
d554c28384 fix the activation fails when a target subdirectory is a symlink 2015-07-19 10:18:06 +05:00
Max Rittmüller
2ee5652ec7 Corrected help output 2015-07-13 22:30:33 +02:00
Max Rittmüller
f68db220b6 Merge branch 'master' of git://github.com/ralphtheninja/n into ralphtheninja-master 2015-07-13 22:27:12 +02:00
Max Rittmüller
f54b01ca6b Merge branch 'master' of git://github.com/wyvernnot/n into wyvernnot-master 2015-07-13 22:22:36 +02:00
Max Rittmüller
f6fb546cae Merge branch 'download-only-option' of https://github.com/maxrimue/n into maxrimue-download-only-option 2015-07-13 22:22:04 +02:00
Max Rittmüller
f45c418674 Merge branch 'issue-255' of git://github.com/tedgaydos/n into tedgaydos-issue-255 2015-07-13 22:19:10 +02:00
Max Rittmüller
11d2d95dee Merge branch 'issue-205' of git://github.com/tedgaydos/n into tedgaydos-issue-205 2015-07-13 22:18:10 +02:00
Max Rittmüller
d808518bc2 Merge branch 'issue-260' of git://github.com/tedgaydos/n into tedgaydos-issue-260 2015-07-13 22:15:51 +02:00
Max Rittmüller
a26456acfb Merge branch 'issue-263' of git://github.com/tedgaydos/n into tedgaydos-issue-263 2015-07-13 22:15:22 +02:00
Max Rittmüller
64d64774b8 Merge branch 'support-upcoming-nodejs-armv6-builds' of https://github.com/maxrimue/n into maxrimue-support-upcoming-nodejs-armv6-builds 2015-07-13 22:14:40 +02:00
Lars-Magnus Skog
38c9b39ca1 Document -a|--arch option 2015-06-16 18:18:52 +02:00
Lars-Magnus Skog
eb3651a7ea Add -a|--arch to override arch
On linux you can install and run 32 bit on a 64 bit system.
This change enables doing e.g.:

$ n -a x86 0.12.4
$ n --arch x86 0.12.4
$ n io --arch x86 latest

This is *very* handy when creating prebuilt binaries and want to build for
32 bit systems on a 64 bit system (e.g. leveldown).
2015-06-16 17:29:18 +02:00
wangyan
9c72e51a45 only extract from lines which contain <a></a> tags, in this way prevent 3.2.0 from
```html
    <link href="//dn-staticfile.qbox.me/twitter-bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" media="screen">
```
2015-06-10 17:28:37 +08:00
Max Rittmüller
85216a6d15 Corrected variable declaration 2015-05-24 21:12:46 +02:00
Max Rittmüller
2283db4048 Adding support for upcoming Nodejs ARMv6 builds 2015-05-24 20:06:16 +02:00
Ted Gaydos
febf5f6316 Fixed sorting display of installed versions 2015-05-08 15:33:57 -04:00
Max Rittmüller
7c76ac5626 Test for new way to check argument 2015-05-08 17:03:23 +02:00
Ted Gaydos
7961b05e52 Replaced --strip with --strip-components 2015-05-08 10:15:45 -04:00
Ted Gaydos
9b4ec677f7 Removed prev, major version bump. Issue #184 2015-05-08 10:02:00 -04:00
Ted Gaydos
17fc12fbe4 Fix for issue #230 2015-05-08 09:52:51 -04:00