Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cy2

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cy2 - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0

dist/discovery-run-binary.d.ts

2

CHANGELOG.md

@@ -0,1 +1,3 @@

# [2.0.0](https://github.com/sorry-cypress/cy2/compare/v2.0.0-beta.0...v2.0.0) (2022-03-29)
# [2.0.0-beta.0](https://github.com/sorry-cypress/cy2/compare/v1.3.0...v2.0.0-beta.0) (2021-09-12)

@@ -2,0 +4,0 @@

5

dist/discovery-state-module.d.ts

@@ -1,4 +0,1 @@

export declare function getConfigFilesPaths_stateModule(): Promise<{
configFilePath: string;
backupConfigFilePath: string;
}>;
export declare function getConfigFilesPaths_stateModule(): Promise<import("./files").ConfigFiles>;

@@ -10,2 +10,3 @@ "use strict";

var _fs = require("./fs");
var _files = require("./files");
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {

@@ -54,9 +55,3 @@ try {

(0, _debug).debug('Cypress pkgRoot: %s', pkgRoot);
const configFilePath = _path.default.resolve(pkgRoot, 'packages/server/config/app.yml');
const backupConfigFilePath = _path.default.resolve(pkgRoot, 'packages/server/config/_app.yml');
(0, _debug).debug('Cypress configFilePath: %s', configFilePath);
return {
configFilePath,
backupConfigFilePath
};
return (0, _files).getConfigFiles(pkgRoot);
});

@@ -63,0 +58,0 @@ return _getConfigFilesPaths_stateModule.apply(this, arguments);

@@ -1,6 +0,2 @@

interface ConfigFilePaths {
configFilePath: string;
backupConfigFilePath: string;
}
export declare function getConfigFilesPaths(cypressConfigFilePath?: string | null): Promise<ConfigFilePaths>;
export {};
import { ConfigFiles } from 'files';
export declare function getConfigFilesPaths(cypressConfigFilePath?: string | null): Promise<ConfigFiles>;

@@ -10,2 +10,3 @@ "use strict";

var _discoveryCli = require("./discovery-cli");
var _discoveryRunBinary = require("./discovery-run-binary");
var _discoveryStateModule = require("./discovery-state-module");

@@ -58,2 +59,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {

}
if (typeof process.env.CYPRESS_RUN_BINARY === 'string') {
(0, _debug).debug('CYPRESS_RUN_BINARY: %s', process.env.CYPRESS_RUN_BINARY);
return tryAll(()=>(0, _discoveryRunBinary).getConfigFromElectronBinary(process.env.CYPRESS_RUN_BINARY)
);
}
return tryAll(_discoveryStateModule.getConfigFilesPaths_stateModule, _discoveryCli.getConfigFilesPaths_cli);

@@ -74,3 +80,3 @@ });

} catch (e) {
(0, _debug).debug('Discovery error received: %s', e);
(0, _debug).debug('Discovery error: %s', e);
errors.push(e);

@@ -77,0 +83,0 @@ }

{
"name": "cy2",
"version": "2.0.0-beta.0",
"version": "2.0.0",
"author": "Andrew Goldis",

@@ -5,0 +5,0 @@ "main": "./dist",

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