@quantiya/codevibe-claude-plugin 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/package.json +10 -3
- package/node_modules/@quantiya/codevibe-core/README.md +0 -179
- package/node_modules/@quantiya/codevibe-core/bin/codevibe.js +0 -7
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +0 -132
- package/node_modules/@quantiya/codevibe-core/dist/appsync/index.d.ts +0 -2
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +0 -16
- package/node_modules/@quantiya/codevibe-core/dist/auth/auth-cli.d.ts +0 -5
- package/node_modules/@quantiya/codevibe-core/dist/auth/auth-service.d.ts +0 -87
- package/node_modules/@quantiya/codevibe-core/dist/auth/fetch-helpers.d.ts +0 -11
- package/node_modules/@quantiya/codevibe-core/dist/auth/index.d.ts +0 -2
- package/node_modules/@quantiya/codevibe-core/dist/config/config.d.ts +0 -53
- package/node_modules/@quantiya/codevibe-core/dist/config/index.d.ts +0 -2
- package/node_modules/@quantiya/codevibe-core/dist/crypto/crypto-service.d.ts +0 -118
- package/node_modules/@quantiya/codevibe-core/dist/crypto/index.d.ts +0 -1
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +0 -14
- package/node_modules/@quantiya/codevibe-core/dist/index.js +0 -217
- package/node_modules/@quantiya/codevibe-core/dist/keychain/index.d.ts +0 -1
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-manager.d.ts +0 -125
- package/node_modules/@quantiya/codevibe-core/dist/logger/index.d.ts +0 -1
- package/node_modules/@quantiya/codevibe-core/dist/logger/logger.d.ts +0 -35
- package/node_modules/@quantiya/codevibe-core/dist/prompt-parser.d.ts +0 -39
- package/node_modules/@quantiya/codevibe-core/dist/session/index.d.ts +0 -2
- package/node_modules/@quantiya/codevibe-core/dist/session/session-resume.d.ts +0 -55
- package/node_modules/@quantiya/codevibe-core/dist/types/auth.d.ts +0 -15
- package/node_modules/@quantiya/codevibe-core/dist/types/encryption.d.ts +0 -54
- package/node_modules/@quantiya/codevibe-core/dist/types/events.d.ts +0 -74
- package/node_modules/@quantiya/codevibe-core/dist/types/index.d.ts +0 -4
- package/node_modules/@quantiya/codevibe-core/dist/types/session.d.ts +0 -59
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/README.md +0 -466
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/native.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/rng.js +0 -18
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v35.js +0 -66
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v4.js +0 -29
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/native-browser.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/native.js +0 -15
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/package.json +0 -135
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/@quantiya/codevibe-core/package.json +0 -54
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/bl/.travis.yml +0 -17
- package/node_modules/bl/BufferList.js +0 -396
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -247
- package/node_modules/bl/bl.js +0 -84
- package/node_modules/bl/package.json +0 -37
- package/node_modules/bl/test/convert.js +0 -21
- package/node_modules/bl/test/indexOf.js +0 -492
- package/node_modules/bl/test/isBufferList.js +0 -32
- package/node_modules/bl/test/test.js +0 -869
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/buffer/index.js +0 -1817
- package/node_modules/buffer/package.json +0 -96
- package/node_modules/chownr/LICENSE +0 -15
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/chownr/chownr.js +0 -167
- package/node_modules/chownr/package.json +0 -29
- package/node_modules/decompress-response/index.d.ts +0 -22
- package/node_modules/decompress-response/index.js +0 -58
- package/node_modules/decompress-response/license +0 -9
- package/node_modules/decompress-response/package.json +0 -56
- package/node_modules/decompress-response/readme.md +0 -48
- package/node_modules/deep-extend/CHANGELOG.md +0 -46
- package/node_modules/deep-extend/LICENSE +0 -20
- package/node_modules/deep-extend/README.md +0 -91
- package/node_modules/deep-extend/index.js +0 -1
- package/node_modules/deep-extend/lib/deep-extend.js +0 -150
- package/node_modules/deep-extend/package.json +0 -62
- package/node_modules/detect-libc/LICENSE +0 -201
- package/node_modules/detect-libc/README.md +0 -163
- package/node_modules/detect-libc/index.d.ts +0 -14
- package/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/node_modules/detect-libc/lib/elf.js +0 -39
- package/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/node_modules/detect-libc/lib/process.js +0 -24
- package/node_modules/detect-libc/package.json +0 -44
- package/node_modules/end-of-stream/LICENSE +0 -21
- package/node_modules/end-of-stream/README.md +0 -54
- package/node_modules/end-of-stream/index.js +0 -96
- package/node_modules/end-of-stream/package.json +0 -37
- package/node_modules/expand-template/.travis.yml +0 -6
- package/node_modules/expand-template/LICENSE +0 -21
- package/node_modules/expand-template/README.md +0 -43
- package/node_modules/expand-template/index.js +0 -26
- package/node_modules/expand-template/package.json +0 -29
- package/node_modules/expand-template/test.js +0 -67
- package/node_modules/fs-constants/LICENSE +0 -21
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/fs-constants/browser.js +0 -1
- package/node_modules/fs-constants/index.js +0 -1
- package/node_modules/fs-constants/package.json +0 -19
- package/node_modules/github-from-package/.travis.yml +0 -4
- package/node_modules/github-from-package/LICENSE +0 -18
- package/node_modules/github-from-package/example/package.json +0 -8
- package/node_modules/github-from-package/example/url.js +0 -3
- package/node_modules/github-from-package/index.js +0 -17
- package/node_modules/github-from-package/package.json +0 -30
- package/node_modules/github-from-package/readme.markdown +0 -53
- package/node_modules/github-from-package/test/a.json +0 -8
- package/node_modules/github-from-package/test/b.json +0 -5
- package/node_modules/github-from-package/test/c.json +0 -5
- package/node_modules/github-from-package/test/d.json +0 -7
- package/node_modules/github-from-package/test/e.json +0 -5
- package/node_modules/github-from-package/test/url.js +0 -19
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/ini/LICENSE +0 -15
- package/node_modules/ini/README.md +0 -102
- package/node_modules/ini/ini.js +0 -206
- package/node_modules/ini/package.json +0 -33
- package/node_modules/keytar/LICENSE.md +0 -20
- package/node_modules/keytar/README.md +0 -94
- package/node_modules/keytar/binding.gyp +0 -66
- package/node_modules/keytar/build/Release/keytar.node +0 -0
- package/node_modules/keytar/keytar.d.ts +0 -51
- package/node_modules/keytar/lib/keytar.js +0 -43
- package/node_modules/keytar/package.json +0 -66
- package/node_modules/keytar/src/async.cc +0 -242
- package/node_modules/keytar/src/async.h +0 -103
- package/node_modules/keytar/src/credentials.h +0 -13
- package/node_modules/keytar/src/keytar.h +0 -41
- package/node_modules/keytar/src/keytar_mac.cc +0 -296
- package/node_modules/keytar/src/keytar_posix.cc +0 -184
- package/node_modules/keytar/src/keytar_win.cc +0 -272
- package/node_modules/keytar/src/main.cc +0 -139
- package/node_modules/mimic-response/index.d.ts +0 -17
- package/node_modules/mimic-response/index.js +0 -77
- package/node_modules/mimic-response/license +0 -9
- package/node_modules/mimic-response/package.json +0 -42
- package/node_modules/mimic-response/readme.md +0 -78
- package/node_modules/minimist/.eslintrc +0 -29
- package/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/node_modules/minimist/.nycrc +0 -14
- package/node_modules/minimist/CHANGELOG.md +0 -298
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/README.md +0 -121
- package/node_modules/minimist/example/parse.js +0 -4
- package/node_modules/minimist/index.js +0 -263
- package/node_modules/minimist/package.json +0 -75
- package/node_modules/minimist/test/all_bool.js +0 -34
- package/node_modules/minimist/test/bool.js +0 -177
- package/node_modules/minimist/test/dash.js +0 -43
- package/node_modules/minimist/test/default_bool.js +0 -37
- package/node_modules/minimist/test/dotted.js +0 -24
- package/node_modules/minimist/test/kv_short.js +0 -32
- package/node_modules/minimist/test/long.js +0 -33
- package/node_modules/minimist/test/num.js +0 -38
- package/node_modules/minimist/test/parse.js +0 -209
- package/node_modules/minimist/test/parse_modified.js +0 -11
- package/node_modules/minimist/test/proto.js +0 -64
- package/node_modules/minimist/test/short.js +0 -69
- package/node_modules/minimist/test/stop_early.js +0 -17
- package/node_modules/minimist/test/unknown.js +0 -104
- package/node_modules/minimist/test/whitespace.js +0 -10
- package/node_modules/mkdirp-classic/LICENSE +0 -21
- package/node_modules/mkdirp-classic/README.md +0 -18
- package/node_modules/mkdirp-classic/index.js +0 -98
- package/node_modules/mkdirp-classic/package.json +0 -18
- package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
- package/node_modules/napi-build-utils/LICENSE +0 -21
- package/node_modules/napi-build-utils/README.md +0 -52
- package/node_modules/napi-build-utils/index.js +0 -214
- package/node_modules/napi-build-utils/index.md +0 -0
- package/node_modules/napi-build-utils/package.json +0 -42
- package/node_modules/node-abi/LICENSE +0 -21
- package/node_modules/node-abi/README.md +0 -54
- package/node_modules/node-abi/abi_registry.json +0 -439
- package/node_modules/node-abi/index.js +0 -179
- package/node_modules/node-abi/package.json +0 -45
- package/node_modules/node-addon-api/LICENSE.md +0 -13
- package/node_modules/node-addon-api/README.md +0 -293
- package/node_modules/node-addon-api/common.gypi +0 -21
- package/node_modules/node-addon-api/except.gypi +0 -25
- package/node_modules/node-addon-api/index.js +0 -11
- package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -192
- package/node_modules/node-addon-api/napi-inl.h +0 -6209
- package/node_modules/node-addon-api/napi.h +0 -2983
- package/node_modules/node-addon-api/node_api.gyp +0 -9
- package/node_modules/node-addon-api/noexcept.gypi +0 -26
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +0 -21
- package/node_modules/node-addon-api/package.json +0 -399
- package/node_modules/node-addon-api/tools/README.md +0 -73
- package/node_modules/node-addon-api/tools/check-napi.js +0 -100
- package/node_modules/node-addon-api/tools/clang-format.js +0 -68
- package/node_modules/node-addon-api/tools/conversion.js +0 -309
- package/node_modules/node-addon-api/tools/eslint-format.js +0 -71
- package/node_modules/prebuild-install/CHANGELOG.md +0 -131
- package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
- package/node_modules/prebuild-install/LICENSE +0 -21
- package/node_modules/prebuild-install/README.md +0 -163
- package/node_modules/prebuild-install/asset.js +0 -44
- package/node_modules/prebuild-install/bin.js +0 -78
- package/node_modules/prebuild-install/download.js +0 -142
- package/node_modules/prebuild-install/error.js +0 -14
- package/node_modules/prebuild-install/help.txt +0 -16
- package/node_modules/prebuild-install/index.js +0 -1
- package/node_modules/prebuild-install/log.js +0 -33
- package/node_modules/prebuild-install/package.json +0 -67
- package/node_modules/prebuild-install/proxy.js +0 -35
- package/node_modules/prebuild-install/rc.js +0 -64
- package/node_modules/prebuild-install/util.js +0 -143
- package/node_modules/pump/.github/FUNDING.yml +0 -2
- package/node_modules/pump/.travis.yml +0 -5
- package/node_modules/pump/LICENSE +0 -21
- package/node_modules/pump/README.md +0 -74
- package/node_modules/pump/SECURITY.md +0 -5
- package/node_modules/pump/empty.js +0 -1
- package/node_modules/pump/index.js +0 -86
- package/node_modules/pump/package.json +0 -30
- package/node_modules/pump/test-browser.js +0 -66
- package/node_modules/pump/test-node.js +0 -53
- package/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/node_modules/rc/LICENSE.BSD +0 -26
- package/node_modules/rc/LICENSE.MIT +0 -24
- package/node_modules/rc/README.md +0 -227
- package/node_modules/rc/browser.js +0 -7
- package/node_modules/rc/cli.js +0 -4
- package/node_modules/rc/index.js +0 -53
- package/node_modules/rc/lib/utils.js +0 -104
- package/node_modules/rc/package.json +0 -29
- package/node_modules/rc/test/ini.js +0 -16
- package/node_modules/rc/test/nested-env-vars.js +0 -50
- package/node_modules/rc/test/test.js +0 -59
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -68
- package/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -665
- package/node_modules/semver/bin/semver.js +0 -191
- package/node_modules/semver/classes/comparator.js +0 -143
- package/node_modules/semver/classes/index.js +0 -7
- package/node_modules/semver/classes/range.js +0 -557
- package/node_modules/semver/classes/semver.js +0 -333
- package/node_modules/semver/functions/clean.js +0 -8
- package/node_modules/semver/functions/cmp.js +0 -54
- package/node_modules/semver/functions/coerce.js +0 -62
- package/node_modules/semver/functions/compare-build.js +0 -9
- package/node_modules/semver/functions/compare-loose.js +0 -5
- package/node_modules/semver/functions/compare.js +0 -7
- package/node_modules/semver/functions/diff.js +0 -60
- package/node_modules/semver/functions/eq.js +0 -5
- package/node_modules/semver/functions/gt.js +0 -5
- package/node_modules/semver/functions/gte.js +0 -5
- package/node_modules/semver/functions/inc.js +0 -21
- package/node_modules/semver/functions/lt.js +0 -5
- package/node_modules/semver/functions/lte.js +0 -5
- package/node_modules/semver/functions/major.js +0 -5
- package/node_modules/semver/functions/minor.js +0 -5
- package/node_modules/semver/functions/neq.js +0 -5
- package/node_modules/semver/functions/parse.js +0 -18
- package/node_modules/semver/functions/patch.js +0 -5
- package/node_modules/semver/functions/prerelease.js +0 -8
- package/node_modules/semver/functions/rcompare.js +0 -5
- package/node_modules/semver/functions/rsort.js +0 -5
- package/node_modules/semver/functions/satisfies.js +0 -12
- package/node_modules/semver/functions/sort.js +0 -5
- package/node_modules/semver/functions/valid.js +0 -8
- package/node_modules/semver/index.js +0 -91
- package/node_modules/semver/internal/constants.js +0 -37
- package/node_modules/semver/internal/debug.js +0 -11
- package/node_modules/semver/internal/identifiers.js +0 -29
- package/node_modules/semver/internal/lrucache.js +0 -42
- package/node_modules/semver/internal/parse-options.js +0 -17
- package/node_modules/semver/internal/re.js +0 -223
- package/node_modules/semver/package.json +0 -78
- package/node_modules/semver/preload.js +0 -4
- package/node_modules/semver/range.bnf +0 -16
- package/node_modules/semver/ranges/gtr.js +0 -6
- package/node_modules/semver/ranges/intersects.js +0 -9
- package/node_modules/semver/ranges/ltr.js +0 -6
- package/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/node_modules/semver/ranges/min-version.js +0 -63
- package/node_modules/semver/ranges/outside.js +0 -82
- package/node_modules/semver/ranges/simplify.js +0 -49
- package/node_modules/semver/ranges/subset.js +0 -249
- package/node_modules/semver/ranges/to-comparators.js +0 -10
- package/node_modules/semver/ranges/valid.js +0 -13
- package/node_modules/simple-concat/.travis.yml +0 -3
- package/node_modules/simple-concat/LICENSE +0 -20
- package/node_modules/simple-concat/README.md +0 -44
- package/node_modules/simple-concat/index.js +0 -15
- package/node_modules/simple-concat/package.json +0 -47
- package/node_modules/simple-concat/test/basic.js +0 -41
- package/node_modules/simple-get/.github/dependabot.yml +0 -15
- package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
- package/node_modules/simple-get/LICENSE +0 -20
- package/node_modules/simple-get/README.md +0 -333
- package/node_modules/simple-get/index.js +0 -108
- package/node_modules/simple-get/package.json +0 -67
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
- package/node_modules/strip-json-comments/index.js +0 -70
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/package.json +0 -42
- package/node_modules/strip-json-comments/readme.md +0 -64
- package/node_modules/tar-fs/.travis.yml +0 -6
- package/node_modules/tar-fs/LICENSE +0 -21
- package/node_modules/tar-fs/README.md +0 -165
- package/node_modules/tar-fs/index.js +0 -363
- package/node_modules/tar-fs/package.json +0 -41
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +0 -346
- package/node_modules/tar-stream/LICENSE +0 -21
- package/node_modules/tar-stream/README.md +0 -168
- package/node_modules/tar-stream/extract.js +0 -257
- package/node_modules/tar-stream/headers.js +0 -295
- package/node_modules/tar-stream/index.js +0 -2
- package/node_modules/tar-stream/pack.js +0 -255
- package/node_modules/tar-stream/package.json +0 -58
- package/node_modules/tar-stream/sandbox.js +0 -11
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/tunnel-agent/index.js +0 -244
- package/node_modules/tunnel-agent/package.json +0 -22
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "./lib/keytar.js",
|
|
3
|
-
"typings": "keytar.d.ts",
|
|
4
|
-
"name": "keytar",
|
|
5
|
-
"description": "Bindings to native Mac/Linux/Windows password APIs",
|
|
6
|
-
"version": "7.9.0",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/atom/node-keytar.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/atom/node-keytar/issues"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "http://atom.github.io/node-keytar",
|
|
16
|
-
"keywords": [
|
|
17
|
-
"keychain",
|
|
18
|
-
"password",
|
|
19
|
-
"passwords",
|
|
20
|
-
"credential",
|
|
21
|
-
"credentials",
|
|
22
|
-
"vault",
|
|
23
|
-
"credential vault"
|
|
24
|
-
],
|
|
25
|
-
"files": [
|
|
26
|
-
"lib",
|
|
27
|
-
"src",
|
|
28
|
-
"binding.gyp",
|
|
29
|
-
"keytar.d.ts"
|
|
30
|
-
],
|
|
31
|
-
"types": "./keytar.d.ts",
|
|
32
|
-
"scripts": {
|
|
33
|
-
"install": "prebuild-install || npm run build",
|
|
34
|
-
"build": "node-gyp rebuild",
|
|
35
|
-
"lint": "npm run cpplint",
|
|
36
|
-
"cpplint": "node-cpplint --filters legal-copyright,build-include,build-namespaces src/*.cc",
|
|
37
|
-
"test": "npm run lint && npm rebuild && mocha --require babel-core/register spec/",
|
|
38
|
-
"prebuild-napi-x64": "prebuild -t 3 -r napi -a x64 --strip",
|
|
39
|
-
"prebuild-napi-ia32": "prebuild -t 3 -r napi -a ia32 --strip",
|
|
40
|
-
"prebuild-napi-arm64": "prebuild -t 3 -r napi -a arm64 --strip",
|
|
41
|
-
"prebuild-napi-armv7l": "prebuild -t 3 -r napi -a armv7l --strip",
|
|
42
|
-
"upload": "node ./script/upload.js"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"babel-core": "^6.26.3",
|
|
46
|
-
"babel-plugin-transform-async-to-generator": "^6.24.1",
|
|
47
|
-
"chai": "^4.2.0",
|
|
48
|
-
"mocha": "^9.2.0",
|
|
49
|
-
"node-cpplint": "~0.4.0",
|
|
50
|
-
"node-gyp": "^8.4.1",
|
|
51
|
-
"prebuild": "^11.0.2"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"node-addon-api": "^4.3.0",
|
|
55
|
-
"prebuild-install": "^7.0.1"
|
|
56
|
-
},
|
|
57
|
-
"binary": {
|
|
58
|
-
"napi_versions": [
|
|
59
|
-
3
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"config": {
|
|
63
|
-
"runtime": "napi",
|
|
64
|
-
"target": 3
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
#include <string>
|
|
2
|
-
#include <vector>
|
|
3
|
-
|
|
4
|
-
#include "napi.h"
|
|
5
|
-
#include "keytar.h"
|
|
6
|
-
#include "async.h"
|
|
7
|
-
|
|
8
|
-
using keytar::KEYTAR_OP_RESULT;
|
|
9
|
-
|
|
10
|
-
SetPasswordWorker::SetPasswordWorker(
|
|
11
|
-
const std::string& service,
|
|
12
|
-
const std::string& account,
|
|
13
|
-
const std::string& password,
|
|
14
|
-
const Napi::Env &env
|
|
15
|
-
) : AsyncWorker(env),
|
|
16
|
-
service(service),
|
|
17
|
-
account(account),
|
|
18
|
-
password(password),
|
|
19
|
-
deferred(Napi::Promise::Deferred::New(env)) {}
|
|
20
|
-
|
|
21
|
-
SetPasswordWorker::~SetPasswordWorker() {}
|
|
22
|
-
|
|
23
|
-
Napi::Promise SetPasswordWorker::Promise() {
|
|
24
|
-
return deferred.Promise();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
void SetPasswordWorker::Execute() {
|
|
28
|
-
std::string error;
|
|
29
|
-
KEYTAR_OP_RESULT result = keytar::SetPassword(service,
|
|
30
|
-
account,
|
|
31
|
-
password,
|
|
32
|
-
&error);
|
|
33
|
-
if (result == keytar::FAIL_ERROR) {
|
|
34
|
-
SetError(error.c_str());
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
void SetPasswordWorker::OnOK() {
|
|
39
|
-
Napi::HandleScope scope(Env());
|
|
40
|
-
deferred.Resolve(Env().Undefined());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
void SetPasswordWorker::OnError(Napi::Error const &error) {
|
|
44
|
-
Napi::HandleScope scope(Env());
|
|
45
|
-
deferred.Reject(error.Value());
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
GetPasswordWorker::GetPasswordWorker(
|
|
50
|
-
const std::string& service,
|
|
51
|
-
const std::string& account,
|
|
52
|
-
const Napi::Env &env
|
|
53
|
-
) : AsyncWorker(env),
|
|
54
|
-
service(service),
|
|
55
|
-
account(account),
|
|
56
|
-
deferred(Napi::Promise::Deferred::New(env)) {}
|
|
57
|
-
|
|
58
|
-
GetPasswordWorker::~GetPasswordWorker() {}
|
|
59
|
-
|
|
60
|
-
Napi::Promise GetPasswordWorker::Promise() {
|
|
61
|
-
return deferred.Promise();
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
void GetPasswordWorker::Execute() {
|
|
65
|
-
std::string error;
|
|
66
|
-
KEYTAR_OP_RESULT result = keytar::GetPassword(service,
|
|
67
|
-
account,
|
|
68
|
-
&password,
|
|
69
|
-
&error);
|
|
70
|
-
if (result == keytar::FAIL_ERROR) {
|
|
71
|
-
SetError(error.c_str());
|
|
72
|
-
} else if (result == keytar::FAIL_NONFATAL) {
|
|
73
|
-
success = false;
|
|
74
|
-
} else {
|
|
75
|
-
success = true;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
void GetPasswordWorker::OnOK() {
|
|
80
|
-
Napi::HandleScope scope(Env());
|
|
81
|
-
Napi::Value val = Env().Null();
|
|
82
|
-
if (success) {
|
|
83
|
-
val = Napi::String::New(Env(), password.data(),
|
|
84
|
-
password.length());
|
|
85
|
-
}
|
|
86
|
-
deferred.Resolve(val);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
void GetPasswordWorker::OnError(Napi::Error const &error) {
|
|
90
|
-
Napi::HandleScope scope(Env());
|
|
91
|
-
deferred.Reject(error.Value());
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
DeletePasswordWorker::DeletePasswordWorker(
|
|
95
|
-
const std::string& service,
|
|
96
|
-
const std::string& account,
|
|
97
|
-
const Napi::Env &env
|
|
98
|
-
) : AsyncWorker(env),
|
|
99
|
-
service(service),
|
|
100
|
-
account(account),
|
|
101
|
-
deferred(Napi::Promise::Deferred::New(env)) {}
|
|
102
|
-
|
|
103
|
-
DeletePasswordWorker::~DeletePasswordWorker() {}
|
|
104
|
-
|
|
105
|
-
Napi::Promise DeletePasswordWorker::Promise() {
|
|
106
|
-
return deferred.Promise();
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
void DeletePasswordWorker::Execute() {
|
|
110
|
-
std::string error;
|
|
111
|
-
KEYTAR_OP_RESULT result = keytar::DeletePassword(service, account, &error);
|
|
112
|
-
if (result == keytar::FAIL_ERROR) {
|
|
113
|
-
SetError(error.c_str());
|
|
114
|
-
} else if (result == keytar::FAIL_NONFATAL) {
|
|
115
|
-
success = false;
|
|
116
|
-
} else {
|
|
117
|
-
success = true;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
void DeletePasswordWorker::OnOK() {
|
|
122
|
-
Napi::HandleScope scope(Env());
|
|
123
|
-
deferred.Resolve(Napi::Boolean::New(Env(), success));
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
void DeletePasswordWorker::OnError(Napi::Error const &error) {
|
|
127
|
-
Napi::HandleScope scope(Env());
|
|
128
|
-
deferred.Reject(error.Value());
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
FindPasswordWorker::FindPasswordWorker(
|
|
132
|
-
const std::string& service,
|
|
133
|
-
const Napi::Env &env
|
|
134
|
-
) : AsyncWorker(env),
|
|
135
|
-
service(service),
|
|
136
|
-
deferred(Napi::Promise::Deferred::New(env)) {}
|
|
137
|
-
|
|
138
|
-
FindPasswordWorker::~FindPasswordWorker() {}
|
|
139
|
-
|
|
140
|
-
Napi::Promise FindPasswordWorker::Promise() {
|
|
141
|
-
return deferred.Promise();
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
void FindPasswordWorker::Execute() {
|
|
145
|
-
std::string error;
|
|
146
|
-
KEYTAR_OP_RESULT result = keytar::FindPassword(service,
|
|
147
|
-
&password,
|
|
148
|
-
&error);
|
|
149
|
-
if (result == keytar::FAIL_ERROR) {
|
|
150
|
-
SetError(error.c_str());
|
|
151
|
-
} else if (result == keytar::FAIL_NONFATAL) {
|
|
152
|
-
success = false;
|
|
153
|
-
} else {
|
|
154
|
-
success = true;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
void FindPasswordWorker::OnOK() {
|
|
159
|
-
Napi::HandleScope scope(Env());
|
|
160
|
-
Napi::Value val = Env().Null();
|
|
161
|
-
if (success) {
|
|
162
|
-
val = Napi::String::New(Env(), password.data(),
|
|
163
|
-
password.length());
|
|
164
|
-
}
|
|
165
|
-
deferred.Resolve(val);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
void FindPasswordWorker::OnError(Napi::Error const &error) {
|
|
169
|
-
Napi::HandleScope scope(Env());
|
|
170
|
-
deferred.Reject(error.Value());
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
FindCredentialsWorker::FindCredentialsWorker(
|
|
174
|
-
const std::string& service,
|
|
175
|
-
const Napi::Env &env
|
|
176
|
-
) : AsyncWorker(env),
|
|
177
|
-
service(service),
|
|
178
|
-
deferred(Napi::Promise::Deferred::New(env)) {}
|
|
179
|
-
|
|
180
|
-
FindCredentialsWorker::~FindCredentialsWorker() {}
|
|
181
|
-
|
|
182
|
-
Napi::Promise FindCredentialsWorker::Promise() {
|
|
183
|
-
return deferred.Promise();
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
void FindCredentialsWorker::Execute() {
|
|
187
|
-
std::string error;
|
|
188
|
-
KEYTAR_OP_RESULT result = keytar::FindCredentials(service,
|
|
189
|
-
&credentials,
|
|
190
|
-
&error);
|
|
191
|
-
if (result == keytar::FAIL_ERROR) {
|
|
192
|
-
SetError(error.c_str());
|
|
193
|
-
} else if (result == keytar::FAIL_NONFATAL) {
|
|
194
|
-
success = false;
|
|
195
|
-
} else {
|
|
196
|
-
success = true;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
void FindCredentialsWorker::OnOK() {
|
|
201
|
-
Napi::HandleScope scope(Env());
|
|
202
|
-
Napi::Env env = Env();
|
|
203
|
-
|
|
204
|
-
if (success) {
|
|
205
|
-
Napi::Array val = Napi::Array::New(env, credentials.size());
|
|
206
|
-
unsigned int idx = 0;
|
|
207
|
-
std::vector<keytar::Credentials>::iterator it;
|
|
208
|
-
for (it = credentials.begin(); it != credentials.end(); it++) {
|
|
209
|
-
keytar::Credentials cred = *it;
|
|
210
|
-
Napi::Object obj = Napi::Object::New(env);
|
|
211
|
-
|
|
212
|
-
Napi::String account = Napi::String::New(env,
|
|
213
|
-
cred.first.data(),
|
|
214
|
-
cred.first.length());
|
|
215
|
-
|
|
216
|
-
Napi::String password = Napi::String::New(env,
|
|
217
|
-
cred.second.data(),
|
|
218
|
-
cred.second.length());
|
|
219
|
-
|
|
220
|
-
#ifndef _WIN32
|
|
221
|
-
#pragma GCC diagnostic ignored "-Wunused-result"
|
|
222
|
-
#endif
|
|
223
|
-
obj.Set("account", account);
|
|
224
|
-
#ifndef _WIN32
|
|
225
|
-
#pragma GCC diagnostic ignored "-Wunused-result"
|
|
226
|
-
#endif
|
|
227
|
-
obj.Set("password", password);
|
|
228
|
-
|
|
229
|
-
(val).Set(idx, obj);
|
|
230
|
-
++idx;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
deferred.Resolve(val);
|
|
234
|
-
} else {
|
|
235
|
-
deferred.Resolve(Napi::Array::New(env, 0));
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
void FindCredentialsWorker::OnError(Napi::Error const &error) {
|
|
240
|
-
Napi::HandleScope scope(Env());
|
|
241
|
-
deferred.Reject(error.Value());
|
|
242
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
#ifndef SRC_ASYNC_H_
|
|
2
|
-
#define SRC_ASYNC_H_
|
|
3
|
-
|
|
4
|
-
#include <string>
|
|
5
|
-
#include "napi.h"
|
|
6
|
-
|
|
7
|
-
#include "credentials.h"
|
|
8
|
-
|
|
9
|
-
class SetPasswordWorker : public Napi::AsyncWorker {
|
|
10
|
-
public:
|
|
11
|
-
SetPasswordWorker(const std::string& service, const std::string& account, const std::string& password,
|
|
12
|
-
const Napi::Env &env);
|
|
13
|
-
|
|
14
|
-
~SetPasswordWorker();
|
|
15
|
-
|
|
16
|
-
void Execute();
|
|
17
|
-
void OnOK();
|
|
18
|
-
void OnError(Napi::Error const &error);
|
|
19
|
-
Napi::Promise Promise();
|
|
20
|
-
|
|
21
|
-
private:
|
|
22
|
-
const std::string service;
|
|
23
|
-
const std::string account;
|
|
24
|
-
const std::string password;
|
|
25
|
-
Napi::Promise::Deferred deferred;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
class GetPasswordWorker : public Napi::AsyncWorker {
|
|
29
|
-
public:
|
|
30
|
-
GetPasswordWorker(const std::string& service, const std::string& account,
|
|
31
|
-
const Napi::Env &env);
|
|
32
|
-
|
|
33
|
-
~GetPasswordWorker();
|
|
34
|
-
|
|
35
|
-
void Execute();
|
|
36
|
-
void OnOK();
|
|
37
|
-
void OnError(Napi::Error const &error);
|
|
38
|
-
Napi::Promise Promise();
|
|
39
|
-
|
|
40
|
-
private:
|
|
41
|
-
const std::string service;
|
|
42
|
-
const std::string account;
|
|
43
|
-
std::string password;
|
|
44
|
-
bool success;
|
|
45
|
-
const Napi::Promise::Deferred deferred;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
class DeletePasswordWorker : public Napi::AsyncWorker {
|
|
49
|
-
public:
|
|
50
|
-
DeletePasswordWorker(const std::string& service, const std::string& account,
|
|
51
|
-
const Napi::Env &env);
|
|
52
|
-
|
|
53
|
-
~DeletePasswordWorker();
|
|
54
|
-
|
|
55
|
-
void Execute();
|
|
56
|
-
void OnOK();
|
|
57
|
-
void OnError(Napi::Error const &error);
|
|
58
|
-
Napi::Promise Promise();
|
|
59
|
-
|
|
60
|
-
private:
|
|
61
|
-
const std::string service;
|
|
62
|
-
const std::string account;
|
|
63
|
-
bool success;
|
|
64
|
-
Napi::Promise::Deferred deferred;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
class FindPasswordWorker : public Napi::AsyncWorker {
|
|
68
|
-
public:
|
|
69
|
-
FindPasswordWorker(const std::string& service, const Napi::Env &env);
|
|
70
|
-
|
|
71
|
-
~FindPasswordWorker();
|
|
72
|
-
|
|
73
|
-
void Execute();
|
|
74
|
-
void OnOK();
|
|
75
|
-
void OnError(Napi::Error const &error);
|
|
76
|
-
Napi::Promise Promise();
|
|
77
|
-
|
|
78
|
-
private:
|
|
79
|
-
const std::string service;
|
|
80
|
-
std::string password;
|
|
81
|
-
bool success;
|
|
82
|
-
const Napi::Promise::Deferred deferred;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
class FindCredentialsWorker : public Napi::AsyncWorker {
|
|
86
|
-
public:
|
|
87
|
-
FindCredentialsWorker(const std::string& service, const Napi::Env &env);
|
|
88
|
-
|
|
89
|
-
~FindCredentialsWorker();
|
|
90
|
-
|
|
91
|
-
void Execute();
|
|
92
|
-
void OnOK();
|
|
93
|
-
void OnError(Napi::Error const &error);
|
|
94
|
-
Napi::Promise Promise();
|
|
95
|
-
|
|
96
|
-
private:
|
|
97
|
-
const std::string service;
|
|
98
|
-
std::vector<keytar::Credentials> credentials;
|
|
99
|
-
bool success;
|
|
100
|
-
const Napi::Promise::Deferred deferred;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
#endif // SRC_ASYNC_H_
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#ifndef SRC_KEYTAR_H_
|
|
2
|
-
#define SRC_KEYTAR_H_
|
|
3
|
-
|
|
4
|
-
#include <string>
|
|
5
|
-
#include <vector>
|
|
6
|
-
|
|
7
|
-
#include "credentials.h"
|
|
8
|
-
|
|
9
|
-
namespace keytar {
|
|
10
|
-
|
|
11
|
-
enum KEYTAR_OP_RESULT {
|
|
12
|
-
SUCCESS,
|
|
13
|
-
FAIL_ERROR,
|
|
14
|
-
FAIL_NONFATAL
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
KEYTAR_OP_RESULT SetPassword(const std::string& service,
|
|
18
|
-
const std::string& account,
|
|
19
|
-
const std::string& password,
|
|
20
|
-
std::string* error);
|
|
21
|
-
|
|
22
|
-
KEYTAR_OP_RESULT GetPassword(const std::string& service,
|
|
23
|
-
const std::string& account,
|
|
24
|
-
std::string* password,
|
|
25
|
-
std::string* error);
|
|
26
|
-
|
|
27
|
-
KEYTAR_OP_RESULT DeletePassword(const std::string& service,
|
|
28
|
-
const std::string& account,
|
|
29
|
-
std::string* error);
|
|
30
|
-
|
|
31
|
-
KEYTAR_OP_RESULT FindPassword(const std::string& service,
|
|
32
|
-
std::string* password,
|
|
33
|
-
std::string* error);
|
|
34
|
-
|
|
35
|
-
KEYTAR_OP_RESULT FindCredentials(const std::string& service,
|
|
36
|
-
std::vector<Credentials>*,
|
|
37
|
-
std::string* error);
|
|
38
|
-
|
|
39
|
-
} // namespace keytar
|
|
40
|
-
|
|
41
|
-
#endif // SRC_KEYTAR_H_
|