aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2')
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/.npmignore3
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.html336
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.md9
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/README.md136
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/.npmignore1
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/LICENCE19
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/Makefile4
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/README.md32
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/immutable.js19
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/mutable.js17
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/package.json86
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/test.js83
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/package.json65
-rw-r--r--deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/through2.js96
14 files changed, 0 insertions, 906 deletions
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/.npmignore b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/.npmignore
deleted file mode 100644
index 1e1dcab34c..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-test
-.jshintrc
-.travis.yml \ No newline at end of file
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.html b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.html
deleted file mode 100644
index ac478189ea..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.html
+++ /dev/null
@@ -1,336 +0,0 @@
-<!doctype html>
-<!-- Created with GFM2HTML: https://github.com/rvagg/gfm2html -->
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title></title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="created-with" content="https://github.com/rvagg/gfm2html">
-
- <style type="text/css">
-/* most of normalize.css */
-article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}[hidden],template{display:none;}html{font-family:sans-serif;/*1*/-ms-text-size-adjust:100%;/*2*/-webkit-text-size-adjust:100%;/*2*/}body{margin:0;}a{background:transparent;}a:focus{outline:thindotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em0;}abbr[title]{border-bottom:1pxdotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C""\201D""\2018""\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}table{border-collapse:collapse;border-spacing:0;}
-
-html {
- font: 14px 'Helvetica Neue', Helvetica, arial, freesans, clean, sans-serif;
-}
-
-.container {
- line-height: 1.6;
- color: #333;
- background: #eee;
- border-radius: 3px;
- padding: 3px;
- width: 790px;
- margin: 10px auto;
-}
-
-.body-content {
- background-color: #fff;
- border: 1px solid #CACACA;
- padding: 30px;
-}
-
-.body-content > *:first-child {
- margin-top: 0 !important;
-}
-
-a, a:visited {
- color: #4183c4;
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-p, blockquote, ul, ol, dl, table, pre {
- margin: 15px 0;
-}
-
- .markdown-body h1
-, .markdown-body h2
-, .markdown-body h3
-, .markdown-body h4
-, .markdown-body h5
-, .markdown-body h6 {
- margin: 20px 0 10px;
- padding: 0;
- font-weight: bold;
-}
-
-h1 {
- font-size: 2.5em;
- color: #000;
- border-bottom: 1px solid #ddd;
-}
-
-h2 {
- font-size: 2em;
- border-bottom: 1px solid #eee;
- color: #000;
-}
-
-img {
- max-width: 100%;
-}
-
-hr {
- background: transparent url("/img/hr.png") repeat-x 0 0;
- border: 0 none;
- color: #ccc;
- height: 4px;
- padding: 0;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-tr:nth-child(2n) {
- background-color: #f8f8f8;
-}
-
-.markdown-body tr {
- border-top: 1px solid #ccc;
- background-color: #fff;
-}
-
-td, th {
- border: 1px solid #ccc;
- padding: 6px 13px;
-}
-
-th {
- font-weight: bold;
-}
-
-blockquote {
- border-left: 4px solid #ddd;
- padding: 0 15px;
- color: #777;
-}
-
-blockquote > :last-child, blockquote > :first-child {
- margin-bottom: 0px;
-}
-
-pre, code {
- font-size: 13px;
- font-family: 'UbuntuMono', monospace;
- white-space: nowrap;
- margin: 0 2px;
- padding: 0px 5px;
- border: 1px solid #eaeaea;
- background-color: #f8f8f8;
- border-radius: 3px;
-}
-
-pre > code {
- white-space: pre;
-}
-
-pre {
- overflow-x: auto;
- white-space: pre;
- padding: 10px;
- line-height: 150%;
- background-color: #f8f8f8;
- border-color: #ccc;
-}
-
-pre code, pre tt {
- margin: 0;
- padding: 0;
- border: 0;
- background-color: transparent;
- border: none;
-}
-
- .highlight .c
-, .highlight .cm
-, .highlight .cp
-, .highlight .c1 {
- color:#999988;
- font-style:italic;
-}
-
-.highlight .err {
- color:#a61717;
- background-color:#e3d2d2
-}
-
- .highlight .o
-, .highlight .gs
-, .highlight .kc
-, .highlight .kd
-, .highlight .kn
-, .highlight .kp
-, .highlight .kr {
- font-weight:bold
-}
-
-.highlight .cs {
- color:#999999;
- font-weight:bold;
- font-style:italic
-}
-
-.highlight .gd {
- color:#000000;
- background-color:#ffdddd
-}
-
-.highlight .gd .x {
- color:#000000;
- background-color:#ffaaaa
-}
-
-.highlight .ge {
- font-style:italic
-}
-
- .highlight .gr
-, .highlight .gt {
- color:#aa0000
-}
-
- .highlight .gh
-, .highlight .bp {
- color:#999999
-}
-
-.highlight .gi {
- color:#000000;
- background-color:#ddffdd
-}
-
-.highlight .gi .x {
- color:#000000;
- background-color:#aaffaa
-}
-
-.highlight .go {
- color:#888888
-}
-
- .highlight .gp
-, .highlight .nn {
- color:#555555
-}
-
-
-.highlight .gu {
- color:#800080;
- font-weight:bold
-}
-
-
-.highlight .kt {
- color:#445588;
- font-weight:bold
-}
-
- .highlight .m
-, .highlight .mf
-, .highlight .mh
-, .highlight .mi
-, .highlight .mo
-, .highlight .il {
- color:#009999
-}
-
- .highlight .s
-, .highlight .sb
-, .highlight .sc
-, .highlight .sd
-, .highlight .s2
-, .highlight .se
-, .highlight .sh
-, .highlight .si
-, .highlight .sx
-, .highlight .s1 {
- color:#d14
-}
-
-.highlight .n {
- color:#333333
-}
-
- .highlight .na
-, .highlight .no
-, .highlight .nv
-, .highlight .vc
-, .highlight .vg
-, .highlight .vi
-, .highlight .nb {
- color:#0086B3
-}
-
-.highlight .nc {
- color:#445588;
- font-weight:bold
-}
-
-.highlight .ni {
- color:#800080
-}
-
- .highlight .ne
-, .highlight .nf {
- color:#990000;
- font-weight:bold
-}
-
-.highlight .nt {
- color:#000080
-}
-
-.highlight .ow {
- font-weight:bold
-}
-
-.highlight .w {
- color:#bbbbbb
-}
-
-.highlight .sr {
- color:#009926
-}
-
-.highlight .ss {
- color:#990073
-}
-
-.highlight .gc {
- color:#999;
- background-color:#EAF2F5
-}
-
-@media print {
- .container {
- background: transparent;
- border-radius: 0;
- padding: 0;
- }
-
- .body-content {
- border: none;
- }
-}
-</style>
- </head>
- <body>
- <div class="container">
- <div class="body-content"><h1 id="the-mit-license-mit-">The MIT License (MIT)</h1>
-<p><strong>Copyright (c) 2016 Rod Vagg (the &quot;Original Author&quot;) and additional contributors</strong></p>
-<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), 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:</p>
-<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
-<p>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, 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.</p>
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.md b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.md
deleted file mode 100644
index 7f0b93daaa..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# The MIT License (MIT)
-
-**Copyright (c) 2016 Rod Vagg (the "Original Author") and additional contributors**
-
-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. \ No newline at end of file
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/README.md b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/README.md
deleted file mode 100644
index a916f15ef5..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/README.md
+++ /dev/null
@@ -1,136 +0,0 @@
-# through2
-
-[![NPM](https://nodei.co/npm/through2.png?downloads&downloadRank)](https://nodei.co/npm/through2/)
-
-**A tiny wrapper around Node streams.Transform (Streams2) to avoid explicit subclassing noise**
-
-Inspired by [Dominic Tarr](https://github.com/dominictarr)'s [through](https://github.com/dominictarr/through) in that it's so much easier to make a stream out of a function than it is to set up the prototype chain properly: `through(function (chunk) { ... })`.
-
-Note: As 2.x.x this module starts using **Streams3** instead of Stream2. To continue using a Streams2 version use `npm install through2@0` to fetch the latest version of 0.x.x. More information about Streams2 vs Streams3 and recommendations see the article **[Why I don't use Node's core 'stream' module](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html)**.
-
-```js
-fs.createReadStream('ex.txt')
- .pipe(through2(function (chunk, enc, callback) {
- for (var i = 0; i < chunk.length; i++)
- if (chunk[i] == 97)
- chunk[i] = 122 // swap 'a' for 'z'
-
- this.push(chunk)
-
- callback()
- }))
- .pipe(fs.createWriteStream('out.txt'))
- .on('finish', function () {
- doSomethingSpecial()
- })
-```
-
-Or object streams:
-
-```js
-var all = []
-
-fs.createReadStream('data.csv')
- .pipe(csv2())
- .pipe(through2.obj(function (chunk, enc, callback) {
- var data = {
- name : chunk[0]
- , address : chunk[3]
- , phone : chunk[10]
- }
- this.push(data)
-
- callback()
- }))
- .on('data', function (data) {
- all.push(data)
- })
- .on('end', function () {
- doSomethingSpecial(all)
- })
-```
-
-Note that `through2.obj(fn)` is a convenience wrapper around `through2({ objectMode: true }, fn)`.
-
-## API
-
-<b><code>through2([ options, ] [ transformFunction ] [, flushFunction ])</code></b>
-
-Consult the **[stream.Transform](http://nodejs.org/docs/latest/api/stream.html#stream_class_stream_transform)** documentation for the exact rules of the `transformFunction` (i.e. `this._transform`) and the optional `flushFunction` (i.e. `this._flush`).
-
-### options
-
-The options argument is optional and is passed straight through to `stream.Transform`. So you can use `objectMode:true` if you are processing non-binary streams (or just use `through2.obj()`).
-
-The `options` argument is first, unlike standard convention, because if I'm passing in an anonymous function then I'd prefer for the options argument to not get lost at the end of the call:
-
-```js
-fs.createReadStream('/tmp/important.dat')
- .pipe(through2({ objectMode: true, allowHalfOpen: false },
- function (chunk, enc, cb) {
- cb(null, 'wut?') // note we can use the second argument on the callback
- // to provide data as an alternative to this.push('wut?')
- }
- )
- .pipe(fs.createWriteStream('/tmp/wut.txt'))
-```
-
-### transformFunction
-
-The `transformFunction` must have the following signature: `function (chunk, encoding, callback) {}`. A minimal implementation should call the `callback` function to indicate that the transformation is done, even if that transformation means discarding the chunk.
-
-To queue a new chunk, call `this.push(chunk)`&mdash;this can be called as many times as required before the `callback()` if you have multiple pieces to send on.
-
-Alternatively, you may use `callback(err, chunk)` as shorthand for emitting a single chunk or an error.
-
-If you **do not provide a `transformFunction`** then you will get a simple pass-through stream.
-
-### flushFunction
-
-The optional `flushFunction` is provided as the last argument (2nd or 3rd, depending on whether you've supplied options) is called just prior to the stream ending. Can be used to finish up any processing that may be in progress.
-
-```js
-fs.createReadStream('/tmp/important.dat')
- .pipe(through2(
- function (chunk, enc, cb) { cb(null, chunk) }, // transform is a noop
- function (cb) { // flush function
- this.push('tacking on an extra buffer to the end');
- cb();
- }
- ))
- .pipe(fs.createWriteStream('/tmp/wut.txt'));
-```
-
-<b><code>through2.ctor([ options, ] transformFunction[, flushFunction ])</code></b>
-
-Instead of returning a `stream.Transform` instance, `through2.ctor()` returns a **constructor** for a custom Transform. This is useful when you want to use the same transform logic in multiple instances.
-
-```js
-var FToC = through2.ctor({objectMode: true}, function (record, encoding, callback) {
- if (record.temp != null && record.unit == "F") {
- record.temp = ( ( record.temp - 32 ) * 5 ) / 9
- record.unit = "C"
- }
- this.push(record)
- callback()
-})
-
-// Create instances of FToC like so:
-var converter = new FToC()
-// Or:
-var converter = FToC()
-// Or specify/override options when you instantiate, if you prefer:
-var converter = FToC({objectMode: true})
-```
-
-## See Also
-
- - [through2-map](https://github.com/brycebaril/through2-map) - Array.prototype.map analog for streams.
- - [through2-filter](https://github.com/brycebaril/through2-filter) - Array.prototype.filter analog for streams.
- - [through2-reduce](https://github.com/brycebaril/through2-reduce) - Array.prototype.reduce analog for streams.
- - [through2-spy](https://github.com/brycebaril/through2-spy) - Wrapper for simple stream.PassThrough spies.
- - the [mississippi stream utility collection](https://github.com/maxogden/mississippi) includes `through2` as well as many more useful stream modules similar to this one
-
-## License
-
-**through2** is Copyright (c) 2013 Rod Vagg [@rvagg](https://twitter.com/rvagg) and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/.npmignore b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/.npmignore
deleted file mode 100644
index 3c3629e647..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-node_modules
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/LICENCE b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/LICENCE
deleted file mode 100644
index 1a14b437e8..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/LICENCE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2012-2014 Raynos.
-
-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/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/Makefile b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/Makefile
deleted file mode 100644
index d583fcf49d..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-browser:
- node ./support/compile
-
-.PHONY: browser \ No newline at end of file
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/README.md b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/README.md
deleted file mode 100644
index 093cb2978e..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/README.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# xtend
-
-[![browser support][3]][4]
-
-[![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges)
-
-Extend like a boss
-
-xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
-
-## Examples
-
-```js
-var extend = require("xtend")
-
-// extend returns a new object. Does not mutate arguments
-var combination = extend({
- a: "a",
- b: 'c'
-}, {
- b: "b"
-})
-// { a: "a", b: "b" }
-```
-
-## Stability status: Locked
-
-## MIT Licenced
-
-
- [3]: http://ci.testling.com/Raynos/xtend.png
- [4]: http://ci.testling.com/Raynos/xtend
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/immutable.js b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/immutable.js
deleted file mode 100644
index 94889c9de1..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/immutable.js
+++ /dev/null
@@ -1,19 +0,0 @@
-module.exports = extend
-
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-
-function extend() {
- var target = {}
-
- for (var i = 0; i < arguments.length; i++) {
- var source = arguments[i]
-
- for (var key in source) {
- if (hasOwnProperty.call(source, key)) {
- target[key] = source[key]
- }
- }
- }
-
- return target
-}
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/mutable.js b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/mutable.js
deleted file mode 100644
index 72debede6c..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/mutable.js
+++ /dev/null
@@ -1,17 +0,0 @@
-module.exports = extend
-
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-
-function extend(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i]
-
- for (var key in source) {
- if (hasOwnProperty.call(source, key)) {
- target[key] = source[key]
- }
- }
- }
-
- return target
-}
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/package.json b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/package.json
deleted file mode 100644
index c682294f2c..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/package.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "_from": "xtend@~4.0.1",
- "_id": "xtend@4.0.1",
- "_inBundle": false,
- "_integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",
- "_location": "/cacache/mississippi/through2/xtend",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "xtend@~4.0.1",
- "name": "xtend",
- "escapedName": "xtend",
- "rawSpec": "~4.0.1",
- "saveSpec": null,
- "fetchSpec": "~4.0.1"
- },
- "_requiredBy": [
- "/cacache/mississippi/through2"
- ],
- "_resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
- "_shasum": "a5c6d532be656e23db820efb943a1f04998d63af",
- "_spec": "xtend@~4.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2",
- "author": {
- "name": "Raynos",
- "email": "raynos2@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/Raynos/xtend/issues",
- "email": "raynos2@gmail.com"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Jake Verbaten"
- },
- {
- "name": "Matt Esch"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "extend like a boss",
- "devDependencies": {
- "tape": "~1.1.0"
- },
- "engines": {
- "node": ">=0.4"
- },
- "homepage": "https://github.com/Raynos/xtend",
- "keywords": [
- "extend",
- "merge",
- "options",
- "opts",
- "object",
- "array"
- ],
- "license": "MIT",
- "main": "immutable",
- "name": "xtend",
- "repository": {
- "type": "git",
- "url": "git://github.com/Raynos/xtend.git"
- },
- "scripts": {
- "test": "node test"
- },
- "testling": {
- "files": "test.js",
- "browsers": [
- "ie/7..latest",
- "firefox/16..latest",
- "firefox/nightly",
- "chrome/22..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest"
- ]
- },
- "version": "4.0.1"
-}
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/test.js b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/test.js
deleted file mode 100644
index 093a2b061e..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/test.js
+++ /dev/null
@@ -1,83 +0,0 @@
-var test = require("tape")
-var extend = require("./")
-var mutableExtend = require("./mutable")
-
-test("merge", function(assert) {
- var a = { a: "foo" }
- var b = { b: "bar" }
-
- assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
- assert.end()
-})
-
-test("replace", function(assert) {
- var a = { a: "foo" }
- var b = { a: "bar" }
-
- assert.deepEqual(extend(a, b), { a: "bar" })
- assert.end()
-})
-
-test("undefined", function(assert) {
- var a = { a: undefined }
- var b = { b: "foo" }
-
- assert.deepEqual(extend(a, b), { a: undefined, b: "foo" })
- assert.deepEqual(extend(b, a), { a: undefined, b: "foo" })
- assert.end()
-})
-
-test("handle 0", function(assert) {
- var a = { a: "default" }
- var b = { a: 0 }
-
- assert.deepEqual(extend(a, b), { a: 0 })
- assert.deepEqual(extend(b, a), { a: "default" })
- assert.end()
-})
-
-test("is immutable", function (assert) {
- var record = {}
-
- extend(record, { foo: "bar" })
- assert.equal(record.foo, undefined)
- assert.end()
-})
-
-test("null as argument", function (assert) {
- var a = { foo: "bar" }
- var b = null
- var c = void 0
-
- assert.deepEqual(extend(b, a, c), { foo: "bar" })
- assert.end()
-})
-
-test("mutable", function (assert) {
- var a = { foo: "bar" }
-
- mutableExtend(a, { bar: "baz" })
-
- assert.equal(a.bar, "baz")
- assert.end()
-})
-
-test("null prototype", function(assert) {
- var a = { a: "foo" }
- var b = Object.create(null)
- b.b = "bar";
-
- assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
- assert.end()
-})
-
-test("null prototype mutable", function (assert) {
- var a = { foo: "bar" }
- var b = Object.create(null)
- b.bar = "baz";
-
- mutableExtend(a, b)
-
- assert.equal(a.bar, "baz")
- assert.end()
-})
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/package.json b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/package.json
deleted file mode 100644
index 5a9aee5ec7..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/package.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "_from": "through2@^2.0.0",
- "_id": "through2@2.0.3",
- "_inBundle": false,
- "_integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=",
- "_location": "/cacache/mississippi/through2",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "through2@^2.0.0",
- "name": "through2",
- "escapedName": "through2",
- "rawSpec": "^2.0.0",
- "saveSpec": null,
- "fetchSpec": "^2.0.0"
- },
- "_requiredBy": [
- "/cacache/mississippi"
- ],
- "_resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",
- "_shasum": "0004569b37c7c74ba39c43f3ced78d1ad94140be",
- "_spec": "through2@^2.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/cacache/node_modules/mississippi",
- "author": {
- "name": "Rod Vagg",
- "email": "r@va.gg",
- "url": "https://github.com/rvagg"
- },
- "bugs": {
- "url": "https://github.com/rvagg/through2/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "readable-stream": "^2.1.5",
- "xtend": "~4.0.1"
- },
- "deprecated": false,
- "description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise",
- "devDependencies": {
- "bl": "~1.1.2",
- "faucet": "0.0.1",
- "stream-spigot": "~3.0.5",
- "tape": "~4.6.2"
- },
- "homepage": "https://github.com/rvagg/through2#readme",
- "keywords": [
- "stream",
- "streams2",
- "through",
- "transform"
- ],
- "license": "MIT",
- "main": "through2.js",
- "name": "through2",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/rvagg/through2.git"
- },
- "scripts": {
- "test": "node test/test.js | faucet",
- "test-local": "brtapsauce-local test/basic-test.js"
- },
- "version": "2.0.3"
-}
diff --git a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/through2.js b/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/through2.js
deleted file mode 100644
index ef13980d7b..0000000000
--- a/deps/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/through2.js
+++ /dev/null
@@ -1,96 +0,0 @@
-var Transform = require('readable-stream/transform')
- , inherits = require('util').inherits
- , xtend = require('xtend')
-
-function DestroyableTransform(opts) {
- Transform.call(this, opts)
- this._destroyed = false
-}
-
-inherits(DestroyableTransform, Transform)
-
-DestroyableTransform.prototype.destroy = function(err) {
- if (this._destroyed) return
- this._destroyed = true
-
- var self = this
- process.nextTick(function() {
- if (err)
- self.emit('error', err)
- self.emit('close')
- })
-}
-
-// a noop _transform function
-function noop (chunk, enc, callback) {
- callback(null, chunk)
-}
-
-
-// create a new export function, used by both the main export and
-// the .ctor export, contains common logic for dealing with arguments
-function through2 (construct) {
- return function (options, transform, flush) {
- if (typeof options == 'function') {
- flush = transform
- transform = options
- options = {}
- }
-
- if (typeof transform != 'function')
- transform = noop
-
- if (typeof flush != 'function')
- flush = null
-
- return construct(options, transform, flush)
- }
-}
-
-
-// main export, just make me a transform stream!
-module.exports = through2(function (options, transform, flush) {
- var t2 = new DestroyableTransform(options)
-
- t2._transform = transform
-
- if (flush)
- t2._flush = flush
-
- return t2
-})
-
-
-// make me a reusable prototype that I can `new`, or implicitly `new`
-// with a constructor call
-module.exports.ctor = through2(function (options, transform, flush) {
- function Through2 (override) {
- if (!(this instanceof Through2))
- return new Through2(override)
-
- this.options = xtend(options, override)
-
- DestroyableTransform.call(this, this.options)
- }
-
- inherits(Through2, DestroyableTransform)
-
- Through2.prototype._transform = transform
-
- if (flush)
- Through2.prototype._flush = flush
-
- return Through2
-})
-
-
-module.exports.obj = through2(function (options, transform, flush) {
- var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options))
-
- t2._transform = transform
-
- if (flush)
- t2._flush = flush
-
- return t2
-})