New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 5.0.10 to 5.0.11

2

dist/src/tree_regexp.js

@@ -80,3 +80,3 @@ 'use strict';

var REGEXP_CHARS = ['#', '$', '(', ')', '*', '+', '.', '?', '[', '\\', '^', '{', '|'];
var REGEXP_CHARS = ['#', '$', '(', ')', '*', '+', '.', '/', '?', '[', '\\', '^', '{', '|'];
function isRegexpChar(c) {

@@ -83,0 +83,0 @@ return REGEXP_CHARS.indexOf(c) !== -1;

{
"name": "cucumber-expressions",
"version": "5.0.10",
"version": "5.0.11",
"description": "Cucumber Expressions - a simpler alternative to Regular Expressions",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -69,2 +69,3 @@ const Regex = require('becke-ch--regex--s0-0-v1--base--pl--lib')

'.',
'/',
'?',

@@ -71,0 +72,0 @@ '[',

@@ -67,2 +67,8 @@ /* eslint-env mocha */

it('works with escaped slash', () => {
const tr = new TreeRegexp(/^I go to '\/(.+)'$/)
const group = tr.match("I go to '/hello'")
assert.equal(group.children.value, 1)
})
it('captures non capturing groups with capturing groups inside', () => {

@@ -69,0 +75,0 @@ const tr = new TreeRegexp('the stdout(?: from "(.*?)")?')

Sorry, the diff of this file is not supported yet

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