summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@arr
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
committerMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
commit99c1d9af689e5325f3cf535c4007b3aeb8325229 (patch)
treee663b3c2ebdbd67c818ac0c5147f0ce1d2463cda /alarm/node_modules/@arr
parent9871b03912fc28ad38b4037ebf26a78aa937baba (diff)
downloadpluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.gz
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.bz2
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.zip
Update - This is an automated commit
Diffstat (limited to 'alarm/node_modules/@arr')
-rw-r--r--alarm/node_modules/@arr/every/index.js11
-rw-r--r--alarm/node_modules/@arr/every/module.d.ts1
-rw-r--r--alarm/node_modules/@arr/every/module.js11
-rw-r--r--alarm/node_modules/@arr/every/package.json30
-rw-r--r--alarm/node_modules/@arr/every/readme.md45
5 files changed, 0 insertions, 98 deletions
diff --git a/alarm/node_modules/@arr/every/index.js b/alarm/node_modules/@arr/every/index.js
deleted file mode 100644
index 170cc49..0000000
--- a/alarm/node_modules/@arr/every/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-module.exports = function (arr, cb) {
- var i=0, len=arr.length;
-
- for (; i < len; i++) {
- if (!cb(arr[i], i, arr)) {
- return false;
- }
- }
-
- return true;
-}
diff --git a/alarm/node_modules/@arr/every/module.d.ts b/alarm/node_modules/@arr/every/module.d.ts
deleted file mode 100644
index f2935dc..0000000
--- a/alarm/node_modules/@arr/every/module.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default function<T>(arr: T[], callback: (val: T, idx: number, arr: T[]) => unknown): boolean;
diff --git a/alarm/node_modules/@arr/every/module.js b/alarm/node_modules/@arr/every/module.js
deleted file mode 100644
index 18a4208..0000000
--- a/alarm/node_modules/@arr/every/module.js
+++ /dev/null
@@ -1,11 +0,0 @@
-export default function (arr, cb) {
- var i=0, len=arr.length;
-
- for (; i < len; i++) {
- if (!cb(arr[i], i, arr)) {
- return false;
- }
- }
-
- return true;
-}
diff --git a/alarm/node_modules/@arr/every/package.json b/alarm/node_modules/@arr/every/package.json
deleted file mode 100644
index b82e2cc..0000000
--- a/alarm/node_modules/@arr/every/package.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "@arr/every",
- "version": "1.0.1",
- "repository": "lukeed/arr",
- "description": "A tiny, faster alternative to native Array.prototype.every",
- "types": "module.d.ts",
- "module": "module.js",
- "main": "index.js",
- "license": "MIT",
- "author": {
- "name": "Luke Edwards",
- "email": "luke.edwards05@gmail.com",
- "url": "https://lukeed.com"
- },
- "engines": {
- "node": ">=4"
- },
- "keywords": [
- "arr",
- "array",
- "Array.every",
- "Array.prototype.every",
- "performance",
- "native",
- "every"
- ],
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/alarm/node_modules/@arr/every/readme.md b/alarm/node_modules/@arr/every/readme.md
deleted file mode 100644
index 31cad87..0000000
--- a/alarm/node_modules/@arr/every/readme.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# @arr/every
-
-> A tiny, faster alternative to native `Array.prototype.every`
-
-:warning: Unlike native, `@arr/every` does _not_ support the optional `thisArg` parameter!
-
-## Install
-
-```
-$ npm install --save @arr/every
-```
-
-## Usage
-
-```js
-import every from '@arr/every';
-
-const isBigEnough = val => val >= 10;
-
-every([12, 5, 8, 130, 44], isBigEnough);
-//=> false
-every([12, 54, 18, 130, 44], isBigEnough);
-//=> true
-```
-
-## API
-
-### every(arr, callback)
-
-#### arr
-Type: `Array`<br>
-The array to iterate upon.
-
-#### callback(value[, index, array])
-Type: `Function`<br>
-Function to test for each element, taking three arguments:
-
-* **value** (required) -- The current element being processed in the array.
-* **index** (optional) -- The index of the current element being processed in the array.
-* **array** (optional) -- The array `every` was called upon.
-
-
-## License
-
-MIT © [Luke Edwards](http://lukeed.com)