1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 12:50:04 +02:00

update dependencies

This commit is contained in:
s2
2018-10-10 15:11:12 +02:00
parent da4083f574
commit 5c55c54b71
90877 changed files with 339776 additions and 33677 deletions

11
app/node_modules/electron/README.md generated vendored
View File

@@ -3,12 +3,11 @@
[![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/master.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/master)
[![AppVeyor Build Status](https://windows-ci.electronjs.org/api/projects/status/nilyf07hcef14dvj/branch/master?svg=true)](https://windows-ci.electronjs.org/project/AppVeyor/electron/branch/master)
[![Jenkins Build Status](https://mac-ci.electronjs.org/buildStatus/icon?job=Electron%20org/electron/master)](https://mac-ci.electronjs.org/blue/organizations/jenkins/Electron%20org%2Felectron/activity?branch=master)
[![devDependency Status](https://david-dm.org/electron/electron/dev-status.svg)](https://david-dm.org/electron/electron?type=dev)
[![Join the Electron Community on Slack](https://atom-slack.herokuapp.com/badge.svg)](https://atom-slack.herokuapp.com/)
:memo: Available Translations: 🇨🇳 🇹🇼 🇧🇷 🇪🇸 🇰🇷 🇯🇵 🇷🇺 🇫🇷 🇹🇭 🇳🇱 🇹🇷 🇮🇩 🇺🇦 🇨🇿 🇮🇹.
View these docs in other languages at [electron/electron-i18n](https://github.com/electron/electron-i18n/tree/master/content/).
View these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).
The Electron framework lets you write cross-platform desktop applications
using JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and
@@ -30,11 +29,11 @@ The preferred method is to install Electron as a development dependency in your
app:
```sh
npm install electron --save-dev --save-exact
npm install electron --save-dev [--save-exact]
```
The `--save-exact` flag is recommended as Electron does not follow semantic
versioning. For info on how to manage Electron versions in your apps, see
The `--save-exact` flag is recommended for Electron prior to version 2, as it does not follow semantic
versioning. As of version 2.0.0, Electron follows semver, so you don't need `--save-exact` flag. For info on how to manage Electron versions in your apps, see
[Electron versioning](docs/tutorial/electron-versioning.md).
For more installation options and troubleshooting tips, see
@@ -85,7 +84,7 @@ const child = proc.spawn(electron)
## Documentation Translations
Find documentation translations in [electron/electron-i18n](https://github.com/electron/electron-i18n).
Find documentation translations in [electron/i18n](https://github.com/electron/i18n).
## Community

File diff suppressed because it is too large Load Diff

16
app/node_modules/electron/index.js generated vendored
View File

@@ -3,8 +3,16 @@ var path = require('path')
var pathFile = path.join(__dirname, 'path.txt')
if (fs.existsSync(pathFile)) {
module.exports = path.join(__dirname, fs.readFileSync(pathFile, 'utf-8'))
} else {
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
function getElectronPath () {
if (fs.existsSync(pathFile)) {
var executablePath = fs.readFileSync(pathFile, 'utf-8')
if (process.env.ELECTRON_OVERRIDE_DIST_PATH) {
return path.join(process.env.ELECTRON_OVERRIDE_DIST_PATH, executablePath)
}
return path.join(__dirname, 'dist', executablePath)
} else {
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
}
}
module.exports = getElectronPath()

19
app/node_modules/electron/install.js generated vendored
View File

@@ -17,16 +17,12 @@ try {
var platformPath = getPlatformPath()
if (installedVersion === version && fs.existsSync(path.join(__dirname, platformPath))) {
var electronPath = process.env.ELECTRON_OVERRIDE_DIST_PATH || path.join(__dirname, 'dist', platformPath)
if (installedVersion === version && fs.existsSync(electronPath)) {
process.exit(0)
}
var mirror
if (version.indexOf('nightly') !== -1) {
mirror = 'https://github.com/electron/nightlies/releases/download/v'
}
// downloads if not cached
download({
cache: process.env.electron_config_cache,
@@ -35,8 +31,7 @@ download({
arch: process.env.npm_config_arch,
strictSSL: process.env.npm_config_strict_ssl === 'true',
force: process.env.force_no_cache === 'true',
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI,
mirror
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI
}, extractFile)
// unzips and makes path.txt point at the correct executable
@@ -59,12 +54,12 @@ function getPlatformPath () {
switch (platform) {
case 'darwin':
return 'dist/Electron.app/Contents/MacOS/Electron'
return 'Electron.app/Contents/MacOS/Electron'
case 'freebsd':
case 'linux':
return 'dist/electron'
return 'electron'
case 'win32':
return 'dist/electron.exe'
return 'electron.exe'
default:
throw new Error('Electron builds are not available on platform: ' + platform)
}

View File

@@ -1,32 +1,26 @@
{
"_args": [
[
"electron@2.0.8",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "electron@2.0.8",
"_id": "electron@2.0.8",
"_from": "electron@^3.0.3",
"_id": "electron@3.0.3",
"_inBundle": false,
"_integrity": "sha512-pbeGFbwijb5V3Xy/KMcwIp59eA9igg2br+7EHbbwQoa3HRDF5JjTrciX7OiscCA52+ze2n4q38S4lXPqRitgIA==",
"_integrity": "sha512-5ypkMO368UbWd1e0ZwKaflYLXSHSw2wAvC5/yApv03pX/KV3uD/2/qF7rW841H9I3QPmS03YZ6UZmlQV/fNczw==",
"_location": "/electron",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "electron@2.0.8",
"raw": "electron@^3.0.3",
"name": "electron",
"escapedName": "electron",
"rawSpec": "2.0.8",
"rawSpec": "^3.0.3",
"saveSpec": null,
"fetchSpec": "2.0.8"
"fetchSpec": "^3.0.3"
},
"_requiredBy": [
"#DEV:/"
],
"_resolved": "https://registry.npmjs.org/electron/-/electron-2.0.8.tgz",
"_spec": "2.0.8",
"_resolved": "https://registry.npmjs.org/electron/-/electron-3.0.3.tgz",
"_shasum": "2857ed8d37c1b46e0a75a72684800252255f3243",
"_spec": "electron@^3.0.3",
"_where": "E:\\projects\\p\\gitlit\\app",
"author": {
"name": "Electron Community"
@@ -37,11 +31,13 @@
"bugs": {
"url": "https://github.com/electron/electron/issues"
},
"bundleDependencies": false,
"dependencies": {
"@types/node": "^8.0.24",
"electron-download": "^3.0.1",
"electron-download": "^4.1.0",
"extract-zip": "^1.0.3"
},
"deprecated": false,
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"devDependencies": {
"home-path": "^0.1.1",
@@ -51,6 +47,9 @@
"directories": {
"test": "test"
},
"engines": {
"node": ">= 4.0"
},
"homepage": "https://github.com/electron/electron#readme",
"keywords": [
"electron"
@@ -69,5 +68,5 @@
"test": "standard"
},
"types": "electron.d.ts",
"version": "2.0.8"
"version": "3.0.3"
}

2
app/node_modules/electron/path.txt generated vendored
View File

@@ -1 +1 @@
dist/electron.exe
electron.exe