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

@types/cypress-dotenv

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cypress-dotenv - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

21

cypress-dotenv/index.d.ts

@@ -1,10 +0,25 @@

// Type definitions for cypress-dotenv 1.2
// Type definitions for cypress-dotenv 2.0
// Project: https://github.com/morficus/cypress-dotenv
// Definitions by: Daiki Ojima <https://github.com/daikiojm>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { DotenvConfigOptions } from 'dotenv';
declare function dotenvPlugin<T = any>(cypressConfig: T, dotEnvConfig?: DotenvConfigOptions, all?: boolean): T;
// Cypress type
interface CypressConfig {
[key: string]: any;
}
type EnhancedConfig<T extends CypressConfig> = T & {
env?: {
[key: string]: unknown;
};
};
declare function dotenvPlugin<T extends CypressConfig>(
cypressConfig: T,
dotEnvConfig?: DotenvConfigOptions,
all?: boolean,
): EnhancedConfig<T>;
export = dotenvPlugin;

12

cypress-dotenv/package.json
{
"name": "@types/cypress-dotenv",
"version": "1.2.0",
"version": "2.0.0",
"description": "TypeScript definitions for cypress-dotenv",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-dotenv",
"license": "MIT",

@@ -11,2 +12,7 @@ "contributors": [

"githubUsername": "daikiojm"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}

@@ -25,4 +31,4 @@ ],

},
"typesPublisherContentHash": "81c1f9137b12395d63a07fc4d0e1dd7cae45e2fadd7becbe4fabc1cf796bf1b4",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "90578c91c0fb52f02cbabe8306a6e8251f0b3bf4b0b2bc51841868e07e668a9a",
"typeScriptVersion": "3.7"
}

@@ -9,5 +9,34 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-dotenv.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-dotenv/index.d.ts)
````ts
// Type definitions for cypress-dotenv 2.0
// Project: https://github.com/morficus/cypress-dotenv
// Definitions by: Daiki Ojima <https://github.com/daikiojm>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { DotenvConfigOptions } from 'dotenv';
// Cypress type
interface CypressConfig {
[key: string]: any;
}
type EnhancedConfig<T extends CypressConfig> = T & {
env?: {
[key: string]: unknown;
};
};
declare function dotenvPlugin<T extends CypressConfig>(
cypressConfig: T,
dotEnvConfig?: DotenvConfigOptions,
all?: boolean,
): EnhancedConfig<T>;
export = dotenvPlugin;
````
### Additional Details
* Last updated: Mon, 03 May 2021 05:01:21 GMT
* Last updated: Wed, 13 Oct 2021 06:31:20 GMT
* Dependencies: [@types/dotenv](https://npmjs.com/package/@types/dotenv)

@@ -17,2 +46,2 @@ * Global values: none

# Credits
These definitions were written by [Daiki Ojima](https://github.com/daikiojm).
These definitions were written by [Daiki Ojima](https://github.com/daikiojm), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
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