aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/is-wsl
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/is-wsl')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/is-wsl/index.d.ts15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/is-wsl/index.js31
-rw-r--r--sandbox/testAppNevena/Front/node_modules/is-wsl/license9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/is-wsl/package.json45
-rw-r--r--sandbox/testAppNevena/Front/node_modules/is-wsl/readme.md36
5 files changed, 0 insertions, 136 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/is-wsl/index.d.ts b/sandbox/testAppNevena/Front/node_modules/is-wsl/index.d.ts
deleted file mode 100644
index d54e4bac..00000000
--- a/sandbox/testAppNevena/Front/node_modules/is-wsl/index.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
-Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows).
-
-@example
-```
-import isWsl = require('is-wsl');
-
-// When running inside Windows Subsystem for Linux
-console.log(isWsl);
-//=> true
-```
-*/
-declare const isWsl: boolean;
-
-export = isWsl;
diff --git a/sandbox/testAppNevena/Front/node_modules/is-wsl/index.js b/sandbox/testAppNevena/Front/node_modules/is-wsl/index.js
deleted file mode 100644
index eb6313f0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/is-wsl/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-'use strict';
-const os = require('os');
-const fs = require('fs');
-const isDocker = require('is-docker');
-
-const isWsl = () => {
- if (process.platform !== 'linux') {
- return false;
- }
-
- if (os.release().toLowerCase().includes('microsoft')) {
- if (isDocker()) {
- return false;
- }
-
- return true;
- }
-
- try {
- return fs.readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft') ?
- !isDocker() : false;
- } catch (_) {
- return false;
- }
-};
-
-if (process.env.__IS_WSL_TEST__) {
- module.exports = isWsl;
-} else {
- module.exports = isWsl();
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/is-wsl/license b/sandbox/testAppNevena/Front/node_modules/is-wsl/license
deleted file mode 100644
index e7af2f77..00000000
--- a/sandbox/testAppNevena/Front/node_modules/is-wsl/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/sandbox/testAppNevena/Front/node_modules/is-wsl/package.json b/sandbox/testAppNevena/Front/node_modules/is-wsl/package.json
deleted file mode 100644
index 2fa7f754..00000000
--- a/sandbox/testAppNevena/Front/node_modules/is-wsl/package.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "name": "is-wsl",
- "version": "2.2.0",
- "description": "Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)",
- "license": "MIT",
- "repository": "sindresorhus/is-wsl",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=8"
- },
- "scripts": {
- "test": "xo && ava && tsd"
- },
- "files": [
- "index.js",
- "index.d.ts"
- ],
- "keywords": [
- "check",
- "wsl",
- "windows",
- "subsystem",
- "linux",
- "detect",
- "bash",
- "process",
- "console",
- "terminal",
- "is"
- ],
- "dependencies": {
- "is-docker": "^2.0.0"
- },
- "devDependencies": {
- "ava": "^1.4.1",
- "clear-module": "^3.2.0",
- "proxyquire": "^2.1.0",
- "tsd": "^0.7.2",
- "xo": "^0.24.0"
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/is-wsl/readme.md b/sandbox/testAppNevena/Front/node_modules/is-wsl/readme.md
deleted file mode 100644
index 5fe44fed..00000000
--- a/sandbox/testAppNevena/Front/node_modules/is-wsl/readme.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# is-wsl [![Build Status](https://travis-ci.org/sindresorhus/is-wsl.svg?branch=master)](https://travis-ci.org/sindresorhus/is-wsl)
-
-> Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows)
-
-Can be useful if you need to work around unimplemented or buggy features in WSL. Supports both WSL 1 and WSL 2.
-
-
-## Install
-
-```
-$ npm install is-wsl
-```
-
-
-## Usage
-
-```js
-const isWsl = require('is-wsl');
-
-// When running inside Windows Subsystem for Linux
-console.log(isWsl);
-//=> true
-```
-
-
----
-
-<div align="center">
- <b>
- <a href="https://tidelift.com/subscription/pkg/npm-is-wsl?utm_source=npm-is-wsl&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
- </b>
- <br>
- <sub>
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
- </sub>
-</div>