cucumber-expressions
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -41,2 +41,7 @@ 'use strict'; | ||
_createClass(Argument, [{ | ||
key: 'group', | ||
get: function get() { | ||
return this._group; | ||
} | ||
}, { | ||
key: 'value', | ||
@@ -43,0 +48,0 @@ get: function get() { |
@@ -21,3 +21,3 @@ 'use strict'; | ||
var PARAMETER_REGEXP = /\{([^}]+)}/g; | ||
var PARAMETER_REGEXP = /{([^}]+)}/g; | ||
var OPTIONAL_REGEXP = /\(([^)]+)\)/g; | ||
@@ -24,0 +24,0 @@ var ALTERNATIVE_WORD_REGEXP = /(\w+)((\/\w+)+)/g; |
@@ -25,3 +25,3 @@ "use strict"; | ||
get: function get() { | ||
return this._value; | ||
return this._start; | ||
} | ||
@@ -31,3 +31,3 @@ }, { | ||
get: function get() { | ||
return this._value; | ||
return this._end; | ||
} | ||
@@ -34,0 +34,0 @@ }, { |
{ | ||
"name": "cucumber-expressions", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Cucumber Expressions - a simpler alternative to Regular Expressions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -30,2 +30,6 @@ const { CucumberExpressionError } = require('./errors') | ||
get group() { | ||
return this._group | ||
} | ||
get value() { | ||
@@ -32,0 +36,0 @@ return this._parameterType.transform( |
@@ -11,3 +11,3 @@ const Argument = require('./argument') | ||
constructor(expression, parameterTypeRegistry) { | ||
const PARAMETER_REGEXP = /\{([^}]+)}/g | ||
const PARAMETER_REGEXP = /{([^}]+)}/g | ||
const OPTIONAL_REGEXP = /\(([^)]+)\)/g | ||
@@ -14,0 +14,0 @@ const ALTERNATIVE_WORD_REGEXP = /(\w+)((\/\w+)+)/g |
@@ -14,7 +14,7 @@ class Group { | ||
get start() { | ||
return this._value | ||
return this._start | ||
} | ||
get end() { | ||
return this._value | ||
return this._end | ||
} | ||
@@ -21,0 +21,0 @@ |
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
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
94263
2345