@architect/parser
Advanced tools
Comparing version 2.1.0 to 2.1.1-RC.0
{ | ||
"name": "@architect/parser", | ||
"version": "2.1.0", | ||
"version": "2.1.1-RC.0", | ||
"description": "Architect Parser accepts plaintext, JSON, or YAML .arc manifests and returns a plain JavaScript Object", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
{ | ||
"definitions": { | ||
"name": { | ||
"strictName": { | ||
"type": "string", | ||
"pattern": "^[a-z][a-z|\\-|0-9]+$" | ||
"pattern": "^[a-z][a-z0-9\\-]+$" | ||
}, | ||
"looseName": { | ||
"type": "string", | ||
"pattern": "^[a-z][a-zA-Z0-9\\-_]+$" | ||
}, | ||
"macros": { | ||
"type": "string", | ||
"pattern": "^[a-z][a-zA-Z0-9\\-_/.]+$" | ||
}, | ||
"region": { | ||
@@ -34,3 +42,3 @@ "type": "string", | ||
"propertyNames": { | ||
"pattern": "^[a-z][a-z|\\-|0-9]+$" | ||
"pattern": "^[a-z][a-z|0-9|\\-]+$" | ||
}, | ||
@@ -73,5 +81,4 @@ "minProperties": 1, | ||
"maxItems": 1, | ||
"pattern": "^[a-z][a-z|\\-|0-9]+$", | ||
"items": { | ||
"$ref": "#/definitions/name" | ||
"$ref": "#/definitions/looseName" | ||
} | ||
@@ -186,3 +193,3 @@ }, | ||
"items": { | ||
"$ref": "#/definitions/name" | ||
"$ref": "#/definitions/strictName" | ||
} | ||
@@ -204,7 +211,22 @@ }, | ||
"properties": { | ||
"get": {"type": "string", "pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$"}, | ||
"post": {"type": "string", "pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$"}, | ||
"put": {"type": "string", "pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$"}, | ||
"patch": {"type": "string", "pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$"}, | ||
"delete": {"type": "string", "pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$"} | ||
"get": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$" | ||
}, | ||
"post": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$" | ||
}, | ||
"put": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$" | ||
}, | ||
"patch": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$" | ||
}, | ||
"delete": { | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9\\/\\-:\\._]+$" | ||
} | ||
}, | ||
@@ -235,3 +257,3 @@ "items": [ | ||
"items": { | ||
"$ref": "#/definitions/name" | ||
"$ref": "#/definitions/strictName" | ||
} | ||
@@ -245,3 +267,3 @@ }, | ||
"items": { | ||
"$ref": "#/definitions/name" | ||
"$ref": "#/definitions/strictName" | ||
} | ||
@@ -255,3 +277,3 @@ }, | ||
"items": { | ||
"$ref": "#/definitions/name" | ||
"$ref": "#/definitions/macros" | ||
} | ||
@@ -258,0 +280,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
477414
11767
3