Skip to content

Commit 16014dc

Browse files
authored
1.x Deps Update (#219)
* fix(devDeps): updated standard * fix(devDeps): updated c8 * fix(devDeps): updated mocha * fix(deps): updated @npmcli/name-from-folder * fix(deps): updated opta * fix(deps): updated npm-package-arg * fix(deps): updated fs-extra * fix(deps): updated read-package-json * fix(deps): updated validate-npm-package-name
1 parent 228f7e6 commit 16014dc

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ async function readPackageJson (options, { log } = {}) {
278278
version: pkg.version,
279279
name: pkg.name,
280280
type: pkg.type,
281-
author: author,
281+
author,
282282
description: pkg.description,
283283
repository: repo,
284284
keywords: pkg.keywords,

lib/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports.install = (deps = [], opts = {}) => {
3535
args = args.concat(deps)
3636

3737
return execFile('npm', args, {
38-
env: env,
38+
env,
3939
cwd: opts.directory || process.cwd()
4040
})
4141
}

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"test": "standard && mocha",
1212
"test:debug": "mocha --inspect --inspect-brk --timeout=0",
1313
"test:cover": "c8 mocha",
14+
"lint:fix": "standard --fix",
1415
"debug": "mocha --inspect --inspect-brk",
1516
"release": "npm t && standard-version && npm publish",
1617
"postpublish": "git push && git push --tags"
@@ -33,20 +34,20 @@
3334
},
3435
"license": "ICS",
3536
"dependencies": {
36-
"@npmcli/name-from-folder": "^1.0.1",
37-
"fs-extra": "^9.0.1",
37+
"@npmcli/name-from-folder": "^2.0.0",
38+
"fs-extra": "^11.1.1",
3839
"loggerr": "^3.0.0",
39-
"npm-package-arg": "^8.0.1",
40-
"opta": "^0.1.0",
41-
"read-package-json": "^3.0.0",
40+
"npm-package-arg": "^11.0.1",
41+
"opta": "^1.0.0",
42+
"read-package-json": "^7.0.0",
4243
"safe-parse-list": "^0.1.1",
43-
"validate-npm-package-name": "^3.0.0"
44+
"validate-npm-package-name": "^5.0.0"
4445
},
4546
"devDependencies": {
46-
"c8": "^7.3.0",
47+
"c8": "^8.0.1",
4748
"fs-test-fixtures": "^0.1.3",
48-
"mocha": "^8.1.3",
49-
"standard": "^14.3.4",
49+
"mocha": "^10.2.0",
50+
"standard": "^17.1.0",
5051
"standard-version": "^9.0.0"
5152
}
5253
}

0 commit comments

Comments
 (0)