Comparing version 2.0.0-beta.0 to 2.0.0
@@ -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 @@ |
@@ -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", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
33914
27
697
1
2
12