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.11 to 5.0.12

2

package.json
{
"name": "cucumber-expressions",
"version": "5.0.11",
"version": "5.0.12",
"description": "Cucumber Expressions - a simpler alternative to Regular Expressions",

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

@@ -31,2 +31,12 @@ /* eslint-env mocha */

it('matches multiple double quoted strings', () => {
assert.deepEqual(
match(
'three {string} and {string} mice',
'three "blind" and "crippled" mice'
),
['blind', 'crippled']
)
})
it('matches single quoted string', () => {

@@ -38,2 +48,12 @@ assert.deepEqual(match('three {string} mice', "three 'blind' mice"), [

it('matches multiple single quoted strings', () => {
assert.deepEqual(
match(
'three {string} and {string} mice',
"three 'blind' and 'crippled' mice"
),
['blind', 'crippled']
)
})
it('does not match misquoted string', () => {

@@ -40,0 +60,0 @@ assert.deepEqual(match('three {string} mice', 'three "blind\' mice'), null)

@@ -70,3 +70,3 @@ /* eslint-env mocha */

const group = tr.match("I go to '/hello'")
assert.equal(group.children.value, 1)
assert.equal(group.children.length, 1)
})

@@ -73,0 +73,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