@zeit/schemas
Advanced tools
Comparing version 2.15.0 to 2.15.1
{ | ||
"name": "@zeit/schemas", | ||
"version": "2.15.0", | ||
"version": "2.15.1", | ||
"description": "All schemas used for validation that are shared between our projects", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -26,3 +26,3 @@ /* eslint camelcase: 0 */ | ||
assert.equal(ajv.errors[0].dataPath, '.username'); | ||
assert.equal(ajv.errors[0].message, 'should match pattern "^[a-z][a-z0-9-]*$"'); | ||
assert.equal(ajv.errors[0].message, 'should match pattern "^[a-z][a-z0-9-]*[a-z0-9]$"'); | ||
}; | ||
@@ -39,3 +39,3 @@ | ||
assert.equal(ajv.errors[1].dataPath, '.username'); | ||
assert.equal(ajv.errors[1].message, 'should match pattern "^[a-z][a-z0-9-]*$"'); | ||
assert.equal(ajv.errors[1].message, 'should match pattern "^[a-z][a-z0-9-]*[a-z0-9]$"'); | ||
}; | ||
@@ -42,0 +42,0 @@ |
@@ -5,3 +5,3 @@ const Username = { | ||
maxLength: 48, | ||
pattern: '^[a-z][a-z0-9-]*$' | ||
pattern: '^[a-z][a-z0-9-]*[a-z0-9]$' | ||
}; | ||
@@ -8,0 +8,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24886
0