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

update dependencies

This commit is contained in:
s2
2018-10-09 09:51:34 +02:00
parent 4fcc873901
commit da4083f574
1112 changed files with 23205 additions and 21697 deletions

11
app/node_modules/electron/cli.js generated vendored
View File

@@ -8,3 +8,14 @@ var child = proc.spawn(electron, process.argv.slice(2), {stdio: 'inherit'})
child.on('close', function (code) {
process.exit(code)
})
const handleTerminationSignal = function (signal) {
process.on(signal, function signalHandler () {
if (!child.killed) {
child.kill(signal)
}
})
}
handleTerminationSignal('SIGINT')
handleTerminationSignal('SIGTERM')

View File

@@ -1,4 +1,4 @@
// Type definitions for Electron 2.0.1
// Type definitions for Electron 2.0.8
// Project: http://electron.atom.io/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
@@ -204,7 +204,9 @@ declare namespace Electron {
* event.preventDefault() will prevent the default behaviour, which is terminating
* the application. Note: If application quit was initiated by
* autoUpdater.quitAndInstall() then before-quit is emitted after emitting close
* event on all windows and closing them.
* event on all windows and closing them. Note: On Windows, this event will not be
* emitted if the app is closed due to a shutdown/restart of the system or a user
* logout.
*/
on(event: 'before-quit', listener: (event: Event) => void): this;
once(event: 'before-quit', listener: (event: Event) => void): this;
@@ -446,7 +448,9 @@ declare namespace Electron {
removeListener(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* Emitted when the application is quitting.
* Emitted when the application is quitting. Note: On Windows, this event will not
* be emitted if the app is closed due to a shutdown/restart of the system or a
* user logout.
*/
on(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
@@ -587,7 +591,9 @@ declare namespace Electron {
* Emitted when all windows have been closed and the application will quit. Calling
* event.preventDefault() will prevent the default behaviour, which is terminating
* the application. See the description of the window-all-closed event for the
* differences between the will-quit and window-all-closed events.
* differences between the will-quit and window-all-closed events. Note: On
* Windows, this event will not be emitted if the app is closed due to a
* shutdown/restart of the system or a user logout.
*/
on(event: 'will-quit', listener: (event: Event) => void): this;
once(event: 'will-quit', listener: (event: Event) => void): this;
@@ -659,9 +665,10 @@ declare namespace Electron {
getGPUFeatureStatus(): GPUFeatureStatus;
getJumpListSettings(): JumpListSettings;
/**
* Note: When distributing your packaged app, you have to also ship the locales
* folder. Note: On Windows you have to call it after the ready events gets
* emitted.
* To set the locale, you'll want to use a command line switch at app startup,
* which may be found here. Note: When distributing your packaged app, you have to
* also ship the locales folder. Note: On Windows you have to call it after the
* ready events gets emitted.
*/
getLocale(): string;
/**
@@ -1595,7 +1602,7 @@ declare namespace Electron {
* Sets a 16 x 16 pixel overlay onto the current taskbar icon, usually used to
* convey some sort of application status or to passively notify the user.
*/
setOverlayIcon(overlay: NativeImage, description: string): void;
setOverlayIcon(overlay: NativeImage | null, description: string): void;
/**
* Sets parent as current window's parent window, passing null will turn current
* window into a top-level window.
@@ -4548,7 +4555,7 @@ declare namespace Electron {
/**
* Sets the image associated with this tray icon when pressed on macOS.
*/
setPressedImage(image: NativeImage): void;
setPressedImage(image: NativeImage | string): void;
/**
* Sets the title displayed aside of the tray icon in the status bar (Support ANSI
* colors).
@@ -8097,6 +8104,7 @@ declare namespace Electron {
interface ResourceUsage {
images: MemoryUsageDetails;
scripts: MemoryUsageDetails;
cssStyleSheets: MemoryUsageDetails;
xslStyleSheets: MemoryUsageDetails;
fonts: MemoryUsageDetails;

View File

@@ -21,6 +21,12 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, platformP
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,
@@ -29,7 +35,8 @@ 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
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI,
mirror
}, extractFile)
// unzips and makes path.txt point at the correct executable

View File

@@ -1,33 +1,33 @@
{
"_args": [
[
"electron@2.0.1",
"/home/s2/Documents/Code/gitlit/app"
"electron@2.0.8",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "electron@2.0.1",
"_id": "electron@2.0.1",
"_from": "electron@2.0.8",
"_id": "electron@2.0.8",
"_inBundle": false,
"_integrity": "sha512-piSwY2P7L6NWx672MNdSvtGPdQP/mhwAg8ICN6ofTTItPkd7D6kNHBPkq+DXwZcXVH1EifYR9yD/l3Xw1haVpQ==",
"_integrity": "sha512-pbeGFbwijb5V3Xy/KMcwIp59eA9igg2br+7EHbbwQoa3HRDF5JjTrciX7OiscCA52+ze2n4q38S4lXPqRitgIA==",
"_location": "/electron",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "electron@2.0.1",
"raw": "electron@2.0.8",
"name": "electron",
"escapedName": "electron",
"rawSpec": "2.0.1",
"rawSpec": "2.0.8",
"saveSpec": null,
"fetchSpec": "2.0.1"
"fetchSpec": "2.0.8"
},
"_requiredBy": [
"#DEV:/"
],
"_resolved": "https://registry.npmjs.org/electron/-/electron-2.0.1.tgz",
"_spec": "2.0.1",
"_where": "/home/s2/Documents/Code/gitlit/app",
"_resolved": "https://registry.npmjs.org/electron/-/electron-2.0.8.tgz",
"_spec": "2.0.8",
"_where": "E:\\projects\\p\\gitlit\\app",
"author": {
"name": "Electron Community"
},
@@ -69,5 +69,5 @@
"test": "standard"
},
"types": "electron.d.ts",
"version": "2.0.1"
"version": "2.0.8"
}

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

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