summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/env-paths
diff options
context:
space:
mode:
authornpm CLI robot <npm-cli+bot@github.com>2023-03-31 06:38:48 -0700
committerGitHub <noreply@github.com>2023-03-31 13:38:48 +0000
commit0517e19310281bb8ab95afa8a29d02cd0de07354 (patch)
tree3f037182eae8eab9ae361dc92e1bce51d2d0bae9 /deps/npm/node_modules/env-paths
parentb74b9ddb7b0161e7090a9ec2fd2b1358b17b0e23 (diff)
downloadnode-new-0517e19310281bb8ab95afa8a29d02cd0de07354.tar.gz
deps: upgrade npm to 9.6.3
PR-URL: https://github.com/nodejs/node/pull/47325 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luke Karrys <luke@lukekarrys.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/env-paths')
-rw-r--r--deps/npm/node_modules/env-paths/index.d.ts101
1 files changed, 0 insertions, 101 deletions
diff --git a/deps/npm/node_modules/env-paths/index.d.ts b/deps/npm/node_modules/env-paths/index.d.ts
deleted file mode 100644
index 277ddc0a18..0000000000
--- a/deps/npm/node_modules/env-paths/index.d.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-declare namespace envPaths {
- export interface Options {
- /**
- __Don't use this option unless you really have to!__
-
- Suffix appended to the project name to avoid name conflicts with native apps. Pass an empty string to disable it.
-
- @default 'nodejs'
- */
- readonly suffix?: string;
- }
-
- export interface Paths {
- /**
- Directory for data files.
-
- Example locations (with the default `nodejs` suffix):
-
- - macOS: `~/Library/Application Support/MyApp-nodejs`
- - Windows: `%LOCALAPPDATA%\MyApp-nodejs\Data` (for example, `C:\Users\USERNAME\AppData\Local\MyApp-nodejs\Data`)
- - Linux: `~/.local/share/MyApp-nodejs` (or `$XDG_DATA_HOME/MyApp-nodejs`)
- */
- readonly data: string;
-
- /**
- Directory for data files.
-
- Example locations (with the default `nodejs` suffix):
-
- - macOS: `~/Library/Preferences/MyApp-nodejs`
- - Windows: `%APPDATA%\MyApp-nodejs\Config` (for example, `C:\Users\USERNAME\AppData\Roaming\MyApp-nodejs\Config`)
- - Linux: `~/.config/MyApp-nodejs` (or `$XDG_CONFIG_HOME/MyApp-nodejs`)
- */
- readonly config: string;
-
- /**
- Directory for non-essential data files.
-
- Example locations (with the default `nodejs` suffix):
-
- - macOS: `~/Library/Caches/MyApp-nodejs`
- - Windows: `%LOCALAPPDATA%\MyApp-nodejs\Cache` (for example, `C:\Users\USERNAME\AppData\Local\MyApp-nodejs\Cache`)
- - Linux: `~/.cache/MyApp-nodejs` (or `$XDG_CACHE_HOME/MyApp-nodejs`)
- */
- readonly cache: string;
-
- /**
- Directory for log files.
-
- Example locations (with the default `nodejs` suffix):
-
- - macOS: `~/Library/Logs/MyApp-nodejs`
- - Windows: `%LOCALAPPDATA%\MyApp-nodejs\Log` (for example, `C:\Users\USERNAME\AppData\Local\MyApp-nodejs\Log`)
- - Linux: `~/.local/state/MyApp-nodejs` (or `$XDG_STATE_HOME/MyApp-nodejs`)
- */
- readonly log: string;
-
- /**
- Directory for temporary files.
-
- Example locations (with the default `nodejs` suffix):
-
- - macOS: `/var/folders/jf/f2twvvvs5jl_m49tf034ffpw0000gn/T/MyApp-nodejs`
- - Windows: `%LOCALAPPDATA%\Temp\MyApp-nodejs` (for example, `C:\Users\USERNAME\AppData\Local\Temp\MyApp-nodejs`)
- - Linux: `/tmp/USERNAME/MyApp-nodejs`
- */
- readonly temp: string;
- }
-}
-
-declare const envPaths: {
- /**
- Get paths for storing things like data, config, cache, etc.
-
- Note: It only generates the path strings. It doesn't create the directories for you. You could use [`make-dir`](https://github.com/sindresorhus/make-dir) to create the directories.
-
- @param name - Name of your project. Used to generate the paths.
- @returns The paths to use for your project on current OS.
-
- @example
- ```
- import envPaths = require('env-paths');
-
- const paths = envPaths('MyApp');
-
- paths.data;
- //=> '/home/sindresorhus/.local/share/MyApp-nodejs'
-
- paths.config
- //=> '/home/sindresorhus/.config/MyApp-nodejs'
- ```
- */
- (name: string, options?: envPaths.Options): envPaths.Paths;
-
- // TODO: Remove this for the next major release, refactor the whole definition to:
- // declare function envPaths(name: string, options?: envPaths.Options): envPaths.Paths;
- // export = envPaths;
- default: typeof envPaths;
-};
-
-export = envPaths;