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

prettier-plugin-gherkin

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-gherkin - npm Package Compare versions

Comparing version 2.4.1 to 3.0.0

.vscode/launch.json

28

CHANGELOG.md
# CHANGELOG
## Unreleased
## [3.0.0] - 2024-07-30
### Changed
[BREAKING] Set default `tabWidth` to 2, as documented in [Gherkin Reference](https://cucumber.io/docs/gherkin/reference/).
If you want to keep v2 version and use four space, you can override this values in your prettier configuration file:
```json
{
// …
"overrides": [
{
"files": "*.feature",
"options": {
"tabWidth": 4
}
}
]
}
```
## [2.4.1] - 2024-07-26
- Re-set hardline for Background [#27](https://github.com/mapado/prettier-plugin-gherkin/pull/27) by [@jdeniau](https://github.com/jdeniau)
## [2.4.0] - 2024-07-05

@@ -4,0 +32,0 @@

0

dist/GherkinAST/index.js

@@ -0,0 +0,0 @@ export function isWithLocation(node) {

2

dist/index.js

@@ -495,3 +495,3 @@ import { Parser as GherkinParser, AstBuilder, GherkinClassicTokenMatcher, } from '@cucumber/gherkin';

printWidth: 120,
tabWidth: 4,
tabWidth: 2,
},

@@ -498,0 +498,0 @@ options: {

{
"name": "prettier-plugin-gherkin",
"version": "2.4.1",
"version": "3.0.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "This prettier plugin format your gherkin (`.feature` files) documents.",

@@ -709,3 +709,3 @@ import {

printWidth: 120,
tabWidth: 4,
tabWidth: 2,
},

@@ -712,0 +712,0 @@ options: {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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