diff --git a/node_modules/.bin/errno b/node_modules/.bin/errno
deleted file mode 100644
index c3be4fc5..00000000
--- a/node_modules/.bin/errno
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../errno/cli.js" "$@"
-else
- exec node "$basedir/../errno/cli.js" "$@"
-fi
diff --git a/node_modules/.bin/errno.cmd b/node_modules/.bin/errno.cmd
deleted file mode 100644
index 609af3bf..00000000
--- a/node_modules/.bin/errno.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\errno\cli.js" %*
diff --git a/node_modules/.bin/errno.ps1 b/node_modules/.bin/errno.ps1
deleted file mode 100644
index 2b2d86fa..00000000
--- a/node_modules/.bin/errno.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../errno/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../errno/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../errno/cli.js" $args
- } else {
- & "node$exe" "$basedir/../errno/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/image-size b/node_modules/.bin/image-size
deleted file mode 100644
index ae4ce4c9..00000000
--- a/node_modules/.bin/image-size
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../image-size/bin/image-size.js" "$@"
-else
- exec node "$basedir/../image-size/bin/image-size.js" "$@"
-fi
diff --git a/node_modules/.bin/image-size.cmd b/node_modules/.bin/image-size.cmd
deleted file mode 100644
index 5ebeb0ef..00000000
--- a/node_modules/.bin/image-size.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\image-size\bin\image-size.js" %*
diff --git a/node_modules/.bin/image-size.ps1 b/node_modules/.bin/image-size.ps1
deleted file mode 100644
index 606184aa..00000000
--- a/node_modules/.bin/image-size.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../image-size/bin/image-size.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../image-size/bin/image-size.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../image-size/bin/image-size.js" $args
- } else {
- & "node$exe" "$basedir/../image-size/bin/image-size.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime
deleted file mode 100644
index 0a62a1b1..00000000
--- a/node_modules/.bin/mime
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
-else
- exec node "$basedir/../mime/cli.js" "$@"
-fi
diff --git a/node_modules/.bin/mime.cmd b/node_modules/.bin/mime.cmd
deleted file mode 100644
index 54491f12..00000000
--- a/node_modules/.bin/mime.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
diff --git a/node_modules/.bin/mime.ps1 b/node_modules/.bin/mime.ps1
deleted file mode 100644
index 2222f40b..00000000
--- a/node_modules/.bin/mime.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/needle b/node_modules/.bin/needle
deleted file mode 100644
index c7ed0fe6..00000000
--- a/node_modules/.bin/needle
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../needle/bin/needle" "$@"
-else
- exec node "$basedir/../needle/bin/needle" "$@"
-fi
diff --git a/node_modules/.bin/needle.cmd b/node_modules/.bin/needle.cmd
deleted file mode 100644
index 7b711f98..00000000
--- a/node_modules/.bin/needle.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\needle\bin\needle" %*
diff --git a/node_modules/.bin/needle.ps1 b/node_modules/.bin/needle.ps1
deleted file mode 100644
index 39c95acd..00000000
--- a/node_modules/.bin/needle.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../needle/bin/needle" $args
- } else {
- & "$basedir/node$exe" "$basedir/../needle/bin/needle" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../needle/bin/needle" $args
- } else {
- & "node$exe" "$basedir/../needle/bin/needle" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
index 09a00735..f582e89b 100644
--- a/node_modules/.package-lock.json
+++ b/node_modules/.package-lock.json
@@ -1432,18 +1432,6 @@
"once": "^1.4.0"
}
},
- "node_modules/errno": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz",
- "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==",
- "optional": true,
- "dependencies": {
- "prr": "~1.0.1"
- },
- "bin": {
- "errno": "cli.js"
- }
- },
"node_modules/error-ex": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
@@ -3445,18 +3433,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/image-size": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
- "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=",
- "optional": true,
- "bin": {
- "image-size": "bin/image-size.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/import-regex": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/import-regex/-/import-regex-1.1.0.tgz",
@@ -4288,28 +4264,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
- "optional": true,
- "dependencies": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/make-dir/node_modules/pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
- "optional": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
@@ -4475,18 +4429,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "optional": true,
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/mimic-fn": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
@@ -4645,38 +4587,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/needle": {
- "version": "2.9.1",
- "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz",
- "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==",
- "optional": true,
- "dependencies": {
- "debug": "^3.2.6",
- "iconv-lite": "^0.4.4",
- "sax": "^1.2.4"
- },
- "bin": {
- "needle": "bin/needle"
- },
- "engines": {
- "node": ">= 4.4.x"
- }
- },
- "node_modules/needle/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "optional": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/needle/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "optional": true
- },
"node_modules/next-tick": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
@@ -5348,12 +5258,6 @@
"resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
"integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk="
},
- "node_modules/prr": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
- "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=",
- "optional": true
- },
"node_modules/pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
@@ -5880,12 +5784,6 @@
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
- "node_modules/sax": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
- "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
- "optional": true
- },
"node_modules/semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
diff --git a/node_modules/errno/.jshintrc b/node_modules/errno/.jshintrc
deleted file mode 100644
index c8ef3ca4..00000000
--- a/node_modules/errno/.jshintrc
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "predef": [ ]
- , "bitwise": false
- , "camelcase": false
- , "curly": false
- , "eqeqeq": false
- , "forin": false
- , "immed": false
- , "latedef": false
- , "noarg": true
- , "noempty": true
- , "nonew": true
- , "plusplus": false
- , "quotmark": true
- , "regexp": false
- , "undef": true
- , "unused": true
- , "strict": false
- , "trailing": true
- , "maxlen": 120
- , "asi": true
- , "boss": true
- , "debug": true
- , "eqnull": true
- , "esnext": true
- , "evil": true
- , "expr": true
- , "funcscope": false
- , "globalstrict": false
- , "iterator": false
- , "lastsemic": true
- , "laxbreak": true
- , "laxcomma": true
- , "loopfunc": true
- , "multistr": false
- , "onecase": false
- , "proto": false
- , "regexdash": false
- , "scripturl": true
- , "smarttabs": false
- , "shadow": false
- , "sub": true
- , "supernew": false
- , "validthis": true
- , "browser": true
- , "couch": false
- , "devel": false
- , "dojo": false
- , "mootools": false
- , "node": true
- , "nonstandard": true
- , "prototypejs": false
- , "rhino": false
- , "worker": true
- , "wsh": false
- , "nomen": false
- , "onevar": false
- , "passfail": false
-}
\ No newline at end of file
diff --git a/node_modules/errno/.travis.yml b/node_modules/errno/.travis.yml
deleted file mode 100644
index 9c068879..00000000
--- a/node_modules/errno/.travis.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-sudo: false
-
-language: node_js
-
-node_js:
- - 14
- - 12
- - 10
- - 9
- - 8
- - 7
- - 6
- - 5
- - 4
-
-arch:
- - amd64
- - ppc64le
-
diff --git a/node_modules/errno/README.md b/node_modules/errno/README.md
deleted file mode 100644
index a4d0fb54..00000000
--- a/node_modules/errno/README.md
+++ /dev/null
@@ -1,145 +0,0 @@
-# node-errno
-
-> Better [libuv](https://github.com/libuv/libuv)/[Node.js](https://nodejs.org)/[io.js](https://iojs.org) error handling & reporting. Available in npm as *errno*.
-
-[![npm](https://img.shields.io/npm/v/errno.svg)](https://www.npmjs.com/package/errno)
-[![Build Status](https://secure.travis-ci.org/rvagg/node-errno.png)](http://travis-ci.org/rvagg/node-errno)
-[![npm](https://img.shields.io/npm/dm/errno.svg)](https://www.npmjs.com/package/errno)
-
-* [errno exposed](#errnoexposed)
-* [Custom errors](#customerrors)
-
-
-## errno exposed
-
-Ever find yourself needing more details about Node.js errors? Me too, so *node-errno* contains the errno mappings direct from libuv so you can use them in your code.
-
-**By errno:**
-
-```js
-require('errno').errno[3]
-// → {
-// "errno": 3,
-// "code": "EACCES",
-// "description": "permission denied"
-// }
-```
-
-**By code:**
-
-```js
-require('errno').code.ENOTEMPTY
-// → {
-// "errno": 53,
-// "code": "ENOTEMPTY",
-// "description": "directory not empty"
-// }
-```
-
-**Make your errors more descriptive:**
-
-```js
-var errno = require('errno')
-
-function errmsg(err) {
- var str = 'Error: '
- // if it's a libuv error then get the description from errno
- if (errno.errno[err.errno])
- str += errno.errno[err.errno].description
- else
- str += err.message
-
- // if it's a `fs` error then it'll have a 'path' property
- if (err.path)
- str += ' [' + err.path + ']'
-
- return str
-}
-
-var fs = require('fs')
-
-fs.readFile('thisisnotarealfile.txt', function (err, data) {
- if (err)
- console.log(errmsg(err))
-})
-```
-
-**Use as a command line tool:**
-
-```
-~ $ errno 53
-{
- "errno": 53,
- "code": "ENOTEMPTY",
- "description": "directory not empty"
-}
-~ $ errno EROFS
-{
- "errno": 56,
- "code": "EROFS",
- "description": "read-only file system"
-}
-~ $ errno foo
-No such errno/code: "foo"
-```
-
-Supply no arguments for the full list. Error codes are processed case-insensitive.
-
-You will need to install with `npm install errno -g` if you want the `errno` command to be available without supplying a full path to the node_modules installation.
-
-
-## Custom errors
-
-Use `errno.custom.createError()` to create custom `Error` objects to throw around in your Node.js library. Create error hierarchies so `instanceof` becomes a useful tool in tracking errors. Call-stack is correctly captured at the time you create an instance of the error object, plus a `cause` property will make available the original error object if you pass one in to the constructor.
-
-```js
-var create = require('errno').custom.createError
-var MyError = create('MyError') // inherits from Error
-var SpecificError = create('SpecificError', MyError) // inherits from MyError
-var OtherError = create('OtherError', MyError)
-
-// use them!
-if (condition) throw new SpecificError('Eeek! Something bad happened')
-
-if (err) return callback(new OtherError(err))
-```
-
-Also available is a `errno.custom.FilesystemError` with in-built access to errno properties:
-
-```js
-fs.readFile('foo', function (err, data) {
- if (err) return callback(new errno.custom.FilesystemError(err))
- // do something else
-})
-```
-
-The resulting error object passed through the callback will have the following properties: `code`, `errno`, `path` and `message` will contain a descriptive human-readable message.
-
-## Contributors
-
-* [bahamas10](https://github.com/bahamas10) (Dave Eddy) - Added CLI
-* [ralphtheninja](https://github.com/ralphtheninja) (Lars-Magnus Skog)
-
-## Copyright & Licence
-
-*Copyright (c) 2012-2015 [Rod Vagg](https://github.com/rvagg) ([@rvagg](https://twitter.com/rvagg))*
-
-Made available under the MIT licence:
-
-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/errno/build.js b/node_modules/errno/build.js
deleted file mode 100644
index fce89260..00000000
--- a/node_modules/errno/build.js
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env node
-
-var request = require('request')
- , fs = require('fs')
-
- , uvheadloc = 'https://raw.github.com/joyent/libuv/master/include/uv.h'
- , defreg = /^\s*XX\(\s*([\-\d]+),\s*([A-Z]+),\s*"([^"]*)"\s*\)\s*\\?$/
-
-
-request(uvheadloc, function (err, response) {
- if (err)
- throw err
-
- var data, out
-
- data = response.body
- .split('\n')
- .map(function (line) { return line.match(defreg) })
- .filter(function (match) { return match })
- .map(function (match) { return {
- errno: parseInt(match[1], 10)
- , code: match[2]
- , description: match[3]
- }})
-
- out = 'var all = module.exports.all = ' + JSON.stringify(data, 0, 1) + '\n\n'
-
- out += '\nmodule.exports.errno = {\n '
- + data.map(function (e, i) {
- return '\'' + e.errno + '\': all[' + i + ']'
- }).join('\n , ')
- + '\n}\n\n'
-
- out += '\nmodule.exports.code = {\n '
- + data.map(function (e, i) {
- return '\'' + e.code + '\': all[' + i + ']'
- }).join('\n , ')
- + '\n}\n\n'
-
- out += '\nmodule.exports.custom = require("./custom")(module.exports)\n'
-
- fs.writeFile('errno.js', out)
-})
\ No newline at end of file
diff --git a/node_modules/errno/cli.js b/node_modules/errno/cli.js
deleted file mode 100644
index 61d179bb..00000000
--- a/node_modules/errno/cli.js
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env node
-
-var errno = require('./')
- , arg = process.argv[2]
- , data, code
-
-if (arg === undefined) {
- console.log(JSON.stringify(errno.code, null, 2))
- process.exit(0)
-}
-
-if ((code = +arg) == arg)
- data = errno.errno[code]
-else
- data = errno.code[arg] || errno.code[arg.toUpperCase()]
-
-if (data)
- console.log(JSON.stringify(data, null, 2))
-else {
- console.error('No such errno/code: "' + arg + '"')
- process.exit(1)
-}
diff --git a/node_modules/errno/custom.js b/node_modules/errno/custom.js
deleted file mode 100644
index ca8c1d8d..00000000
--- a/node_modules/errno/custom.js
+++ /dev/null
@@ -1,57 +0,0 @@
-var prr = require('prr')
-
-function init (type, message, cause) {
- if (!!message && typeof message != 'string') {
- message = message.message || message.name
- }
- prr(this, {
- type : type
- , name : type
- // can be passed just a 'cause'
- , cause : typeof message != 'string' ? message : cause
- , message : message
- }, 'ewr')
-}
-
-// generic prototype, not intended to be actually used - helpful for `instanceof`
-function CustomError (message, cause) {
- Error.call(this)
- if (Error.captureStackTrace)
- Error.captureStackTrace(this, this.constructor)
- init.call(this, 'CustomError', message, cause)
-}
-
-CustomError.prototype = new Error()
-
-function createError (errno, type, proto) {
- var err = function (message, cause) {
- init.call(this, type, message, cause)
- //TODO: the specificity here is stupid, errno should be available everywhere
- if (type == 'FilesystemError') {
- this.code = this.cause.code
- this.path = this.cause.path
- this.errno = this.cause.errno
- this.message =
- (errno.errno[this.cause.errno]
- ? errno.errno[this.cause.errno].description
- : this.cause.message)
- + (this.cause.path ? ' [' + this.cause.path + ']' : '')
- }
- Error.call(this)
- if (Error.captureStackTrace)
- Error.captureStackTrace(this, err)
- }
- err.prototype = !!proto ? new proto() : new CustomError()
- return err
-}
-
-module.exports = function (errno) {
- var ce = function (type, proto) {
- return createError(errno, type, proto)
- }
- return {
- CustomError : CustomError
- , FilesystemError : ce('FilesystemError')
- , createError : ce
- }
-}
diff --git a/node_modules/errno/errno.js b/node_modules/errno/errno.js
deleted file mode 100644
index efb79d41..00000000
--- a/node_modules/errno/errno.js
+++ /dev/null
@@ -1,313 +0,0 @@
-var all = module.exports.all = [
- {
- errno: -2,
- code: 'ENOENT',
- description: 'no such file or directory'
- },
- {
- errno: -1,
- code: 'UNKNOWN',
- description: 'unknown error'
- },
- {
- errno: 0,
- code: 'OK',
- description: 'success'
- },
- {
- errno: 1,
- code: 'EOF',
- description: 'end of file'
- },
- {
- errno: 2,
- code: 'EADDRINFO',
- description: 'getaddrinfo error'
- },
- {
- errno: 3,
- code: 'EACCES',
- description: 'permission denied'
- },
- {
- errno: 4,
- code: 'EAGAIN',
- description: 'resource temporarily unavailable'
- },
- {
- errno: 5,
- code: 'EADDRINUSE',
- description: 'address already in use'
- },
- {
- errno: 6,
- code: 'EADDRNOTAVAIL',
- description: 'address not available'
- },
- {
- errno: 7,
- code: 'EAFNOSUPPORT',
- description: 'address family not supported'
- },
- {
- errno: 8,
- code: 'EALREADY',
- description: 'connection already in progress'
- },
- {
- errno: 9,
- code: 'EBADF',
- description: 'bad file descriptor'
- },
- {
- errno: 10,
- code: 'EBUSY',
- description: 'resource busy or locked'
- },
- {
- errno: 11,
- code: 'ECONNABORTED',
- description: 'software caused connection abort'
- },
- {
- errno: 12,
- code: 'ECONNREFUSED',
- description: 'connection refused'
- },
- {
- errno: 13,
- code: 'ECONNRESET',
- description: 'connection reset by peer'
- },
- {
- errno: 14,
- code: 'EDESTADDRREQ',
- description: 'destination address required'
- },
- {
- errno: 15,
- code: 'EFAULT',
- description: 'bad address in system call argument'
- },
- {
- errno: 16,
- code: 'EHOSTUNREACH',
- description: 'host is unreachable'
- },
- {
- errno: 17,
- code: 'EINTR',
- description: 'interrupted system call'
- },
- {
- errno: 18,
- code: 'EINVAL',
- description: 'invalid argument'
- },
- {
- errno: 19,
- code: 'EISCONN',
- description: 'socket is already connected'
- },
- {
- errno: 20,
- code: 'EMFILE',
- description: 'too many open files'
- },
- {
- errno: 21,
- code: 'EMSGSIZE',
- description: 'message too long'
- },
- {
- errno: 22,
- code: 'ENETDOWN',
- description: 'network is down'
- },
- {
- errno: 23,
- code: 'ENETUNREACH',
- description: 'network is unreachable'
- },
- {
- errno: 24,
- code: 'ENFILE',
- description: 'file table overflow'
- },
- {
- errno: 25,
- code: 'ENOBUFS',
- description: 'no buffer space available'
- },
- {
- errno: 26,
- code: 'ENOMEM',
- description: 'not enough memory'
- },
- {
- errno: 27,
- code: 'ENOTDIR',
- description: 'not a directory'
- },
- {
- errno: 28,
- code: 'EISDIR',
- description: 'illegal operation on a directory'
- },
- {
- errno: 29,
- code: 'ENONET',
- description: 'machine is not on the network'
- },
- {
- errno: 31,
- code: 'ENOTCONN',
- description: 'socket is not connected'
- },
- {
- errno: 32,
- code: 'ENOTSOCK',
- description: 'socket operation on non-socket'
- },
- {
- errno: 33,
- code: 'ENOTSUP',
- description: 'operation not supported on socket'
- },
- {
- errno: 34,
- code: 'ENOENT',
- description: 'no such file or directory'
- },
- {
- errno: 35,
- code: 'ENOSYS',
- description: 'function not implemented'
- },
- {
- errno: 36,
- code: 'EPIPE',
- description: 'broken pipe'
- },
- {
- errno: 37,
- code: 'EPROTO',
- description: 'protocol error'
- },
- {
- errno: 38,
- code: 'EPROTONOSUPPORT',
- description: 'protocol not supported'
- },
- {
- errno: 39,
- code: 'EPROTOTYPE',
- description: 'protocol wrong type for socket'
- },
- {
- errno: 40,
- code: 'ETIMEDOUT',
- description: 'connection timed out'
- },
- {
- errno: 41,
- code: 'ECHARSET',
- description: 'invalid Unicode character'
- },
- {
- errno: 42,
- code: 'EAIFAMNOSUPPORT',
- description: 'address family for hostname not supported'
- },
- {
- errno: 44,
- code: 'EAISERVICE',
- description: 'servname not supported for ai_socktype'
- },
- {
- errno: 45,
- code: 'EAISOCKTYPE',
- description: 'ai_socktype not supported'
- },
- {
- errno: 46,
- code: 'ESHUTDOWN',
- description: 'cannot send after transport endpoint shutdown'
- },
- {
- errno: 47,
- code: 'EEXIST',
- description: 'file already exists'
- },
- {
- errno: 48,
- code: 'ESRCH',
- description: 'no such process'
- },
- {
- errno: 49,
- code: 'ENAMETOOLONG',
- description: 'name too long'
- },
- {
- errno: 50,
- code: 'EPERM',
- description: 'operation not permitted'
- },
- {
- errno: 51,
- code: 'ELOOP',
- description: 'too many symbolic links encountered'
- },
- {
- errno: 52,
- code: 'EXDEV',
- description: 'cross-device link not permitted'
- },
- {
- errno: 53,
- code: 'ENOTEMPTY',
- description: 'directory not empty'
- },
- {
- errno: 54,
- code: 'ENOSPC',
- description: 'no space left on device'
- },
- {
- errno: 55,
- code: 'EIO',
- description: 'i/o error'
- },
- {
- errno: 56,
- code: 'EROFS',
- description: 'read-only file system'
- },
- {
- errno: 57,
- code: 'ENODEV',
- description: 'no such device'
- },
- {
- errno: 58,
- code: 'ESPIPE',
- description: 'invalid seek'
- },
- {
- errno: 59,
- code: 'ECANCELED',
- description: 'operation canceled'
- }
-]
-
-module.exports.errno = {}
-module.exports.code = {}
-
-all.forEach(function (error) {
- module.exports.errno[error.errno] = error
- module.exports.code[error.code] = error
-})
-
-module.exports.custom = require('./custom')(module.exports)
-module.exports.create = module.exports.custom.createError
diff --git a/node_modules/errno/package.json b/node_modules/errno/package.json
deleted file mode 100644
index eee3e559..00000000
--- a/node_modules/errno/package.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "name": "errno",
- "authors": [
- "Rod Vagg @rvagg (https://github.com/rvagg)"
- ],
- "description": "libuv errno details exposed",
- "keywords": [
- "errors",
- "errno",
- "libuv"
- ],
- "version": "0.1.8",
- "main": "errno.js",
- "dependencies": {
- "prr": "~1.0.1"
- },
- "bin": {
- "errno": "./cli.js"
- },
- "devDependencies": {
- "error-stack-parser": "^2.0.1",
- "inherits": "^2.0.3",
- "tape": "~4.8.0"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/rvagg/node-errno.git"
- },
- "license": "MIT",
- "scripts": {
- "test": "node --use_strict test.js"
- }
-}
diff --git a/node_modules/errno/test.js b/node_modules/errno/test.js
deleted file mode 100644
index 1c046357..00000000
--- a/node_modules/errno/test.js
+++ /dev/null
@@ -1,88 +0,0 @@
-var test = require('tape')
- , inherits = require('inherits')
- , ErrorStackParser = require('error-stack-parser')
- , errno = require('./')
-
-test('sanity checks', function (t) {
- t.ok(errno.all, 'errno.all not found')
- t.ok(errno.errno, 'errno.errno not found')
- t.ok(errno.code, 'errno.code not found')
-
- t.equal(errno.all.length, 60, 'found ' + errno.all.length + ', expected 60')
- t.equal(errno.errno['-1'], errno.all[1], 'errno -1 not second element')
-
- t.equal(errno.code['UNKNOWN'], errno.all[1], 'code UNKNOWN not second element')
-
- t.equal(errno.errno[1], errno.all[3], 'errno 1 not fourth element')
-
- t.equal(errno.code['EOF'], errno.all[3], 'code EOF not fourth element')
- t.end()
-})
-
-test('custom errors', function (t) {
- const Cust = errno.create('FooNotBarError')
- const cust = new Cust('foo is not bar')
-
- t.equal(cust.name, 'FooNotBarError', 'correct custom name')
- t.equal(cust.type, 'FooNotBarError', 'correct custom type')
- t.equal(cust.message, 'foo is not bar', 'correct custom message')
- t.notOk(cust.cause, 'no cause')
- t.end()
-})
-
-test('callstack', function (t) {
- const MyError = errno.create('MyError')
-
- function lastFunction (ErrorType, cb) {
- process.nextTick(cb, new ErrorType('oh noes!'))
- }
-
- function secondLastFunction (ErrorType, cb) {
- lastFunction(ErrorType, cb)
- }
-
- function testFrames (t) {
- return function (err) {
- const stack = ErrorStackParser.parse(err)
- t.same(stack[0].functionName, 'lastFunction', 'last stack frame ok')
- t.same(stack[1].functionName, 'secondLastFunction', 'second last stack frame ok')
- t.end()
- }
- }
-
- t.test('custom error, default prototype', function (t) {
- secondLastFunction(MyError, testFrames(t))
- })
-
- t.test('custom error, custom prototype', function (t) {
- const MyError2 = errno.create('MyError2', MyError)
- secondLastFunction(MyError2, testFrames(t))
- })
-
- t.test('custom error, using inheritance', function (t) {
- const CustomError = errno.custom.CustomError
-
- function MyError3 (message, cause) {
- CustomError.call(this, message, cause)
- }
-
- inherits(MyError3, CustomError)
-
- secondLastFunction(MyError3, testFrames(t))
- })
-})
-
-test('error without message', function (t) {
- const Cust = errno.create('WriteError')
- const cust = new Cust({
- code: 22,
- message: '',
- name: 'QuotaExceededError'
- })
-
- t.equal(cust.name, 'WriteError', 'correct custom name')
- t.equal(cust.type, 'WriteError', 'correct custom type')
- t.equal(cust.message, 'QuotaExceededError', 'message is the name')
- t.notOk(cust.cause, 'no cause')
- t.end()
-})
diff --git a/node_modules/image-size/LICENSE b/node_modules/image-size/LICENSE
deleted file mode 100644
index 1341a90d..00000000
--- a/node_modules/image-size/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-The MIT License (MIT)
-
-Copyright © 2017 Aditya Yadav, http://netroy.in
-
-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/image-size/Readme.md b/node_modules/image-size/Readme.md
deleted file mode 100644
index 66c6ca2a..00000000
--- a/node_modules/image-size/Readme.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# image-size
-
-[![NPM Version](https://img.shields.io/npm/v/image-size.svg)](https://www.npmjs.com/package/image-size)
-[![Build Status](https://travis-ci.org/image-size/image-size.svg?branch=master)](https://travis-ci.org/image-size/image-size)
-[![NPM Downloads](https://img.shields.io/npm/dm/image-size.svg)](http://npm-stat.com/charts.html?package=image-size&author=&from=&to=)
-[![Coverage Status](https://img.shields.io/coveralls/image-size/image-size/master.svg)](https://coveralls.io/github/image-size/image-size?branch=master)
-[![devDependency Status](https://david-dm.org/image-size/image-size/dev-status.svg)](https://david-dm.org/image-size/image-size#info=devDependencies)
-
-A [Node](https://nodejs.org/en/) module to get dimensions of any image file
-
-## Supported formats
-
-* BMP
-* GIF
-* JPEG
-* PNG
-* PSD
-* TIFF
-* WebP
-* SVG
-* DDS
-
-### Upcoming
-
-* SWF
-
-## Programmatic Usage
-
-```
-npm install image-size --save
-```
-
-### Synchronous
-
-```javascript
-var sizeOf = require('image-size');
-var dimensions = sizeOf('images/funny-cats.png');
-console.log(dimensions.width, dimensions.height);
-```
-
-### Asynchronous
-
-```javascript
-var sizeOf = require('image-size');
-sizeOf('images/funny-cats.png', function (err, dimensions) {
- console.log(dimensions.width, dimensions.height);
-});
-```
-NOTE: The asynchronous version doesn't work if the input is a Buffer. Use synchronous version instead.
-
-### Using a URL
-
-```javascript
-var url = require('url');
-var http = require('http');
-
-var sizeOf = require('image-size');
-
-var imgUrl = 'http://my-amazing-website.com/image.jpeg';
-var options = url.parse(imgUrl);
-
-http.get(options, function (response) {
- var chunks = [];
- response.on('data', function (chunk) {
- chunks.push(chunk);
- }).on('end', function() {
- var buffer = Buffer.concat(chunks);
- console.log(sizeOf(buffer));
- });
-});
-```
-
-You can optionally check the buffer lengths & stop downloading the image after a few kilobytes.
-**You don't need to download the entire image**
-
-## Command-Line Usage (CLI)
-
-```
-npm install image-size --global
-image-size image1 [image2] [image3] ...
-```
-
-## Credits
-
-not a direct port, but an attempt to have something like
-[dabble's imagesize](https://github.com/dabble/imagesize/blob/master/lib/image_size.rb) as a node module.
-
-## [Contributors](Contributors.md)
diff --git a/node_modules/image-size/bin/image-size.js b/node_modules/image-size/bin/image-size.js
deleted file mode 100644
index 449b03ce..00000000
--- a/node_modules/image-size/bin/image-size.js
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-
-var fs = require('fs');
-var path = require('path');
-
-var imageSize = require('..');
-
-var files = process.argv.slice(2);
-
-if (!files.length) {
- console.error('Usage: image-size image1 [image2] [image3] ...');
- process.exit(-1);
-}
-
-var red = ['\x1B[31m', '\x1B[39m'];
-// var bold = ['\x1B[1m', '\x1B[22m'];
-var grey = ['\x1B[90m', '\x1B[39m'];
-var green = ['\x1B[32m', '\x1B[39m'];
-
-files.forEach(function (image) {
- try {
- if (fs.existsSync(path.resolve(image))) {
- var size = imageSize(image);
- var label = green[0] + size.width + green[1] +
- grey[0] + 'x' + grey[1] +
- green[0] + size.height + green[1];
- console.info(label, '-', grey[0] + image + grey[1]);
- } else {
- console.error('file doesn\'t exist - ', image);
- }
- } catch (e) {
- // console.error(e.stack);
- console.error(red[0] + e.message + red[1], '-', image);
- }
-});
diff --git a/node_modules/image-size/lib/detector.js b/node_modules/image-size/lib/detector.js
deleted file mode 100644
index f0e66d3c..00000000
--- a/node_modules/image-size/lib/detector.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict';
-
-var typeMap = {};
-var types = require('./types');
-
-// load all available handlers
-types.forEach(function (type) {
- typeMap[type] = require('./types/' + type).detect;
-});
-
-module.exports = function (buffer, filepath) {
- var type, result;
- for (type in typeMap) {
- result = typeMap[type](buffer, filepath);
- if (result) {
- return type;
- }
- }
-};
diff --git a/node_modules/image-size/lib/index.js b/node_modules/image-size/lib/index.js
deleted file mode 100644
index fcac144b..00000000
--- a/node_modules/image-size/lib/index.js
+++ /dev/null
@@ -1,105 +0,0 @@
-'use strict';
-
-var fs = require('fs');
-var path = require('path');
-
-var detector = require('./detector');
-
-var handlers = {};
-var types = require('./types');
-
-// load all available handlers
-types.forEach(function (type) {
- handlers[type] = require('./types/' + type);
-});
-
-// Maximum buffer size, with a default of 128 kilobytes.
-// TO-DO: make this adaptive based on the initial signature of the image
-var MaxBufferSize = 128*1024;
-
-function lookup (buffer, filepath) {
- // detect the file type.. don't rely on the extension
- var type = detector(buffer, filepath);
-
- // find an appropriate handler for this file type
- if (type in handlers) {
- var size = handlers[type].calculate(buffer, filepath);
- if (size !== false) {
- size.type = type;
- return size;
- }
- }
-
- // throw up, if we don't understand the file
- throw new TypeError('unsupported file type: ' + type + ' (file: ' + filepath + ')');
-}
-
-function asyncFileToBuffer (filepath, callback) {
- // open the file in read only mode
- fs.open(filepath, 'r', function (err, descriptor) {
- if (err) { return callback(err); }
- var size = fs.fstatSync(descriptor).size;
- if (size <= 0){return callback(new Error("File size is not greater than 0 —— " + filepath)); }
- var bufferSize = Math.min(size, MaxBufferSize);
- var buffer = new Buffer(bufferSize);
- // read first buffer block from the file, asynchronously
- fs.read(descriptor, buffer, 0, bufferSize, 0, function (err) {
- if (err) { return callback(err); }
- // close the file, we are done
- fs.close(descriptor, function (err) {
- callback(err, buffer);
- });
- });
- });
-}
-
-function syncFileToBuffer (filepath) {
- // read from the file, synchronously
- var descriptor = fs.openSync(filepath, 'r');
- var size = fs.fstatSync(descriptor).size;
- var bufferSize = Math.min(size, MaxBufferSize);
- var buffer = new Buffer(bufferSize);
- fs.readSync(descriptor, buffer, 0, bufferSize, 0);
- fs.closeSync(descriptor);
- return buffer;
-}
-
-/**
- * @params input - buffer or relative/absolute path of the image file
- * @params callback - optional function for async detection
- */
-module.exports = function (input, callback) {
-
- // Handle buffer input
- if (Buffer.isBuffer(input)) {
- return lookup(input);
- }
-
- // input should be a string at this point
- if (typeof input !== 'string') {
- throw new TypeError('invalid invocation');
- }
-
- // resolve the file path
- var filepath = path.resolve(input);
-
- if (typeof callback === 'function') {
- asyncFileToBuffer(filepath, function (err, buffer) {
- if (err) { return callback(err); }
-
- // return the dimensions
- var dimensions;
- try {
- dimensions = lookup(buffer, filepath);
- } catch (e) {
- err = e;
- }
- callback(err, dimensions);
- });
- } else {
- var buffer = syncFileToBuffer(filepath);
- return lookup(buffer, filepath);
- }
-};
-
-module.exports.types = types;
diff --git a/node_modules/image-size/lib/readUInt.js b/node_modules/image-size/lib/readUInt.js
deleted file mode 100644
index 36c6033c..00000000
--- a/node_modules/image-size/lib/readUInt.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-
-// Abstract reading multi-byte unsigned integers
-function readUInt (buffer, bits, offset, isBigEndian) {
- offset = offset || 0;
- var endian = !!isBigEndian ? 'BE' : 'LE';
- var method = buffer['readUInt' + bits + endian];
- return method.call(buffer, offset);
-}
-
-module.exports = readUInt;
diff --git a/node_modules/image-size/lib/types.js b/node_modules/image-size/lib/types.js
deleted file mode 100644
index 77fd7b52..00000000
--- a/node_modules/image-size/lib/types.js
+++ /dev/null
@@ -1,13 +0,0 @@
-'use strict';
-
-module.exports = [
- 'bmp',
- 'gif',
- 'jpg',
- 'png',
- 'psd',
- 'svg',
- 'tiff',
- 'webp',
- 'dds'
-];
diff --git a/node_modules/image-size/lib/types/bmp.js b/node_modules/image-size/lib/types/bmp.js
deleted file mode 100644
index ada01414..00000000
--- a/node_modules/image-size/lib/types/bmp.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'use strict';
-
-function isBMP (buffer) {
- return ('BM' === buffer.toString('ascii', 0, 2));
-}
-
-function calculate (buffer) {
- return {
- 'width': buffer.readUInt32LE(18),
- 'height': Math.abs(buffer.readInt32LE(22))
- };
-}
-
-module.exports = {
- 'detect': isBMP,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/dds.js b/node_modules/image-size/lib/types/dds.js
deleted file mode 100644
index 862c0460..00000000
--- a/node_modules/image-size/lib/types/dds.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict';
-
-function isDDS(buffer){
- return buffer.readUInt32LE(0) === 0x20534444;
-}
-
-function calculate(buffer){
- // read file resolution metadata
- return {
- 'height': buffer.readUInt32LE(12),
- 'width': buffer.readUInt32LE(16)
- };
-}
-
-module.exports = {
- 'detect': isDDS,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/gif.js b/node_modules/image-size/lib/types/gif.js
deleted file mode 100644
index b4970792..00000000
--- a/node_modules/image-size/lib/types/gif.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict';
-
-var gifRegexp = /^GIF8[79]a/;
-function isGIF (buffer) {
- var signature = buffer.toString('ascii', 0, 6);
- return (gifRegexp.test(signature));
-}
-
-function calculate(buffer) {
- return {
- 'width': buffer.readUInt16LE(6),
- 'height': buffer.readUInt16LE(8)
- };
-}
-
-module.exports = {
- 'detect': isGIF,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/jpg.js b/node_modules/image-size/lib/types/jpg.js
deleted file mode 100644
index e8ed127d..00000000
--- a/node_modules/image-size/lib/types/jpg.js
+++ /dev/null
@@ -1,62 +0,0 @@
-'use strict';
-
-// NOTE: we only support baseline and progressive JPGs here
-// due to the structure of the loader class, we only get a buffer
-// with a maximum size of 4096 bytes. so if the SOF marker is outside
-// if this range we can't detect the file size correctly.
-
-function isJPG (buffer) { //, filepath
- var SOIMarker = buffer.toString('hex', 0, 2);
- return ('ffd8' === SOIMarker);
-}
-
-function extractSize (buffer, i) {
- return {
- 'height' : buffer.readUInt16BE(i),
- 'width' : buffer.readUInt16BE(i + 2)
- };
-}
-
-function validateBuffer (buffer, i) {
- // index should be within buffer limits
- if (i > buffer.length) {
- throw new TypeError('Corrupt JPG, exceeded buffer limits');
- }
- // Every JPEG block must begin with a 0xFF
- if (buffer[i] !== 0xFF) {
- throw new TypeError('Invalid JPG, marker table corrupted');
- }
-}
-
-function calculate (buffer) {
-
- // Skip 4 chars, they are for signature
- buffer = buffer.slice(4);
-
- var i, next;
- while (buffer.length) {
- // read length of the next block
- i = buffer.readUInt16BE(0);
-
- // ensure correct format
- validateBuffer(buffer, i);
-
- // 0xFFC0 is baseline standard(SOF)
- // 0xFFC1 is baseline optimized(SOF)
- // 0xFFC2 is progressive(SOF2)
- next = buffer[i + 1];
- if (next === 0xC0 || next === 0xC1 || next === 0xC2) {
- return extractSize(buffer, i + 5);
- }
-
- // move to the next block
- buffer = buffer.slice(i + 2);
- }
-
- throw new TypeError('Invalid JPG, no size found');
-}
-
-module.exports = {
- 'detect': isJPG,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/png.js b/node_modules/image-size/lib/types/png.js
deleted file mode 100644
index 9fe1a1e4..00000000
--- a/node_modules/image-size/lib/types/png.js
+++ /dev/null
@@ -1,36 +0,0 @@
-'use strict';
-
-var pngSignature = 'PNG\r\n\x1a\n';
-var pngImageHeaderChunkName = 'IHDR';
-var pngFriedChunkName = 'CgBI'; // Used to detect "fried" png's: http://www.jongware.com/pngdefry.html
-
-function isPNG (buffer) {
- if (pngSignature === buffer.toString('ascii', 1, 8)) {
- var chunkName = buffer.toString('ascii', 12, 16);
- if (chunkName === pngFriedChunkName) {
- chunkName = buffer.toString('ascii', 28, 32);
- }
- if (chunkName !== pngImageHeaderChunkName) {
- throw new TypeError('invalid png');
- }
- return true;
- }
-}
-
-function calculate (buffer) {
- if (buffer.toString('ascii', 12, 16) === pngFriedChunkName) {
- return {
- 'width': buffer.readUInt32BE(32),
- 'height': buffer.readUInt32BE(36)
- };
- }
- return {
- 'width': buffer.readUInt32BE(16),
- 'height': buffer.readUInt32BE(20)
- };
-}
-
-module.exports = {
- 'detect': isPNG,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/psd.js b/node_modules/image-size/lib/types/psd.js
deleted file mode 100644
index dec43047..00000000
--- a/node_modules/image-size/lib/types/psd.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'use strict';
-
-function isPSD (buffer) {
- return ('8BPS' === buffer.toString('ascii', 0, 4));
-}
-
-function calculate (buffer) {
- return {
- 'width': buffer.readUInt32BE(18),
- 'height': buffer.readUInt32BE(14)
- };
-}
-
-module.exports = {
- 'detect': isPSD,
- 'calculate': calculate
-};
diff --git a/node_modules/image-size/lib/types/svg.js b/node_modules/image-size/lib/types/svg.js
deleted file mode 100644
index 73c8d270..00000000
--- a/node_modules/image-size/lib/types/svg.js
+++ /dev/null
@@ -1,78 +0,0 @@
-'use strict';
-
-var svgReg = /