summaryrefslogtreecommitdiffstats
path: root/node_modules/latest-version
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/latest-version')
-rw-r--r--node_modules/latest-version/index.js4
-rw-r--r--node_modules/latest-version/license21
-rw-r--r--node_modules/latest-version/package.json71
-rw-r--r--node_modules/latest-version/readme.md40
4 files changed, 0 insertions, 136 deletions
diff --git a/node_modules/latest-version/index.js b/node_modules/latest-version/index.js
deleted file mode 100644
index bfb79d1..0000000
--- a/node_modules/latest-version/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-const packageJson = require('package-json');
-
-module.exports = name => packageJson(name.toLowerCase()).then(data => data.version);
diff --git a/node_modules/latest-version/license b/node_modules/latest-version/license
deleted file mode 100644
index 654d0bf..0000000
--- a/node_modules/latest-version/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/latest-version/package.json b/node_modules/latest-version/package.json
deleted file mode 100644
index e114cc5..0000000
--- a/node_modules/latest-version/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "latest-version@^3.0.0",
- "_id": "latest-version@3.1.0",
- "_inBundle": false,
- "_integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=",
- "_location": "/latest-version",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "latest-version@^3.0.0",
- "name": "latest-version",
- "escapedName": "latest-version",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/update-notifier"
- ],
- "_resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz",
- "_shasum": "a205383fea322b33b5ae3b18abee0dc2f356ee15",
- "_spec": "latest-version@^3.0.0",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/update-notifier",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/latest-version/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "package-json": "^4.0.0"
- },
- "deprecated": false,
- "description": "Get the latest version of an npm package",
- "devDependencies": {
- "ava": "*",
- "semver-regex": "^1.0.0",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/latest-version#readme",
- "keywords": [
- "latest",
- "version",
- "npm",
- "pkg",
- "package",
- "package.json",
- "current",
- "module"
- ],
- "license": "MIT",
- "name": "latest-version",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/latest-version.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "3.1.0"
-}
diff --git a/node_modules/latest-version/readme.md b/node_modules/latest-version/readme.md
deleted file mode 100644
index 3fcffdd..0000000
--- a/node_modules/latest-version/readme.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# latest-version [![Build Status](https://travis-ci.org/sindresorhus/latest-version.svg?branch=master)](https://travis-ci.org/sindresorhus/latest-version)
-
-> Get the latest version of an npm package
-
-Fetches the version directly from the registry instead of depending on the massive [npm](https://github.com/npm/npm/blob/8b5e7b6ae5b4cd2d7d62eaf93b1428638b387072/package.json#L37-L85) module like the [latest](https://github.com/bahamas10/node-latest) module does.
-
-
-## Install
-
-```
-$ npm install --save latest-version
-```
-
-
-## Usage
-
-```js
-const latestVersion = require('latest-version');
-
-latestVersion('ava').then(version => {
- console.log(version);
- //=> '0.18.0'
-});
-
-latestVersion('@sindresorhus/df').then(version => {
- console.log(version);
- //=> '1.0.1'
-});
-```
-
-
-## Related
-
-- [latest-version-cli](https://github.com/sindresorhus/latest-version-cli) - CLI for this module
-- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)