Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tauri-apps/cli

Package Overview
Dependencies
Maintainers
4
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tauri-apps/cli - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.4

LICENSE_APACHE-2.0

19

CHANGELOG.md
# Changelog
## \[1.0.0-rc.4]
- Change the `run` function to take a callback and run asynchronously instead of blocking the event loop.
- [cd9a20b9](https://www.github.com/tauri-apps/tauri/commit/cd9a20b9ab013759b4bdb742f358988022450795) refactor(cli.js): run on separate thread ([#3436](https://www.github.com/tauri-apps/tauri/pull/3436)) on 2022-02-13
- Improve error message when the dev runner command fails.
- [759d1afb](https://www.github.com/tauri-apps/tauri/commit/759d1afb86f3657f6071a2ae39c9be21e20ed22c) feat(cli): improve error message when dev runner command fails ([#3447](https://www.github.com/tauri-apps/tauri/pull/3447)) on 2022-02-13
- Show full error message from `cli.rs` instead of just the outermost underlying error message.
- [63826010](https://www.github.com/tauri-apps/tauri/commit/63826010d1f38544f36afd3aac67c45d4608d15b) feat(cli.js): show full error message ([#3442](https://www.github.com/tauri-apps/tauri/pull/3442)) on 2022-02-13
- Increase `tauri.conf.json` directory lookup depth to `3` and allow changing it with the `TAURI_PATH_DEPTH` environment variable.
- [c6031c70](https://www.github.com/tauri-apps/tauri/commit/c6031c7070c6bb7539bbfdfe42cb73012829c910) feat(cli): increase lookup depth, add env var option ([#3451](https://www.github.com/tauri-apps/tauri/pull/3451)) on 2022-02-13
- Added `tauri-build`, `tao` and `wry` version to the `info` command output.
- [16f1173f](https://www.github.com/tauri-apps/tauri/commit/16f1173f456b1db543d0160df2c9828708bfc68a) feat(cli): add tao and wry version to the `info` output ([#3443](https://www.github.com/tauri-apps/tauri/pull/3443)) on 2022-02-13
## \[1.0.0-rc.3]
- Change default value for the `freezePrototype` configuration to `false`.
- Bumped due to a bump in cli.rs.
- [3a4c0160](https://www.github.com/tauri-apps/tauri/commit/3a4c01606184be762adee055ddac803de0d28527) fix(core): change default `freezePrototype` to false, closes [#3416](https://www.github.com/tauri-apps/tauri/pull/3416) [#3406](https://www.github.com/tauri-apps/tauri/pull/3406) ([#3423](https://www.github.com/tauri-apps/tauri/pull/3423)) on 2022-02-12
## \[1.0.0-rc.2]

@@ -4,0 +23,0 @@

2

index.d.ts

@@ -12,2 +12,2 @@ /* tslint:disable */

}
export function run(args: Array<string>, binName?: string | undefined | null): void
export function run(args: Array<string>, binName: string | undefined | null, callback: (...args: any[]) => any): void
{
"name": "@tauri-apps/cli",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.4",
"description": "Command line interface for building Tauri apps",

@@ -24,4 +24,4 @@ "funding": {

},
"main": "index.js",
"types": "index.d.ts",
"main": "main.js",
"types": "main.d.ts",
"napi": {

@@ -65,11 +65,11 @@ "name": "cli",

"optionalDependencies": {
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.2",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.2",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.2",
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.2",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.2",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.2",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.2",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.2"
"@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.4",
"@tauri-apps/cli-darwin-x64": "1.0.0-rc.4",
"@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.4",
"@tauri-apps/cli-darwin-arm64": "1.0.0-rc.4",
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.4",
"@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.4",
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.4",
"@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.4"
}
}
#!/usr/bin/env node
const cli = require('./index')
const cli = require('./main')
const path = require('path')

@@ -46,6 +46,5 @@

try {
cli.run(arguments, binName)
} catch (e) {
console.log(`Error running CLI: ${e.message}`)
}
cli.run(arguments, binName).catch((err) => {
console.log(`Error running CLI: ${err.message}`)
process.exit(1)
})

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc