Commit graph

838 commits

Author SHA1 Message Date
Filip Skokan
5fb1566807
chore(release): 4.1.2 2021-10-25 20:12:05 +02:00
Filip Skokan
2f4526a22b
fix(build): ensure cjs/esm specific packages have the right main entry 2021-10-25 20:10:25 +02:00
Filip Skokan
27cc2212a1 chore: cleanup after publish 2021-10-21 08:27:27 +00:00
Filip Skokan
ff5668e649
chore(release): 4.1.1 2021-10-21 10:18:41 +02:00
Filip Skokan
7ed731c567
fix(typescript): work around potentially missing global URL from DOM lib
This is a workaround for https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34960

closes #295
2021-10-21 10:16:04 +02:00
Filip Skokan
87cff3da1c chore: cleanup after publish 2021-10-18 12:20:47 +00:00
Filip Skokan
ab25303d8c
chore(release): 4.1.0 2021-10-18 14:06:42 +02:00
Filip Skokan
12aac2150b
chore: upgrade dev deps 2021-10-18 14:04:04 +02:00
Filip Skokan
3b3100a8f1
feat(web): publish umd and bundle files to cdnjs.com 2021-10-18 14:04:04 +02:00
Filip Skokan
e7658db400
refactor: less code 2021-10-17 19:42:41 +02:00
Filip Skokan
180d5abf31
refactor: remove duplicate code 2021-10-17 18:53:42 +02:00
Filip Skokan
5a4ea20fdc
refactor: src/lib/crypto_key.ts 2021-10-17 14:03:59 +02:00
Filip Skokan
2bad5fa5a4 chore: cleanup after publish 2021-10-17 11:10:50 +00:00
Filip Skokan
8ebcf2b11f
chore(release): 4.0.4 2021-10-17 13:04:57 +02:00
Filip Skokan
e8299f246b
fix(web): check Uint8Array CEK lengths, refactor for better tree-shaking 2021-10-17 12:57:22 +02:00
Filip Skokan
244e2f9db7 chore: cleanup after publish 2021-10-16 08:21:22 +00:00
Filip Skokan
a660ce6968
chore(release): 4.0.3 2021-10-16 10:09:46 +02:00
Filip Skokan
89dc2aab99
fix(web): checking cryptokey applicability early 2021-10-15 14:49:34 +02:00
Filip Skokan
4b296f08f5
test: fix conditional calls 2021-10-15 14:35:18 +02:00
Filip Skokan
51cf51f00a
chore: remove unused tool script 2021-10-15 12:40:58 +02:00
Filip Skokan
c825e49c2a chore: cleanup after publish 2021-10-15 07:24:58 +00:00
Filip Skokan
404017465e
chore(release): 4.0.2 2021-10-15 09:14:45 +02:00
Shueh Chou Lu
2b8738e38a
fix(typescript): export ProduceJWT (#285) 2021-10-15 09:08:27 +02:00
Filip Skokan
cd850efac6
refactor(node): createRemoteJWKSet can now be easier mocked
closes #259
2021-10-14 23:19:29 +02:00
Filip Skokan
5d77921e50 chore: cleanup after publish 2021-10-14 17:59:57 +00:00
Filip Skokan
0d62c485a2
chore(release): 4.0.1 2021-10-14 19:51:20 +02:00
Filip Skokan
d68f104d58
fix(typescript): re-export all types from index.d.ts 2021-10-14 19:49:38 +02:00
Filip Skokan
b93548f852 chore: cleanup after publish 2021-10-14 16:44:49 +00:00
Filip Skokan
c9ea9de613
chore(release): 4.0.0 2021-10-14 18:25:37 +02:00
Filip Skokan
6de381213d
chore: update readme, package.json, etc 2021-10-14 14:58:43 +02:00
Filip Skokan
dd2cf9ed2d
refactor: redo exports to support broader tooling
BREAKING CHANGE: All module named exports have moved from subpaths to
just "jose". For example, `import { jwtVerify } from 'jose/jwt/verify'`
is now just `import { jwtVerify } from 'jose'`.

BREAKING CHANGE: All submodule default exports and named have been
removed in favour of just "jose" named exports.
2021-10-14 14:08:05 +02:00
Filip Skokan
3e137d2427
refactor(typescript)!: remove repeated type re-exports 2021-10-14 13:45:06 +02:00
Filip Skokan
a51a9f6770
refactor: remove public API default exports in favour of named ones 2021-10-14 13:45:03 +02:00
Filip Skokan
cd1ccc6936
docs: reoder usage and import examples, update to import from "jose" 2021-10-14 13:44:59 +02:00
Filip Skokan
914e47fc9b
refactor: remove util/random
BREAKING CHANGE: The undocumented `jose/util/random` was removed.
2021-10-14 13:44:53 +02:00
Filip Skokan
5afb713fbb
refactor: rename calculateThumprint to calculateJwkThumbprint
BREAKING CHANGE: The `jose/jwk/thumbprint` named export
is renamed to `calculateJwkThumbprint`, now
`import { calculateJwkThumbprint } from 'jose'`
2021-10-14 13:44:40 +02:00
Filip Skokan
8d3cc3bb46
refactor: removed the deprecated jwk/parse module
BREAKING CHANGE: The deprecated `jose/jwk/parse` module was
removed, use `import { importJWK } from 'jose'` instead.
2021-10-14 13:44:33 +02:00
Filip Skokan
ec1d0e72fe
refactor: removed the deprecated jwk/from_key_like module
BREAKING CHANGE: The deprecated `jose/jwk/from_key_like` module was
removed, use `import { exportJWK } from 'jose'` instead.
2021-10-14 13:44:26 +02:00
Filip Skokan
0237115b1a chore: cleanup after publish 2021-10-14 10:46:00 +00:00
Filip Skokan
c4a91e11b4
chore(release): 3.20.3 2021-10-14 12:24:49 +02:00
Filip Skokan
73ba3708d4
fix: remove clutter when tree shaking browser dist 2021-10-14 12:21:02 +02:00
Filip Skokan
373e0e4b22
fix(typescript): JWTExpired error TS2417 2021-10-14 12:13:38 +02:00
Filip Skokan
4f7f8a8f24
docs: hide path from the doc headers 2021-10-14 12:06:19 +02:00
Filip Skokan
64197f0e84 chore: cleanup after publish 2021-10-13 11:54:03 +00:00
Filip Skokan
6f23d462b2
chore(release): 3.20.2 2021-10-13 13:37:15 +02:00
Filip Skokan
08243010d9
fix: allow tree-shaking of errors 2021-10-13 13:35:22 +02:00
Filip Skokan
60d370d8ef
build: mark the package as side-effect-free 2021-10-13 11:01:02 +02:00
Filip Skokan
9932bb6828
chore: remove a bunch of ignores for deno's sake 2021-10-13 10:53:03 +02:00
Filip Skokan
d304baa433
test: firefox 93 now supports PKCS8? 2021-10-11 21:02:28 +02:00
Filip Skokan
d76bc2ce24
refactor: src/runtime/node/random.ts 2021-10-11 18:55:10 +02:00