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

create-wdio

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-wdio - npm Package Compare versions

Comparing version 7.1.1 to 7.2.0

3

build/constants.js

@@ -6,4 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.UNSUPPORTED_NODE_VERSION = exports.PROGRAM_TITLE = exports.ASCII_ROBOT = void 0;
exports.UNSUPPORTED_NODE_VERSION = exports.PROGRAM_TITLE = exports.ASCII_ROBOT = exports.DEFAULT_NPM_TAG = void 0;
const chalk_1 = __importDefault(require("chalk"));
exports.DEFAULT_NPM_TAG = 'latest';
const colorItBold = chalk_1.default.bold.rgb(234, 89, 6);

@@ -10,0 +11,0 @@ const colorIt = chalk_1.default.rgb(234, 89, 6);

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

}
catch (e) { /* ignore */ }
catch (e) {
/* ignore */
}
let projectName;

@@ -34,6 +36,7 @@ let useYarn;

.action(name => (projectName = name))
.option('--use-yarn', 'Use Yarn package manager to install packages', false)
.option('--verbose', 'print additional logs')
.option('--yes', 'will fill in all config defaults without prompting', false)
.option('--dev', 'Install all packages as into devDependencies', true)
.option('-t, --npm-tag <tag>', 'Which NPM version you like to install, e.g. @next', constants_1.DEFAULT_NPM_TAG)
.option('-u, --use-yarn', 'Use Yarn package manager to install packages', false)
.option('-v, --verbose', 'print additional logs')
.option('-y, --yes', 'will fill in all config defaults without prompting', false)
.option('-d, --dev', 'Install all packages as into devDependencies', true)
.allowUnknownOption()

@@ -58,3 +61,4 @@ .on('--help', () => console.log())

async function createWebdriverIO(opts) {
const ewd = process.cwd();
const cwd = process.cwd();
const npmTag = opts.npmTag.startsWith('@') ? opts.npmTag : `@${opts.npmTag}`;
const unsupportedNodeVersion = !semver_1.default.satisfies(process.version, '>=12');

@@ -86,3 +90,3 @@ if (unsupportedNodeVersion) {

}
const deps = ['@wdio/cli'];
const deps = [`@wdio/cli${npmTag}`];
await install(deps.flat(), root, opts);

@@ -103,3 +107,3 @@ console.log('\nFinished installing packages.');

console.log(`\n🤖 Successfully setup project at ${root} 🎉`);
if (root != ewd) {
if (root != cwd) {
console.log(`\n${chalk_1.default.yellow('⚠')} First, change the directory via: ${chalk_1.default.cyan('$ cd')} ${chalk_1.default.green(root)}`);

@@ -106,0 +110,0 @@ }

{
"name": "create-wdio",
"version": "7.1.1",
"version": "7.2.0",
"description": "Install WebdriverIO with all its dependencies in a single run",

@@ -42,15 +42,15 @@ "author": "Christian Bromann <christian@saucelabs.com>",

"@types/cross-spawn": "^6.0.2",
"@types/jest": "^27.0.2",
"@types/node": "^17.0.7",
"@types/semver": "^7.3.8",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-plugin-import": "^2.25.2",
"jest": "^27.3.0",
"@types/jest": "^27.4.1",
"@types/node": "^18.0.0",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"eslint": "^8.10.0",
"eslint-plugin-import": "^2.25.4",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"release-it": "^14.11.6",
"ts-jest": "^27.0.7",
"ts-node": "^10.3.0",
"typescript": "^4.4.4"
"release-it": "^15.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
},

@@ -57,0 +57,0 @@ "dependencies": {

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