summaryrefslogtreecommitdiffstats
path: root/node_modules/is-buffer
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/is-buffer
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/is-buffer')
-rw-r--r--node_modules/is-buffer/LICENSE21
-rw-r--r--node_modules/is-buffer/README.md53
-rw-r--r--node_modules/is-buffer/index.js21
-rw-r--r--node_modules/is-buffer/package.json88
-rw-r--r--node_modules/is-buffer/test/basic.js24
5 files changed, 0 insertions, 207 deletions
diff --git a/node_modules/is-buffer/LICENSE b/node_modules/is-buffer/LICENSE
deleted file mode 100644
index 0c068ce..0000000
--- a/node_modules/is-buffer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-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/is-buffer/README.md b/node_modules/is-buffer/README.md
deleted file mode 100644
index cce0a8c..0000000
--- a/node_modules/is-buffer/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# is-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
-
-[travis-image]: https://img.shields.io/travis/feross/is-buffer/master.svg
-[travis-url]: https://travis-ci.org/feross/is-buffer
-[npm-image]: https://img.shields.io/npm/v/is-buffer.svg
-[npm-url]: https://npmjs.org/package/is-buffer
-[downloads-image]: https://img.shields.io/npm/dm/is-buffer.svg
-[downloads-url]: https://npmjs.org/package/is-buffer
-[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
-[standard-url]: https://standardjs.com
-
-#### Determine if an object is a [`Buffer`](http://nodejs.org/api/buffer.html) (including the [browserify Buffer](https://github.com/feross/buffer))
-
-[![saucelabs][saucelabs-image]][saucelabs-url]
-
-[saucelabs-image]: https://saucelabs.com/browser-matrix/is-buffer.svg
-[saucelabs-url]: https://saucelabs.com/u/is-buffer
-
-## Why not use `Buffer.isBuffer`?
-
-This module lets you check if an object is a `Buffer` without using `Buffer.isBuffer` (which includes the whole [buffer](https://github.com/feross/buffer) module in [browserify](http://browserify.org/)).
-
-It's future-proof and works in node too!
-
-## install
-
-```bash
-npm install is-buffer
-```
-
-## usage
-
-```js
-var isBuffer = require('is-buffer')
-
-isBuffer(new Buffer(4)) // true
-
-isBuffer(undefined) // false
-isBuffer(null) // false
-isBuffer('') // false
-isBuffer(true) // false
-isBuffer(false) // false
-isBuffer(0) // false
-isBuffer(1) // false
-isBuffer(1.0) // false
-isBuffer('string') // false
-isBuffer({}) // false
-isBuffer(function foo () {}) // false
-```
-
-## license
-
-MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org).
diff --git a/node_modules/is-buffer/index.js b/node_modules/is-buffer/index.js
deleted file mode 100644
index 9cce396..0000000
--- a/node_modules/is-buffer/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*!
- * Determine if an object is a Buffer
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
-
-// The _isBuffer check is for Safari 5-7 support, because it's missing
-// Object.prototype.constructor. Remove this eventually
-module.exports = function (obj) {
- return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
-}
-
-function isBuffer (obj) {
- return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
-}
-
-// For Node v0.10 support. Remove this eventually.
-function isSlowBuffer (obj) {
- return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
-}
diff --git a/node_modules/is-buffer/package.json b/node_modules/is-buffer/package.json
deleted file mode 100644
index 988635e..0000000
--- a/node_modules/is-buffer/package.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "_from": "is-buffer@^1.1.5",
- "_id": "is-buffer@1.1.6",
- "_inBundle": false,
- "_integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "_location": "/is-buffer",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-buffer@^1.1.5",
- "name": "is-buffer",
- "escapedName": "is-buffer",
- "rawSpec": "^1.1.5",
- "saveSpec": null,
- "fetchSpec": "^1.1.5"
- },
- "_requiredBy": [
- "/anymatch/is-number/kind-of",
- "/chokidar/kind-of",
- "/findup-sync/is-number/kind-of",
- "/has-values/is-number/kind-of",
- "/has-values/kind-of",
- "/is-accessor-descriptor/kind-of",
- "/is-data-descriptor/kind-of",
- "/object-copy/kind-of",
- "/readdirp/is-number/kind-of",
- "/snapdragon-util/kind-of",
- "/to-object-path/kind-of",
- "/webpack/is-number/kind-of"
- ],
- "_resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
- "_shasum": "efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be",
- "_spec": "is-buffer@^1.1.5",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/anymatch/node_modules/is-number/node_modules/kind-of",
- "author": {
- "name": "Feross Aboukhadijeh",
- "email": "feross@feross.org",
- "url": "http://feross.org/"
- },
- "bugs": {
- "url": "https://github.com/feross/is-buffer/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Determine if an object is a Buffer",
- "devDependencies": {
- "standard": "*",
- "tape": "^4.0.0",
- "zuul": "^3.0.0"
- },
- "homepage": "https://github.com/feross/is-buffer#readme",
- "keywords": [
- "buffer",
- "buffers",
- "type",
- "core buffer",
- "browser buffer",
- "browserify",
- "typed array",
- "uint32array",
- "int16array",
- "int32array",
- "float32array",
- "float64array",
- "browser",
- "arraybuffer",
- "dataview"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "is-buffer",
- "repository": {
- "type": "git",
- "url": "git://github.com/feross/is-buffer.git"
- },
- "scripts": {
- "test": "standard && npm run test-node && npm run test-browser",
- "test-browser": "zuul -- test/*.js",
- "test-browser-local": "zuul --local -- test/*.js",
- "test-node": "tape test/*.js"
- },
- "testling": {
- "files": "test/*.js"
- },
- "version": "1.1.6"
-}
diff --git a/node_modules/is-buffer/test/basic.js b/node_modules/is-buffer/test/basic.js
deleted file mode 100644
index be4f8e4..0000000
--- a/node_modules/is-buffer/test/basic.js
+++ /dev/null
@@ -1,24 +0,0 @@
-var isBuffer = require('../')
-var test = require('tape')
-
-test('is-buffer', function (t) {
- t.equal(isBuffer(Buffer.alloc(4)), true, 'new Buffer(4)')
- t.equal(isBuffer(Buffer.allocUnsafeSlow(100)), true, 'SlowBuffer(100)')
-
- t.equal(isBuffer(undefined), false, 'undefined')
- t.equal(isBuffer(null), false, 'null')
- t.equal(isBuffer(''), false, 'empty string')
- t.equal(isBuffer(true), false, 'true')
- t.equal(isBuffer(false), false, 'false')
- t.equal(isBuffer(0), false, '0')
- t.equal(isBuffer(1), false, '1')
- t.equal(isBuffer(1.0), false, '1.0')
- t.equal(isBuffer('string'), false, 'string')
- t.equal(isBuffer({}), false, '{}')
- t.equal(isBuffer([]), false, '[]')
- t.equal(isBuffer(function foo () {}), false, 'function foo () {}')
- t.equal(isBuffer({ isBuffer: null }), false, '{ isBuffer: null }')
- t.equal(isBuffer({ isBuffer: function () { throw new Error() } }), false, '{ isBuffer: function () { throw new Error() } }')
-
- t.end()
-})