Socket
Socket
Sign inDemoInstall

@cucumber/tag-expressions

Package Overview
Dependencies
0
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cucumber/tag-expressions

Cucumber Tag Expression parser


Version published
Weekly downloads
1.2M
increased by0.08%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

[6.1.0] - 2024-01-10

Added

  • [Python] Support the feature of escaping also in Python (#144)

Fixed

  • [Python] Added workflow to release to Pypi (#145, #146, #20)
  • [Ruby] Fixed up around 75% of all rubocop offenses (#138)

Readme

Source

Cucumber Tag Expressions for JavaScript

Greenkeeper badge

The docs are here.

Example

import {TagExpressionParser} from '@cucumber/tag-expressions'
const parser = new TagExpressionParser()

const expressionNode = parser.parse('@tagA and @tagB')

expressionNode.evaluate(["@tagA", "@tagB"]) // => true
expressionNode.evaluate(["@tagA", "@tagC"]) // => false

Keywords

FAQs

Last updated on 10 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc