New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/browser-passworder

Package Overview
Dependencies
Maintainers
9
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/browser-passworder - npm Package Versions

6.0.0

Diff

Changelog

Source

[6.0.0]

Changed

  • BREAKING: Increase minimum Node.js version to ^18.18 (#66)
  • Bump @metamask/utils from ^9.0.0 to ^11.0.1 (#67)
metamaskbot
published 5.0.1 •

Changelog

Source

[5.0.1]

Changed

  • Bump @metamask/utils from ^8.2.0 to ^9.0.0 (#63)
metamaskbot
published 5.0.0 •

Changelog

Source

[5.0.0]

Changed

  • BREAKING: Increase minimum Node.js version to 16; recommended to 18 (#52)
  • Use globalThis over global and window (#60)
metamaskbot
published 4.3.0 •

Changelog

Source

[4.3.0]

Added

  • Added isVaultUpdated function to verify if a given vault was encrypted with the target encryption parameters. (#53)
  • Added optional targetDerivationParams argument to updateVault and updateVaultWithDetail. (#55)
    • This argument allows to specify the desired parameters to use
metamaskbot
published 4.2.0 •

Changelog

Source

[4.2.0]

Added

  • Support key derivation options (#49)
    • Added EncryptionKey type to hold a CryptoKey along with its derivation parameters.
    • Added ExportedEncryptionKey type to hold a JsonWebKey along with its derivation parameters.
    • Added Optional keyMetadata property of type KeyDerivationOptions to EncryptionResult.
    • Added Optional opts argument to keyFromPassword to specify algorithm and parameters to be used in the key derivation. Defaults to PBKDF2 with 900.000 iterations.(https://github.com/MetaMask/browser-passworder/pull/49))
    • Added iterations argument to keyFromPassword function.
    • Added optional keyDerivationOptions argument to encrypt and encryptWithDetail to specify algorithm and parameters to be used in the key Defaults to PBKDF2 at 900.000 iterations.
  • Added updateVaultWithDetail function to update existing vault and exported key with a safer encryption method if available (#49)
  • Added updateVault function to update existing vault string with a safer encryption method if available (#49)

Changed

  • Add optional parameters and properties to support custom derivation options (#49)
    • encrypt method accepts both EncryptionKey and CryptoKey types as key argument.
    • encryptWithKey method accepts both EncryptionKey and CryptoKey types as key argument.
    • decrypt method accepts both EncryptionKey and CryptoKey types as key argument.
    • decryptWithKey method accepts both EncryptionKey and CryptoKey types as key argument.
    • importKey method returns a CryptoKey when a JWK string is passed, or an EncryptionKey when an ExportedEncryptionKey string is passed.
    • exportKey method accepts both EncryptionKey and CryptoKey types as key argument, and returns an ExportedEncryptionKey for the former and a JsonWebKey for the latter.
  • Pin TypeScript version to ~4.8.4 (#50)
metamaskbot
published 4.1.0 •

Changelog

Source

[4.1.0]

Changed

  • Export data types (#45)
    • This module now exports the following date types: DetailedEncryptionResult, DetailedDecryptResult, and EncryptionResult
metamaskbot
published 4.0.2 •

Changelog

Source

[4.0.2]

Fixed

  • Restore derived key default exportable to false, provide option to make exportable (#38)
    • keyFromPassword will now default to generating a non-exportable key, just as it had prior to v4.
    • This removes an unintended breaking change from v4
metamaskbot
published 4.0.1 •

Changelog

Source

[4.0.1]

Fixed

  • Fix publishing script (#35)
    • No functional changes from v4.0.0. This just makes it possible to publish to npm again. v4.0.0 was not published.
gudahtt
published 3.0.0 •

Changelog

Source

[3.0.0]

Added

  • Add LICENSE file (#1)
    • Previous versions were listed as being licensed as ISC, but the file was missing.

Changed

  • BREAKING: Rename package from browser-passworder to @metamask/browser-passworder (#14)
  • BREAKING: Set minimum Node.js version to v12 (#9)
  • Convert to TypeScript (#6)
  • Remove browserify-unibabel dependency (#13)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc