Skip to content

Commit 272e6c4

Browse files
Kitten Kingisaacs
Kitten King
authored andcommitted
Fix Typos
PR-URL: #220 Credit: @kittenking Close: #220 Reviewed-by: @isaacs
1 parent 0ebf071 commit 272e6c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/install/diff-trees.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var moduleName = require('../utils/module-name.js')
1111
var isOnlyOptional = require('./is-only-optional.js')
1212

1313
// we don't use get-requested because we're operating on files on disk, and
14-
// we don't want to extropolate from what _should_ be there.
14+
// we don't want to extrapolate from what _should_ be there.
1515
function pkgRequested (pkg) {
1616
return pkg._requested || (pkg._resolved && npa(pkg._resolved)) || (pkg._from && npa(pkg._from))
1717
}

lib/shrinkwrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function shrinkwrapDeps (deps, top, tree, seen) {
121121
if (isRegistry(requested)) {
122122
pkginfo.resolved = child.package._resolved
123123
}
124-
// no integrity for git deps as integirty hashes are based on the
124+
// no integrity for git deps as integrity hashes are based on the
125125
// tarball and we can't (yet) create consistent tarballs from a stable
126126
// source.
127127
if (requested.type !== 'git') {

test/tap/false-name.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test('not every pkg.name can be required', function (t) {
5858
)
5959
t.ok(
6060
existsSync(path.join(pkg, 'node_modules', 'test-package')),
61-
'test-pacakge subdep installed OK'
61+
'test-package subdep installed OK'
6262
)
6363
t.end()
6464
}

0 commit comments

Comments
 (0)