Updated the Survey.

This commit is contained in:
Batuhan Berk Başoğlu 2021-03-10 20:43:28 -05:00
parent f59686eae0
commit 6d3ba1a714
1203 changed files with 140782 additions and 5 deletions

18
node_modules/is-typedarray/LICENSE.md generated vendored Normal file
View file

@ -0,0 +1,18 @@
This software is released under the MIT license:
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.

16
node_modules/is-typedarray/README.md generated vendored Normal file
View file

@ -0,0 +1,16 @@
# is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges)
Detect whether or not an object is a
[Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
## Usage
[![NPM](https://nodei.co/npm/is-typedarray.png)](https://nodei.co/npm/is-typedarray/)
### isTypedArray(array)
Returns `true` when array is a Typed Array, and `false` when it is not.
## License
MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.

41
node_modules/is-typedarray/index.js generated vendored Normal file
View file

@ -0,0 +1,41 @@
module.exports = isTypedArray
isTypedArray.strict = isStrictTypedArray
isTypedArray.loose = isLooseTypedArray
var toString = Object.prototype.toString
var names = {
'[object Int8Array]': true
, '[object Int16Array]': true
, '[object Int32Array]': true
, '[object Uint8Array]': true
, '[object Uint8ClampedArray]': true
, '[object Uint16Array]': true
, '[object Uint32Array]': true
, '[object Float32Array]': true
, '[object Float64Array]': true
}
function isTypedArray(arr) {
return (
isStrictTypedArray(arr)
|| isLooseTypedArray(arr)
)
}
function isStrictTypedArray(arr) {
return (
arr instanceof Int8Array
|| arr instanceof Int16Array
|| arr instanceof Int32Array
|| arr instanceof Uint8Array
|| arr instanceof Uint8ClampedArray
|| arr instanceof Uint16Array
|| arr instanceof Uint32Array
|| arr instanceof Float32Array
|| arr instanceof Float64Array
)
}
function isLooseTypedArray(arr) {
return names[toString.call(arr)]
}

60
node_modules/is-typedarray/package.json generated vendored Normal file
View file

@ -0,0 +1,60 @@
{
"_from": "is-typedarray@^1.0.0",
"_id": "is-typedarray@1.0.0",
"_inBundle": false,
"_integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
"_location": "/is-typedarray",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "is-typedarray@^1.0.0",
"name": "is-typedarray",
"escapedName": "is-typedarray",
"rawSpec": "^1.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
},
"_requiredBy": [
"/typedarray-to-buffer",
"/write-file-atomic"
],
"_resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
"_shasum": "e479c80858df0c1b11ddda6940f96011fcda4a9a",
"_spec": "is-typedarray@^1.0.0",
"_where": "D:\\Documents\\UniWork\\Year 4\\Semester 2\\SEG3125\\Labs\\Lab 6\\Survey_Analysis\\node_modules\\write-file-atomic",
"author": {
"name": "Hugh Kennedy",
"email": "hughskennedy@gmail.com",
"url": "http://hughsk.io/"
},
"bugs": {
"url": "https://github.com/hughsk/is-typedarray/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Detect whether or not an object is a Typed Array",
"devDependencies": {
"tape": "^2.13.1"
},
"homepage": "https://github.com/hughsk/is-typedarray",
"keywords": [
"typed",
"array",
"detect",
"is",
"util"
],
"license": "MIT",
"main": "index.js",
"name": "is-typedarray",
"repository": {
"type": "git",
"url": "git://github.com/hughsk/is-typedarray.git"
},
"scripts": {
"test": "node test"
},
"version": "1.0.0"
}

34
node_modules/is-typedarray/test.js generated vendored Normal file
View file

@ -0,0 +1,34 @@
var test = require('tape')
var ista = require('./')
test('strict', function(t) {
t.ok(ista.strict(new Int8Array), 'Int8Array')
t.ok(ista.strict(new Int16Array), 'Int16Array')
t.ok(ista.strict(new Int32Array), 'Int32Array')
t.ok(ista.strict(new Uint8Array), 'Uint8Array')
t.ok(ista.strict(new Uint16Array), 'Uint16Array')
t.ok(ista.strict(new Uint32Array), 'Uint32Array')
t.ok(ista.strict(new Float32Array), 'Float32Array')
t.ok(ista.strict(new Float64Array), 'Float64Array')
t.ok(!ista.strict(new Array), 'Array')
t.ok(!ista.strict([]), '[]')
t.end()
})
test('loose', function(t) {
t.ok(ista.loose(new Int8Array), 'Int8Array')
t.ok(ista.loose(new Int16Array), 'Int16Array')
t.ok(ista.loose(new Int32Array), 'Int32Array')
t.ok(ista.loose(new Uint8Array), 'Uint8Array')
t.ok(ista.loose(new Uint16Array), 'Uint16Array')
t.ok(ista.loose(new Uint32Array), 'Uint32Array')
t.ok(ista.loose(new Float32Array), 'Float32Array')
t.ok(ista.loose(new Float64Array), 'Float64Array')
t.ok(!ista.loose(new Array), 'Array')
t.ok(!ista.loose([]), '[]')
t.end()
})