plugin-data-source-mssql 2.0.0 → 2.0.2
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/README.md +31 -10
- package/dist/externalVersion.js +6 -6
- package/dist/node_modules/tedious/245.index.js +741 -0
- package/dist/node_modules/tedious/LICENSE +21 -0
- package/dist/node_modules/tedious/appveyor.yml +67 -0
- package/dist/node_modules/tedious/benchmarks/bulk-load/iterable.js +61 -0
- package/dist/node_modules/tedious/benchmarks/common.js +287 -0
- package/dist/node_modules/tedious/benchmarks/connection/open.js +26 -0
- package/dist/node_modules/tedious/benchmarks/package-lock.json +21173 -0
- package/dist/node_modules/tedious/benchmarks/package.json +11 -0
- package/dist/node_modules/tedious/benchmarks/query/call-tvp.js +105 -0
- package/dist/node_modules/tedious/benchmarks/query/insert-varbinary.js +46 -0
- package/dist/node_modules/tedious/benchmarks/query/select-many-rows.js +63 -0
- package/dist/node_modules/tedious/benchmarks/query/select-nvarchar.js +50 -0
- package/dist/node_modules/tedious/benchmarks/query/select-varbinary.js +50 -0
- package/dist/node_modules/tedious/benchmarks/request/rpcrequest-payload-tvp.js +45 -0
- package/dist/node_modules/tedious/benchmarks/request/rpcrequest-payload-varbinary.js +37 -0
- package/dist/node_modules/tedious/benchmarks/token-parser/colmetadata-token.js +27 -0
- package/dist/node_modules/tedious/benchmarks/token-parser/done-token.js +28 -0
- package/dist/node_modules/tedious/benchmarks/token-parser/simple-tokens.js +363 -0
- package/dist/node_modules/tedious/lib/all-headers.d.ts +2 -0
- package/dist/node_modules/tedious/lib/all-headers.js +24 -0
- package/dist/node_modules/tedious/lib/always-encrypted/aead-aes-256-cbc-hmac-algorithm.js +82 -0
- package/dist/node_modules/tedious/lib/always-encrypted/aead-aes-256-cbc-hmac-encryption-key.js +55 -0
- package/dist/node_modules/tedious/lib/always-encrypted/cek-entry.d.ts +11 -0
- package/dist/node_modules/tedious/lib/always-encrypted/cek-entry.js +42 -0
- package/dist/node_modules/tedious/lib/always-encrypted/get-parameter-encryption-metadata.js +90 -0
- package/dist/node_modules/tedious/lib/always-encrypted/key-crypto.js +94 -0
- package/dist/node_modules/tedious/lib/always-encrypted/keystore-provider-azure-key-vault.d.ts +21 -0
- package/dist/node_modules/tedious/lib/always-encrypted/keystore-provider-azure-key-vault.js +247 -0
- package/dist/node_modules/tedious/lib/always-encrypted/symmetric-key-cache.js +36 -0
- package/dist/node_modules/tedious/lib/always-encrypted/symmetric-key.js +25 -0
- package/dist/node_modules/tedious/lib/always-encrypted/types.d.ts +73 -0
- package/dist/node_modules/tedious/lib/always-encrypted/types.js +48 -0
- package/dist/node_modules/tedious/lib/always-encrypted/utils.js +23 -0
- package/dist/node_modules/tedious/lib/bulk-load-payload.d.ts +8 -0
- package/dist/node_modules/tedious/lib/bulk-load-payload.js +23 -0
- package/dist/node_modules/tedious/lib/bulk-load.d.ts +275 -0
- package/dist/node_modules/tedious/lib/bulk-load.js +516 -0
- package/dist/node_modules/tedious/lib/collation.d.ts +28 -0
- package/dist/node_modules/tedious/lib/collation.js +348 -0
- package/dist/node_modules/tedious/lib/connection.d.ts +1310 -0
- package/dist/node_modules/tedious/lib/connection.js +2730 -0
- package/dist/node_modules/tedious/lib/connector.d.ts +18 -0
- package/dist/node_modules/tedious/lib/connector.js +150 -0
- package/dist/node_modules/tedious/lib/data-type.d.ts +455 -0
- package/dist/node_modules/tedious/lib/data-type.js +428 -0
- package/dist/node_modules/tedious/lib/data-types/bigint.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/bigint.js +53 -0
- package/dist/node_modules/tedious/lib/data-types/binary.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/binary.js +67 -0
- package/dist/node_modules/tedious/lib/data-types/bit.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/bit.js +46 -0
- package/dist/node_modules/tedious/lib/data-types/bitn.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/bitn.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/char.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/char.js +86 -0
- package/dist/node_modules/tedious/lib/data-types/date.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/date.js +72 -0
- package/dist/node_modules/tedious/lib/data-types/datetime.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/datetime.js +93 -0
- package/dist/node_modules/tedious/lib/data-types/datetime2.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/datetime2.js +118 -0
- package/dist/node_modules/tedious/lib/data-types/datetimen.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/datetimen.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/datetimeoffset.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/datetimeoffset.js +111 -0
- package/dist/node_modules/tedious/lib/data-types/decimal.d.ts +6 -0
- package/dist/node_modules/tedious/lib/data-types/decimal.js +107 -0
- package/dist/node_modules/tedious/lib/data-types/decimaln.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/decimaln.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/float.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/float.js +47 -0
- package/dist/node_modules/tedious/lib/data-types/floatn.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/floatn.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/image.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/image.js +56 -0
- package/dist/node_modules/tedious/lib/data-types/int.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/int.js +53 -0
- package/dist/node_modules/tedious/lib/data-types/intn.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/intn.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/money.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/money.js +59 -0
- package/dist/node_modules/tedious/lib/data-types/moneyn.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/moneyn.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/nchar.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/nchar.js +100 -0
- package/dist/node_modules/tedious/lib/data-types/ntext.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/ntext.js +60 -0
- package/dist/node_modules/tedious/lib/data-types/null.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/null.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/numeric.d.ts +6 -0
- package/dist/node_modules/tedious/lib/data-types/numeric.js +106 -0
- package/dist/node_modules/tedious/lib/data-types/numericn.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/numericn.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/nvarchar.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/nvarchar.js +133 -0
- package/dist/node_modules/tedious/lib/data-types/real.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/real.js +48 -0
- package/dist/node_modules/tedious/lib/data-types/smalldatetime.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/smalldatetime.js +83 -0
- package/dist/node_modules/tedious/lib/data-types/smallint.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/smallint.js +53 -0
- package/dist/node_modules/tedious/lib/data-types/smallmoney.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/smallmoney.js +51 -0
- package/dist/node_modules/tedious/lib/data-types/sql-variant.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/sql-variant.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/text.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/text.js +69 -0
- package/dist/node_modules/tedious/lib/data-types/time.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/time.js +96 -0
- package/dist/node_modules/tedious/lib/data-types/tinyint.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/tinyint.js +53 -0
- package/dist/node_modules/tedious/lib/data-types/tvp.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/tvp.js +117 -0
- package/dist/node_modules/tedious/lib/data-types/udt.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/udt.js +29 -0
- package/dist/node_modules/tedious/lib/data-types/uniqueidentifier.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/uniqueidentifier.js +50 -0
- package/dist/node_modules/tedious/lib/data-types/varbinary.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/varbinary.js +119 -0
- package/dist/node_modules/tedious/lib/data-types/varchar.d.ts +5 -0
- package/dist/node_modules/tedious/lib/data-types/varchar.js +112 -0
- package/dist/node_modules/tedious/lib/data-types/xml.d.ts +3 -0
- package/dist/node_modules/tedious/lib/data-types/xml.js +29 -0
- package/dist/node_modules/tedious/lib/debug.d.ts +25 -0
- package/dist/node_modules/tedious/lib/debug.js +67 -0
- package/dist/node_modules/tedious/lib/errors/abort-error.d.ts +4 -0
- package/dist/node_modules/tedious/lib/errors/abort-error.js +15 -0
- package/dist/node_modules/tedious/lib/errors/timeout-error.d.ts +4 -0
- package/dist/node_modules/tedious/lib/errors/timeout-error.js +15 -0
- package/dist/node_modules/tedious/lib/errors.d.ts +17 -0
- package/dist/node_modules/tedious/lib/errors.js +23 -0
- package/dist/node_modules/tedious/lib/guid-parser.d.ts +3 -0
- package/dist/node_modules/tedious/lib/guid-parser.js +30 -0
- package/dist/node_modules/tedious/lib/incoming-message-stream.d.ts +19 -0
- package/dist/node_modules/tedious/lib/incoming-message-stream.js +97 -0
- package/dist/node_modules/tedious/lib/instance-lookup.d.ts +13 -0
- package/dist/node_modules/tedious/lib/instance-lookup.js +96 -0
- package/dist/node_modules/tedious/lib/library.d.ts +1 -0
- package/dist/node_modules/tedious/lib/library.js +8 -0
- package/dist/node_modules/tedious/lib/login7-payload.d.ts +51 -0
- package/dist/node_modules/tedious/lib/login7-payload.js +402 -0
- package/dist/node_modules/tedious/lib/message-io.d.ts +28 -0
- package/dist/node_modules/tedious/lib/message-io.js +153 -0
- package/dist/node_modules/tedious/lib/message.d.ts +11 -0
- package/dist/node_modules/tedious/lib/message.js +21 -0
- package/dist/node_modules/tedious/lib/metadata-parser.d.ts +48 -0
- package/dist/node_modules/tedious/lib/metadata-parser.js +380 -0
- package/dist/node_modules/tedious/lib/ntlm-payload.d.ts +23 -0
- package/dist/node_modules/tedious/lib/ntlm-payload.js +136 -0
- package/dist/node_modules/tedious/lib/ntlm.d.ts +4 -0
- package/dist/node_modules/tedious/lib/ntlm.js +72 -0
- package/dist/node_modules/tedious/lib/outgoing-message-stream.d.ts +15 -0
- package/dist/node_modules/tedious/lib/outgoing-message-stream.js +81 -0
- package/dist/node_modules/tedious/lib/packet.d.ts +33 -0
- package/dist/node_modules/tedious/lib/packet.js +191 -0
- package/dist/node_modules/tedious/lib/prelogin-payload.d.ts +61 -0
- package/dist/node_modules/tedious/lib/prelogin-payload.js +209 -0
- package/dist/node_modules/tedious/lib/request.d.ts +370 -0
- package/dist/node_modules/tedious/lib/request.js +387 -0
- package/dist/node_modules/tedious/lib/rpcrequest-payload.d.ts +16 -0
- package/dist/node_modules/tedious/lib/rpcrequest-payload.js +109 -0
- package/dist/node_modules/tedious/lib/sender.d.ts +5 -0
- package/dist/node_modules/tedious/lib/sender.js +83 -0
- package/dist/node_modules/tedious/lib/special-stored-procedure.d.ts +18 -0
- package/dist/node_modules/tedious/lib/special-stored-procedure.js +26 -0
- package/dist/node_modules/tedious/lib/sqlbatch-payload.d.ts +13 -0
- package/dist/node_modules/tedious/lib/sqlbatch-payload.js +34 -0
- package/dist/node_modules/tedious/lib/tds-versions.d.ts +6 -0
- package/dist/node_modules/tedious/lib/tds-versions.js +19 -0
- package/dist/node_modules/tedious/lib/tedious.d.ts +13 -0
- package/dist/node_modules/tedious/lib/tedious.js +249 -0
- package/dist/node_modules/tedious/lib/token/colmetadata-token-parser.d.ts +12 -0
- package/dist/node_modules/tedious/lib/token/colmetadata-token-parser.js +124 -0
- package/dist/node_modules/tedious/lib/token/done-token-parser.d.ts +6 -0
- package/dist/node_modules/tedious/lib/token/done-token-parser.js +76 -0
- package/dist/node_modules/tedious/lib/token/env-change-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/env-change-token-parser.js +190 -0
- package/dist/node_modules/tedious/lib/token/feature-ext-ack-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/feature-ext-ack-parser.js +52 -0
- package/dist/node_modules/tedious/lib/token/fedauth-info-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/fedauth-info-parser.js +62 -0
- package/dist/node_modules/tedious/lib/token/handler.d.ts +135 -0
- package/dist/node_modules/tedious/lib/token/handler.js +444 -0
- package/dist/node_modules/tedious/lib/token/helpers.d.ts +28 -0
- package/dist/node_modules/tedious/lib/token/helpers.js +205 -0
- package/dist/node_modules/tedious/lib/token/infoerror-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/infoerror-token-parser.js +80 -0
- package/dist/node_modules/tedious/lib/token/loginack-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/loginack-token-parser.js +75 -0
- package/dist/node_modules/tedious/lib/token/nbcrow-token-parser.d.ts +4 -0
- package/dist/node_modules/tedious/lib/token/nbcrow-token-parser.js +104 -0
- package/dist/node_modules/tedious/lib/token/order-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/order-token-parser.js +34 -0
- package/dist/node_modules/tedious/lib/token/returnstatus-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/returnstatus-token-parser.js +21 -0
- package/dist/node_modules/tedious/lib/token/returnvalue-token-parser.d.ts +4 -0
- package/dist/node_modules/tedious/lib/token/returnvalue-token-parser.js +94 -0
- package/dist/node_modules/tedious/lib/token/row-token-parser.d.ts +4 -0
- package/dist/node_modules/tedious/lib/token/row-token-parser.js +77 -0
- package/dist/node_modules/tedious/lib/token/sspi-token-parser.d.ts +5 -0
- package/dist/node_modules/tedious/lib/token/sspi-token-parser.js +42 -0
- package/dist/node_modules/tedious/lib/token/stream-parser.d.ts +34 -0
- package/dist/node_modules/tedious/lib/token/stream-parser.js +341 -0
- package/dist/node_modules/tedious/lib/token/token-stream-parser.d.ts +15 -0
- package/dist/node_modules/tedious/lib/token/token-stream-parser.js +36 -0
- package/dist/node_modules/tedious/lib/token/token.d.ts +312 -0
- package/dist/node_modules/tedious/lib/token/token.js +328 -0
- package/dist/node_modules/tedious/lib/tracking-buffer/writable-tracking-buffer.d.ts +47 -0
- package/dist/node_modules/tedious/lib/tracking-buffer/writable-tracking-buffer.js +249 -0
- package/dist/node_modules/tedious/lib/transaction.d.ts +39 -0
- package/dist/node_modules/tedious/lib/transaction.js +137 -0
- package/dist/node_modules/tedious/lib/transient-error-lookup.d.ts +3 -0
- package/dist/node_modules/tedious/lib/transient-error-lookup.js +19 -0
- package/dist/node_modules/tedious/lib/utils/with-timeout.d.ts +7 -0
- package/dist/node_modules/tedious/lib/utils/with-timeout.js +36 -0
- package/dist/node_modules/tedious/lib/value-parser.d.ts +7 -0
- package/dist/node_modules/tedious/lib/value-parser.js +813 -0
- package/dist/node_modules/tedious/node_modules/@types/node/assert/strict.d.ts +105 -0
- package/dist/node_modules/tedious/node_modules/@types/node/assert.d.ts +955 -0
- package/dist/node_modules/tedious/node_modules/@types/node/async_hooks.d.ts +623 -0
- package/dist/node_modules/tedious/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/dist/node_modules/tedious/node_modules/@types/node/buffer.d.ts +1810 -0
- package/dist/node_modules/tedious/node_modules/@types/node/child_process.d.ts +1428 -0
- package/dist/node_modules/tedious/node_modules/@types/node/cluster.d.ts +486 -0
- package/dist/node_modules/tedious/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/dist/node_modules/tedious/node_modules/@types/node/console.d.ts +151 -0
- package/dist/node_modules/tedious/node_modules/@types/node/constants.d.ts +20 -0
- package/dist/node_modules/tedious/node_modules/@types/node/crypto.d.ts +4065 -0
- package/dist/node_modules/tedious/node_modules/@types/node/dgram.d.ts +564 -0
- package/dist/node_modules/tedious/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
- package/dist/node_modules/tedious/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/dist/node_modules/tedious/node_modules/@types/node/dns.d.ts +922 -0
- package/dist/node_modules/tedious/node_modules/@types/node/domain.d.ts +166 -0
- package/dist/node_modules/tedious/node_modules/@types/node/events.d.ts +1054 -0
- package/dist/node_modules/tedious/node_modules/@types/node/fs/promises.d.ts +1329 -0
- package/dist/node_modules/tedious/node_modules/@types/node/fs.d.ts +4676 -0
- package/dist/node_modules/tedious/node_modules/@types/node/globals.d.ts +150 -0
- package/dist/node_modules/tedious/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/dist/node_modules/tedious/node_modules/@types/node/http.d.ts +2167 -0
- package/dist/node_modules/tedious/node_modules/@types/node/http2.d.ts +2480 -0
- package/dist/node_modules/tedious/node_modules/@types/node/https.d.ts +405 -0
- package/dist/node_modules/tedious/node_modules/@types/node/index.d.ts +115 -0
- package/dist/node_modules/tedious/node_modules/@types/node/inspector/promises.d.ts +41 -0
- package/dist/node_modules/tedious/node_modules/@types/node/inspector.d.ts +224 -0
- package/dist/node_modules/tedious/node_modules/@types/node/inspector.generated.d.ts +4226 -0
- package/dist/node_modules/tedious/node_modules/@types/node/module.d.ts +819 -0
- package/dist/node_modules/tedious/node_modules/@types/node/net.d.ts +933 -0
- package/dist/node_modules/tedious/node_modules/@types/node/os.d.ts +507 -0
- package/dist/node_modules/tedious/node_modules/@types/node/package.json +155 -0
- package/dist/node_modules/tedious/node_modules/@types/node/path/posix.d.ts +8 -0
- package/dist/node_modules/tedious/node_modules/@types/node/path/win32.d.ts +8 -0
- package/dist/node_modules/tedious/node_modules/@types/node/path.d.ts +187 -0
- package/dist/node_modules/tedious/node_modules/@types/node/perf_hooks.d.ts +643 -0
- package/dist/node_modules/tedious/node_modules/@types/node/process.d.ts +2161 -0
- package/dist/node_modules/tedious/node_modules/@types/node/punycode.d.ts +117 -0
- package/dist/node_modules/tedious/node_modules/@types/node/querystring.d.ts +152 -0
- package/dist/node_modules/tedious/node_modules/@types/node/quic.d.ts +910 -0
- package/dist/node_modules/tedious/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/dist/node_modules/tedious/node_modules/@types/node/readline.d.ts +541 -0
- package/dist/node_modules/tedious/node_modules/@types/node/repl.d.ts +415 -0
- package/dist/node_modules/tedious/node_modules/@types/node/sea.d.ts +162 -0
- package/dist/node_modules/tedious/node_modules/@types/node/sqlite.d.ts +955 -0
- package/dist/node_modules/tedious/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/dist/node_modules/tedious/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/dist/node_modules/tedious/node_modules/@types/node/stream/web.d.ts +296 -0
- package/dist/node_modules/tedious/node_modules/@types/node/stream.d.ts +1760 -0
- package/dist/node_modules/tedious/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/dist/node_modules/tedious/node_modules/@types/node/test/reporters.d.ts +96 -0
- package/dist/node_modules/tedious/node_modules/@types/node/test.d.ts +2240 -0
- package/dist/node_modules/tedious/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/dist/node_modules/tedious/node_modules/@types/node/timers.d.ts +159 -0
- package/dist/node_modules/tedious/node_modules/@types/node/tls.d.ts +1198 -0
- package/dist/node_modules/tedious/node_modules/@types/node/trace_events.d.ts +197 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/dist/node_modules/tedious/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/dist/node_modules/tedious/node_modules/@types/node/tty.d.ts +250 -0
- package/dist/node_modules/tedious/node_modules/@types/node/url.d.ts +519 -0
- package/dist/node_modules/tedious/node_modules/@types/node/util/types.d.ts +558 -0
- package/dist/node_modules/tedious/node_modules/@types/node/util.d.ts +1662 -0
- package/dist/node_modules/tedious/node_modules/@types/node/v8.d.ts +983 -0
- package/dist/node_modules/tedious/node_modules/@types/node/vm.d.ts +1208 -0
- package/dist/node_modules/tedious/node_modules/@types/node/wasi.d.ts +202 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/dist/node_modules/tedious/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/dist/node_modules/tedious/node_modules/@types/node/worker_threads.d.ts +717 -0
- package/dist/node_modules/tedious/node_modules/@types/node/zlib.d.ts +618 -0
- package/dist/node_modules/tedious/node_modules/bl/.github/dependabot.yml +16 -0
- package/dist/node_modules/tedious/node_modules/bl/.github/workflows/test-and-release.yml +61 -0
- package/dist/node_modules/tedious/node_modules/bl/BufferList.d.ts +431 -0
- package/dist/node_modules/tedious/node_modules/bl/BufferList.js +421 -0
- package/dist/node_modules/tedious/node_modules/bl/bl.js +84 -0
- package/dist/node_modules/tedious/node_modules/bl/index.d.ts +88 -0
- package/dist/node_modules/tedious/node_modules/bl/package.json +123 -0
- package/dist/node_modules/tedious/node_modules/bl/test/convert.js +21 -0
- package/dist/node_modules/tedious/node_modules/bl/test/indexOf.js +492 -0
- package/dist/node_modules/tedious/node_modules/bl/test/isBufferList.js +32 -0
- package/dist/node_modules/tedious/node_modules/bl/test/test.js +1032 -0
- package/dist/node_modules/tedious/node_modules/buffer/index.d.ts +194 -0
- package/dist/node_modules/tedious/node_modules/buffer/index.js +2106 -0
- package/dist/node_modules/tedious/node_modules/buffer/package.json +93 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/_stream_duplex.js +4 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/_stream_passthrough.js +4 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/_stream_readable.js +4 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/_stream_transform.js +4 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/_stream_writable.js +4 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +52 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/buffer_list.js +157 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/compose.js +194 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/destroy.js +290 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/duplex.js +143 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/duplexify.js +378 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +286 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/from.js +98 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +51 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/legacy.js +89 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/operators.js +457 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/passthrough.js +39 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/pipeline.js +471 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/readable.js +1290 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/state.js +39 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/transform.js +180 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/utils.js +327 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/writable.js +819 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/internal/validators.js +530 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/browser.js +35 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/errors.js +343 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/index.js +65 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/primordials.js +124 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/util/inspect.js +55 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/ours/util.js +148 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/stream/promises.js +43 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/lib/stream.js +143 -0
- package/dist/node_modules/tedious/node_modules/readable-stream/package.json +88 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/dist/.gitattributes +4 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/dist/angular-sprintf.min.js +3 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/dist/sprintf.min.js +3 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/package.json +35 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/src/angular-sprintf.js +24 -0
- package/dist/node_modules/tedious/node_modules/sprintf-js/src/sprintf.js +231 -0
- package/dist/node_modules/tedious/node_modules/undici-types/agent.d.ts +32 -0
- package/dist/node_modules/tedious/node_modules/undici-types/api.d.ts +43 -0
- package/dist/node_modules/tedious/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/dist/node_modules/tedious/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/dist/node_modules/tedious/node_modules/undici-types/cache.d.ts +36 -0
- package/dist/node_modules/tedious/node_modules/undici-types/client-stats.d.ts +15 -0
- package/dist/node_modules/tedious/node_modules/undici-types/client.d.ts +108 -0
- package/dist/node_modules/tedious/node_modules/undici-types/connector.d.ts +34 -0
- package/dist/node_modules/tedious/node_modules/undici-types/content-type.d.ts +21 -0
- package/dist/node_modules/tedious/node_modules/undici-types/cookies.d.ts +30 -0
- package/dist/node_modules/tedious/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/dist/node_modules/tedious/node_modules/undici-types/dispatcher.d.ts +276 -0
- package/dist/node_modules/tedious/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/dist/node_modules/tedious/node_modules/undici-types/errors.d.ts +161 -0
- package/dist/node_modules/tedious/node_modules/undici-types/eventsource.d.ts +66 -0
- package/dist/node_modules/tedious/node_modules/undici-types/fetch.d.ts +211 -0
- package/dist/node_modules/tedious/node_modules/undici-types/formdata.d.ts +108 -0
- package/dist/node_modules/tedious/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/dist/node_modules/tedious/node_modules/undici-types/global-origin.d.ts +7 -0
- package/dist/node_modules/tedious/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/dist/node_modules/tedious/node_modules/undici-types/handlers.d.ts +15 -0
- package/dist/node_modules/tedious/node_modules/undici-types/header.d.ts +160 -0
- package/dist/node_modules/tedious/node_modules/undici-types/index.d.ts +80 -0
- package/dist/node_modules/tedious/node_modules/undici-types/interceptors.d.ts +39 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-client.d.ts +27 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/dist/node_modules/tedious/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/dist/node_modules/tedious/node_modules/undici-types/package.json +55 -0
- package/dist/node_modules/tedious/node_modules/undici-types/patch.d.ts +29 -0
- package/dist/node_modules/tedious/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/dist/node_modules/tedious/node_modules/undici-types/pool.d.ts +41 -0
- package/dist/node_modules/tedious/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/dist/node_modules/tedious/node_modules/undici-types/readable.d.ts +68 -0
- package/dist/node_modules/tedious/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/dist/node_modules/tedious/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/dist/node_modules/tedious/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/dist/node_modules/tedious/node_modules/undici-types/util.d.ts +18 -0
- package/dist/node_modules/tedious/node_modules/undici-types/utility.d.ts +7 -0
- package/dist/node_modules/tedious/node_modules/undici-types/webidl.d.ts +341 -0
- package/dist/node_modules/tedious/node_modules/undici-types/websocket.d.ts +186 -0
- package/dist/node_modules/tedious/package.json +1 -0
- package/dist/node_modules/tedious/tsconfig.build-types.json +15 -0
- package/dist/node_modules/tedious/tsconfig.json +29 -0
- package/dist/node_modules/tedious/types/js-md4.d.ts +7 -0
- package/dist/node_modules/tedious/types/native-duplexpair.d.ts +12 -0
- package/dist/server/data-source/MssqlExternalDataSource.js +23 -2
- package/package.json +1 -1
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.id = 245;
|
|
3
|
+
exports.ids = [245];
|
|
4
|
+
exports.modules = {
|
|
5
|
+
|
|
6
|
+
/***/ 3245:
|
|
7
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8
|
+
|
|
9
|
+
// ESM COMPAT FLAG
|
|
10
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11
|
+
|
|
12
|
+
// EXPORTS
|
|
13
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14
|
+
"apps": function() { return /* binding */ apps; },
|
|
15
|
+
"default": function() { return /* binding */ node_modules_open; },
|
|
16
|
+
"openApp": function() { return /* binding */ openApp; }
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
// EXTERNAL MODULE: external "node:process"
|
|
20
|
+
var external_node_process_ = __webpack_require__(7742);
|
|
21
|
+
// EXTERNAL MODULE: external "node:buffer"
|
|
22
|
+
var external_node_buffer_ = __webpack_require__(2254);
|
|
23
|
+
// EXTERNAL MODULE: external "node:path"
|
|
24
|
+
var external_node_path_ = __webpack_require__(9411);
|
|
25
|
+
// EXTERNAL MODULE: external "node:url"
|
|
26
|
+
var external_node_url_ = __webpack_require__(1041);
|
|
27
|
+
// EXTERNAL MODULE: external "node:util"
|
|
28
|
+
var external_node_util_ = __webpack_require__(7261);
|
|
29
|
+
// EXTERNAL MODULE: external "node:child_process"
|
|
30
|
+
var external_node_child_process_ = __webpack_require__(7718);
|
|
31
|
+
// EXTERNAL MODULE: external "node:fs/promises"
|
|
32
|
+
var promises_ = __webpack_require__(3977);
|
|
33
|
+
// EXTERNAL MODULE: external "node:os"
|
|
34
|
+
var external_node_os_ = __webpack_require__(612);
|
|
35
|
+
// EXTERNAL MODULE: external "node:fs"
|
|
36
|
+
var external_node_fs_ = __webpack_require__(7561);
|
|
37
|
+
;// CONCATENATED MODULE: ./node_modules/is-inside-container/node_modules/is-docker/index.js
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
let isDockerCached;
|
|
41
|
+
|
|
42
|
+
function hasDockerEnv() {
|
|
43
|
+
try {
|
|
44
|
+
external_node_fs_.statSync('/.dockerenv');
|
|
45
|
+
return true;
|
|
46
|
+
} catch {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function hasDockerCGroup() {
|
|
52
|
+
try {
|
|
53
|
+
return external_node_fs_.readFileSync('/proc/self/cgroup', 'utf8').includes('docker');
|
|
54
|
+
} catch {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function isDocker() {
|
|
60
|
+
// TODO: Use `??=` when targeting Node.js 16.
|
|
61
|
+
if (isDockerCached === undefined) {
|
|
62
|
+
isDockerCached = hasDockerEnv() || hasDockerCGroup();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return isDockerCached;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
;// CONCATENATED MODULE: ./node_modules/is-inside-container/index.js
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
let cachedResult;
|
|
73
|
+
|
|
74
|
+
// Podman detection
|
|
75
|
+
const hasContainerEnv = () => {
|
|
76
|
+
try {
|
|
77
|
+
external_node_fs_.statSync('/run/.containerenv');
|
|
78
|
+
return true;
|
|
79
|
+
} catch {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
function isInsideContainer() {
|
|
85
|
+
// TODO: Use `??=` when targeting Node.js 16.
|
|
86
|
+
if (cachedResult === undefined) {
|
|
87
|
+
cachedResult = hasContainerEnv() || isDocker();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return cachedResult;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
;// CONCATENATED MODULE: ./node_modules/wsl-utils/node_modules/is-wsl/index.js
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
const isWsl = () => {
|
|
100
|
+
if (external_node_process_.platform !== 'linux') {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (external_node_os_.release().toLowerCase().includes('microsoft')) {
|
|
105
|
+
if (isInsideContainer()) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return true;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
try {
|
|
113
|
+
return external_node_fs_.readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft')
|
|
114
|
+
? !isInsideContainer() : false;
|
|
115
|
+
} catch {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
/* harmony default export */ var is_wsl = (external_node_process_.env.__IS_WSL_TEST__ ? isWsl : isWsl());
|
|
121
|
+
|
|
122
|
+
;// CONCATENATED MODULE: ./node_modules/wsl-utils/index.js
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
const wslDrivesMountPoint = (() => {
|
|
128
|
+
// Default value for "root" param
|
|
129
|
+
// according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config
|
|
130
|
+
const defaultMountPoint = '/mnt/';
|
|
131
|
+
|
|
132
|
+
let mountPoint;
|
|
133
|
+
|
|
134
|
+
return async function () {
|
|
135
|
+
if (mountPoint) {
|
|
136
|
+
// Return memoized mount point value
|
|
137
|
+
return mountPoint;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const configFilePath = '/etc/wsl.conf';
|
|
141
|
+
|
|
142
|
+
let isConfigFileExists = false;
|
|
143
|
+
try {
|
|
144
|
+
await promises_.access(configFilePath, promises_.constants.F_OK);
|
|
145
|
+
isConfigFileExists = true;
|
|
146
|
+
} catch {}
|
|
147
|
+
|
|
148
|
+
if (!isConfigFileExists) {
|
|
149
|
+
return defaultMountPoint;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const configContent = await promises_.readFile(configFilePath, {encoding: 'utf8'});
|
|
153
|
+
const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
|
|
154
|
+
|
|
155
|
+
if (!configMountPoint) {
|
|
156
|
+
return defaultMountPoint;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
mountPoint = configMountPoint.groups.mountPoint.trim();
|
|
160
|
+
mountPoint = mountPoint.endsWith('/') ? mountPoint : `${mountPoint}/`;
|
|
161
|
+
|
|
162
|
+
return mountPoint;
|
|
163
|
+
};
|
|
164
|
+
})();
|
|
165
|
+
|
|
166
|
+
const powerShellPathFromWsl = async () => {
|
|
167
|
+
const mountPoint = await wslDrivesMountPoint();
|
|
168
|
+
return `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
const powerShellPath = async () => {
|
|
172
|
+
if (is_wsl) {
|
|
173
|
+
return powerShellPathFromWsl();
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
return `${external_node_process_.env.SYSTEMROOT || external_node_process_.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
;// CONCATENATED MODULE: ./node_modules/define-lazy-prop/index.js
|
|
182
|
+
function defineLazyProperty(object, propertyName, valueGetter) {
|
|
183
|
+
const define = value => Object.defineProperty(object, propertyName, {value, enumerable: true, writable: true});
|
|
184
|
+
|
|
185
|
+
Object.defineProperty(object, propertyName, {
|
|
186
|
+
configurable: true,
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get() {
|
|
189
|
+
const result = valueGetter();
|
|
190
|
+
define(result);
|
|
191
|
+
return result;
|
|
192
|
+
},
|
|
193
|
+
set(value) {
|
|
194
|
+
define(value);
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
return object;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
;// CONCATENATED MODULE: ./node_modules/default-browser-id/index.js
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
const execFileAsync = (0,external_node_util_.promisify)(external_node_child_process_.execFile);
|
|
207
|
+
|
|
208
|
+
async function defaultBrowserId() {
|
|
209
|
+
if (external_node_process_.platform !== 'darwin') {
|
|
210
|
+
throw new Error('macOS only');
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const {stdout} = await execFileAsync('defaults', ['read', 'com.apple.LaunchServices/com.apple.launchservices.secure', 'LSHandlers']);
|
|
214
|
+
|
|
215
|
+
// `(?!-)` is to prevent matching `LSHandlerRoleAll = "-";`.
|
|
216
|
+
const match = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
|
|
217
|
+
|
|
218
|
+
const browserId = match?.groups.id ?? 'com.apple.Safari';
|
|
219
|
+
|
|
220
|
+
// Correct the case for Safari's bundle identifier
|
|
221
|
+
if (browserId === 'com.apple.safari') {
|
|
222
|
+
return 'com.apple.Safari';
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
return browserId;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
;// CONCATENATED MODULE: ./node_modules/run-applescript/index.js
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
const run_applescript_execFileAsync = (0,external_node_util_.promisify)(external_node_child_process_.execFile);
|
|
234
|
+
|
|
235
|
+
async function runAppleScript(script, {humanReadableOutput = true, signal} = {}) {
|
|
236
|
+
if (external_node_process_.platform !== 'darwin') {
|
|
237
|
+
throw new Error('macOS only');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const outputArguments = humanReadableOutput ? [] : ['-ss'];
|
|
241
|
+
|
|
242
|
+
const execOptions = {};
|
|
243
|
+
if (signal) {
|
|
244
|
+
execOptions.signal = signal;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const {stdout} = await run_applescript_execFileAsync('osascript', ['-e', script, outputArguments], execOptions);
|
|
248
|
+
return stdout.trim();
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function runAppleScriptSync(script, {humanReadableOutput = true} = {}) {
|
|
252
|
+
if (process.platform !== 'darwin') {
|
|
253
|
+
throw new Error('macOS only');
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const outputArguments = humanReadableOutput ? [] : ['-ss'];
|
|
257
|
+
|
|
258
|
+
const stdout = execFileSync('osascript', ['-e', script, ...outputArguments], {
|
|
259
|
+
encoding: 'utf8',
|
|
260
|
+
stdio: ['ignore', 'pipe', 'ignore'],
|
|
261
|
+
timeout: 500,
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
return stdout.trim();
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
;// CONCATENATED MODULE: ./node_modules/bundle-name/index.js
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
async function bundleName(bundleId) {
|
|
271
|
+
return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
;// CONCATENATED MODULE: ./node_modules/default-browser/windows.js
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
const windows_execFileAsync = (0,external_node_util_.promisify)(external_node_child_process_.execFile);
|
|
279
|
+
|
|
280
|
+
// TODO: Fix the casing of bundle identifiers in the next major version.
|
|
281
|
+
|
|
282
|
+
// Windows doesn't have browser IDs in the same way macOS/Linux does so we give fake
|
|
283
|
+
// ones that look real and match the macOS/Linux versions for cross-platform apps.
|
|
284
|
+
const windowsBrowserProgIds = {
|
|
285
|
+
MSEdgeHTM: {name: 'Edge', id: 'com.microsoft.edge'}, // The missing `L` is correct.
|
|
286
|
+
MSEdgeBHTML: {name: 'Edge Beta', id: 'com.microsoft.edge.beta'},
|
|
287
|
+
MSEdgeDHTML: {name: 'Edge Dev', id: 'com.microsoft.edge.dev'},
|
|
288
|
+
AppXq0fevzme2pys62n3e0fbqa7peapykr8v: {name: 'Edge', id: 'com.microsoft.edge.old'},
|
|
289
|
+
ChromeHTML: {name: 'Chrome', id: 'com.google.chrome'},
|
|
290
|
+
ChromeBHTML: {name: 'Chrome Beta', id: 'com.google.chrome.beta'},
|
|
291
|
+
ChromeDHTML: {name: 'Chrome Dev', id: 'com.google.chrome.dev'},
|
|
292
|
+
ChromiumHTM: {name: 'Chromium', id: 'org.chromium.Chromium'},
|
|
293
|
+
BraveHTML: {name: 'Brave', id: 'com.brave.Browser'},
|
|
294
|
+
BraveBHTML: {name: 'Brave Beta', id: 'com.brave.Browser.beta'},
|
|
295
|
+
BraveDHTML: {name: 'Brave Dev', id: 'com.brave.Browser.dev'},
|
|
296
|
+
BraveSSHTM: {name: 'Brave Nightly', id: 'com.brave.Browser.nightly'},
|
|
297
|
+
FirefoxURL: {name: 'Firefox', id: 'org.mozilla.firefox'},
|
|
298
|
+
OperaStable: {name: 'Opera', id: 'com.operasoftware.Opera'},
|
|
299
|
+
VivaldiHTM: {name: 'Vivaldi', id: 'com.vivaldi.Vivaldi'},
|
|
300
|
+
'IE.HTTP': {name: 'Internet Explorer', id: 'com.microsoft.ie'},
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
const _windowsBrowserProgIdMap = new Map(Object.entries(windowsBrowserProgIds));
|
|
304
|
+
|
|
305
|
+
class UnknownBrowserError extends Error {}
|
|
306
|
+
|
|
307
|
+
async function defaultBrowser(_execFileAsync = windows_execFileAsync) {
|
|
308
|
+
const {stdout} = await _execFileAsync('reg', [
|
|
309
|
+
'QUERY',
|
|
310
|
+
' HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice',
|
|
311
|
+
'/v',
|
|
312
|
+
'ProgId',
|
|
313
|
+
]);
|
|
314
|
+
|
|
315
|
+
const match = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
|
|
316
|
+
if (!match) {
|
|
317
|
+
throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(stdout)}`);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
const {id} = match.groups;
|
|
321
|
+
|
|
322
|
+
// Windows can append a hash suffix to ProgIds using a dot or hyphen
|
|
323
|
+
// (e.g., `ChromeHTML.ABC123`, `FirefoxURL-6F193CCC56814779`).
|
|
324
|
+
// Try exact match first, then try without the suffix.
|
|
325
|
+
const dotIndex = id.lastIndexOf('.');
|
|
326
|
+
const hyphenIndex = id.lastIndexOf('-');
|
|
327
|
+
const baseIdByDot = dotIndex === -1 ? undefined : id.slice(0, dotIndex);
|
|
328
|
+
const baseIdByHyphen = hyphenIndex === -1 ? undefined : id.slice(0, hyphenIndex);
|
|
329
|
+
|
|
330
|
+
return windowsBrowserProgIds[id] ?? windowsBrowserProgIds[baseIdByDot] ?? windowsBrowserProgIds[baseIdByHyphen] ?? {name: id, id};
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
;// CONCATENATED MODULE: ./node_modules/default-browser/index.js
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
const default_browser_execFileAsync = (0,external_node_util_.promisify)(external_node_child_process_.execFile);
|
|
344
|
+
|
|
345
|
+
// Inlined: https://github.com/sindresorhus/titleize/blob/main/index.js
|
|
346
|
+
const titleize = string => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, x => x.toUpperCase());
|
|
347
|
+
|
|
348
|
+
async function default_browser_defaultBrowser() {
|
|
349
|
+
if (external_node_process_.platform === 'darwin') {
|
|
350
|
+
const id = await defaultBrowserId();
|
|
351
|
+
const name = await bundleName(id);
|
|
352
|
+
return {name, id};
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
if (external_node_process_.platform === 'linux') {
|
|
356
|
+
const {stdout} = await default_browser_execFileAsync('xdg-mime', ['query', 'default', 'x-scheme-handler/http']);
|
|
357
|
+
const id = stdout.trim();
|
|
358
|
+
const name = titleize(id.replace(/.desktop$/, '').replace('-', ' '));
|
|
359
|
+
return {name, id};
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
if (external_node_process_.platform === 'win32') {
|
|
363
|
+
return defaultBrowser();
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
throw new Error('Only macOS, Linux, and Windows are supported');
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
;// CONCATENATED MODULE: ./node_modules/@azure/identity/node_modules/open/index.js
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
const execFile = (0,external_node_util_.promisify)(external_node_child_process_.execFile);
|
|
383
|
+
|
|
384
|
+
// Path to included `xdg-open`.
|
|
385
|
+
const open_dirname = external_node_path_.dirname((0,external_node_url_.fileURLToPath)(import.meta.url));
|
|
386
|
+
const localXdgOpenPath = external_node_path_.join(open_dirname, 'xdg-open');
|
|
387
|
+
|
|
388
|
+
const {platform, arch} = external_node_process_;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
Get the default browser name in Windows from WSL.
|
|
392
|
+
|
|
393
|
+
@returns {Promise<string>} Browser name.
|
|
394
|
+
*/
|
|
395
|
+
async function getWindowsDefaultBrowserFromWsl() {
|
|
396
|
+
const powershellPath = await powerShellPath();
|
|
397
|
+
const rawCommand = String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`;
|
|
398
|
+
const encodedCommand = external_node_buffer_.Buffer.from(rawCommand, 'utf16le').toString('base64');
|
|
399
|
+
|
|
400
|
+
const {stdout} = await execFile(
|
|
401
|
+
powershellPath,
|
|
402
|
+
[
|
|
403
|
+
'-NoProfile',
|
|
404
|
+
'-NonInteractive',
|
|
405
|
+
'-ExecutionPolicy',
|
|
406
|
+
'Bypass',
|
|
407
|
+
'-EncodedCommand',
|
|
408
|
+
encodedCommand,
|
|
409
|
+
],
|
|
410
|
+
{encoding: 'utf8'},
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
const progId = stdout.trim();
|
|
414
|
+
|
|
415
|
+
// Map ProgId to browser IDs
|
|
416
|
+
const browserMap = {
|
|
417
|
+
ChromeHTML: 'com.google.chrome',
|
|
418
|
+
BraveHTML: 'com.brave.Browser',
|
|
419
|
+
MSEdgeHTM: 'com.microsoft.edge',
|
|
420
|
+
FirefoxURL: 'org.mozilla.firefox',
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
return browserMap[progId] ? {id: browserMap[progId]} : {};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
const pTryEach = async (array, mapper) => {
|
|
427
|
+
let latestError;
|
|
428
|
+
|
|
429
|
+
for (const item of array) {
|
|
430
|
+
try {
|
|
431
|
+
return await mapper(item); // eslint-disable-line no-await-in-loop
|
|
432
|
+
} catch (error) {
|
|
433
|
+
latestError = error;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
throw latestError;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
// eslint-disable-next-line complexity
|
|
441
|
+
const baseOpen = async options => {
|
|
442
|
+
options = {
|
|
443
|
+
wait: false,
|
|
444
|
+
background: false,
|
|
445
|
+
newInstance: false,
|
|
446
|
+
allowNonzeroExitCode: false,
|
|
447
|
+
...options,
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
if (Array.isArray(options.app)) {
|
|
451
|
+
return pTryEach(options.app, singleApp => baseOpen({
|
|
452
|
+
...options,
|
|
453
|
+
app: singleApp,
|
|
454
|
+
}));
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
let {name: app, arguments: appArguments = []} = options.app ?? {};
|
|
458
|
+
appArguments = [...appArguments];
|
|
459
|
+
|
|
460
|
+
if (Array.isArray(app)) {
|
|
461
|
+
return pTryEach(app, appName => baseOpen({
|
|
462
|
+
...options,
|
|
463
|
+
app: {
|
|
464
|
+
name: appName,
|
|
465
|
+
arguments: appArguments,
|
|
466
|
+
},
|
|
467
|
+
}));
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
if (app === 'browser' || app === 'browserPrivate') {
|
|
471
|
+
// IDs from default-browser for macOS and windows are the same
|
|
472
|
+
const ids = {
|
|
473
|
+
'com.google.chrome': 'chrome',
|
|
474
|
+
'google-chrome.desktop': 'chrome',
|
|
475
|
+
'com.brave.Browser': 'brave',
|
|
476
|
+
'org.mozilla.firefox': 'firefox',
|
|
477
|
+
'firefox.desktop': 'firefox',
|
|
478
|
+
'com.microsoft.msedge': 'edge',
|
|
479
|
+
'com.microsoft.edge': 'edge',
|
|
480
|
+
'com.microsoft.edgemac': 'edge',
|
|
481
|
+
'microsoft-edge.desktop': 'edge',
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
// Incognito flags for each browser in `apps`.
|
|
485
|
+
const flags = {
|
|
486
|
+
chrome: '--incognito',
|
|
487
|
+
brave: '--incognito',
|
|
488
|
+
firefox: '--private-window',
|
|
489
|
+
edge: '--inPrivate',
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
const browser = is_wsl ? await getWindowsDefaultBrowserFromWsl() : await default_browser_defaultBrowser();
|
|
493
|
+
if (browser.id in ids) {
|
|
494
|
+
const browserName = ids[browser.id];
|
|
495
|
+
|
|
496
|
+
if (app === 'browserPrivate') {
|
|
497
|
+
appArguments.push(flags[browserName]);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
return baseOpen({
|
|
501
|
+
...options,
|
|
502
|
+
app: {
|
|
503
|
+
name: apps[browserName],
|
|
504
|
+
arguments: appArguments,
|
|
505
|
+
},
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
throw new Error(`${browser.name} is not supported as a default browser`);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
let command;
|
|
513
|
+
const cliArguments = [];
|
|
514
|
+
const childProcessOptions = {};
|
|
515
|
+
|
|
516
|
+
if (platform === 'darwin') {
|
|
517
|
+
command = 'open';
|
|
518
|
+
|
|
519
|
+
if (options.wait) {
|
|
520
|
+
cliArguments.push('--wait-apps');
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
if (options.background) {
|
|
524
|
+
cliArguments.push('--background');
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
if (options.newInstance) {
|
|
528
|
+
cliArguments.push('--new');
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
if (app) {
|
|
532
|
+
cliArguments.push('-a', app);
|
|
533
|
+
}
|
|
534
|
+
} else if (platform === 'win32' || (is_wsl && !isInsideContainer() && !app)) {
|
|
535
|
+
command = await powerShellPath();
|
|
536
|
+
|
|
537
|
+
cliArguments.push(
|
|
538
|
+
'-NoProfile',
|
|
539
|
+
'-NonInteractive',
|
|
540
|
+
'-ExecutionPolicy',
|
|
541
|
+
'Bypass',
|
|
542
|
+
'-EncodedCommand',
|
|
543
|
+
);
|
|
544
|
+
|
|
545
|
+
if (!is_wsl) {
|
|
546
|
+
childProcessOptions.windowsVerbatimArguments = true;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
const encodedArguments = ['Start'];
|
|
550
|
+
|
|
551
|
+
if (options.wait) {
|
|
552
|
+
encodedArguments.push('-Wait');
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
if (app) {
|
|
556
|
+
// Double quote with double quotes to ensure the inner quotes are passed through.
|
|
557
|
+
// Inner quotes are delimited for PowerShell interpretation with backticks.
|
|
558
|
+
encodedArguments.push(`"\`"${app}\`""`);
|
|
559
|
+
if (options.target) {
|
|
560
|
+
appArguments.push(options.target);
|
|
561
|
+
}
|
|
562
|
+
} else if (options.target) {
|
|
563
|
+
encodedArguments.push(`"${options.target}"`);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
if (appArguments.length > 0) {
|
|
567
|
+
appArguments = appArguments.map(argument => `"\`"${argument}\`""`);
|
|
568
|
+
encodedArguments.push('-ArgumentList', appArguments.join(','));
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// Using Base64-encoded command, accepted by PowerShell, to allow special characters.
|
|
572
|
+
options.target = external_node_buffer_.Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64');
|
|
573
|
+
} else {
|
|
574
|
+
if (app) {
|
|
575
|
+
command = app;
|
|
576
|
+
} else {
|
|
577
|
+
// When bundled by Webpack, there's no actual package file path and no local `xdg-open`.
|
|
578
|
+
const isBundled = !open_dirname || open_dirname === '/';
|
|
579
|
+
|
|
580
|
+
// Check if local `xdg-open` exists and is executable.
|
|
581
|
+
let exeLocalXdgOpen = false;
|
|
582
|
+
try {
|
|
583
|
+
await promises_.access(localXdgOpenPath, promises_.constants.X_OK);
|
|
584
|
+
exeLocalXdgOpen = true;
|
|
585
|
+
} catch {}
|
|
586
|
+
|
|
587
|
+
const useSystemXdgOpen = external_node_process_.versions.electron
|
|
588
|
+
?? (platform === 'android' || isBundled || !exeLocalXdgOpen);
|
|
589
|
+
command = useSystemXdgOpen ? 'xdg-open' : localXdgOpenPath;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
if (appArguments.length > 0) {
|
|
593
|
+
cliArguments.push(...appArguments);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (!options.wait) {
|
|
597
|
+
// `xdg-open` will block the process unless stdio is ignored
|
|
598
|
+
// and it's detached from the parent even if it's unref'd.
|
|
599
|
+
childProcessOptions.stdio = 'ignore';
|
|
600
|
+
childProcessOptions.detached = true;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
if (platform === 'darwin' && appArguments.length > 0) {
|
|
605
|
+
cliArguments.push('--args', ...appArguments);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
// This has to come after `--args`.
|
|
609
|
+
if (options.target) {
|
|
610
|
+
cliArguments.push(options.target);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
const subprocess = external_node_child_process_.spawn(command, cliArguments, childProcessOptions);
|
|
614
|
+
|
|
615
|
+
if (options.wait) {
|
|
616
|
+
return new Promise((resolve, reject) => {
|
|
617
|
+
subprocess.once('error', reject);
|
|
618
|
+
|
|
619
|
+
subprocess.once('close', exitCode => {
|
|
620
|
+
if (!options.allowNonzeroExitCode && exitCode > 0) {
|
|
621
|
+
reject(new Error(`Exited with code ${exitCode}`));
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
resolve(subprocess);
|
|
626
|
+
});
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
subprocess.unref();
|
|
631
|
+
|
|
632
|
+
return subprocess;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
const open_open = (target, options) => {
|
|
636
|
+
if (typeof target !== 'string') {
|
|
637
|
+
throw new TypeError('Expected a `target`');
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
return baseOpen({
|
|
641
|
+
...options,
|
|
642
|
+
target,
|
|
643
|
+
});
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
const openApp = (name, options) => {
|
|
647
|
+
if (typeof name !== 'string' && !Array.isArray(name)) {
|
|
648
|
+
throw new TypeError('Expected a valid `name`');
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
const {arguments: appArguments = []} = options ?? {};
|
|
652
|
+
if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
|
|
653
|
+
throw new TypeError('Expected `appArguments` as Array type');
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
return baseOpen({
|
|
657
|
+
...options,
|
|
658
|
+
app: {
|
|
659
|
+
name,
|
|
660
|
+
arguments: appArguments,
|
|
661
|
+
},
|
|
662
|
+
});
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
function detectArchBinary(binary) {
|
|
666
|
+
if (typeof binary === 'string' || Array.isArray(binary)) {
|
|
667
|
+
return binary;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
const {[arch]: archBinary} = binary;
|
|
671
|
+
|
|
672
|
+
if (!archBinary) {
|
|
673
|
+
throw new Error(`${arch} is not supported`);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
return archBinary;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
function detectPlatformBinary({[platform]: platformBinary}, {wsl}) {
|
|
680
|
+
if (wsl && is_wsl) {
|
|
681
|
+
return detectArchBinary(wsl);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
if (!platformBinary) {
|
|
685
|
+
throw new Error(`${platform} is not supported`);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
return detectArchBinary(platformBinary);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
const apps = {};
|
|
692
|
+
|
|
693
|
+
defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({
|
|
694
|
+
darwin: 'google chrome',
|
|
695
|
+
win32: 'chrome',
|
|
696
|
+
linux: ['google-chrome', 'google-chrome-stable', 'chromium'],
|
|
697
|
+
}, {
|
|
698
|
+
wsl: {
|
|
699
|
+
ia32: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe',
|
|
700
|
+
x64: ['/mnt/c/Program Files/Google/Chrome/Application/chrome.exe', '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'],
|
|
701
|
+
},
|
|
702
|
+
}));
|
|
703
|
+
|
|
704
|
+
defineLazyProperty(apps, 'brave', () => detectPlatformBinary({
|
|
705
|
+
darwin: 'brave browser',
|
|
706
|
+
win32: 'brave',
|
|
707
|
+
linux: ['brave-browser', 'brave'],
|
|
708
|
+
}, {
|
|
709
|
+
wsl: {
|
|
710
|
+
ia32: '/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe',
|
|
711
|
+
x64: ['/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe', '/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe'],
|
|
712
|
+
},
|
|
713
|
+
}));
|
|
714
|
+
|
|
715
|
+
defineLazyProperty(apps, 'firefox', () => detectPlatformBinary({
|
|
716
|
+
darwin: 'firefox',
|
|
717
|
+
win32: String.raw`C:\Program Files\Mozilla Firefox\firefox.exe`,
|
|
718
|
+
linux: 'firefox',
|
|
719
|
+
}, {
|
|
720
|
+
wsl: '/mnt/c/Program Files/Mozilla Firefox/firefox.exe',
|
|
721
|
+
}));
|
|
722
|
+
|
|
723
|
+
defineLazyProperty(apps, 'edge', () => detectPlatformBinary({
|
|
724
|
+
darwin: 'microsoft edge',
|
|
725
|
+
win32: 'msedge',
|
|
726
|
+
linux: ['microsoft-edge', 'microsoft-edge-dev'],
|
|
727
|
+
}, {
|
|
728
|
+
wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe',
|
|
729
|
+
}));
|
|
730
|
+
|
|
731
|
+
defineLazyProperty(apps, 'browser', () => 'browser');
|
|
732
|
+
|
|
733
|
+
defineLazyProperty(apps, 'browserPrivate', () => 'browserPrivate');
|
|
734
|
+
|
|
735
|
+
/* harmony default export */ var node_modules_open = (open_open);
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
/***/ })
|
|
739
|
+
|
|
740
|
+
};
|
|
741
|
+
;
|