
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@isoftdata/svelte-change-password
Advanced tools
This component handles * Initiate password recovery process * Provide fields for current/new password inputs
This component handles
To trigger/show the UI in the component
npm i @isoftdata/svelte-change-password
| Name | Type | Description | Default Value |
|---|---|---|---|
sendPasswordRecoveryEmailMutation | () => Promise<Account> | The function that calls the API to send the password recovery code to an account's recovery email. |
Account Object Type| Name | Type | Description | Default Value |
|---|---|---|---|
userName | string | The username of the user account. | '' |
recoveryEmail | string | The recovery email of the user account. | '' |
dispatch()detail prop.<script lang="ts">
import ChangePassword from '../lib/ChangePassword.svelte'
type Account = {
userName: string
recoveryEmail: string
}
let changePasswordComponent: ChangePassword
function sendRecoveryEmailMutation(userName: string): Promise<Account> {
console.log('Hit API call!', userName)
return Promise.resolve({
userName,
recoveryEmail: '',
})
}
</script>
<div class="container">
<h1>ChangePassword</h1>
<ChangePassword
bind:this={changePasswordComponent}
sendPasswordRecoveryEmailMutation={sendRecoveryEmailMutation}
on:changePassword={e => console.log('changePassword', e.detail)}
/>
<button on:click={() => changePasswordComponent.initiatePasswordRecovery('test', true)}>Initiate Password Recovery</button>
</div>
FAQs
Unknown package
The npm package @isoftdata/svelte-change-password receives a total of 20 weekly downloads. As such, @isoftdata/svelte-change-password popularity was classified as not popular.
We found that @isoftdata/svelte-change-password demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.