PNPM Audit
No known vulnerabilities found
[2.2.0]
New Features
-
020ea0556
(#11661 by @ahqsoftwares) Add badging APIs:Window/WebviewWindow::set_badge_count
for Linux, macOS and IOS.Window/WebviewWindow::set_overlay_icon
for Windows Only.Window/WebviewWindow::set_badge_label
for macOS Only.
-
fc30b20be
(#11726 by @amrbashir) AddTrayIcon.setShowMenuOnLeftClick
method and deprecateTrayIcon.setMenuOnLeftClick
to match the Rust API. -
fc30b20be
(#11726 by @amrbashir) AddTrayIconOptions.showMenuOnLeftClick
field and deprecateTrayIconOptions.menuOnLeftClick
to match the Rust API.
Enhancements
fc30b20be
(#11726 by @amrbashir) Add support forTrayIconOptions.menuOnLeftClick
option andTrayIcon.setMenuOnLeftClick
on Windows.
Bug Fixes
a16796a55
(#12069 by @Legend-Master) FixChannel
never callsonmessage
in some cases12a48d1e2
(#11741 by @amrbashir) Fix error when callingPredefinedMenuItem.new
to create anAbout
menu item that uses anImage
instance for the about icon.12a48d1e2
(#11741 by @amrbashir) Fix error when callingIconMenuItem.new
using anImage
instance for the icon.b63262cd4
(#11724 by @FabianLars) Removed the generic in the type of the callback function argument inmockIPC
which prevented its proper use in tests using TypeScript.a6e84f7d2
(#11835 by @ilittlebig) Fix error where usingisAbsolute
would returnCommand not found
.
PNPM Publish
> @tauri-apps/api@2.2.0 npm-publish /home/runner/work/tauri/tauri/packages/api
> pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --no-git-checks
> @tauri-apps/api@2.2.0 build /home/runner/work/tauri/tauri/packages/api
> rollup -c --configPlugin typescript
�[36m
�[1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/image.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/webview.ts, ./src/webviewWindow.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m
�[32mcreated �[1m./dist, ./dist�[22m in �[1m1.3s�[22m�[39m
�[36m
�[1msrc/index.ts�[22m → �[1m../../crates/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../crates/tauri/scripts/bundle.global.js�[22m in �[1m1.8s�[22m�[39m
npm verbose cli /opt/hostedtoolcache/node/20.18.1/x64/bin/node /opt/hostedtoolcache/node/20.18.1/x64/bin/npm
npm info using npm@10.8.2
npm info using node@v20.18.1
npm silly config load:file:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/4b4fe4163acf4f1120643c395416c834/.npmrc
npm silly config load:file:/home/runner/work/_temp/.npmrc
npm silly config load:file:/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc
npm verbose title npm publish tauri-apps-api-2.2.0.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.2.0.tgz" "--access" "public" "--loglevel" "silly" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2025-01-02T18_58_11_460Z-
npm verbose logfile /home/runner/.npm/_logs/2025-01-02T18_58_11_460Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.2.0.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦 @tauri-apps/api@2.2.0
npm notice Tarball Contents
npm notice 86.5kB CHANGELOG.md
npm notice 10.2kB LICENSE_APACHE-2.0
npm notice 1.1kB LICENSE_MIT
npm notice 3.5kB README.md
npm notice 2.6kB app.cjs
npm notice 2.0kB app.d.ts
npm notice 2.4kB app.js
npm notice 9.9kB core.cjs
npm notice 6.4kB core.d.ts
npm notice 9.5kB core.js
npm notice 10.3kB dpi.cjs
npm notice 8.1kB dpi.d.ts
npm notice 10.1kB dpi.js
npm notice 5.6kB event.cjs
npm notice 4.6kB event.d.ts
npm notice 5.6kB event.js
npm notice 2.2kB external/tslib/tslib.es6.cjs
npm notice 2.2kB external/tslib/tslib.es6.js
npm notice 3.0kB image.cjs
npm notice 2.2kB image.d.ts
npm notice 2.9kB image.js
npm notice 738B index.cjs
npm notice 1.2kB index.d.ts
npm notice 669B index.js
npm notice 1.1kB menu.cjs
npm notice 451B menu.d.ts
npm notice 717B menu.js
npm notice 3.6kB menu/base.cjs
npm notice 887B menu/base.d.ts
npm notice 3.6kB menu/base.js
npm notice 2.2kB menu/checkMenuItem.cjs
npm notice 1.5kB menu/checkMenuItem.d.ts
npm notice 2.2kB menu/checkMenuItem.js
npm notice 7.4kB menu/iconMenuItem.cjs
npm notice 6.2kB menu/iconMenuItem.d.ts
npm notice 7.3kB menu/iconMenuItem.js
npm notice 5.0kB menu/menu.cjs
npm notice 4.3kB menu/menu.d.ts
npm notice 4.9kB menu/menu.js
npm notice 1.7kB menu/menuItem.cjs
npm notice 1.3kB menu/menuItem.d.ts
npm notice 1.6kB menu/menuItem.js
npm notice 1.1kB menu/predefinedMenuItem.cjs
npm notice 2.6kB menu/predefinedMenuItem.d.ts
npm notice 1.1kB menu/predefinedMenuItem.js
npm notice 6.8kB menu/submenu.cjs
npm notice 4.5kB menu/submenu.d.ts
npm notice 6.7kB menu/submenu.js
npm notice 6.4kB mocks.cjs
npm notice 3.8kB mocks.d.ts
npm notice 6.3kB mocks.js
npm notice 1.7kB package.json
npm notice 20.1kB path.cjs
npm notice 15.1kB path.d.ts
npm notice 19.1kB path.js
npm notice 6.4kB tray.cjs
npm notice 8.0kB tray.d.ts
npm notice 6.4kB tray.js
npm notice 19.2kB webview.cjs
npm notice 18.2kB webview.d.ts
npm notice 19.0kB webview.js
npm notice 8.4kB webviewWindow.cjs
npm notice 4.9kB webviewWindow.d.ts
npm notice 8.3kB webviewWindow.js
npm notice 64.3kB window.cjs
npm notice 57.1kB window.d.ts
npm notice 63.4kB window.js
npm notice Tarball Details
npm notice name: @tauri-apps/api
npm notice version: 2.2.0
npm notice filename: tauri-apps-api-2.2.0.tgz
npm notice package size: 118.6 kB
npm notice unpacked size: 628.3 kB
npm notice shasum: daaff2515b1a4ff1e763cf84a414548b02b566c5
npm notice integrity: sha512-R8epOeZl1eJEl[...]c5b9pJIUDEyAg==
npm notice total files: 67
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=159049201
npm http fetch PUT 200 https://registry.npmjs.org/@tauri-apps%2fapi 2593ms
+ @tauri-apps/api@2.2.0
npm verbose cwd /tmp/4b4fe4163acf4f1120643c395416c834
npm verbose os Linux 6.8.0-1017-azure
npm verbose node v20.18.1
npm verbose npm v10.8.2
npm verbose exit 0
npm info ok