summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/which-module
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-13 12:29:07 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-13 12:29:22 +0200
commitda736d8259331a8ef13bf4bbb10bbb8a5c0e5299 (patch)
tree4d849133b1c9a9c7067e96ff7dd8faa1d927e0bb /deps/node/deps/npm/node_modules/which-module
parentda228cf9d71b747f1824e85127039e5afc7effd8 (diff)
downloadakono-da736d8259331a8ef13bf4bbb10bbb8a5c0e5299.tar.gz
akono-da736d8259331a8ef13bf4bbb10bbb8a5c0e5299.tar.bz2
akono-da736d8259331a8ef13bf4bbb10bbb8a5c0e5299.zip
remove node/v8 from source tree
Diffstat (limited to 'deps/node/deps/npm/node_modules/which-module')
-rw-r--r--deps/node/deps/npm/node_modules/which-module/CHANGELOG.md26
-rw-r--r--deps/node/deps/npm/node_modules/which-module/LICENSE13
-rw-r--r--deps/node/deps/npm/node_modules/which-module/README.md55
-rw-r--r--deps/node/deps/npm/node_modules/which-module/index.js9
-rw-r--r--deps/node/deps/npm/node_modules/which-module/package.json68
5 files changed, 0 insertions, 171 deletions
diff --git a/deps/node/deps/npm/node_modules/which-module/CHANGELOG.md b/deps/node/deps/npm/node_modules/which-module/CHANGELOG.md
deleted file mode 100644
index 863d4698..00000000
--- a/deps/node/deps/npm/node_modules/which-module/CHANGELOG.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-
-<a name="2.0.0"></a>
-# [2.0.0](https://github.com/nexdrew/which-module/compare/v1.0.0...v2.0.0) (2017-05-01)
-
-
-### Features
-
-* remove Node < 4 from official testing/support ([#22](https://github.com/nexdrew/which-module/issues/22)) ([ee7aff4](https://github.com/nexdrew/which-module/commit/ee7aff4))
-
-
-### BREAKING CHANGES
-
-* Node 0.10 or 0.12 no longer supported, please update to Node 4+ or use which-module@1.0.0
-
-
-
-<a name="1.0.0"></a>
-# 1.0.0 (2016-06-06)
-
-
-### Features
-
-* initial code ([08074cd](https://github.com/nexdrew/which-module/commit/08074cd))
diff --git a/deps/node/deps/npm/node_modules/which-module/LICENSE b/deps/node/deps/npm/node_modules/which-module/LICENSE
deleted file mode 100644
index ab601b65..00000000
--- a/deps/node/deps/npm/node_modules/which-module/LICENSE
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright (c) 2016, Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any purpose
-with or without fee is hereby granted, provided that the above copyright notice
-and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
-THIS SOFTWARE.
diff --git a/deps/node/deps/npm/node_modules/which-module/README.md b/deps/node/deps/npm/node_modules/which-module/README.md
deleted file mode 100644
index a8c4bf8d..00000000
--- a/deps/node/deps/npm/node_modules/which-module/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# which-module
-
-> Find the module object for something that was require()d
-
-[![Build Status](https://travis-ci.org/nexdrew/which-module.svg?branch=master)](https://travis-ci.org/nexdrew/which-module)
-[![Coverage Status](https://coveralls.io/repos/github/nexdrew/which-module/badge.svg?branch=master)](https://coveralls.io/github/nexdrew/which-module?branch=master)
-[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)
-
-Find the `module` object in `require.cache` for something that was `require()`d
-or `import`ed - essentially a reverse `require()` lookup.
-
-Useful for libs that want to e.g. lookup a filename for a module or submodule
-that it did not `require()` itself.
-
-## Install and Usage
-
-```
-npm install --save which-module
-```
-
-```js
-const whichModule = require('which-module')
-
-console.log(whichModule(require('something')))
-// Module {
-// id: '/path/to/project/node_modules/something/index.js',
-// exports: [Function],
-// parent: ...,
-// filename: '/path/to/project/node_modules/something/index.js',
-// loaded: true,
-// children: [],
-// paths: [ '/path/to/project/node_modules/something/node_modules',
-// '/path/to/project/node_modules',
-// '/path/to/node_modules',
-// '/path/node_modules',
-// '/node_modules' ] }
-```
-
-## API
-
-### `whichModule(exported)`
-
-Return the [`module` object](https://nodejs.org/api/modules.html#modules_the_module_object),
-if any, that represents the given argument in the `require.cache`.
-
-`exported` can be anything that was previously `require()`d or `import`ed as a
-module, submodule, or dependency - which means `exported` is identical to the
-`module.exports` returned by this method.
-
-If `exported` did not come from the `exports` of a `module` in `require.cache`,
-then this method returns `null`.
-
-## License
-
-ISC © Contributors
diff --git a/deps/node/deps/npm/node_modules/which-module/index.js b/deps/node/deps/npm/node_modules/which-module/index.js
deleted file mode 100644
index 45559b78..00000000
--- a/deps/node/deps/npm/node_modules/which-module/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-'use strict'
-
-module.exports = function whichModule (exported) {
- for (var i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
- mod = require.cache[files[i]]
- if (mod.exports === exported) return mod
- }
- return null
-}
diff --git a/deps/node/deps/npm/node_modules/which-module/package.json b/deps/node/deps/npm/node_modules/which-module/package.json
deleted file mode 100644
index fb7067d3..00000000
--- a/deps/node/deps/npm/node_modules/which-module/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "_from": "which-module@^2.0.0",
- "_id": "which-module@2.0.0",
- "_inBundle": false,
- "_integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
- "_location": "/which-module",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "which-module@^2.0.0",
- "name": "which-module",
- "escapedName": "which-module",
- "rawSpec": "^2.0.0",
- "saveSpec": null,
- "fetchSpec": "^2.0.0"
- },
- "_requiredBy": [
- "/yargs"
- ],
- "_resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "_shasum": "d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a",
- "_spec": "which-module@^2.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/yargs",
- "author": {
- "name": "nexdrew"
- },
- "bugs": {
- "url": "https://github.com/nexdrew/which-module/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Find the module object for something that was require()d",
- "devDependencies": {
- "ava": "^0.19.1",
- "coveralls": "^2.13.1",
- "nyc": "^10.3.0",
- "standard": "^10.0.2",
- "standard-version": "^4.0.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/nexdrew/which-module#readme",
- "keywords": [
- "which",
- "module",
- "exports",
- "filename",
- "require",
- "reverse",
- "lookup"
- ],
- "license": "ISC",
- "main": "index.js",
- "name": "which-module",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/nexdrew/which-module.git"
- },
- "scripts": {
- "coverage": "nyc report --reporter=text-lcov | coveralls",
- "pretest": "standard",
- "release": "standard-version",
- "test": "nyc ava"
- },
- "version": "2.0.0"
-}