Detalhes do pacote

saslprep

reklatsmasters4.3mMIT1.0.3

SASLprep: Stringprep Profile for User Names and Passwords, rfc4013.

sasl, saslprep, stringprep, rfc4013

readme (leia-me)

saslprep

Build Status npm node license downloads

Stringprep Profile for User Names and Passwords, rfc4013

Usage

const saslprep = require('saslprep')

saslprep('password\u00AD') // password
saslprep('password\u0007') // Error: prohibited character

API

saslprep(input: String, opts: Options): String

Normalize user name or password.

Options.allowUnassigned: bool

A special behavior for unassigned code points, see https://tools.ietf.org/html/rfc4013#section-2.5. Disabled by default.

License

MIT, 2017-2019 (c) Dmitriy Tsvettsikh

changelog (log de mudanças)

Change Log

All notable changes to the "saslprep" package will be documented in this file.

[1.0.3] - 2019-05-01

  • Correctly get code points >U+FFFF (#5)
  • Fix perfomance downgrades from #5.

[1.0.2] - 2018-09-13

  • Reduced initialization time (#3)

[1.0.1] - 2018-06-20

  • Reduced stack overhead of range creation (#2)

[1.0.0] - 2017-06-21

  • First release