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

create-tauri

Package Overview
Dependencies
Maintainers
0
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-tauri - npm Package Compare versions

Comparing version 4.5.4 to 4.5.5

11

create-tauri-app.js

@@ -23,3 +23,3 @@ #!/usr/bin/env node

// Some distribution still use "nodejs" as the binary name.
if (binStem.match(/(nodejs|node|bun)-*([0-9]*)*$/g)) {
else if (binStem.match(/(nodejs|node|bun)-*([0-9]*)*$/g)) {
const managerStem = process.env.npm_execpath

@@ -56,7 +56,6 @@ ? path.parse(process.env.npm_execpath).name.toLowerCase()

// adapted from https://github.com/vitejs/vite/blob/34826aae015ed16dc9b9096c0f778154ca6981a6/packages/create-vite/src/index.ts#L513
function pkgManagerFromUserAgent(userAgent) {
if (!userAgent) return undefined;
return userAgent.split(" ")[0]?.split("/")[0];
}
const pkgManager = pkgManagerFromUserAgent(process.env.npm_config_user_agent);
const userAgent =
process.env.npm_config_user_agent ?? globalThis.navigator?.userAgent;
const pkgManager = userAgent?.split(" ")[0]?.split("/")[0].toLocaleLowerCase();
cli.run(args, binName, pkgManager);
{
"name": "create-tauri",
"version": "4.5.4",
"version": "4.5.5",
"description": "Rapidly scaffold out a new tauri app project.",

@@ -59,14 +59,14 @@ "funding": {

"optionalDependencies": {
"create-tauri-app-win32-x64-msvc": "4.5.4",
"create-tauri-app-darwin-x64": "4.5.4",
"create-tauri-app-linux-x64-gnu": "4.5.4",
"create-tauri-app-darwin-universal": "4.5.4",
"create-tauri-app-darwin-arm64": "4.5.4",
"create-tauri-app-linux-arm64-gnu": "4.5.4",
"create-tauri-app-linux-arm64-musl": "4.5.4",
"create-tauri-app-linux-arm-gnueabihf": "4.5.4",
"create-tauri-app-linux-x64-musl": "4.5.4",
"create-tauri-app-win32-ia32-msvc": "4.5.4",
"create-tauri-app-win32-arm64-msvc": "4.5.4"
"create-tauri-app-win32-x64-msvc": "4.5.5",
"create-tauri-app-darwin-x64": "4.5.5",
"create-tauri-app-linux-x64-gnu": "4.5.5",
"create-tauri-app-darwin-universal": "4.5.5",
"create-tauri-app-darwin-arm64": "4.5.5",
"create-tauri-app-linux-arm64-gnu": "4.5.5",
"create-tauri-app-linux-arm64-musl": "4.5.5",
"create-tauri-app-linux-arm-gnueabihf": "4.5.5",
"create-tauri-app-linux-x64-musl": "4.5.5",
"create-tauri-app-win32-ia32-msvc": "4.5.5",
"create-tauri-app-win32-arm64-msvc": "4.5.5"
}
}

@@ -32,2 +32,8 @@ <img src="https://github.com/tauri-apps/create-tauri-app/raw/dev/.github/splash.png" alt="Rapidly scaffold out a new Tauri app project." />

### Deno
```bash
deno run -A npm:create-tauri-app
```
## Bun:

@@ -45,11 +51,11 @@

# npm 6.x
npm create tauri-app@latest my-tauri-app --template svelte --manager pnpm
npm create tauri-app@latest my-tauri-app --template svelte
# npm 7+, extra double-dash is needed:
npm create tauri-app@latest my-tauri-app -- --template svelte --manager pnpm
npm create tauri-app@latest my-tauri-app -- --template svelte
# yarn
yarn create tauri-app my-tauri-app --template svelte --manager pnpm
yarn create tauri-app my-tauri-app --template svelte
# pnpm
pnpm create tauri-app my-tauri-app --template svelte --manager pnpm
pnpm create tauri-app my-tauri-app --template svelte
# Bun
bunx create-tauri-app my-tauri-app --template svelte --manager bun
bunx create-tauri-app my-tauri-app --template svelte
```

@@ -67,2 +73,4 @@

- `react-ts`
- `preact`
- `preact-ts`
- `solid`

@@ -69,0 +77,0 @@ - `solid-ts`

Sorry, the diff of this file is too big to display

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