summaryrefslogtreecommitdiffstats
path: root/node_modules/sliced
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
commit81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch)
tree8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/sliced
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/sliced')
-rw-r--r--node_modules/sliced/History.md41
-rw-r--r--node_modules/sliced/LICENSE22
-rw-r--r--node_modules/sliced/README.md62
-rw-r--r--node_modules/sliced/index.js33
-rw-r--r--node_modules/sliced/package.json63
5 files changed, 0 insertions, 221 deletions
diff --git a/node_modules/sliced/History.md b/node_modules/sliced/History.md
deleted file mode 100644
index e45cefe..0000000
--- a/node_modules/sliced/History.md
+++ /dev/null
@@ -1,41 +0,0 @@
-
-1.0.1 / 2015-07-14
-==================
-
- * fixed; missing file introduced in 4f5cea1
-
-1.0.0 / 2015-07-12
-==================
-
- * Remove unnecessary files from npm package - #6 via joaquimserafim
- * updated readme stats
-
-0.0.5 / 2013-02-05
-==================
-
- * optimization: remove use of arguments [jkroso](https://github.com/jkroso)
- * add scripts to component.json [jkroso](https://github.com/jkroso)
- * tests; remove time for travis
-
-0.0.4 / 2013-01-07
-==================
-
- * added component.json #1 [jkroso](https://github.com/jkroso)
- * reversed array loop #1 [jkroso](https://github.com/jkroso)
- * remove fn params
-
-0.0.3 / 2012-09-29
-==================
-
- * faster with negative start args
-
-0.0.2 / 2012-09-29
-==================
-
- * support full [].slice semantics
-
-0.0.1 / 2012-09-29
-===================
-
- * initial release
-
diff --git a/node_modules/sliced/LICENSE b/node_modules/sliced/LICENSE
deleted file mode 100644
index 38c529d..0000000
--- a/node_modules/sliced/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012 [Aaron Heckmann](aaron.heckmann+github@gmail.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/node_modules/sliced/README.md b/node_modules/sliced/README.md
deleted file mode 100644
index b6ff85e..0000000
--- a/node_modules/sliced/README.md
+++ /dev/null
@@ -1,62 +0,0 @@
-#sliced
-==========
-
-A faster alternative to `[].slice.call(arguments)`.
-
-[![Build Status](https://secure.travis-ci.org/aheckmann/sliced.png)](http://travis-ci.org/aheckmann/sliced)
-
-Example output from [benchmark.js](https://github.com/bestiejs/benchmark.js)
-
- Array.prototype.slice.call x 1,401,820 ops/sec ±2.16% (90 runs sampled)
- [].slice.call x 1,313,116 ops/sec ±2.04% (96 runs sampled)
- cached slice.call x 10,297,910 ops/sec ±1.81% (96 runs sampled)
- sliced x 19,906,019 ops/sec ±1.23% (89 runs sampled)
- fastest is sliced
-
- Array.prototype.slice.call(arguments, 1) x 1,373,238 ops/sec ±1.84% (95 runs sampled)
- [].slice.call(arguments, 1) x 1,395,336 ops/sec ±1.36% (93 runs sampled)
- cached slice.call(arguments, 1) x 9,926,018 ops/sec ±1.67% (92 runs sampled)
- sliced(arguments, 1) x 20,747,990 ops/sec ±1.16% (93 runs sampled)
- fastest is sliced(arguments, 1)
-
- Array.prototype.slice.call(arguments, -1) x 1,319,908 ops/sec ±2.12% (91 runs sampled)
- [].slice.call(arguments, -1) x 1,336,170 ops/sec ±1.33% (97 runs sampled)
- cached slice.call(arguments, -1) x 10,078,718 ops/sec ±1.21% (98 runs sampled)
- sliced(arguments, -1) x 20,471,474 ops/sec ±1.81% (92 runs sampled)
- fastest is sliced(arguments, -1)
-
- Array.prototype.slice.call(arguments, -2, -10) x 1,369,246 ops/sec ±1.68% (97 runs sampled)
- [].slice.call(arguments, -2, -10) x 1,387,935 ops/sec ±1.70% (95 runs sampled)
- cached slice.call(arguments, -2, -10) x 9,593,428 ops/sec ±1.23% (97 runs sampled)
- sliced(arguments, -2, -10) x 23,178,931 ops/sec ±1.70% (92 runs sampled)
- fastest is sliced(arguments, -2, -10)
-
- Array.prototype.slice.call(arguments, -2, -1) x 1,441,300 ops/sec ±1.26% (98 runs sampled)
- [].slice.call(arguments, -2, -1) x 1,410,326 ops/sec ±1.96% (93 runs sampled)
- cached slice.call(arguments, -2, -1) x 9,854,419 ops/sec ±1.02% (97 runs sampled)
- sliced(arguments, -2, -1) x 22,550,801 ops/sec ±1.86% (91 runs sampled)
- fastest is sliced(arguments, -2, -1)
-
-_Benchmark [source](https://github.com/aheckmann/sliced/blob/master/bench.js)._
-
-##Usage
-
-`sliced` accepts the same arguments as `Array#slice` so you can easily swap it out.
-
-```js
-function zing () {
- var slow = [].slice.call(arguments, 1, 8);
- var args = slice(arguments, 1, 8);
-
- var slow = Array.prototype.slice.call(arguments);
- var args = slice(arguments);
- // etc
-}
-```
-
-## install
-
- npm install sliced
-
-
-[LICENSE](https://github.com/aheckmann/sliced/blob/master/LICENSE)
diff --git a/node_modules/sliced/index.js b/node_modules/sliced/index.js
deleted file mode 100644
index d88c85b..0000000
--- a/node_modules/sliced/index.js
+++ /dev/null
@@ -1,33 +0,0 @@
-
-/**
- * An Array.prototype.slice.call(arguments) alternative
- *
- * @param {Object} args something with a length
- * @param {Number} slice
- * @param {Number} sliceEnd
- * @api public
- */
-
-module.exports = function (args, slice, sliceEnd) {
- var ret = [];
- var len = args.length;
-
- if (0 === len) return ret;
-
- var start = slice < 0
- ? Math.max(0, slice + len)
- : slice || 0;
-
- if (sliceEnd !== undefined) {
- len = sliceEnd < 0
- ? sliceEnd + len
- : sliceEnd
- }
-
- while (len-- > start) {
- ret[len - start] = args[len];
- }
-
- return ret;
-}
-
diff --git a/node_modules/sliced/package.json b/node_modules/sliced/package.json
deleted file mode 100644
index 15f7276..0000000
--- a/node_modules/sliced/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "_from": "sliced@1.0.1",
- "_id": "sliced@1.0.1",
- "_inBundle": false,
- "_integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=",
- "_location": "/sliced",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "sliced@1.0.1",
- "name": "sliced",
- "escapedName": "sliced",
- "rawSpec": "1.0.1",
- "saveSpec": null,
- "fetchSpec": "1.0.1"
- },
- "_requiredBy": [
- "/mongoose",
- "/mquery"
- ],
- "_resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz",
- "_shasum": "0b3a662b5d04c3177b1926bea82b03f837a2ef41",
- "_spec": "sliced@1.0.1",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/mongoose",
- "author": {
- "name": "Aaron Heckmann",
- "email": "aaron.heckmann+github@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/aheckmann/sliced/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)",
- "devDependencies": {
- "benchmark": "~1.0.0",
- "mocha": "1.5.0"
- },
- "files": [
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/aheckmann/sliced#readme",
- "keywords": [
- "arguments",
- "slice",
- "array"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "sliced",
- "repository": {
- "type": "git",
- "url": "git://github.com/aheckmann/sliced.git"
- },
- "scripts": {
- "test": "make test"
- },
- "version": "1.0.1"
-}