+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
1
1
const { format } = require('util')
2
2
const { resolve } = require('path')
3
-
const nameValidator = require('validate-npm-package-name')
4
3
const { redactLog: replaceInfo } = require('@npmcli/redact')
5
4
const { report } = require('./explain-eresolve.js')
6
5
const log = require('./log-shim')
@@ -215,6 +214,7 @@ const errorMessage = (er, npm) => {
215
214
detail.push(['404', ''])
216
215
detail.push(['404', '', `'${replaceInfo(er.pkgid)}' is not in this registry.`])
217
216
217
+
const nameValidator = require('validate-npm-package-name')
218
218
const valResult = nameValidator(pkg)
219
219
220
220
if (!valResult.validForNewPackages) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4