Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -220,7 +220,7 @@ bumped due to bugs that had been around for a while.
([@zkat](https://github.com/zkat))
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
[npm/cli#24](https://github.com/npm/cli/pull/24)
Use the defaut OTP explanation everywhere except when the context is
Use the default OTP explanation everywhere except when the context is
"OTP-aware" (like when setting double-authentication). This improves the
overall CLI messaging when prompting for an OTP code.
([@jdeniau](https://github.com/jdeniau))
Expand Down
10 changes: 5 additions & 5 deletions changelogs/CHANGELOG-2.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
### v2.15.12 (2017-03-24):

This version brings the latest `node-gyp` to a soon to be released Node.js
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4.x. The `node-gyp` update is particularly important to Windows folks due to
its addition of Visual Studio 2017 support.

* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
Expand DownExpand Up@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
functionality will land anytime soon.

Looking forward, the team's current plan is to drop support for Node.js 0.10
when its LTS maintenace window expires in October, 2016, and 0.12 when its
when its LTS maintenance window expires in October, 2016, and 0.12 when its
maintenance / LTS window ends at the end of 2016. We will also drop support for
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
October-December 2016 timeframe.
Expand DownExpand Up@@ -1507,7 +1507,7 @@ change makes it do.

We _think_ this is what everyone wants, but if this causes problems for you, we
want to know! If it proves problematic for people we will consider reverting it
(preferrably before this becomes `npm@latest`).
(preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed `npm
install foo@*`. Now, like any range-type specifier, in addition to matching the
Expand DownExpand Up@@ -2742,7 +2742,7 @@ NodeConf Adventure!
([@iarna](https://github.com/iarna))
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
`os.tmpdir()` for greate consistency in behavior between node versions.
`os.tmpdir()` for greater consistency in behavior between node versions.
([@iarna](https://github.com/iarna))
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
Expand DownExpand Up@@ -4588,7 +4588,7 @@ Other changes:
([@gfxmonk](https://github.com/gfxmonk))
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
adding git repo to cach under Windows.
adding git repo to cache under Windows.
([@othiym23](https://github.com/othiym23))
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
Expand Down
8 changes: 4 additions & 4 deletions changelogs/CHANGELOG-3.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
([@watilde](https://github.com/watilde))
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
[#11003](https://github.com/npm/npm/issues/11003)
Remove "verison" typo from the help listing.
Remove "version" typo from the help listing.
([@doug-wade](https://github.com/doug-wade))

#### MORE COMPLETE CONFIG LISTINGS
Expand DownExpand Up@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
folder with the same layout as global modules. Only your direct
dependencies will show in `node_modules` and everything they depend on
will be flattened in their `node_modules` folders. This obviously will
elminate some deduping.
eliminate some deduping.
([@iarna](https://github.com/iarna))

#### TYPOS IN THE LICENSE, OH MY
Expand All@@ -3492,7 +3492,7 @@ this change makes it do.

We _think_ this is what everyone wants, but if this causes problems for
you, we want to know! If it proves problematic for people we will consider
reverting it (preferrably before this becomes `npm@latest`).
reverting it (preferably before this becomes `npm@latest`).

Previously, when you ran `npm install foo` we would act as if you typed
`npm install foo@*`. Now, like any range-type specifier, in addition to
Expand DownExpand Up@@ -4070,7 +4070,7 @@ in line with `npm@2`.

* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
[#9433](https://github.com/npm/npm/issues/9433)
Give better error messages for invalid URLs in the dependecy
Give better error messages for invalid URLs in the dependency
list.
([@jamietre](https://github.com/jamietre))

Expand Down
4 changes: 2 additions & 2 deletions changelogs/CHANGELOG-4.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
### v4.4.1 (2017-03-06):

This is a quick little patch release to forgo the update notification
checker if you're on an unsuported (but not otherwise broken) version of
checker if you're on an unsupported (but not otherwise broken) version of
Node.js. Right now that means 0.10 or 0.12.

* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
Expand DownExpand Up@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and

* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
[#14290](https://github.com/npm/npm/pull/14290)
Add `prepare` and `prepublishOnly` lifecyle events.
Add `prepare` and `prepublishOnly` lifecycle events.
([@othiym23](https://github.com/othiym23))
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
[#14290](https://github.com/npm/npm/pull/14290)
Expand Down
6 changes: 3 additions & 3 deletions changelogs/CHANGELOG-5.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
If you can't get enough of the bleeding edge, I encourage you to check out
our canary release of npm. Get it with `npm install -g npmc`. It's going to
be seeing some exciting stuff in the next couple of weeks, starting with a
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
find out.

### PERFORMANCE
Expand DownExpand Up@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
([@KennethKinLum](https://github.com/KennethKinLum))
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
[#17074](https://github.com/npm/npm/pull/17074)
Clarify config documention with multiple boolean flags.
Clarify config documentation with multiple boolean flags.
([@KennethKinLum](https://github.com/KennethKinLum))
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
[#16768](https://github.com/npm/npm/pull/16768)
Expand DownExpand Up@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
Fix a crash while installing with `--no-shrinkwrap`.
([@jacknagel](https://github.com/jacknagel))

### DOC UPATES
### DOC UPDATES

* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
[#16818](https://github.com/npm/npm/pull/16818)
Expand Down
2 changes: 1 addition & 1 deletion doc/misc/npm-registry.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,7 +41,7 @@ about your environment:
information to allow you to customize your experience for your
organization.
* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
continous integration environment, "false" otherwise. This is detected by
continuous integration environment, "false" otherwise. This is detected by
looking for the following environment variables: `CI`, `TDDIUM`,
`JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
the [original PR](https://github.com/npm/npm-registry-client/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion lib/install/mutate-into-logical-tree.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ var npm = require('../npm.js')

// Return true if tree is a part of a cycle that:
// A) Never connects to the top of the tree
// B) Has not not had a point in the cycle arbitraryly declared its top
// B) Has not not had a point in the cycle arbitrarily declared its top
// yet.
function isDisconnectedCycle (tree, seen) {
if (!seen) seen = {}
Expand Down
12 changes: 6 additions & 6 deletions test/need-npm5-update/lifecycle-signal.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,13 +88,13 @@ test('lifecycle wait for async child process exit', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'async'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand All@@ -110,13 +110,13 @@ test('lifecycle force kill using multiple SIGINT signals', {
skip: process.platform !== 'darwin' && 'broken'
}, function (t) {
var innerChildPid
var interupted
var interrupted
var child = spawn(npm, ['run', 'zombie'], {
cwd: pkg
})
child.stderr.on('data', function (data) {
if (!interupted) {
interupted = true
if (!interrupted) {
interrupted = true
child.kill('SIGINT')
} else {
innerChildPid = parseInt(data.toString(), 10)
Expand Down
2 changes: 1 addition & 1 deletion test/tap/config-basic.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ test('no builtin', function (t) {
npmconf.load(cli, function (er, conf) {
if (er) throw er
expectNames.forEach(function (name, ii) {
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properities list: ' + name)
isDeeplyDetails(t, conf.list[ii], expectList[ii], 'config properties list: ' + name)
})
isDeeplyDetails(t, conf.sources, expectSources, 'config by source')
t.same(npmconf.rootConf.list, [], 'root configuration is empty')
Expand Down
4 changes: 2 additions & 2 deletions test/tap/ls-depth-cli.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -82,7 +82,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand DownExpand Up@@ -128,7 +128,7 @@ test('npm ls --depth=0 --json', function (t) {

test('npm ls --depth=Infinity --json', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity', '--json'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/ls-depth-unmet.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@ test('npm ls --depth=1', function (t) {

test('npm ls --depth=Infinity', function (t) {
// travis has a preconfigured depth=0, in general we can not depend
// on the default value in all environments, so explictly set it here
// on the default value in all environments, so explicitly set it here
common.npm(
['ls', '--depth=Infinity'],
EXEC_OPTS,
Expand Down
2 changes: 1 addition & 1 deletion test/tap/unit-deps-earliestInstallable.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ test('earliestInstallable should consider devDependencies', function (t) {
realpath: '/dep2'
}

// an incompatible verson of dep2. required by dep1
// an incompatible version of dep2. required by dep1
var dep2a = {
package: {
name: 'dep2',
Expand Down