@tabsmith/autocomplete-specs 1.0.15 → 1.0.16

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/build/mongosh.js CHANGED
@@ -1 +1 @@
1
- var e={name:"mongosh",description:"The MongoDB Shell, mongosh is a fully functional JavaScript and Node.js 14.x REPL environment for interacting with MongoDB deployments",args:{name:"Connection String",isOptional:!0,default:"mongodb://localhost:27017",suggestions:[{name:"mongodb://localhost:27017",description:"Default Connection String; Equivalent to running mongosh without any commands"},{name:"mongodb+srv://cluster0.example.mongodb.net/sample_geospatial",description:"Atlas Connection String Example",priority:35}]},options:[{name:["-v","--version"],description:"View your current mongosh version"},{name:"--shell",description:"Enables the shell interface. If you invoke the mongosh command and specify a JavaScript file as an argument, or use --eval to specify JavaScript on the command line, the --shell option provides the user with a shell prompt after the file finishes executing"},{name:"--eval",description:"Evaluates a JavaScript expression that is specified as an argument. mongosh does not load its own environment when evaluating code. As a result many options of the shell environment are not available. The result of evaluating a JavaScript argument is printed to your command line",args:{name:"javascript"}},{name:["--help","-h"],description:"Returns information on the options and use of the MongoDB Shell"},{name:"--authenticationDatabase",description:"Specifies the authentication database where the specified --username has been created. See Authentication Database",args:{name:"dbname"}},{name:"--gssapiHostName",description:"Specify the hostname of a service using GSSAPI/Kerberos. Only required if the hostname of a machine does not match the hostname resolved by DNS",args:{name:"hostname",description:"This option is available only in MongoDB Enterprise"}},{name:"--gssapiServiceName",description:"Specify the name of the service using GSSAPI/Kerberos. Only required if the service does not use the default name of mongodb",args:{name:"saslServiceName",description:"GssapiServiceName defaults to mongodb for all clients and MongoDB instances. If you change saslServiceName setting on a MongoDB instance, you must set gssapiServiceName to match that setting"}},{name:["--password","-p"],description:"Specifies a password with which to authenticate to a MongoDB database that uses authentication. Use in conjunction with the --username and --authenticationDatabase options",args:{name:"password"}},{name:["--username","-u"],description:"Specifies a username with which to authenticate to a MongoDB database that uses authentication. Use in conjunction with the --password and --authenticationDatabase options",args:{name:"username"}},{name:"--retryWrites",description:"Enables retryable writes as the default for sessions in the MongoDB Shell"},{name:"--authenticationMechanism",description:"Specifies the authentication mechanism the MongoDB Shell uses to authenticate to the mongod or mongos",args:{name:"authentication mechanism",suggestions:[{name:"SCRAM-SHA-1",description:"RFC 5802 standard Salted Challenge Response Authentication Mechanism using the SHA-1 hash function"},{name:"SCRAM-SHA-256",description:"RFC 7677 standard Salted Challenge Response Authentication Mechanism using the SHA-256 hash function"},{name:"MONGODB-X509",description:"MongoDB TLS SSL certificate authentication"},{name:"GSSAPI (Kerberos)",description:"External authentication using Kerberos. This mechanism is available only in MongoDB Enterprise"},{name:"PLAIN (LDAP SASL)",description:"External authentication using LDAP. You can also use PLAIN for authenticating in-database users. PLAIN transmits passwords in plain text. This mechanism is available only in MongoDB Enterprise"}]}},{name:"--nodb",description:"Prevents the shell from connecting to any database instances"},{name:"--norc",description:"Prevents the shell from sourcing and evaluating ~/.mongoshrc.js on startup"},{name:"--quiet",description:"Skips all messages during startup (such as welcome messages and startup warnings) and goes directly to the prompt"},{name:"--verbose",description:"Increases the verbosity of the shell output during the connection process and when running commands"},{name:"--port",description:"Specifies the port where the mongod or mongos instance is listening. If --port is not specified, the MongoDB Shell attempts to connect to port 27017",args:{name:"port",suggestions:[{name:"27017",description:"Default-port"}]}},{name:"--tls",description:"Enables connection to a mongod or mongos that has TLS SSL support enabled"},{name:"--tlsAllowInvalidHostnames",description:"Disables the validation of the hostnames in the certificate presented by the mongod/mongos instance. Allows the MongoDB Shell to connect to MongoDB instances even if the hostname in the server certificates do not match the server's host"},{name:"--tlsAllowInvalidCertificates",description:"Bypasses the validation checks for the certificates presented by the mongod/mongos instance and allows connections to servers that present invalid certificates"},{name:"--tlsDisabledProtocols",description:"Disables the specified TLS protocols",args:{name:"protocols",suggestions:[{name:"TLS1_0"},{name:"TLS1_1"},{name:"TLS1_2"},{name:"TLS1_3",description:"(Starting in version 4.0.4, 3.6.9, 3.4.24)"}]}},{name:"--tlsCAFile",description:"Specifies the .pem file that contains the root certificate chain from the Certificate Authority. This file is used to validate the certificate presented by the mongod/mongos instance",args:{name:"filePath",generators:{template:"filepaths"}}},{name:"--tlsCRLFile",description:"Specifies the .pem file that contains the root certificate chain from the Certificate Authority. This file is used to validate the certificate presented by the mongod/mongos instance",args:{name:"filePath",generators:{template:"filepaths"}}},{name:"--tlsCertificateKeyFile",description:"Enables connection to a mongod or mongos that has TLS SSL support enabled",args:{name:"filePath",generators:{template:"filepaths"}}}]},t=e;export{t as default};
1
+ var r=(t,i)=>({name:t,description:i,args:{name:"file",template:"filepaths"}}),e=(t,i,n="value")=>({name:t,description:i,args:{name:n}}),o=(t,i,n)=>({name:t,description:i,requiresSeparator:!0,args:{name:"value",isOptional:!0,suggestions:n}}),s=(t,i,n)=>({name:t,description:`Deprecated: use ${i}`,deprecated:{description:`Use ${i}`},...n&&{args:{name:n}}}),a={name:"mongosh",description:"The MongoDB Shell, a JavaScript and Node.js REPL for interacting with MongoDB deployments",args:[{name:"db address",description:"Database name, host[:port]/db, or a connection string",isOptional:!0,suggestions:[{name:"mongodb://localhost:27017",description:"Default connection string"},{name:"mongodb+srv://",description:"Atlas / DNS seed list connection string",priority:35}]},{name:"file names",description:"Scripts ending in .js or .mongodb; exits after unless --shell",isOptional:!0,isVariadic:!0,template:"filepaths"}],options:[{name:["-h","--help"],description:"Show this usage information"},{name:["-f","--file"],description:"Load the specified mongosh script",isRepeatable:!0,args:{name:"file",template:"filepaths"}},e("--host","Server to connect to","host"),e("--port","Port to connect to (default: 27017)","port"),{name:"--build-info",description:"Show build information"},{name:"--version",description:"Show version information"},{name:"--quiet",description:"Silence output from the shell during the connection process"},{name:"--shell",description:"Run the shell after executing files"},{name:"--nodb",description:"Don't connect to mongod on startup (no db address expected)"},{name:"--norc",description:"Don't run the .mongoshrc.js file on startup"},{name:"--eval",description:"Evaluate javascript",isRepeatable:!0,args:{name:"javascript"}},o("--json","Print result of --eval as Extended JSON, including errors",["canonical","relaxed"]),o("--retryWrites","Retry write operations upon transient network errors (default: true)",["true","false"]),o("--deep-inspect","Force full depth inspection of server results (default: true if interactive)",["true","false"]),e(["-u","--username"],"Username for authentication","username"),e(["-p","--password"],"Password for authentication","password"),e("--authenticationDatabase","User source (defaults to dbname)","dbname"),{name:"--authenticationMechanism",description:"Authentication mechanism",args:{name:"mechanism",suggestions:[{name:"SCRAM-SHA-256",description:"Salted challenge-response, SHA-256"},{name:"SCRAM-SHA-1",description:"Salted challenge-response, SHA-1"},{name:"MONGODB-X509",description:"TLS client certificate"},{name:"MONGODB-AWS",description:"AWS IAM credentials"},{name:"MONGODB-OIDC",description:"OpenID Connect (workforce or workload)"},{name:"GSSAPI",description:"Kerberos (MongoDB Enterprise)"},{name:"PLAIN",description:"LDAP SASL (MongoDB Enterprise)"}]}},e("--awsIamSessionToken","AWS IAM Temporary Session Token ID","token"),e("--gssapiServiceName","Service name to use when authenticating using GSSAPI/Kerberos","name"),{name:"--sspiHostnameCanonicalization",description:"SSPI hostname canonicalization (Windows)",args:{name:"mode",suggestions:["none","forward"]}},e("--sspiRealmOverride","SSPI server realm (Windows)","realm"),{name:"--tls",description:"Use TLS for all connections"},r("--tlsCertificateKeyFile","PEM certificate/key file for TLS"),e("--tlsCertificateKeyFilePassword","Password for key in PEM file for TLS","password"),r("--tlsCAFile","Certificate Authority file for TLS"),{name:"--tlsAllowInvalidHostnames",description:"Allow connections to servers with non-matching hostnames"},{name:"--tlsAllowInvalidCertificates",description:"Allow connections to servers with invalid certificates"},e("--tlsCertificateSelector","TLS Certificate in system store (Windows and macOS only)","selector"),r("--tlsCRLFile","PEM file that contains the Certificate Revocation List"),{name:"--tlsDisabledProtocols",description:"Comma separated list of TLS protocols to disable",args:{name:"protocols",suggestions:["TLS1_0","TLS1_1","TLS1_2","TLS1_3"]}},{name:"--tlsFIPSMode",description:"Enable the system TLS library's FIPS mode"},{name:"--apiVersion",description:"Specifies the API version to connect with",args:{name:"version",suggestions:["1"]}},{name:"--apiStrict",description:"Use strict API version mode"},{name:"--apiDeprecationErrors",description:"Fail deprecated commands for the specified API version"},e("--awsAccessKeyId","AWS Access Key for FLE Amazon KMS","id"),e("--awsSecretAccessKey","AWS Secret Key for FLE Amazon KMS","key"),e("--awsSessionToken","Optional AWS Session Token ID","token"),e("--keyVaultNamespace","Database.collection to store encrypted FLE parameters","namespace"),e("--kmsURL","Test parameter to override the KMS endpoint URL","url"),o("--oidcFlows","Supported OIDC auth flows",["auth-code","device-auth","auth-code,device-auth"]),{name:["--oidcRedirectUri","--oidcRedirectUrl"],description:"Local auth code flow redirect URL",requiresSeparator:!0,args:{name:"url",isOptional:!0,suggestions:["http://localhost:27097/redirect"]}},{name:"--oidcTrustedEndpoint",description:"Treat the cluster/database mongosh as a trusted endpoint"},{name:["--oidcIdTokenAsAccessToken","--oidcIDTokenAsAccessToken"],description:"Use ID tokens in place of access tokens for auth"},o("--oidcDumpTokens","Debug OIDC by printing tokens to mongosh's output",["redacted","include-secrets"]),{name:"--oidcNoNonce",description:"Don't send a nonce argument in the OIDC auth request"},...[{name:"--ipv6",description:"Enable IPv6 support"},{name:"--verbose",description:"Increase verbosity"},{name:"--tlsUseSystemCA",description:"Use the system CA store for TLS"},{name:"--skipStartupWarnings",description:"Skip server startup warnings"},r("--cryptSharedLibPath","Path to the crypt_shared library")].map(t=>({...t,hidden:!0})),s("--ssl","--tls"),s("--sslAllowInvalidCertificates","--tlsAllowInvalidCertificates"),s("--sslAllowInvalidHostnames","--tlsAllowInvalidHostnames"),s("--sslPEMKeyFile","--tlsCertificateKeyFile","file"),s("--sslPEMKeyPassword","--tlsCertificateKeyFilePassword","password"),s("--sslCAFile","--tlsCAFile","file"),s("--sslCertificateSelector","--tlsCertificateSelector","selector"),s("--sslCRLFile","--tlsCRLFile","file"),s("--sslDisabledProtocols","--tlsDisabledProtocols","protocols")]},c=a;export{c as default};
package/build/omz.js CHANGED
@@ -1 +1,2 @@
1
- var e={name:"omz",description:"Oh My Zsh",subcommands:[{name:"help",description:"Print the help message"},{name:"changelog",description:"Print the changelog"},{name:"plugin",description:"Manage plugins",subcommands:[{name:"disable",description:"Disable plugin(s)",args:{name:"plugin"}},{name:"enable",description:"Enable plugin(s)",args:{name:"plugin"}},{name:"info",description:"Get information of a plugin",args:{name:"plugin"}},{name:"list",description:"List all available Oh My Zsh plugins"},{name:"load",description:"Load plugin(s)",args:{name:"plugin"}}]},{name:"pr",description:"Manage Oh My Zsh Pull Requests",subcommands:[{name:"clean",description:"Delete all PR branches (ohmyzsh/pull-*)"},{name:"test",description:"Fetch PR #NUMBER and rebase against master",args:{name:"PR_number_or_URL"}}]},{name:"reload",description:"Reload the current zsh session"},{name:"theme",description:"Manage themes",subcommands:[{name:"list",description:"List all available Oh My Zsh themes"},{name:"set",description:"Set a theme in your .zshrc file",args:{name:"theme"}},{name:"use",description:"Load a theme",args:{name:"theme"}}]},{name:"update",description:"Update Oh My Zsh"},{name:"version",description:"Show the version"}]},n=e;export{n as default};
1
+ var s='Z="${ZSH:-$HOME/.oh-my-zsh}"; C="${ZSH_CUSTOM:-$Z/custom}"',n=(r,o)=>m=>[...new Set(m.split(`
2
+ `).filter(Boolean))].map(c=>({name:c,description:r,icon:o})),t={script:["bash","-c",`${s}; for f in "$Z"/plugins/*/{_*,*.plugin.zsh} "$C"/plugins/*/{_*,*.plugin.zsh}; do [ -e "$f" ] || continue; basename "$(dirname "$f")"; done`],postProcess:n("Plugin","\u{1F50C}")},a={script:["bash","-c",`${s}; for f in "$Z"/themes/*.zsh-theme "$C"/themes/*.zsh-theme "$C"/*.zsh-theme; do [ -e "$f" ] || continue; basename "$f" .zsh-theme; done`],postProcess:n("Theme","\u{1F3A8}")},l={script:["bash","-c",`${s}; git -C "$Z" for-each-ref --format='%(refname:short)' refs/heads refs/tags`],postProcess:n("Branch or tag","fig://icon?type=git")},e={name:"plugin",generators:t,isVariadic:!0},h=[{name:"aquarium",description:"Sea shells and a hermit crab (default)"},{name:"logo",description:"The Oh My Zsh wordmark takes a coffee break"},{name:"hermit",description:"A hermit crab looks for its directory"},{name:"party",description:"A rainbow stage and dancing shell fans"}],i={name:"shellsaver",description:"Launch a whimsical terminal screensaver",args:{name:"scene",isOptional:!0,suggestions:h},options:[{name:"--list",description:"List available scenes and the default"},{name:"--mono",description:"Use the terminal default foreground color"},{name:"--seconds",description:"Exit automatically after 1-3600 seconds",args:{name:"N"}},{name:"--snapshot",description:"Print a 96x28 plain-text still (no terminal needed)",args:{name:"frame",isOptional:!0}},{name:"--help",description:"Show Shellsaver help"}]},p={name:"omz",description:"Oh My Zsh",subcommands:[{name:"help",description:"Print the help message"},{name:"changelog",description:"Print the changelog",args:{name:"version",description:"Branch, tag or commit (default: HEAD)",isOptional:!0,generators:l}},{name:"plugin",description:"Manage plugins",subcommands:[{name:"disable",description:"Disable plugin(s)",args:e},{name:"enable",description:"Enable plugin(s)",args:e},{name:"info",description:"Get information of a plugin",args:{name:"plugin",generators:t}},{name:"list",description:"List all available Oh My Zsh plugins",options:[{name:"--enabled",description:"List enabled plugins only"}]},{name:"load",description:"Load plugin(s)",args:e}]},{name:"pr",description:"Manage Oh My Zsh Pull Requests",subcommands:[{name:"clean",description:"Delete all PR branches (ohmyzsh/pull-*)"},{name:"test",description:"Fetch PR #NUMBER and rebase against master",args:{name:"PR_number_or_URL"}}]},{name:"reload",description:"Reload the current zsh session"},i,{...i,name:"screensaver",hidden:!0},{name:"shop",description:"Open the Oh My Zsh shop"},{name:"theme",description:"Manage themes",subcommands:[{name:"list",description:"List all available Oh My Zsh themes"},{name:"set",description:"Set a theme in your .zshrc file",args:{name:"theme",generators:a}},{name:"use",description:"Load a theme",args:{name:"theme",generators:a}}]},{name:"update",description:"Update Oh My Zsh"},{name:"version",description:"Show the version"}]},d=p;export{d as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabsmith/autocomplete-specs",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Autocomplete specs for tabsmith",
5
5
  "schemaVersion": "v7",
6
6
  "main": "./build/index",