This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rare_null_ptr_deference
- Loading branch information
Showing
20 changed files
with
3,584 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
/node_modules | ||
/prebuilds | ||
/build | ||
*.log | ||
*~ | ||
.node-version | ||
.tags | ||
iojs-*/ | ||
8.*/ | ||
6.*/ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
version: "{build}" | ||
|
||
platform: x64 | ||
image: Visual Studio 2017 | ||
platform: | ||
- x64 | ||
|
||
cache: | ||
- node_modules | ||
|
||
branches: | ||
only: | ||
- master | ||
- /master|^v\d+\.\d+\.\d+$/ | ||
|
||
clone_depth: 10 | ||
|
||
skip_tags: true | ||
|
||
install: | ||
- ps: Install-Product node 6 | ||
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs | ||
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild 12) x64 | ||
- npm install | ||
|
||
build_script: | ||
- npm test | ||
- npm run prebuild-node | ||
- npm run prebuild-node-ia32 | ||
- npm run prebuild-electron | ||
- npm run prebuild-electron-ia32 | ||
- if defined APPVEYOR_REPO_TAG_NAME (npm run upload) | ||
|
||
test: off | ||
deploy: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM i386/debian:stretch | ||
|
||
RUN apt-get update | ||
RUN apt-get install --quiet --yes \ | ||
build-essential \ | ||
curl \ | ||
pkg-config \ | ||
clang \ | ||
python \ | ||
libsecret-1-dev | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - | ||
RUN apt-get install -y nodejs | ||
|
||
ENV CC clang | ||
ENV CXX clang++ | ||
ENV npm_config_clang 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Definitions by: Milan Burda <https://github.com/miniak>, Brendan Forster <https://github.com/shiftkey>, Hari Juturu <https://github.com/juturu> | ||
// Adapted from DefinitelyTyped: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/keytar/index.d.ts | ||
|
||
/** | ||
* Get the stored password for the service and account. | ||
* | ||
* @param service The string service name. | ||
* @param account The string account name. | ||
* | ||
* @returns A promise for the password string. | ||
*/ | ||
export declare function getPassword(service: string, account: string): Promise<string | null>; | ||
|
||
/** | ||
* Add the password for the service and account to the keychain. | ||
* | ||
* @param service The string service name. | ||
* @param account The string account name. | ||
* @param password The string password. | ||
* | ||
* @returns A promise for the set password completion. | ||
*/ | ||
export declare function setPassword(service: string, account: string, password: string): Promise<void>; | ||
|
||
/** | ||
* Delete the stored password for the service and account. | ||
* | ||
* @param service The string service name. | ||
* @param account The string account name. | ||
* | ||
* @returns A promise for the deletion status. True on success. | ||
*/ | ||
export declare function deletePassword(service: string, account: string): Promise<boolean>; | ||
|
||
/** | ||
* Find a password for the service in the keychain. | ||
* | ||
* @param service The string service name. | ||
* | ||
* @returns A promise for the password string. | ||
*/ | ||
export declare function findPassword(service: string): Promise<string | null>; | ||
|
||
/** | ||
* Find all accounts and passwords for `service` in the keychain. | ||
* | ||
* @param service The string service name. | ||
* | ||
* @returns A promise for the array of found credentials. | ||
*/ | ||
export declare function findCredentials(service: string): Promise<Array<{ account: string, password: string}>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.