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

@cucumber/gherkin-streams

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/gherkin-streams - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

18

dist/package.json
{
"name": "@cucumber/gherkin-streams",
"version": "2.0.2",
"version": "3.0.0",
"description": "Streams for reading Gherkin parser output",

@@ -21,14 +21,14 @@ "main": "dist/src/index.js",

"dependencies": {
"@cucumber/messages": "^16.0.0",
"@cucumber/message-streams": "^2.0.0",
"@cucumber/gherkin": "^19.0.1",
"commander": "7.2.0",
"@cucumber/messages": "^17.0.0",
"@cucumber/message-streams": "^3.0.0",
"@cucumber/gherkin": "^20.0.0",
"commander": "8.0.0",
"source-map-support": "0.5.19"
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.3.0",
"mocha": "8.4.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"mocha": "9.0.2",
"nyc": "15.1.0",
"typescript": "4.2.4"
"typescript": "4.3.5"
},

@@ -35,0 +35,0 @@ "bugs": {

@@ -21,3 +21,3 @@ "use strict";

_flush(callback) {
const data = this.buffer.toString('utf8');
const data = this.buffer.toString('utf-8');
const chunk = gherkin_1.makeSourceEnvelope(data, this.relativeTo ? path_1.relative(this.relativeTo, this.uri) : this.uri);

@@ -24,0 +24,0 @@ this.push(chunk);

{
"name": "@cucumber/gherkin-streams",
"version": "2.0.2",
"version": "3.0.0",
"description": "Streams for reading Gherkin parser output",

@@ -21,14 +21,14 @@ "main": "dist/src/index.js",

"dependencies": {
"@cucumber/messages": "^16.0.0",
"@cucumber/message-streams": "^2.0.0",
"@cucumber/gherkin": "^19.0.1",
"commander": "7.2.0",
"@cucumber/messages": "^17.0.0",
"@cucumber/message-streams": "^3.0.0",
"@cucumber/gherkin": "^20.0.0",
"commander": "8.0.0",
"source-map-support": "0.5.19"
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.3.0",
"mocha": "8.4.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"mocha": "9.0.2",
"nyc": "15.1.0",
"typescript": "4.2.4"
"typescript": "4.3.5"
},

@@ -35,0 +35,0 @@ "bugs": {

@@ -8,3 +8,3 @@ # Gherkin Streams

```javascript
const { fromPaths } = require('@cucumber/gherkin-streams')
const { GherkinStreams } = require('@cucumber/gherkin-streams')

@@ -16,3 +16,3 @@ const options = {

}
const stream = fromPaths(['features/hello.feature'])
const stream = GherkinStreams.fromPaths(['features/hello.feature'])

@@ -28,3 +28,3 @@ // Pipe the stream to another stream that can read messages.

```javascript
const { fromPaths } = require('@cucumber/gherkin-streams')
const { GherkinStreams } = require('@cucumber/gherkin-streams')

@@ -39,6 +39,6 @@ // imagine `discoverPaths()` is a function that returns absolute paths

}
const stream = fromPaths(paths)
const stream = GherkinStreams.fromPaths(paths)
// Pipe the stream to another stream that can read messages.
stream.pipe(...)
```
```

@@ -21,3 +21,3 @@ import { makeSourceEnvelope } from '@cucumber/gherkin'

public _flush(callback: TransformCallback) {
const data = this.buffer.toString('utf8')
const data = this.buffer.toString('utf-8')
const chunk = makeSourceEnvelope(

@@ -24,0 +24,0 @@ data,

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