• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

square / js-jose / 140
86%
master: 41%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/karma-6.3.4
DEFAULT BRANCH: master
Ran 15 Sep 2016 08:16PM UTC
Jobs 1
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
140

push

travis-ci

alokmenghrajani
Fix utf-8 handling.

Jose spec mentions that the plaintext should be encoded as utf-8 bytes. Javascript by
default uses utf-16, so we need to convert when encrypting/decrypting/signing.

This commit is based on the work by rapropos (see https://github.com/square/js-jose/pull/42).
I prefer to minimize the code size by re-using existing string manipulation functions.

13 of 13 new or added lines in 1 file covered. (100.0%)

530 of 614 relevant lines covered (86.32%)

52.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 140.1 15 Sep 2016 08:16PM UTC 0
86.32
Travis Job 140.1
Source Files on build 140
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #140
  • d38dd433 on github
  • Next Build on alok/unicode (#143)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc