Skip to content

shell-js v2.2.1

Choose a tag to compare

@github-actions github-actions released this 02 Apr 03:34
8b39aef

[2.2.1]

bug

  • 9cf0390a Apply the default open validation regex ^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+ when the open configuration is not set, preventing unchecked input from being used in this scenario (previously the plugin would skip validation when it should disable all calls). This keeps backwards compatibility while still fixing this vulnerability.
    The scope is no longer validated for Rust calls via ShellExt::shell() so if you need to block JavaScript from calling the API you can simply set tauri.conf.json > plugins > shell > open to false.

PNPM Publish

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦  @tauri-apps/plugin-shell@2.2.1
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 3.0kB README.md
npm notice 15.4kB dist-js/index.cjs
npm notice 10.1kB dist-js/index.d.ts
npm notice 15.3kB dist-js/index.js
npm notice 11B dist-js/init.d.ts
npm notice 655B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-shell
npm notice version: 2.2.1
npm notice filename: tauri-apps-plugin-shell-2.2.1.tgz
npm notice package size: 6.8 kB
npm notice unpacked size: 45.4 kB
npm notice shasum: 586ab725ef622ba65a946bff1a3e166cee181903
npm notice integrity: sha512-G1GFYyWe/KlCs[...]t3enhv5l2/yhA==
npm notice total files: 7
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=191325845
+ @tauri-apps/plugin-shell@2.2.1