fixes and admin data

This commit is contained in:
2021-02-09 18:30:17 +01:00
parent 9dd4d10396
commit 93bff025e9
73 changed files with 1638 additions and 2411 deletions

View File

@@ -63,7 +63,7 @@ class UpdateNotifier {
chalk().cyan(format(' sudo chown -R $USER:$(id -gn $USER) %s ', xdgBasedir().config));
process.on('exit', () => {
console.error('\n' + boxen()(message, {align: 'center'}));
console.error(boxen()(message, {align: 'center'}));
});
}
}
@@ -151,7 +151,7 @@ class UpdateNotifier {
borderStyle: 'round'
};
const message = '\n' + boxen()(
const message = boxen()(
pupa()(template, {
packageName: this.packageName,
currentVersion: this.update.current,

View File

@@ -1,68 +1,96 @@
{
"name": "update-notifier",
"version": "4.1.0",
"description": "Update notifications for your CLI app",
"license": "BSD-2-Clause",
"repository": "yeoman/update-notifier",
"funding": "https://github.com/yeoman/update-notifier?sponsor=1",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava --timeout=20s -s"
},
"files": [
"index.js",
"check.js"
],
"keywords": [
"npm",
"update",
"updater",
"notify",
"notifier",
"check",
"checker",
"cli",
"module",
"package",
"version"
],
"dependencies": {
"boxen": "^4.2.0",
"chalk": "^3.0.0",
"configstore": "^5.0.1",
"has-yarn": "^2.1.0",
"import-lazy": "^2.1.0",
"is-ci": "^2.0.0",
"is-installed-globally": "^0.3.1",
"is-npm": "^4.0.0",
"is-yarn-global": "^0.3.0",
"latest-version": "^5.0.0",
"pupa": "^2.0.1",
"semver-diff": "^3.1.1",
"xdg-basedir": "^4.0.0"
},
"devDependencies": {
"ava": "^2.4.0",
"clear-module": "^4.0.0",
"fixture-stdout": "^0.2.1",
"mock-require": "^3.0.3",
"strip-ansi": "^6.0.0",
"xo": "^0.26.1"
},
"xo": {
"rules": {
"prefer-object-spread": 0
}
}
,"_resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.0.tgz"
,"_integrity": "sha512-w3doE1qtI0/ZmgeoDoARmI5fjDoT93IfKgEGqm26dGUOh8oNpaSTsGNdYRN/SjOuo10jcJGwkEL3mroKzktkew=="
,"_from": "update-notifier@4.1.0"
}
"_from": "update-notifier@^4.1.0",
"_id": "update-notifier@4.1.3",
"_inBundle": false,
"_integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==",
"_location": "/update-notifier",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "update-notifier@^4.1.0",
"name": "update-notifier",
"escapedName": "update-notifier",
"rawSpec": "^4.1.0",
"saveSpec": null,
"fetchSpec": "^4.1.0"
},
"_requiredBy": [
"/nodemon"
],
"_resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz",
"_shasum": "be86ee13e8ce48fb50043ff72057b5bd598e1ea3",
"_spec": "update-notifier@^4.1.0",
"_where": "C:\\Users\\Jonasz\\Desktop\\Menui\\menui_backend\\node_modules\\nodemon",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/yeoman/update-notifier/issues"
},
"bundleDependencies": false,
"dependencies": {
"boxen": "^4.2.0",
"chalk": "^3.0.0",
"configstore": "^5.0.1",
"has-yarn": "^2.1.0",
"import-lazy": "^2.1.0",
"is-ci": "^2.0.0",
"is-installed-globally": "^0.3.1",
"is-npm": "^4.0.0",
"is-yarn-global": "^0.3.0",
"latest-version": "^5.0.0",
"pupa": "^2.0.1",
"semver-diff": "^3.1.1",
"xdg-basedir": "^4.0.0"
},
"deprecated": false,
"description": "Update notifications for your CLI app",
"devDependencies": {
"ava": "^2.4.0",
"clear-module": "^4.0.0",
"fixture-stdout": "^0.2.1",
"mock-require": "^3.0.3",
"strip-ansi": "^6.0.0",
"xo": "^0.25.0"
},
"engines": {
"node": ">=8"
},
"files": [
"index.js",
"check.js"
],
"funding": "https://github.com/yeoman/update-notifier?sponsor=1",
"homepage": "https://github.com/yeoman/update-notifier#readme",
"keywords": [
"npm",
"update",
"updater",
"notify",
"notifier",
"check",
"checker",
"cli",
"module",
"package",
"version"
],
"license": "BSD-2-Clause",
"name": "update-notifier",
"repository": {
"type": "git",
"url": "git+https://github.com/yeoman/update-notifier.git"
},
"scripts": {
"test": "xo && ava --timeout=20s -s"
},
"version": "4.1.3",
"xo": {
"rules": {
"prefer-object-spread": 0
}
}
}

View File

@@ -203,11 +203,10 @@ The idea for this module came from the desire to apply the browser update strate
There are a bunch projects using it:
- [npm](https://github.com/npm/npm) - Package manager for JavaScript
- [Yeoman](http://yeoman.io) - Modern workflows for modern webapps
- [Yeoman](https://yeoman.io) - Modern workflows for modern webapps
- [AVA](https://ava.li) - Simple concurrent test runner
- [XO](https://github.com/xojs/xo) - JavaScript happiness style linter
- [Pageres](https://github.com/sindresorhus/pageres) - Capture website screenshots
- [Node GH](http://nodegh.io) - GitHub command line tool
- [Node GH](https://github.com/node-gh/gh) - GitHub command line tool
[And 2700+ more…](https://www.npmjs.org/browse/depended/update-notifier)