🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@types/dotenv-parse-variables

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/dotenv-parse-variables - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+3
-3
dotenv-parse-variables/index.d.ts

@@ -14,3 +14,3 @@ // Type definitions for dotenv-parse-variables 2.0

*/
assignToProcessEnv?: boolean;
assignToProcessEnv?: boolean | undefined;
/**

@@ -20,3 +20,3 @@ * whether or not to override existing values in `process.env`

*/
overrideProcessEnv?: boolean;
overrideProcessEnv?: boolean | undefined;
/**

@@ -26,3 +26,3 @@ * whether or not to ignore functions in the parsed values returned

*/
ignoreFunctions?: boolean;
ignoreFunctions?: boolean | undefined;
}

@@ -29,0 +29,0 @@

{
"name": "@types/dotenv-parse-variables",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for dotenv-parse-variables",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dotenv-parse-variables",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "9285d892910fc81c19e65e5be622fe2b3df1cf3cf1d84d83a0f4673e9dfa4c04",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "2cf2474af16e514a6b418577a965a05834191c25a5df8d82d63181dc910354ec",
"typeScriptVersion": "3.6"
}

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

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dotenv-parse-variables.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dotenv-parse-variables/index.d.ts)
````ts
// Type definitions for dotenv-parse-variables 2.0
// Project: https://github.com/niftylettuce/dotenv-parse-variables
// Definitions by: Gary King <https://github.com/garyking>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace dotenvParseVariables {
type Parsed = Record<string, string>;
interface Options {
/**
* whether or not to assign the parsed values to `process.env`
* @default true
*/
assignToProcessEnv?: boolean | undefined;
/**
* whether or not to override existing values in `process.env`
* @default false
*/
overrideProcessEnv?: boolean | undefined;
/**
* whether or not to ignore functions in the parsed values returned
* @default true
*/
ignoreFunctions?: boolean | undefined;
}
type ParsedVariables = Record<string, unknown>;
}
declare function dotenvParseVariables(
parsed: dotenvParseVariables.Parsed,
options?: dotenvParseVariables.Options,
): dotenvParseVariables.ParsedVariables;
export = dotenvParseVariables;
````
### Additional Details
* Last updated: Mon, 26 Apr 2021 21:01:22 GMT
* Last updated: Thu, 08 Jul 2021 09:08:52 GMT
* Dependencies: none

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