Searched refs:validatePackageName (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/npm/node_modules/npm-package-arg/ |
D | npa.js | 14 let validatePackageName variable 44 if (!validatePackageName) validatePackageName = require('validate-npm-package-name') 45 const valid = validatePackageName(arg)
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | typingsInstaller.ts | 2 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/ |
D | jsTyping.ts | 314 export function validatePackageName(packageName: string): PackageNameValidationResult { function
|
/third_party/typescript/src/typingsInstallerCore/ |
D | typingsInstaller.ts | 285 const validationResult = JsTyping.validatePackageName(typing);
|
/third_party/typescript/src/tsserver/ |
D | nodeServer.ts | 538 const validationResult = JsTyping.validatePackageName(name);
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 115192 function validatePackageName(packageName) { function 115195 JsTyping.validatePackageName = validatePackageName; 115490 var validationResult = ts.JsTyping.validatePackageName(typing);
|
D | tsserver.js | 152531 function validatePackageName(packageName) { function 152534 JsTyping.validatePackageName = validatePackageName; 163878 var validationResult = ts.JsTyping.validatePackageName(name);
|
D | typescriptServices.js | 115397 function validatePackageName(packageName) { function 115400 JsTyping.validatePackageName = validatePackageName;
|
D | tsserverlibrary.js | 115397 function validatePackageName(packageName) { function 115400 JsTyping.validatePackageName = validatePackageName;
|
D | typescript.js | 115397 function validatePackageName(packageName) { function 115400 JsTyping.validatePackageName = validatePackageName;
|