Updated the Survey.
This commit is contained in:
parent
f59686eae0
commit
6d3ba1a714
1203 changed files with 140782 additions and 5 deletions
41
node_modules/is-npm/index.d.ts
generated
vendored
Normal file
41
node_modules/is-npm/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
/**
|
||||
Check if your code is running as an [npm](https://docs.npmjs.com/misc/scripts) or [yarn](https://yarnpkg.com/lang/en/docs/cli/run/) script.
|
||||
|
||||
@example
|
||||
```
|
||||
import {isNpmOrYarn} from 'is-npm';
|
||||
|
||||
if (isNpmOrYarn) {
|
||||
console.log('Running as an npm or yarn script!');
|
||||
}
|
||||
```
|
||||
*/
|
||||
export const isNpmOrYarn: boolean;
|
||||
|
||||
/**
|
||||
Check if your code is running as an [npm](https://docs.npmjs.com/misc/scripts) script.
|
||||
|
||||
@example
|
||||
```
|
||||
import {isNpm} from 'is-npm';
|
||||
|
||||
if (isNpm) {
|
||||
console.log('Running as an npm script!');
|
||||
}
|
||||
```
|
||||
*/
|
||||
export const isNpm: boolean;
|
||||
|
||||
/**
|
||||
Check if your code is running as a [yarn](https://yarnpkg.com/lang/en/docs/cli/run/) script.
|
||||
|
||||
@example
|
||||
```
|
||||
import {isYarn} from 'is-npm';
|
||||
|
||||
if (isYarn) {
|
||||
console.log('Running as a yarn script!');
|
||||
}
|
||||
```
|
||||
*/
|
||||
export const isYarn: boolean;
|
9
node_modules/is-npm/index.js
generated
vendored
Normal file
9
node_modules/is-npm/index.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const userAgent = process.env.npm_config_user_agent;
|
||||
const isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));
|
||||
const isNpm = Boolean(userAgent && userAgent.startsWith('npm'));
|
||||
|
||||
module.exports.isNpmOrYarn = isNpm || isYarn;
|
||||
module.exports.isNpm = isNpm;
|
||||
module.exports.isYarn = isYarn;
|
9
node_modules/is-npm/license
generated
vendored
Normal file
9
node_modules/is-npm/license
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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.
|
69
node_modules/is-npm/package.json
generated
vendored
Normal file
69
node_modules/is-npm/package.json
generated
vendored
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"_from": "is-npm@^4.0.0",
|
||||
"_id": "is-npm@4.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==",
|
||||
"_location": "/is-npm",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-npm@^4.0.0",
|
||||
"name": "is-npm",
|
||||
"escapedName": "is-npm",
|
||||
"rawSpec": "^4.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^4.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/update-notifier"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",
|
||||
"_shasum": "c90dd8380696df87a7a6d823c20d0b12bbe3c84d",
|
||||
"_spec": "is-npm@^4.0.0",
|
||||
"_where": "D:\\Documents\\UniWork\\Year 4\\Semester 2\\SEG3125\\Labs\\Lab 6\\Survey_Analysis\\node_modules\\update-notifier",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/is-npm/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Check if your code is running as an npm script",
|
||||
"devDependencies": {
|
||||
"ava": "^2.4.0",
|
||||
"tsd-check": "^0.6.0",
|
||||
"xo": "^0.25.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/is-npm#readme",
|
||||
"keywords": [
|
||||
"npm",
|
||||
"is",
|
||||
"check",
|
||||
"detect",
|
||||
"env",
|
||||
"environment",
|
||||
"run",
|
||||
"script"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "is-npm",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/is-npm.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd-check"
|
||||
},
|
||||
"version": "4.0.0"
|
||||
}
|
59
node_modules/is-npm/readme.md
generated
vendored
Normal file
59
node_modules/is-npm/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
# is-npm [](https://travis-ci.org/sindresorhus/is-npm)
|
||||
|
||||
> Check if your code is running as an [npm](https://docs.npmjs.com/misc/scripts) or [yarn](https://yarnpkg.com/lang/en/docs/cli/run/) script
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install is-npm
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const {isNpmOrYarn, isNpm, isYarn} = require('is-npm');
|
||||
|
||||
console.table({isNpmOrYarn, isNpm, isYarn});
|
||||
```
|
||||
|
||||
```sh
|
||||
$ node foo.js
|
||||
# ┌─────────────┬────────┐
|
||||
# │ (index) │ Values │
|
||||
# ├─────────────┼────────┤
|
||||
# │ isNpmOrYarn │ false │
|
||||
# │ isNpm │ false │
|
||||
# │ isYarn │ false │
|
||||
# └─────────────┴────────┘
|
||||
$ npm run foo
|
||||
# ┌─────────────┬────────┐
|
||||
# │ (index) │ Values │
|
||||
# ├─────────────┼────────┤
|
||||
# │ isNpmOrYarn │ true │
|
||||
# │ isNpm │ true │
|
||||
# │ isYarn │ false │
|
||||
# └─────────────┴────────┘
|
||||
$ yarn run foo
|
||||
# ┌─────────────┬────────┐
|
||||
# │ (index) │ Values │
|
||||
# ├─────────────┼────────┤
|
||||
# │ isNpmOrYarn │ true │
|
||||
# │ isNpm │ false │
|
||||
# │ isYarn │ true │
|
||||
# └─────────────┴────────┘
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
<b>
|
||||
<a href="https://tidelift.com/subscription/pkg/npm-is-npm?utm_source=npm-is-npm&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>
|
Loading…
Add table
Add a link
Reference in a new issue