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

cucumber-expressions

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-expressions - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

5

dist/argument.js

@@ -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() {

2

dist/cucumber_expression.js

@@ -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 @@

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