Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate tauri-build to v2 #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2024

This PR contains the following updates:

Package Type Update Change
tauri-build (source) build-dependencies major 1.5.0 -> 2.0.0

Release Notes

tauri-apps/tauri (tauri-build)

v2.0.2: @​tauri-apps/cli v2.0.2

Compare Source

[2.0.2]

What's Changed
Dependencies

v2.0.1: @​tauri-apps/api v2.0.1

Compare Source

PNPM Audit

No known vulnerabilities found

[2.0.1]

What's Changed

PNPM Publish

> @​tauri-apps/[email protected] 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/[email protected] 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.2s�[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 [email protected]
npm info using [email protected]
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/2af5b6ffa8c33ac44d877a95773412f3/.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.1.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.0.1.tgz" "--access" "public" "--loglevel" "silly" "--tag" "next" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2024-10-02T14_13_16_995Z-
npm verbose logfile /home/runner/.npm/_logs/2024-10-02T14_13_16_995Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.0.1.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦  @​tauri-apps/[email protected]
npm notice Tarball Contents
npm notice 79.2kB 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.1
npm notice filename: tauri-apps-api-2.0.1.tgz
npm notice package size: 111.1 kB
npm notice unpacked size: 586.3 kB
npm notice shasum: dc49d899fb873b96ee1d46a171384625ba5ad404
npm notice integrity: sha512-eoQWT+Tq1qSwQ[...]ecY0+1p0Rfqlw==
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=136147635
npm http fetch PUT 200 https://registry.npmjs.org/@​tauri-apps%2fapi 2492ms
+ @​tauri-apps/[email protected]
npm verbose cwd /tmp/2af5b6ffa8c33ac44d877a95773412f3
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

v2.0.0: @​tauri-apps/api v2.0.0

Compare Source

PNPM Audit

No known vulnerabilities found

[2.0.0]

What's Changed

PNPM Publish

> @​tauri-apps/[email protected] 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/[email protected] 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.2s�[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 [email protected]
npm info using [email protected]
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/93f58477456047c3109869eb15113a24/.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.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.0.0.tgz" "--access" "public" "--loglevel" "silly" "--tag" "next" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2024-10-02T13_12_53_221Z-
npm verbose logfile /home/runner/.npm/_logs/2024-10-02T13_12_53_221Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.0.0.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦  @​tauri-apps/[email protected]
npm notice Tarball Contents
npm notice 78.9kB 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
npm notice filename: tauri-apps-api-2.0.0.tgz
npm notice package size: 111.1 kB
npm notice unpacked size: 586.0 kB
npm notice shasum: a75768a578958210827aca752c804118a6a76f11
npm notice integrity: sha512-moKgCp2EX7X5G[...]AEN1OkRXeug0Q==
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=136128297
npm http fetch PUT 200 https://registry.npmjs.org/@​tauri-apps%2fapi 2347ms
+ @​tauri-apps/[email protected]
npm verbose cwd /tmp/93f58477456047c3109869eb15113a24
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

v1.5.5: @​tauri-apps/api v1.5.5

Compare Source

Yarn Audit

yarn audit v1.22.22
info No lockfile found.
0 vulnerabilities found - Packages audited: 146
Done in 1.84s.

[1.5.5]

Enhancements
  • 7f885bd5e(#​9706) Enhance the speed of The JS Command.execute API from shell module.
Bug Fixes
  • 7f885bd5e(#​9706) Fix The JS Command.execute API from shell module including extra new lines.

Yarn Publish

yarn run v1.22.22
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly
$ rollup -c --configPlugin typescript
�[36m
�[1m./src/app.ts, ./src/cli.ts, ./src/clipboard.ts, ./src/dialog.ts, ./src/event.ts, ./src/fs.ts, ./src/globalShortcut.ts, ./src/http.ts, ./src/index.ts, ./src/mocks.ts, ./src/notification.ts, ./src/os.ts, ./src/path.ts, ./src/process.ts, ./src/shell.ts, ./src/tauri.ts, ./src/updater.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../../core/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../core/tauri/scripts/bundle.global.js�[22m in �[1m1.6s�[22m�[39m
[1/4] Bumping version...
info Current version: 1.5.5
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 8.46s.

v1.5.4: @​tauri-apps/api v1.5.4

Compare Source

Yarn Audit

yarn audit v1.22.22
info No lockfile found.
0 vulnerabilities found - Packages audited: 148
Done in 1.53s.

[1.5.4]

Bug Fixes
  • e3b6d38d2(#​9166) Fix basename(path, 'ext') JS API when removing all occurances of ext where it should only remove the last one.
  • 705da977a(#​9529) Do not use JS optional chaining to prevent script errors on older webviews such as macOS 10.14.

Yarn Publish

yarn run v1.22.22
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly
$ rollup -c --configPlugin typescript
�[36m
�[1m./src/app.ts, ./src/cli.ts, ./src/clipboard.ts, ./src/dialog.ts, ./src/event.ts, ./src/fs.ts, ./src/globalShortcut.ts, ./src/http.ts, ./src/index.ts, ./src/mocks.ts, ./src/notification.ts, ./src/os.ts, ./src/path.ts, ./src/process.ts, ./src/shell.ts, ./src/tauri.ts, ./src/updater.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m
�[32mcreated �[1m./dist, ./dist�[22m in �[1m1.6s�[22m�[39m
�[36m
�[1msrc/index.ts�[22m → �[1m../../core/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../core/tauri/scripts/bundle.global.js�[22m in �[1m1.8s�[22m�[39m
[1/4] Bumping version...
info Current version: 1.5.4
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 9.52s.

v1.5.3: tauri-build v1.5.3

Compare Source

Cargo Audit

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 630 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (590 crate dependencies)
Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
Dependency tree:
atty 0.2.14
└── clap 3.2.25
    └── tauri 1.7.0
        ├── tauri 1.7.0
        ├── restart 0.1.0
        └── app-updater 0.1.0

warning: 1 allowed warning found

[1.5.3]

Dependencies

Cargo Publish

Updating crates.io index
   Packaging tauri-build v1.5.3 (/home/runner/work/tauri/tauri/core/tauri-build)
   Verifying tauri-build v1.5.3 (/home/runner/work/tauri/tauri/core/tauri-build)
    Updating crates.io index
 Downloading crates ...
  Downloaded tauri-winres v0.1.1
  Downloaded embed-resource v2.4.2
  Downloaded cargo_toml v0.15.3
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.155
   Compiling siphasher v0.3.11
   Compiling ppv-lite86 v0.2.17
   Compiling serde v1.0.203
   Compiling getrandom v0.1.16
   Compiling syn v1.0.109
   Compiling autocfg v1.3.0
   Compiling quote v1.0.36
   Compiling syn v2.0.68
   Compiling getrandom v0.2.15
   Compiling rand_core v0.6.4
   Compiling rand_core v0.5.1
   Compiling rand_chacha v0.3.1
   Compiling rand_chacha v0.2.2
   Compiling rand v0.8.5
   Compiling rand_pcg v0.2.1
   Compiling phf_shared v0.10.0
   Compiling rand v0.7.3
   Compiling phf_shared v0.8.0
   Compiling phf_generator v0.8.0
   Compiling smallvec v1.13.2
   Compiling phf_generator v0.10.0
   Compiling lock_api v0.4.12
   Compiling hashbrown v0.14.5
   Compiling fnv v1.0.7
   Compiling parking_lot_core v0.9.10
   Compiling proc-macro-hack v0.5.20+deprecated
   Compiling equivalent v1.0.1
   Compiling indexmap v2.2.6
   Compiling new_debug_unreachable v1.0.6
   Compiling scopeguard v1.2.0
   Compiling phf_codegen v0.10.0
   Compiling string_cache_codegen v0.5.2
   Compiling semver v1.0.23
   Compiling mac v0.1.1
   Compiling ident_case v1.0.1
   Compiling byteorder v1.5.0
   Compiling strsim v0.11.1
   Compiling precomputed-hash v0.1.1
   Compiling darling_core v0.20.9
   Compiling futf v0.1.5
   Compiling markup5ever v0.11.0
   Compiling serde_derive v1.0.203
   Compiling parking_lot v0.12.3
   Compiling phf_codegen v0.8.0
   Compiling once_cell v1.19.0
   Compiling tinyvec_macros v0.1.1
   Compiling log v0.4.22
   Compiling phf_macros v0.8.0
   Compiling cssparser v0.27.2
   Compiling dtoa v1.0.9
   Compiling utf-8 v0.7.6
   Compiling tendril v0.4.3
   Compiling darling_macro v0.20.9
   Compiling dtoa-short v0.3.5
   Compiling phf v0.8.0
   Compiling html5ever v0.26.0
   Compiling tinyvec v1.6.1
   Compiling selectors v0.22.0
   Compiling cssparser-macros v0.6.1
   Compiling phf v0.10.1
   Compiling indexmap v1.9.3
   Compiling phf_shared v0.11.2
   Compiling winnow v0.5.40
   Compiling stable_deref_trait v1.2.0
   Compiling thiserror v1.0.61
   Compiling serde_json v1.0.120
   Compiling itoa v0.4.8
   Compiling nodrop v0.1.14
   Compiling convert_case v0.4.0
   Compiling matches v0.1.10
   Compiling winnow v0.6.13
   Compiling derive_more v0.99.18
   Compiling toml_datetime v0.6.6
   Compiling serde_spanned v0.6.6
   Compiling string_cache v0.8.7
   Compiling toml_edit v0.19.15
   Compiling toml_edit v0.22.14
   Compiling servo_arc v0.1.1
   Compiling phf_generator v0.11.2
   Compiling unicode-normalization v0.1.23
   Compiling darling v0.20.9
   Compiling thiserror-impl v1.0.61
   Compiling fxhash v0.2.1
   Compiling unicode-bidi v0.3.15
   Compiling hashbrown v0.12.3
   Compiling ryu v1.0.18
   Compiling uuid v1.9.1
   Compiling memchr v2.7.4
   Compiling bitflags v1.3.2
   Compiling percent-encoding v2.3.1
   Compiling thin-slice v0.1.1
   Compiling itoa v1.0.11
   Compiling form_urlencoded v1.2.1
   Compiling cfb v0.7.3
   Compiling idna v0.5.0
   Compiling toml v0.8.14
   Compiling serde_with_macros v3.8.2
   Compiling toml v0.7.8
   Compiling phf_macros v0.11.2
   Compiling rustc_version v0.4.0
   Compiling anyhow v1.0.86
   Compiling cc v1.0.104
   Compiling same-file v1.0.6
   Compiling walkdir v2.5.0
   Compiling serde_with v3.8.2
   Compiling phf v0.11.2
   Compiling kuchikiki v0.8.2
   Compiling url v2.5.2
   Compiling embed-resource v2.4.2
   Compiling json-patch v1.4.0
   Compiling infer v0.13.0
   Compiling ctor v0.2.8
   Compiling dirs-sys-next v0.1.2
   Compiling dunce v1.0.4
   Compiling heck v0.5.0
   Compiling glob v0.3.1
   Compiling dirs-next v2.0.0
   Compiling tauri-winres v0.1.1
   Compiling cargo_toml v0.15.3
   Compiling tauri-utils v1.6.0
   Compiling tauri-build v1.5.3 (/home/runner/work/tauri/tauri/target/package/tauri-build-1.5.3)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.49s
    Packaged 12 files, 50.5KiB (16.0KiB compressed)
   Uploading tauri-build v1.5.3 (/home/runner/work/tauri/tauri/core/tauri-build)
    Uploaded tauri-build v1.5.3 to registry `crates-io`
note: waiting for `tauri-build v1.5.3` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published tauri-build v1.5.3 at registry `crates-io`

v1.5.2: @​tauri-apps/api v1.5.2

Compare Source

Yarn Audit

yarn audit v1.22.21
info No lockfile found.
0 vulnerabilities found - Packages audited: 148
Done in 2.28s.

[1.5.2]

Bug Fixes
  • 50462702(#​8267) Add top-level main, module and types fields in package.json to be compliant with typescripts's "moduleResolution": "node"
  • 14544e4b(#​8219) Avoid crashing in clearMocks

Yarn Publish

yarn run v1.22.21
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag next
$ rollup -c --configPlugin typescript
�[36m
�[1m./src/app.ts, ./src/cli.ts, ./src/clipboard.ts, ./src/dialog.ts, ./src/event.ts, ./src/fs.ts, ./src/globalShortcut.ts, ./src/http.ts, ./src/index.ts, ./src/mocks.ts, ./src/notification.ts, ./src/os.ts, ./src/path.ts, ./src/process.ts, ./src/shell.ts, ./src/tauri.ts, ./src/updater.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m
�[32mcreated �[1m./dist, ./dist�[22m in �[1m1.6s�[22m�[39m
�[36m
�[1msrc/index.ts�[22m → �[1m../../core/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../core/tauri/scripts/bundle.global.js�[22m in �[1m1.8s�[22m�[39m
[1/4] Bumping version...
info Current version: 1.5.2
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 8.45s.

v1.5.1: tauri-build v1.5.1

Compare Source

Updating crates.io index

Cargo Audit

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 582 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (558 crate dependencies)
Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
Dependency tree:
atty 0.2.14
└── clap 3.2.25
    └── tauri 1.5.4
        ├── tauri 1.5.4
        ├── restart 0.1.0
        └── app-updater 0.1.0

warning: 1 allowed warning found

[1.5.1]

Dependencies

Cargo Publish

Updating crates.io index
   Packaging tauri-build v1.5.1 (/home/runner/work/tauri/tauri/core/tauri-build)
   Verifying tauri-build v1.5.1 (/home/runner/work/tauri/tauri/core/tauri-build)
    Updating crates.io index
 Downloading crates ...
  Downloaded embed-resource v2.4.0
  Downloaded cargo_toml v0.15.3
  Downloaded tauri-winres v0.1.1
   Compiling proc-macro2 v1.0.70
   Compiling unicode-ident v1.0.12
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.151
   Compiling siphasher v0.3.11
   Compiling ppv-lite86 v0.2.17
   Compiling serde v1.0.193
   Compiling getrandom v0.1.16
   Compiling syn v1.0.109
   Compiling quote v1.0.33
   Compiling syn v2.0.41
   Compiling getrandom v0.2.11
   Compiling rand_core v0.6.4
   Compiling rand_core v0.5.1
   Compiling rand_chacha v0.3.1
   Compiling rand v0.8.5
   Compiling autocfg v1.1.0
   Compiling rand_chacha v0.2.2
   Compiling rand_pcg v0.2.1
   Compiling phf_shared v0.10.0
   Compiling rand v0.7.3
   Compiling phf_shared v0.8.0
   Compiling smallvec v1.11.2
   Compiling phf_generator v0.10.0
   Compiling lock_api v0.4.11
   Compiling hashbrown v0.14.3
   Compiling phf_generator v0.8.0
   Compiling equivalent v1.0.1
   Compiling fnv v1.0.7
   Compiling proc-macro-hack v0.5.20+deprecated
   Compiling parking_lot_core v0.9.9
   Compiling indexmap v2.1.0
   Compiling new_debug_unreachable v1.0.4
   Compiling scopeguard v1.2.0
   Compiling winnow v0.5.30
   Compiling string_cache_codegen v0.5.2
   Compiling phf_codegen v0.10.0
   Compiling precomputed-hash v0.1.1
   Compiling strsim v0.10.0
   Compiling ident_case v1.0.1
   Compiling semver v1.0.20
   Compiling serde_derive v1.0.193
   Compiling mac v0.1.1
   Compiling byteorder v1.5.0
   Compiling futf v0.1.5
   Compiling darling_core v0.20.3
   Compiling markup5ever v0.11.0
   Compiling cssparser v0.27.2
   Compiling phf_macros v0.8.0
   Compiling parking_lot v0.12.1
   Compiling phf_codegen v0.8.0
   Compiling log v0.4.20
   Compiling dtoa v1.0.9
   Compiling utf-8 v0.7.6
   Compiling once_cell v1.19.0
   Compiling tinyvec_macros v0.1.1
   Compiling serde_json v1.0.108
   Compiling tinyvec v1.6.0
   Compiling tendril v0.4.3
   Compiling darling_macro v0.20.3
   Compiling dtoa-short v0.3.4
   Compiling selectors v0.22.0
   Compiling phf v0.8.0
   Compiling html5ever v0.26.0
   Compiling cssparser-macros v0.6.1
   Compiling phf v0.10.1
   Compiling indexmap v1.9.3
   Compiling phf_shared v0.11.2
   Compiling matches v0.1.10
   Compiling ryu v1.0.16
   Compiling thiserror v1.0.51
   Compiling stable_deref_trait v1.2.0
   Compiling convert_case v0.4.0
   Compiling nodrop v0.1.14
   Compiling itoa v0.4.8
   Compiling itoa v1.0.10
   Compiling derive_more v0.99.17
   Compiling servo_arc v0.1.1
   Compiling phf_generator v0.11.2
   Compiling darling v0.20.3
   Compiling unicode-normalization v0.1.22
   Compiling toml_datetime v0.6.5
   Compiling serde_spanned v0.6.5
   Compiling string_cache v0.8.7
   Compiling toml_edit v0.21.0
   Compiling toml_edit v0.19.15
   Compiling fxhash v0.2.1
   Compiling thiserror-impl v1.0.51
   Compiling percent-encoding v2.3.1
   Compiling thin-slice v0.1.1
   Compiling unicode-bidi v0.3.14
   Compiling bitflags v1.3.2
   Compiling uuid v1.6.1
   Compiling hashbrown v0.12.3
   Compiling cfb v0.7.3
   Compiling idna v0.5.0
   Compiling form_urlencoded v1.2.1
   Compiling treediff v4.0.2
   Compiling toml v0.7.8
   Compiling toml v0.8.8
   Compiling serde_with_macros v3.4.0
   Compiling phf_macros v0.11.2
   Compiling rustc_version v0.4.0
   Compiling cc v1.0.83
   Compiling same-file v1.0.6
   Compiling anyhow v1.0.75
   Compiling phf v0.11.2
   Compiling embed-resource v2.4.0
   Compiling walkdir v2.4.0
   Compiling serde_with v3.4.0
   Compiling kuchikiki v0.8.2
   Compiling url v2.5.0
   Compiling json-patch v1.2.0
   Compiling infer v0.13.0
   Compiling ctor v0.2.6
   Compiling dirs-sys-next v0.1.2
   Compiling memchr v2.6.4
   Compiling heck v0.4.1
   Compiling glob v0.3.1
   Compiling dunce v1.0.4
   Compiling dirs-next v2.0.0
   Compiling tauri-utils v1.5.2
   Compiling tauri-winres v0.1.1
   Compiling cargo_toml v0.15.3
   Compiling tauri-build v1.5.1 (/home/runner/work/tauri/tauri/target/package/tauri-build-1.5.1)
    Finished dev [unoptimized + debuginfo] target(s) in 30.23s
    Packaged 12 files, 50.5KiB (16.0KiB compressed)
   Uploading tauri-build v1.5.1 (/home/runner/work/tauri/tauri/core/tauri-build)
    Uploaded tauri-build v1.5.1 to registry `crates-io`
note: Waiting for `tauri-build v1.5.1` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published tauri-build v1.5.1 at registry `crates-io`

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants