e5b1e44
add alias verison=version (@isaacs)5eed7bd
[email protected]
(@nylen)e72f81d
[email protected]
/[email protected]
(@isaacs)b8dcc36
[email protected]
(@isaacs)
4861d28
[email protected]
: License update. (@isaacs)30a2ea8
[email protected]
: License update. (@isaacs)6a4ea05
[email protected]
: Propagate error events to downstream streams. (@gfxmonk)a558695
[email protected]
: Don't extract broken files, propagatedrain
event. (@gfxmonk)989624e
#6767 Actually pass parameters when adding git repo to cach under Windows. (@othiym23)657af73
#6774 When verifying paths on unbuild, resolve both source and target as symlinks. (@hokaccha)fd19c40
#6713[email protected]
: Make it so thatnpm install foo@1
work when a file named1
exists. (@iarna)c8ac37a
[email protected]
: Fix regression in failed fetch retries. (@othiym23)
756f3d4
#6735 Log "already built" messages at info, not error. (@smikes)1b7330d
#6729[email protected]
: GitHub won't redirect you through an HTML page to a compressed tarball if you don't tell it you accept JSON responses. (@KenanY)d9c7857
#6506[email protected]
: Usegraceful-fs
so the whole dependency tree gets read, even in case ofEMFILE
. (@sakana)3a085be
Grammar fix in docs. (@icylace)3f8e2ff
Did you know that npm has a Code of Conduct? Add a link to it to CONTRIBUTING.md. (@isaacs)319ccf6
[email protected]
: Performance tuning. (@isaacs)835f046
[email protected]
: Bug fixes. (@rvagg)a34c38d
[email protected]
: Bug fixes. (@nylen)
eed9f61
#6542npm owner add / remove
now works properly with scoped packages (@othiym23)cd25973
#6548 using sudo won't leave the cache's git directories with bad permissions (@othiym23)56930ab
fixed irregularnpm cache ls
output (yes, that's a thing) (@othiym23)740f483
legacy tests no longer poison user's own cache (@othiym23)ce37f14
#6169 add terse output similar tonpm publish / unpublish
fornpm owner add / remove
(@KenanY)bf2b8a6
#6680 pass auth credentials to registry when downloading search index (@terinjokes)00ecb61
#6400.npmignore
is respected for git repos on cache / pack / publish (@othiym23)d1b3a9e
#6311npm ls -l --depth=0
no longer prints phantom duplicate children (@othiym23)07c5f34
#6690[email protected]
: clarify confusing names in error-handling code (@isaacs)1ac9be9
#6684npm init
: don't report write if canceled (@smikes)7bb207d
#5754 never remove app directories on failed install (@othiym23)705ce60
#5754[email protected]
: don't throw when another fs task writes to a directory being vacuumed (@othiym23)1b650f4
#6255 ensure that order credentials are used from.npmrc
doesn't regress (@othiym23)9bb2c34
#6644warn
rather thaninfo
on fetch failure (@othiym23)e34a7b6
#6524[email protected]
: proxy viarequest
more transparently (@othiym23)40afd6a
#6524 push proxy settings intorequest
(@tauren)
063d843
npm version now updates version in npm-shrinkwrap.json (@faiq)3f53cd7
#6559 save local dependencies in npm-shrinkwrap.json (@Torsph)e249262
npm-faq.md: mention scoped pkgs in namespace Q (@smikes)6b06ec4
#6642[email protected]
: Handle bothinit-author-name
andinit.author.name
. (@othiym23)9cb334c
#6409 document commit-ish with GitHub URLs (@smikes)0aefae9
#2959 npm run no longer fails silently (@flipside)e007a2c
#3908 include command in spawn errors (@smikes)
6750b05
#6398[email protected]
: consistent API, handle relative registry paths, use auth more consistently (@othiym23)7719cfd
#6560 use new npm-registry-client API (@othiym23)ed61971
move caching of search metadata fromnpm-registry-client
to npm itself (@othiym23)3457041
handle caching of metadata independently fromnpm-registry-client
(@othiym23)20a331c
#6538 map registry URLs to credentials more safely (@indexzero)4072e97
#6589[email protected]
: allow publishing of packages with names identical to built-in Node modules (@feross)254f0e4
[email protected]
: better error-handling (@runk)73ee2aa
[email protected]
(@mikeal)
681b398
#6523 fix defaultlogelevel
doc (@KenanY)80b368f
#6528npm version
should work in a git directory without git (@terinjokes)5f5f9e4
#6483[email protected]
: Properly pick up default values from environment variables. (@othiym23)a114870
perl 5.18.x doesn't like -pi without filenames (@othiym23)de5ba00
[email protected]
: Tests and cleanup. (@othiym23)76933f1
[email protected]
: Always includeLICENSE[.*]
,LICENCE[.*]
,CHANGES[.*]
,CHANGELOG[.*]
, andHISTORY[.*]
. (@jonathanong)
6a14b23
#6397 Defactor npmconf back into npm. (@othiym23)4000e33
#6323 InstallpeerDependencies
from top. (@othiym23)5d119ae
#6498 Better error messages on malformed.npmrc
properties. (@nicks)ae18efb
#6093 Replace instances of 'hash' with 'object' in documentation. (@zeke)53108b2
#1558 Clarify how local paths should be used. (@KenanY)344fa1a
#6488 Work around bug in marked. (@othiym23)
OUTDATED DEPENDENCY CLEANUP JAMBOREE
60c2942
[email protected]
: Handle names and rawSpecs more consistently. (@iarna)1b5c95f
[email protected]
: Change line endings? (@ForbesLindesay)d7dee3f
[email protected]
: Dependency updates, better proxy support, better compressed response handling, lots of 'use strict'. (@mikeal)3d75180
[email protected]
: Added gratuitous return. (@Domenic)8e2703f
[email protected]
/[email protected]
: Change of ownership. (@tim-kos)c87b00f
[email protected]
: Wrap once with wrappy. (@isaacs)01ec790
[email protected]
: Correct repository URL. (@robertkowalski)389e52c
[email protected]
: Now absolutely requiresgraceful-fs
. (@isaacs)e15ab15
[email protected]
: Tighten up whitespace handling. (@isaacs)7610f3e
[email protected]
(@substack)9c13149
[email protected]
: Add support for prerelease identifiers. (@bromanko)f096c25
[email protected]
: Add a bunch of additional tests, skip the unfortunate complications of[email protected]
. (@isaacs)
3aeb440
#6442 proxying git needsGIT_SSL_CAINFO
(@wmertens)a8da8d6
#6413 write builtin config on any global npm install (@isaacs)9e4d632
#6343 don't pass run arguments to pre & post scripts (@TheLudd)d831b1f
#6399 race condition: inflight installs, preventpeerDependency
problems (@othiym23)82b775d
#6384 race condition: inflight caching by URL rather than semver range (@othiym23)7bee042
[email protected]
: callback can take arbitrary number of parameters (@othiym23)3bff494
#5195 fixed regex color regression fornpm search
(@chrismeyersfsu)33ba2d5
#6387 allownpm view global
if package is specified (@evanlucas)99c4cfc
#6388 npm-publish → npm-developers(7) (@kennydude)
TEST CLEANUP EXTRAVAGANZA:
8d6bfcb
tap tests run with no system-wide side effects (@chrismeyersfsu)7a1472f
added npm cache cleanup script (@chrismeyersfsu)0ce6a37
stripped out dead test code (othiym23)- replace spawn with common.npm (@chrismeyersfsu):
BREAKING CHANGE FOR THE SQRT(i) PEOPLE ACTUALLY USING npm submodule
:
1e64473
rm -rf npm submodule
command, which has been broken since the Carter Administration (@isaacs)
BREAKING CHANGE IF YOU ARE FOR SOME REASON STILL USING NODE 0.6 AND YOU SHOULD NOT BE DOING THAT CAN YOU NOT:
3e431f9
joyent/node#8492 bye bye customFds, hello stdio (@othiym23)
Other changes:
ea607a8
#6372 noisily error (without aborting) on multi-{install,build} (@othiym23)3ee2799
#6372 only make cache creation requests in flight (@othiym23)1a90ec2
#6372 wait to put Git URLs in flight until normalized (@othiym23)664795b
#6372 log what is and isn't in flight (@othiym23)00ef580
[email protected]
: fix largely theoretical race condition, because we really really hate race conditions (@isaacs)1cde465
#6363[email protected]
: handle local dependencies better (@iarna)86f084c
[email protected]
: dependency realization! in its own module! (@iarna)553d830
[email protected]
: simplified semver, better tests (@iarna)bec9b61
[email protected]
: for some reason (@rvagg)ff08ec5
[email protected]
: use wrappy for instrumentability (@isaacs)
a1aa20e
#6282[email protected]
: don't prune bundledDependencies (@isaacs)a1f5fe1
move locks back into cache, now path-aware (@othiym23)a432c4b
convert lib/utils/tar.js to use atomic streams (@othiym23)b8c3c74
[email protected]
: Now works with streams1 fs.WriteStreams. (@isaacs)c7ab76f
logging cleanup (@othiym23)4b2d95d
#6329 efficiently validate tmp tarballs safely (@othiym23)
563225d
#6318 clean up locking; prefix lockfile with "." (@othiym23)c7f30e4
#6318 remove locking code around tarball packing and unpacking (@othiym23)
NEW FEATURE:
3635601
#5520 Add'npm view .'
. (@evanlucas)
Other changes:
f24b552
#6294 Lock cache → lock cache target. (@othiym23)ad54450
#6296 Ensure that npm-debug.log file is created when rollbacks are done. (@isaacs)6810071
docs: Default loglevel "http" → "warn". (@othiym23)35ac89a
Skip installation of installed scoped packages. (@timoxley)e468527
Ensure cleanup executes for scripts-whitespace-windows test. (@timoxley)ef9101b
Ensure cleanup executes for packed-scope test. (@timoxley)69b4d18
[email protected]
: Fix a race condition in our race-condition fixer. (@isaacs)26b17ff
#6272npmconf
decides what the default prefix is. (@othiym23)846faca
Fix development dependency is preferred over dependency. (@andersjanmyr)9d1a9db
#3265 Re-apply a71615a. Fixes #3265 again, with a test! (@glasser)1d41db0
[email protected]
: Fixes formatting of synopsis blocks in man docs. (@kapouer)a623da0
#5867 Specify dummy git template dir when cloning to prevent copying hooks. (@boneskull)
42c872b
#5920[email protected]
(@isaacs)6784767
#5920 make all write streams atomic (@isaacs)f6fac00
#5920 barf on 0-length cached tarballs (@isaacs)3b37592
[email protected]
: use graceful-fs (@iarna)
74c5ab0
#6201[email protected]
: scope always-auth to registry URI (@othiym23)774b127
#6201[email protected]
: use scoped always-auth settings (@othiym23)f2d2190
#6201 support saving--always-auth
when logging in (@othiym23)17c941a
#6163 usewrite-file-atomic
instead offs.writeFile()
(@fiws)fb5724f
#5925npm init -f
: allownpm init
to run without prompting (@michaelnisi)b706d63
#3059 disable prepublish when runningnpm install --production
(@jussi-kalliokoski)119f068
attach the node version used when publishing a package to its registry metadata (@othiym23)8fe0081
seriously, don't usenpm -g update npm
(@thomblake)ea5b3d4
[email protected]
(@othiym23)
BREAKING CHANGES:
4378a17
[email protected]
: prerelease versions no longer show up in ranges;^0.x.y
behaves the way it did insemver@2
rather thansemver@3
; docs have been reorganized for comprehensibility (@isaacs)c6ddb64
npm now assumes that node is newer than 0.6 (@isaacs)
Other changes:
ea515c3
#6043[email protected]
: wait until all callbacks have finished before proceeding (@othiym23)0b0a59d
#6043 defer rollbacks until just before the CLI exits (@isaacs)a11c88b
#6175 pack scoped packages correctly (@othiym23)e4e48e0
#6121[email protected]
: don't mark linked dev dependencies as extraneous (@isaacs)d673e41
[email protected]
: depend ongraceful-fs
directly (@ForbesLindesay)9d54d45
[email protected]
: make tests more reliable on Travis (@iarna)673d738
ensure permissions are set correctly in cache when running as root (@isaacs)6e6a5fb
prepare for upgrade to[email protected]
(@isaacs)ab8dd87
swap outronn
for[email protected]
(@isaacs)803da54
[email protected]
: prepare for[email protected]
and include more error information (@isaacs)4af0e71
make default error display less scary (@isaacs)4fd9e79
[email protected]
: handle errors returned by the registry much, much better (@othiym23)ca791e2
restore a long (always?) missing pass for deduping (@othiym23)ca0ef0e
correctly interpret relative paths for local dependencies (@othiym23)5eb8db2
[email protected]
: support git+file:// URLs for local bare repos (@othiym23)860a185
tweak docs to no longer advocate checking innode_modules
(@hunterloftis)80e9033
add links to nodejs.org downloads to docs (@meetar)
f4540b6
#6043 defer rollbacks until just before the CLI exits (@isaacs)1eabfd5
#6043[email protected]
: wait until all callbacks have finished before proceeding (@othiym23)
fa79413
#6119 fall back to registry installs if package.json is missing in a local directory (@iarna)16073e2
[email protected]
: support file URIs as local specs (@othiym23)9164acb
[email protected]
: don't match strings that are already URIs (@othiym23)4067d6b
#5629 support saving of local packages inpackage.json
(@dylang)1b2ffdf
#6097 document scoped packages (@seldo)0a67d53
#6007[email protected]
: properly set headers on proxy requests (@isaacs)9bac6b8
[email protected]
: disallow semver ranges in tag configuration (@isaacs)d2d4d7c
#6082 don't allow tagging with a semver range as the tag name (@isaacs)
4cf3c8f
#6007 [email protected]: properly set headers on proxy requests (@isaacs)403cb52
#6055 [email protected]: restore case-insensitivity of environmental config (@iarna)
SPECIAL LABOR DAY WEEKEND RELEASE PARTY WOOO
ed207e8
[email protected]
: Clean up auth logic and improve logging around auth decisions. Also error on trying to change a user document without writing to it. (@othiym23)66c7423
[email protected]
: support -C as an alias for --prefix (@isaacs)0dc6a07
#6059 run commands in prefix, not cwd (@isaacs)65d2179
[email protected]
: part 3 handle slashes in branch names (@robertkowalski)e8d75d0
#6057[email protected]
: properly handle extraneous dev dependencies of required dependencies (@othiym23)0602f70
#6064 ls: do not show deps of extraneous deps (@isaacs)
78a1fc1
[email protected]
: add support for git+https and git+ssh (@stefanbuck)bf247ed
[email protected]
(@othiym23)4bbe682
[email protected]
: upgrade to graceful-fs 3 (@ForbesLindesay)ae1d590
[email protected]
: accept slashes in branch names (@thealphanerd)b2f51ae
[email protected]
: semver.clean() is cleaner (@isaacs)1d041a8
[email protected]
: accept slashes in branch names (@robertkowalski)02c85d5
[email protected]
(@othiym23)5af493e
ensure lifecycle spawn errors caught properly (@isaacs)60fe012
[email protected]
: init.version defaults to 1.0.0 (@isaacs)b4c717b
[email protected]
: properly encode % in passwords (@isaacs)7b55f44
doc: Fix 'npm help index' (@isaacs)
eceea95
[email protected]
: add support for git+https and git+ssh (@stefanbuck)e561758
[email protected]
(@othiym23)0c4fab3
[email protected]
: upgrade to graceful-fs 3 (@ForbesLindesay)2d69e4d
[email protected]
: accept slashes in branch names (@robertkowalski)81f9b2b
ensure lifecycle spawn errors caught properly (@isaacs)bfaab8c
[email protected]
: properly encode % in passwords (@isaacs)91cfb58
doc: Fix 'npm help index' (@isaacs)
685f8be
[email protected]
: Print the notification header returned by the registry, and make sure status codes are printed without gratuitous quotes around them. (@isaacs / @othiym23)a8cb676
#5900 removenpm
from its ownengines
field inpackage.json
. None of us remember why it was there. (@timoxley)6c47201
#5752, #6013 save git URLs correctly in_resolved
fields (@isaacs)e4e1223
#5936 document the use of tags inpackage.json
(@KenanY)c92b8d4
#6004 manually installed scoped packages are tracked correctly (@dead-horse)21ca0aa
#5945 link scoped packages correctly (@dead-horse)16bead7
#5958 ensure that file streams work in all versions of node (@dead-horse)dbf0cab
you can now pass quoted args tonpm run-script
(@bcoe)0583874
[email protected]
: Add test for removing an extract target immediately after unpacking. (@isaacs)cdf3b04
[email protected]
: Fix incorrect interaction betweenwait
,stale
, andretries
options. Part 2 of race condition leading toENOENT
(@isaacs) errors.22d72a8
[email protected]
: Fix a double-finish call which can result in excess FS operations after theclose
event. Part 1 of race condition leading toENOENT
errors. (@isaacs)
64c0ec2
[email protected]
: Print the notification header returned by the registry, and make sure status codes are printed without gratuitous quotes around them. (@othiym23)a8ed12b
[email protected]
: Add test for removing an extract target immediately after unpacking. (@isaacs)70fd11d
[email protected]
: Fix incorrect interaction betweenwait
,stale
, andretries
options. Part 2 of race condition leading toENOENT
errors. (@isaacs)0072c4d
[email protected]
: Fix a double-finish call which can result in excess FS operations after theclose
event. Part 2 of race condition leading toENOENT
errors. (@isaacs)
f23f1d8
doc: update version doc to includepre-*
increment args (@isaacs)b6bb746
build: add 'make tag' to tag current release as latest (@isaacs)27c4bb6
build: publish with--tag=v1.4-next
(@isaacs)cff66c3
build: add script to outputv1.4-next
publish tag (@isaacs)22abec8
build: remove outdateddocpublish
make target (@isaacs)1be4de5
build: removeunpublish
step frommake publish
(@isaacs)e429e20
doc: add new changelog (@othiym23)9243d20
lifecycle: test lifecycle path modification (@isaacs)021770b
lifecycle: BREAKING CHANGE do not add the directory containing node executable (@chulkilee)1d5c41d
install: rename .gitignore when unpacking foreign tarballs (@isaacs)9aac267
cache: detect non-gzipped tar files more reliably (@isaacs)3f24755
[email protected]
(@isaacs)151cd2f
[email protected]
(@isaacs)f5a9434
test: fix Travis timeouts (@dylang)126cafc
[email protected]
(@othiym23)
9344bd9
doc: add new changelog (@othiym23)4be76fd
doc: update version doc to includepre-*
increment args (@isaacs)e4f2620
build: addmake tag
to tag current release aslatest
(@isaacs)ec2596a
build: publish with--tag=v1.4-next
(@isaacs)9ee55f8
build: add script to outputv1.4-next
publish tag (@isaacs)aecb56f
build: remove outdateddocpublish
make target (@isaacs)b57a9b7
build: remove unpublish step frommake publish
(@isaacs)2c6acb9
install: rename.gitignore
when unpacking foreign tarballs (@isaacs)22f3681
cache: detect non-gzipped tar files more reliably (@isaacs)
BREAKING CHANGE:
Other changes:
d987707
move fetch into npm-registry-client (@othiym23)9b318e2
[email protected]
(@isaacs)9d73de7
remove unnecessary mkdirps (@isaacs)33ccd13
Don't squash execute perms in_git-remotes/
dir (@adammeadows)48fd233
[email protected]
(@isaacs)
8dd11d1
update several dependencies to avoid usingsemver
s starting with 0.
d9a9e84
[email protected]
(@isaacs)86f0340
[email protected]
(@isaacs)a94136a
[email protected]
(@isaacs)bb82d18
[email protected]
(@isaacs)5b6bcf4
[email protected]
(@isaacs)c2aa8b3
license: Cleaned up legalese with actual lawyer (@isaacs)63fe0ee
[email protected]
(@isaacs)
This release bumps up to 2.0 because of this breaking change, which could potentially affect how your package's scripts are run:
Other changes:
cd422c9
#5748 link binaries for scoped packages (@othiym23)4c3c778
#5758npm link
includes scope when linking scoped package (@fengmk2)f9f58dd
#5707 document generic pre- / post-commands (@sudodoki)ac7a480
#5406npm cache
displays usage when called without arguments (@michaelnisi)f4554e9
Test fixes for Windows (@isaacs)- update dependencies (@othiym23)
- fall back to
_auth
config as default auth when using default registry (@isaacs) - support for 'init.version' for those who don't want to deal with semver 0.0.x oddities (@rvagg)
be06213
remove residual support forwin
log level (@aterris)
a3a85dd
--save
scoped packages correctly (@othiym23)18a3385
[email protected]
(@othiym23)375988b
invalid package names are an early error for optional deps (@othiym23)- consistently use
node-package-arg
instead of arbitrary package spec splitting (@othiym23)
88f51aa
fix handling for 301s in[email protected]
(@Raynos)
54cf625
fix handling for 301s in[email protected]
(@Raynos)e410861
don't crash if no username set onwhoami
(@isaacs)0353dde
respect--json
for output (@isaacs)b3d112a
outdated: Don't show headings if there's nothing to output (@isaacs)bb4b90c
outdated: Default tolatest
rather than*
for unspecified deps (@isaacs)
0353dde
respect--json
for output (@isaacs)b3d112a
outdated: Don't show headings if there's nothing to output (@isaacs)bb4b90c
outdated: Default tolatest
rather than*
for unspecified deps (@isaacs)
7f55057
install scoped packages (#5239) (@othiym23)0df7e16
publish scoped packages (#5239) (@othiym23)0689ba2
support (and save) --scope=@s config (@othiym23)f34878f
scope credentials to registry (@othiym23)0ac7ca2
capture and store bearer tokens when sent by registry (@othiym23)63c3277
only delete files that are created by npm (@othiym23)4f54043
[email protected]
(@othiym23)9e1460e
[email protected]
(@othiym23)719d8ad
[email protected]
(@othiym23)9ef8fe4
[email protected]
(@othiym23)a964f65
[email protected]
(@othiym23)113765b
[email protected]
(@othiym23)
f687433
relative URLS for working non-root registry URLS (@othiym23)bea190c
#5591 bump nopt and npmconf (@isaacs)
- Bump glob dependency from 4.0.2 to 4.0.3. It now uses graceful-fs when available, increasing resilience to various filesystem errors. (@isaacs)
- replace escape codes with ansicolors (@othiym23)
- Allow to build all the docs OOTB. (@GeJ)
- Use core.longpaths on win32 git - fixes #5525 (@bmeck)
[email protected]
(@isaacs)- Consolidate color sniffing in config/log loading process (@isaacs)
- add verbose log when project config file is ignored (@isaacs)
- npmconf: Float patch to remove 'scope' from config defs (@isaacs)
- doc: npm-explore can't handle a version (@robertkowalski)
- Add user-friendly errors for ENOSPC and EROFS. (@voodootikigod)
- bump tar and fstream deps (@isaacs)
- Run the npm-registry-couchapp tests along with npm tests (@isaacs)
- Same as v1.4.16, but with the spinner disabled, and a version number that starts with v1.2.
[email protected]
(@isaacs)[email protected]
(@isaacs)[email protected]
(@isaacs)[email protected]
(@isaacs)[email protected]
(@isaacs)[email protected]
(@isaacs)- removed redundant dependency (@othiym23)
[email protected]
(@isaacs)- Properly handle errors that can occur in the config-loading process (@isaacs)
- cache: atomic de-race-ified package.json writing (@isaacs)
[email protected]
(@isaacs)[email protected]
(@isaacs)[email protected]
(@isaacs)- Only spin the spinner when we're fetching stuff (@isaacs)
- Update
[email protected]
which removes ~/tmp as possible tmp-folder (@robertkowalski) [email protected]
(@isaacs)graceful-fs@3
(@isaacs)- Update glob and things depending on glob (@isaacs)
- github-url-from-username-repo and read-package-json updates (@isaacs)
[email protected]
(@isaacs)[email protected]
(@isaacs)- bump ansi and associated deps (@isaacs)
- char-spinner: update to not bork windows (@isaacs)
- Fix
npm install
on a tarball. (ed3abf1
, #5330, @othiym23) - Fix an issue with the spinner on Node 0.8.
(
9f00306
, @isaacs) - Re-add
npm.commands.cache.clean
andnpm.commands.cache.read
APIs, and documentnpm.commands.cache.*
as npm-cache(3). (e06799e
, @isaacs)
- remove normalize-package-data from top level, de-^-ify inflight dep (@isaacs)
- Always sort saved bundleDependencies (@isaacs)
- add inflight to bundledDependencies (@othiym23)
- fix
npm ls
labeling issue [email protected]
- default repository to https:// instead of git://
- addLocalTarball: Remove extraneous unpack (@isaacs)
- Massive cache folder refactor (@othiym23 and @isaacs)
- Busy Spinner, no http noise (@isaacs)
- Per-project .npmrc file support (@isaacs)
[email protected]
, Refactor config/uid/prefix loading process (@isaacs)- Allow once-disallowed characters in passwords (@isaacs)
- Send npm version as 'version' header (@isaacs)
- fix cygwin encoding issue (Karsten Tinnefeld)
- Allow non-github repositories with
npm repo
(@evanlucas) - Allow peer deps to be satisfied by grandparent
- Stop optional deps moving into deps on
update --save
(@timoxley) - Ensure only matching deps update with
update --save*
(@timoxley) - Add support for
prerelease
,preminor
,prepatch
tonpm version
- Don't set referer if already set
- fetch: Send referer and npm-session headers
run-script
: Support--parseable
and--json
- list runnable scripts (@evanlucas)
- Use marked instead of ronn for html docs
- Send referer header (with any potentially private stuff redacted)
- Fix critical typo bug in previous npm release
- Check SHA before using files from cache
- adduser: allow change of the saved password
- Make
npm install
respectconfig.unicode
- Fix lifecycle to pass
Infinity
for config env value - Don't return 0 exit code on invalid command
- cache: Handle 404s and other HTTP errors as errors
- Resolve ~ in path configs to env.HOME
- Include npm version in default user-agent conf
- npm init: Use ISC as default license, use save-prefix for deps
- Many test and doc fixes
- Add
--save-prefix
option that can be used to override the default of^
when usingnpm install --save
and its counterparts. (64eefdf
, @thlorenz) - Allow
--silent
to silence the echoing of commands that occurs withnpm run
. (c95cf08
, @Raynos) - Some speed improvements to the cache, which should improve install times.
(
cb94310
,3b0870f
,120f5a9
, @isaacs) - Improve ability to retry registry requests when a subset of the registry
servers are down.
(
4a5257d
, https://github.com/npm/npm-registry-client/commit/7686d02cb0b844626d6a401e58c0755ef3bc8432, @isaacs) - Fix marking of peer dependencies as extraneous.
(
779b164
, https://github.com/npm/read-installed/commit/6680ba6ef235b1ca3273a00b70869798ad662ddc, @isaacs) - Fix npm crashing when doing
npm shrinkwrap
in the presence of apackage.json
with no dependencies. (a9d9fa5
, @kislyuk) - Fix error when using
npm view
on packages that have no versions or have been unpublished. (94df2f5
, @juliangruber;2241a09
, @isaacs)
- Fix extraneous package detection to work in more cases.
(
f671286
, npm/read-installed#20, @LaurentVB)
- Sort dependencies in
package.json
when doingnpm install --save
and all its variants. (6fd6ff7
, @domenic) - Add
--save-exact
option, usable alongside--save
and its variants, which will write the exact version number intopackage.json
instead of the appropriate semver-compatibility range. (17f07df
, @timoxley) - Accept gzipped content from the registry to speed up downloads and save
bandwidth.
(
a3762de
, npm/npm-registry-client#40, @fengmk2) - Fix
npm ls
's--depth
and--log
options. (1d29b17
, npm/read-installed#13, @zertosh) - Fix "Adding a cache directory to the cache will make the world implode" in
certain cases.
(
9a4b2c4
, domenic/path-is-inside#1, @pmarques) - Fix readmes not being uploaded in certain rare cases.
(
527b72c
, @isaacs)
- Add
npm t
as an alias fornpm test
(which is itself an alias fornpm run test
, or evennpm run-script test
). We like making running your tests easy. (14e650b
, @isaacs)
- Add back
npm prune --production
, which was removed in 1.3.24. (acc4d02
, @davglass) - Default
npm install --save
and its counterparts to use the^
version specifier, instead of~
. (0a3151c
, @mikolalysenko) - Make
npm shrinkwrap
output dependencies in a sorted order, so that diffs between shrinkwrap files should be saner now. (059b2bf
, @Raynos) - Fix
npm dedupe
not correctly respecting dependency constraints. (86028e9
, @rafeca) - Fix
npm ls
giving spurious warnings when you used"latest"
as a version specifier. (https://github.com/npm/read-installed/commit/d2956400e0386931c926e0f30c334840e0938f14, @bajtos) - Fixed a bug where using
npm link
on packages without aname
value could cause npm to delete itself. (401a642
, @isaacs) - Fixed
npm install ./[email protected]
to actually install the directory at[email protected]
; before it would try to find version1.2.3
of the package./pkg
in the npm registry. (46d8768
, @rlidwka; see alsof851b79
) - Fix
npm outdated
to respect thecolor
configuration option. (d4f6f3f
, @timoxley) - Fix
npm outdated --parseable
. (9575a23
, @yhpark) - Fix a lockfile-related errors when using certain Git URLs.
(
164b97e
, @nigelzor)
- Fixed an issue related to mid-publish GET requests made against the registry. (https://github.com/npm/npm-registry-client/commit/acbec48372bc1816c67c9e7cbf814cf50437ff93, @isaacs)
- Fix
npm shrinkwrap
forgetting to shrinkwrap dependencies that were also development dependencies. (9c575c5
, @diwu1989) - Fixed publishing of pre-existing packages with uppercase characters in their name. (https://github.com/npm/npm-registry-client/commit/9345d3b6c3d8510dd5c4418f27ee1fce59acebad, @isaacs)
- Remove
npm publish --force
. See npm/npm-registry-couchapp#148. (@isaacs, npm/npm-registry-client@2c8dba990de6a59af6545b75cc00a6dc12777c2a) - Other changes to the registry client related to saved configs and couch logins. (@isaacs; npm/npm-registry-client@25e2b019a1588155e5f87d035c27e79963b75951, npm/npm-registry-client@9e41e9101b68036e0f078398785f618575f3cdde, npm/npm-registry-client@2c8dba990de6a59af6545b75cc00a6dc12777c2a)
- Show an error to the user when doing
npm update
and thepackage.json
specifies a version that does not exist. (@evanlucas,027a33a
) - Fix some issues with cache ownership in certain installation configurations.
(@outcoldman,
a132690
) - Fix issues where GitHub shorthand dependencies
user/repo
were not always treated the same as full Git URLs. (@robertkowalski, https://github.com/meryn/normalize-package-data/commit/005d0b637aec1895117fcb4e3b49185eebf9e240)
- Fixes and updates to publishing code
(
735427a
andc0ac832
, @isaacs) - Fix
npm bugs
with no arguments. (b99d465
, @Hoops)
- Make the search output prettier, with nice truncated columns, and a
--long
option to create wrapping columns. (20439b2
and3a6942d
, @timoxley) - Support multiple packagenames in
npm docs
. (823010b
, @timoxley) - Fix the
npm adduser
bug regarding "Error: default value must be string or number" again. (b9b4248
, @isaacs) - Fix
scripts
entries containing whitespaces on Windows. (80282ed
, @robertkowalski) - Fix
npm update
for Git URLs that have credentials in them (93fc364
, @danielsantiago) - Fix
npm install
overwritingnpm link
-ed dependencies when they are tagged Git dependencies. (af9bbd9
, @evanlucas) - Remove
npm prune --production
since it buggily removed some dependencies that were necessary for production; see #4509. Hopefully it can make its triumphant return, one day. (1101b6a
, @isaacs)
Dependency updates:
909cccf
[email protected]
a3891b6
[email protected]
ac6efbc
[email protected]
dd30038
[email protected]
c8c3ebe
[email protected]
4315286
[email protected]
- Properly handle installations that contained a certain class of circular
dependencies.
(
5dc93e8
, @substack)
- Fix a critical bug in
npm adduser
that would manifest in the error message "Error: default value must be string or number." (fba4bd2
, @isaacs) - Allow
npm bugs
in the current directory to open the current package's bugs URL. (d04cf64
, @evanlucas) - Several fixes to various error messages to include more useful or updated
information.
(
1e6f2a7
,ff46366
,8b4bb48
; @rlidwka, @evanlucas)
- Fix a critical bug that prevented publishing due to incorrect hash
calculation.
(
4ca4a2c
, @dominictarr)
- Fixes a critical bug in v1.3.19. Thankfully, due to that bug, no one could install npm v1.3.19 :)
- Adds atomic PUTs for publishing packages, which should result in far fewer requests and less room for replication errors on the server-side.
- Added an
--ignore-scripts
option, which will preventpackage.json
scripts from being run. Most notably, this will work onnpm install
, so e.g.npm install --ignore-scripts
will not run preinstall and prepublish scripts. (d7e67bf
, @sqs) - Fixed a bug introduced in 1.3.16 that would manifest with certain cache
configurations, by causing spurious errors saying "Adding a cache directory
to the cache will make the world implode."
(
966373f
, @domenic) - Re-fixed the multiple download of URL dependencies, whose fix was reverted in
1.3.17.
(
a362c3f
, @spmason)
- This release reverts
644c2ff
, which avoided re-downloading URL and shinkwrap dependencies when doingnpm install
. You can see the in-depth reasoning ind8c907e
; the problem was, that the patch changed the behavior ofnpm install -f
to reinstall all dependencies. - A new version of the no-re-downloading fix has been submitted as #4303 and will hopefully be included in the next release.
- Git URL dependencies are now updated on
npm install
, fixing a two-year old bug (5829ecf
, @robertkowalski). Additional progress on reducing the resulting Git-related I/O is tracked as #4191, but for now, this will be a big improvement. - Added a
--json
mode tonpm outdated
to give a parseable output. (0b6c9b7
, @yyx990803) - Made
npm outdated
much prettier and more useful. It now outputs a color-coded and easy-to-read table. (fd3017f
, @quimcalpe) - Added the
--depth
option tonpm outdated
, so that e.g. you can donpm outdated --depth=0
to show only top-level outdated dependencies. (1d184ef
, @yyx990803) - Added a
--no-git-tag-version
option tonpm version
, for doing the usual job ofnpm version
minus the Git tagging. This could be useful if you need to increase the version in other related files before actually adding the tag. (59ca984
, @evanlucas) - Made
npm repo
andnpm docs
work without any arguments, adding them to the list of npm commands that work on the package in the current directory when invoked without arguments. (bf9048e
, @robertkowalski;07600d0
, @wilmoore). There are a few other commands we still want to implement this for; see #4204. - Pass through the
GIT_SSL_NO_VERIFY
environment variable to Git, if it is set; we currently do this with a few other environment variables, but we missed that one. (c625de9
, @arikon) - Fixed
npm dedupe
on Windows due to incorrect path separators being used (7677de4
, @mcolyer). - Fixed the
npm help
command when multiple words were searched for; it previously gave aReferenceError
. (6a28dd1
, @dereckson) - Stopped re-downloading URL and shrinkwrap dependencies, as demonstrated in
#3463
(
644c2ff
, @spmason). You can use the--force
option to force re-download and installation of all dependencies.