This commit is contained in:
eric sciple 2020-01-24 12:20:19 -05:00
parent beb1329f9f
commit 2b95e76931
7736 changed files with 1874747 additions and 51184 deletions

30
node_modules/har-schema/lib/afterRequest.json generated vendored Normal file
View file

@ -0,0 +1,30 @@
{
"$id": "afterRequest.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"optional": true,
"required": [
"lastAccess",
"eTag",
"hitCount"
],
"properties": {
"expires": {
"type": "string",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
},
"lastAccess": {
"type": "string",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
},
"eTag": {
"type": "string"
},
"hitCount": {
"type": "integer"
},
"comment": {
"type": "string"
}
}
}

30
node_modules/har-schema/lib/beforeRequest.json generated vendored Normal file
View file

@ -0,0 +1,30 @@
{
"$id": "beforeRequest.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"optional": true,
"required": [
"lastAccess",
"eTag",
"hitCount"
],
"properties": {
"expires": {
"type": "string",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
},
"lastAccess": {
"type": "string",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
},
"eTag": {
"type": "string"
},
"hitCount": {
"type": "integer"
},
"comment": {
"type": "string"
}
}
}

20
node_modules/har-schema/lib/browser.json generated vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$id": "browser.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

21
node_modules/har-schema/lib/cache.json generated vendored Normal file
View file

@ -0,0 +1,21 @@
{
"$id": "cache.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"properties": {
"beforeRequest": {
"oneOf": [
{ "type": "null" },
{ "$ref": "beforeRequest.json#" }
]
},
"afterRequest": {
"oneOf": [
{ "type": "null" },
{ "$ref": "afterRequest.json#" }
]
},
"comment": {
"type": "string"
}
}
}

29
node_modules/har-schema/lib/content.json generated vendored Normal file
View file

@ -0,0 +1,29 @@
{
"$id": "content.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"size",
"mimeType"
],
"properties": {
"size": {
"type": "integer"
},
"compression": {
"type": "integer"
},
"mimeType": {
"type": "string"
},
"text": {
"type": "string"
},
"encoding": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

36
node_modules/har-schema/lib/cookie.json generated vendored Normal file
View file

@ -0,0 +1,36 @@
{
"$id": "cookie.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"path": {
"type": "string"
},
"domain": {
"type": "string"
},
"expires": {
"type": ["string", "null"],
"format": "date-time"
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"comment": {
"type": "string"
}
}
}

20
node_modules/har-schema/lib/creator.json generated vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$id": "creator.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

53
node_modules/har-schema/lib/entry.json generated vendored Normal file
View file

@ -0,0 +1,53 @@
{
"$id": "entry.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"optional": true,
"required": [
"startedDateTime",
"time",
"request",
"response",
"cache",
"timings"
],
"properties": {
"pageref": {
"type": "string"
},
"startedDateTime": {
"type": "string",
"format": "date-time",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
},
"time": {
"type": "number",
"min": 0
},
"request": {
"$ref": "request.json#"
},
"response": {
"$ref": "response.json#"
},
"cache": {
"$ref": "cache.json#"
},
"timings": {
"$ref": "timings.json#"
},
"serverIPAddress": {
"type": "string",
"oneOf": [
{ "format": "ipv4" },
{ "format": "ipv6" }
]
},
"connection": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

13
node_modules/har-schema/lib/har.json generated vendored Normal file
View file

@ -0,0 +1,13 @@
{
"$id": "har.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"log"
],
"properties": {
"log": {
"$ref": "log.json#"
}
}
}

20
node_modules/har-schema/lib/header.json generated vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$id": "header.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

22
node_modules/har-schema/lib/index.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
'use strict'
module.exports = {
afterRequest: require('./afterRequest.json'),
beforeRequest: require('./beforeRequest.json'),
browser: require('./browser.json'),
cache: require('./cache.json'),
content: require('./content.json'),
cookie: require('./cookie.json'),
creator: require('./creator.json'),
entry: require('./entry.json'),
har: require('./har.json'),
header: require('./header.json'),
log: require('./log.json'),
page: require('./page.json'),
pageTimings: require('./pageTimings.json'),
postData: require('./postData.json'),
query: require('./query.json'),
request: require('./request.json'),
response: require('./response.json'),
timings: require('./timings.json')
}

36
node_modules/har-schema/lib/log.json generated vendored Normal file
View file

@ -0,0 +1,36 @@
{
"$id": "log.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"version",
"creator",
"entries"
],
"properties": {
"version": {
"type": "string"
},
"creator": {
"$ref": "creator.json#"
},
"browser": {
"$ref": "browser.json#"
},
"pages": {
"type": "array",
"items": {
"$ref": "page.json#"
}
},
"entries": {
"type": "array",
"items": {
"$ref": "entry.json#"
}
},
"comment": {
"type": "string"
}
}
}

32
node_modules/har-schema/lib/page.json generated vendored Normal file
View file

@ -0,0 +1,32 @@
{
"$id": "page.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"optional": true,
"required": [
"startedDateTime",
"id",
"title",
"pageTimings"
],
"properties": {
"startedDateTime": {
"type": "string",
"format": "date-time",
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
},
"id": {
"type": "string",
"unique": true
},
"title": {
"type": "string"
},
"pageTimings": {
"$ref": "pageTimings.json#"
},
"comment": {
"type": "string"
}
}
}

18
node_modules/har-schema/lib/pageTimings.json generated vendored Normal file
View file

@ -0,0 +1,18 @@
{
"$id": "pageTimings.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"properties": {
"onContentLoad": {
"type": "number",
"min": -1
},
"onLoad": {
"type": "number",
"min": -1
},
"comment": {
"type": "string"
}
}
}

43
node_modules/har-schema/lib/postData.json generated vendored Normal file
View file

@ -0,0 +1,43 @@
{
"$id": "postData.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"optional": true,
"required": [
"mimeType"
],
"properties": {
"mimeType": {
"type": "string"
},
"text": {
"type": "string"
},
"params": {
"type": "array",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"fileName": {
"type": "string"
},
"contentType": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"comment": {
"type": "string"
}
}
}

20
node_modules/har-schema/lib/query.json generated vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$id": "query.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"comment": {
"type": "string"
}
}
}

57
node_modules/har-schema/lib/request.json generated vendored Normal file
View file

@ -0,0 +1,57 @@
{
"$id": "request.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"method",
"url",
"httpVersion",
"cookies",
"headers",
"queryString",
"headersSize",
"bodySize"
],
"properties": {
"method": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"httpVersion": {
"type": "string"
},
"cookies": {
"type": "array",
"items": {
"$ref": "cookie.json#"
}
},
"headers": {
"type": "array",
"items": {
"$ref": "header.json#"
}
},
"queryString": {
"type": "array",
"items": {
"$ref": "query.json#"
}
},
"postData": {
"$ref": "postData.json#"
},
"headersSize": {
"type": "integer"
},
"bodySize": {
"type": "integer"
},
"comment": {
"type": "string"
}
}
}

54
node_modules/har-schema/lib/response.json generated vendored Normal file
View file

@ -0,0 +1,54 @@
{
"$id": "response.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"required": [
"status",
"statusText",
"httpVersion",
"cookies",
"headers",
"content",
"redirectURL",
"headersSize",
"bodySize"
],
"properties": {
"status": {
"type": "integer"
},
"statusText": {
"type": "string"
},
"httpVersion": {
"type": "string"
},
"cookies": {
"type": "array",
"items": {
"$ref": "cookie.json#"
}
},
"headers": {
"type": "array",
"items": {
"$ref": "header.json#"
}
},
"content": {
"$ref": "content.json#"
},
"redirectURL": {
"type": "string"
},
"headersSize": {
"type": "integer"
},
"bodySize": {
"type": "integer"
},
"comment": {
"type": "string"
}
}
}

42
node_modules/har-schema/lib/timings.json generated vendored Normal file
View file

@ -0,0 +1,42 @@
{
"$id": "timings.json#",
"$schema": "http://json-schema.org/draft-06/schema#",
"required": [
"send",
"wait",
"receive"
],
"properties": {
"dns": {
"type": "number",
"min": -1
},
"connect": {
"type": "number",
"min": -1
},
"blocked": {
"type": "number",
"min": -1
},
"send": {
"type": "number",
"min": -1
},
"wait": {
"type": "number",
"min": -1
},
"receive": {
"type": "number",
"min": -1
},
"ssl": {
"type": "number",
"min": -1
},
"comment": {
"type": "string"
}
}
}