New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cypress/json-schemas

Package Overview
Dependencies
Maintainers
5
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/json-schemas - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/instance/cypress-stats.d.ts

2

dist/instance/index.d.ts
import { VersionedSchema } from '@cypress/schema-tools';
export declare const PutInstanceRequest: VersionedSchema;
export declare const Screenshot: VersionedSchema;
export declare const MochaReporterStats: VersionedSchema;
export declare const CypressStats: VersionedSchema;
export declare const ScreenshotUploadUrl: VersionedSchema;
export declare const PutInstanceResponse: VersionedSchema;

@@ -9,5 +9,3 @@ "use strict";

exports.Screenshot = schema_tools_1.versionSchemas(put_request_1.Screenshot100);
exports.MochaReporterStats = schema_tools_1.versionSchemas(put_request_1.MochaReporterStats100);
exports.CypressStats = schema_tools_1.versionSchemas(put_request_1.CypressStats100);
exports.ScreenshotUploadUrl = schema_tools_1.versionSchemas(screenshot_upload_url_1.ScreenshotUploadUrl100);
exports.PutInstanceResponse = schema_tools_1.versionSchemas(put_response_1.PutInstanceResponse100);
import { ObjectSchema, PlainObject } from '@cypress/schema-tools';
import { TestFromRunnerExample100 } from '../test-information';
export declare const MochaReporterStats100: ObjectSchema;
export declare const CypressStats100: ObjectSchema;
export declare const Screenshot100: ObjectSchema;

@@ -6,0 +4,0 @@ export declare type PutInstanceRequestExample100 = {

@@ -11,65 +11,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var schema_tools_1 = require("@cypress/schema-tools");
var test_information_1 = require("../test-information");
var hook_1 = require("../hook");
exports.MochaReporterStats100 = {
version: {
major: 1,
minor: 0,
patch: 0,
},
schema: {
title: 'MochaReporterStats',
type: 'object',
description: 'Stats from Mocha reporter - really dynamic and depends on the reporter',
properties: {
suites: {
type: 'integer',
minimum: 0,
},
tests: {
type: 'integer',
minimum: 0,
},
passes: {
type: 'integer',
minimum: 0,
},
pending: {
type: 'integer',
minimum: 0,
},
failures: {
type: 'integer',
minimum: 0,
},
start: {
type: 'string',
format: 'date-time',
},
end: {
type: 'string',
format: 'date-time',
},
duration: {
type: 'integer',
minimum: 0,
description: 'ms',
},
},
required: [],
additionalProperties: true,
},
example: {
suites: 5,
tests: 6,
passes: 1,
pending: 1,
failures: 3,
start: '2018-02-01T20:14:19.323Z',
end: '2018-02-01T20:14:19.323Z',
duration: 1234,
},
};
exports.CypressStats100 = schema_tools_1.addProperty(exports.MochaReporterStats100, 'CypressStats', 'Extends Mocha stats with "skipped" count', 'skipped', 'integer', null, 0, true, 'Number of tests that were skipped due to errors in "before" / "beforeEach" hooks');
var mocha_stats_1 = require("./mocha-stats");
var cypress_stats_1 = require("./cypress-stats");
exports.Screenshot100 = {

@@ -131,4 +72,4 @@ version: {

error: undefined,
stats: exports.CypressStats100.example,
reporterStats: exports.MochaReporterStats100.example,
stats: cypress_stats_1.CypressStats100.example,
reporterStats: mocha_stats_1.MochaReporterStats100.example,
hooks: [hook_1.Hook100.example],

@@ -157,4 +98,4 @@ tests: [test_information_1.testFromRunnerExample100],

},
stats: __assign({}, exports.CypressStats100.schema, { see: 'CypressStats', description: 'Similar to Mocha reporter stats but with "skipped" count' }),
reporterStats: __assign({}, exports.MochaReporterStats100.schema, { see: 'MochaReporterStats' }),
stats: __assign({}, cypress_stats_1.CypressStats100.schema, { see: 'CypressStats', description: 'Similar to Mocha reporter stats but with "skipped" count' }),
reporterStats: __assign({}, mocha_stats_1.MochaReporterStats100.schema, { see: 'MochaReporterStats' }),
hooks: {

@@ -161,0 +102,0 @@ type: 'array',

@@ -9,2 +9,4 @@ "use strict";

var instance_2 = require("./instance");
var mocha_stats_1 = require("./instance/mocha-stats");
var cypress_stats_1 = require("./instance/cypress-stats");
var hook_1 = require("./hook");

@@ -18,2 +20,2 @@ var test_information_1 = require("./test-information");

var ci_1 = require("./ci");
exports.schemas = schema_tools_1.combineSchemas(commit_1.CommitInformation, instance_2.CypressStats, index_1.GetRunResponse, hook_1.Hook, instance_1.Instance, instance_1.GetInstanceResponse, instance_2.MochaReporterStats, platform_1.PlatformInformation, request_2.PostRunInstanceRequest, request_1.PostRunRequest, response_1.PostRunResponse, instance_2.PutInstanceRequest, instance_2.PutInstanceResponse, instance_2.Screenshot, instance_2.ScreenshotUploadUrl, test_information_1.TestFromRunner, test_information_1.TestInformation, test_screenshot_1.TestScreenshot, video_1.Video, ci_1.CiInformation);
exports.schemas = schema_tools_1.combineSchemas(commit_1.CommitInformation, cypress_stats_1.CypressStats, index_1.GetRunResponse, hook_1.Hook, instance_1.Instance, instance_1.GetInstanceResponse, mocha_stats_1.MochaReporterStats, platform_1.PlatformInformation, request_2.PostRunInstanceRequest, request_1.PostRunRequest, response_1.PostRunResponse, instance_2.PutInstanceRequest, instance_2.PutInstanceResponse, instance_2.Screenshot, instance_2.ScreenshotUploadUrl, test_information_1.TestFromRunner, test_information_1.TestInformation, test_screenshot_1.TestScreenshot, video_1.Video, ci_1.CiInformation);
{
"name": "@cypress/json-schemas",
"version": "2.0.0",
"version": "2.0.1",
"description": "Cypress JSON schemas",

@@ -35,13 +35,13 @@ "main": "dist",

"@cypress/schema-tools": "1.1.0",
"@types/node": "9.6.2",
"@types/node": "9.6.6",
"ava": "0.25.0",
"ava-ts": "0.24.2",
"deps-ok": "1.4.0",
"husky": "0.15.0-rc.9",
"ava-ts": "0.24.4",
"deps-ok": "1.4.1",
"husky": "0.15.0-rc.13",
"prettier": "1.12.1",
"semantic-release": "^15.1.7",
"semantic-release": "15.1.7",
"stop-build": "1.1.0",
"ts-node": "5.0.1",
"ts-node": "6.0.1",
"tslint": "5.9.1",
"typescript": "2.8.1"
"typescript": "2.8.3"
},

@@ -48,0 +48,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc