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

@bbc/nightwatch-commands

Package Overview
Dependencies
Maintainers
28
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/nightwatch-commands - npm Package Compare versions

Comparing version

to
1.0.2

8

commands/getVersionNumbers.js

@@ -10,6 +10,10 @@ exports.command = function (selectors) {

selectors.forEach (function (selector) {
var regex = new RegExp(selector + '\/[0-9]*.[0-9]*.[0-9]*-?[0-9]*', 'gmi');
console.log(result.value.match(regex)[0]);
try{
var regex = new RegExp(selector + '\/[0-9]*.[0-9]*.[0-9]*-?[0-9]*', 'gmi');
console.log(result.value.match(regex)[0]);
} catch (e) {
console.log(e);
}
});
});
};
{
"name": "@bbc/nightwatch-commands",
"version": "1.0.0",
"version": "1.0.2",
"description": "Basic Nightwatch Commands",

@@ -5,0 +5,0 @@ "license": "MIT",