New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/cucumber

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cucumber - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

44

cucumber/index.d.ts

@@ -53,9 +53,47 @@ // Type definitions for cucumber-js 3.2

export interface HookScenarioResult {
sourceLocation: SourceLocation;
result: ScenarioResult;
pickle: pickle.Pickle;
}
export interface SourceLocation {
line: number;
url: string;
}
export interface ScenarioResult {
duration: number;
failureException: Error;
scenario: Scenario;
status: Status;
stepsResults: any;
}
export namespace pickle {
interface Pickle {
language: string;
locations: Location[];
name: string;
steps: Step[];
tags: string[];
}
interface Location {
column: number;
line: number;
}
interface Step {
arguments: Argument[];
locations: Location[];
text: string;
}
interface Argument {
rows: Cell[];
}
interface Cell {
location: Location;
value: string;
}
}
export type HookCode = (this: World, scenario: HookScenarioResult, callback?: CallbackStepDefinition) => void;

@@ -62,0 +100,0 @@ export type GlobalHookCode = (callback?: CallbackStepDefinition) => void;

4

cucumber/package.json
{
"name": "@types/cucumber",
"version": "3.2.0",
"version": "3.2.1",
"description": "TypeScript definitions for cucumber-js",

@@ -40,4 +40,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "05ba1d33f64af97b32057a321e8765a4bb091f0f1b6f5dd5ac76c33ebda01784",
"typesPublisherContentHash": "2b52657c96853bf931d74ab79853acc9a4c9240667bbeeda8b7c24b70f423f4e",
"typeScriptVersion": "2.4"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 03 Jan 2018 19:51:48 GMT
* Last updated: Thu, 04 Jan 2018 23:26:00 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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