PNPM Audit
No known vulnerabilities found
[2.0.0-rc.6]
New Features
9014a3f17
(#11066 by @amrbashir) AddWebviewWindow.clearAllBrowsingData
andWebview.clearAllBrowsingData
to clear the webview browsing data.95df53a2e
(#11143 by @Legend-Master) Add the ability to set theme dynamically usingWindow.setTheme
orsetTheme
function from theapp
moduled9d2502b4
(#11140 by @amrbashir) AddWebview.hide
andWebview.show
methods.de7414aab
(#11154 by @amrbashir) AddWindow::setEnabled
andWindow::isEnabled
methods
Bug Fixes
948772a65
(#11114 by @lucasfernog) Change thebutton_state
tray event field to camelCasebuttonState
.
Breaking Changes
0b4495996
(#11121 by @amrbashir) Simplified emitted tray event JS value and updatedTrayIconEvent
type definition to match it.
PNPM Publish
> @tauri-apps/api@2.0.0-rc.6 npm-publish /home/runner/work/tauri/tauri/packages/api
> pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --tag next --no-git-checks
> @tauri-apps/api@2.0.0-rc.6 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.7s�[22m�[39m
npm verbose cli /opt/hostedtoolcache/node/20.17.0/x64/bin/node /opt/hostedtoolcache/node/20.17.0/x64/bin/npm
npm info using npm@10.8.2
npm info using node@v20.17.0
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/37f4df4ee91e271fde52484dc1747efd/.npmrc
npm silly config load:file:/home/runner/work/_temp/.npmrc
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc
npm verbose title npm publish tauri-apps-api-2.0.0-rc.6.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.0.0-rc.6.tgz" "--access" "public" "--loglevel" "silly" "--tag" "next" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2024-09-27T21_11_09_998Z-
npm verbose logfile /home/runner/.npm/_logs/2024-09-27T21_11_09_998Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.0.0-rc.6.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦 @tauri-apps/api@2.0.0-rc.6
npm notice Tarball Contents
npm notice 78.8kB 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 8.8kB core.cjs
npm notice 5.4kB core.d.ts
npm notice 8.5kB core.js
npm notice 3.2kB dpi.cjs
npm notice 2.7kB dpi.d.ts
npm notice 3.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 817B index.d.ts
npm notice 669B index.js
npm notice 1.1kB menu.cjs
npm notice 451B menu.d.ts
npm notice 703B menu.js
npm notice 2.6kB menu/base.cjs
npm notice 471B menu/base.d.ts
npm notice 2.5kB 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 5.9kB menu/iconMenuItem.d.ts
npm notice 7.3kB menu/iconMenuItem.js
npm notice 6.3kB menu/menu.cjs
npm notice 4.2kB menu/menu.d.ts
npm notice 6.1kB 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 7.0kB menu/submenu.cjs
npm notice 4.3kB menu/submenu.d.ts
npm notice 6.8kB menu/submenu.js
npm notice 6.6kB mocks.cjs
npm notice 3.9kB mocks.d.ts
npm notice 6.5kB 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.0kB tray.cjs
npm notice 7.2kB tray.d.ts
npm notice 5.9kB tray.js
npm notice 19.0kB webview.cjs
npm notice 15.6kB webview.d.ts
npm notice 18.9kB webview.js
npm notice 7.6kB webviewWindow.cjs
npm notice 4.3kB webviewWindow.d.ts
npm notice 7.4kB webviewWindow.js
npm notice 63.3kB window.cjs
npm notice 53.9kB window.d.ts
npm notice 62.5kB window.js
npm notice Tarball Details
npm notice name: @tauri-apps/api
npm notice version: 2.0.0-rc.6
npm notice filename: tauri-apps-api-2.0.0-rc.6.tgz
npm notice package size: 111.0 kB
npm notice unpacked size: 585.8 kB
npm notice shasum: 586e8dc1aeeb3b676e19b5e56b23a20bee676f15
npm notice integrity: sha512-oENxL0C5WqHNS[...]/k8nPpJq4OQYA==
npm notice total files: 67
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag next 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=134769534
npm http fetch PUT 200 https://registry.npmjs.org/@tauri-apps%2fapi 2183ms
+ @tauri-apps/api@2.0.0-rc.6
npm verbose cwd /tmp/37f4df4ee91e271fde52484dc1747efd
npm verbose os Linux 6.8.0-1014-azure
npm verbose node v20.17.0
npm verbose npm v10.8.2
npm verbose exit 0
npm info ok