Home
last modified time | relevance | path

Searched refs:validatePackageName (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/npm/node_modules/npm-package-arg/
Dnpa.js14 let validatePackageName variable
44 if (!validatePackageName) validatePackageName = require('validate-npm-package-name')
45 const valid = validatePackageName(arg)
/third_party/typescript/src/testRunner/unittests/tsserver/
DtypingsInstaller.ts2 import validatePackageName = JsTyping.validatePackageName;
1363 assert.equal(validatePackageName(packageName), NameValidationResult.NameTooLong);
1366 assert.equal(validatePackageName(".foo"), NameValidationResult.NameStartsWithDot);
1369 … assert.equal(validatePackageName("_foo"), NameValidationResult.NameStartsWithUnderscore);
1372 …assert.equal(validatePackageName(" scope "), NameValidationResult.NameContainsNonURISafeCharacte…
1373 …assert.equal(validatePackageName("; say ‘Hello from TypeScript!’ #"), NameValidationResult.NameCon…
1374 … assert.equal(validatePackageName("a/b/c"), NameValidationResult.NameContainsNonURISafeCharacters);
1377 assert.equal(validatePackageName("@scope/bar"), NameValidationResult.Ok);
1380 …assert.deepEqual(validatePackageName("@.scope/bar"), { name: ".scope", isScopeName: true, result: …
1381 …assert.deepEqual(validatePackageName("@.scope/.bar"), { name: ".scope", isScopeName: true, result:…
[all …]
/third_party/typescript/src/jsTyping/
DjsTyping.ts314 export function validatePackageName(packageName: string): PackageNameValidationResult { function
/third_party/typescript/src/typingsInstallerCore/
DtypingsInstaller.ts285 const validationResult = JsTyping.validatePackageName(typing);
/third_party/typescript/src/tsserver/
DnodeServer.ts538 const validationResult = JsTyping.validatePackageName(name);
/third_party/typescript/lib/
DtypingsInstaller.js115192 function validatePackageName(packageName) { function
115195 JsTyping.validatePackageName = validatePackageName;
115490 var validationResult = ts.JsTyping.validatePackageName(typing);
Dtsserver.js152531 function validatePackageName(packageName) { function
152534 JsTyping.validatePackageName = validatePackageName;
163878 var validationResult = ts.JsTyping.validatePackageName(name);
DtypescriptServices.js115397 function validatePackageName(packageName) { function
115400 JsTyping.validatePackageName = validatePackageName;
Dtsserverlibrary.js115397 function validatePackageName(packageName) { function
115400 JsTyping.validatePackageName = validatePackageName;
Dtypescript.js115397 function validatePackageName(packageName) { function
115400 JsTyping.validatePackageName = validatePackageName;