citizenlab
citizenlab copied to clipboard
Bump jwt-decode from 3.1.2 to 4.0.0 in /front
Bumps jwt-decode from 3.1.2 to 4.0.0.
Release notes
Sourced from jwt-decode's releases.
v4.0.0
A new version of the library, including a couple of improvements:
- No longer include a polyfill for atob, as this is supported in all major browsers (and node environments > 14).
- Compile to ES2017, dropping support for anything that does not support ES2017 (which should be very limited according to caniuse)
- Use Node's atob when running on node.
- Drop support for Node 14 and 16, add support for Node 20.
- Add support for package.json's
exportsfield, for better CJS/ESM support- Reorganize build artifacts for better CJS/ESM support (cjs and esm needs to be their own directory with a cjs specific package.json file)
- Drop manual UMD bundle creation in
index.standalone.ts, but rely on rollup instead.- Infer JwtPayload and JwtHeader default types from the
headerargument by using overloads.Even though some users might experience breaking changes, mostly because of the
exportsfield, the majority should be able to update without making any changes, assuming the SDK is used in environments with support foratob.Migration to v4.0.0
The
jwtDecodefunction is now no longer the default export, and is instead provided as a named export. Make sure to update your code in places where you are importing this function:-import jwtDecodefrom "jwt-decode"; +import { jwtDecode } from "jwt-decode";v4.0.0-beta.4
Breaking changes
Fixed
- fix default condition should be the last one #199 (frederikprijck)
v4.0.0-beta.3
Breaking changes
- Drop UMD bundle #193 (frederikprijck)
Changed
- Use modern JavaScript syntax #187 (jonkoops)
- Use ESNext as default module system #188 (jonkoops)
- Avoid using any bundlers but use tsc instead #192 (frederikprijck)
v4.0.0-beta.2
Changed
- Avoid using default exports #175 (frederikprijck)
- Make options optional no default function parameter initializer #179 (cristobal)
Fixed
v4.0.0-beta.1
Fixed
- Ensure build is run on prepack #167 (frederikprijck)
... (truncated)
Changelog
Sourced from jwt-decode's changelog.
Version 4.0.0
A new version of the library, including a couple of improvements:
- No longer include a polyfill for atob, as this is supported in all major browsers (and node environments > 14).
- Compile to ES2017, dropping support for anything that does not support ES2017 (which should be very limited according to caniuse)
- Use Node's atob when running on node.
- Drop support for Node 14 and 16, add support for Node 20.
- Add support for package.json's
exportsfield, for better CJS/ESM support- Reorganize build artifacts for better CJS/ESM support (cjs and esm needs to be their own directory with a cjs specific package.json file)
- Drop manual UMD bundle creation in
index.standalone.ts, but rely on rollup instead.- Infer JwtPayload and JwtHeader default types from the
headerargument by using overloads.Even though some users might experience breaking changes, mostly because of the
exportsfield, the majority should be able to update without making any changes, assuming the SDK is used in environments with support foratob.Migration to v4.0.0
The
jwtDecodefunction is now no longer the default export, and is instead provided as a named export. Make sure to update your code in places where you are importing this function:-import jwtDecode from "jwt-decode"; +import { jwtDecode } from "jwt-decode";Version 4.0.0-beta.4
Breaking changes
Fixed
- fix default condition should be the last one #199 (frederikprijck)
Version 4.0.0-beta.3
Breaking changes
- Drop UMD bundle #193 (frederikprijck)
Changed
- Use modern JavaScript syntax #187 (jonkoops)
- Use ESNext as default module system #188 (jonkoops)
- Avoid using any bundlers but use tsc instead #192 (frederikprijck)
Version 4.0.0-beta.2
... (truncated)
Commits
3b2d105Update CHANGELOG.mdbd50db0Release v4.0.0 (#232)bcfd7daBump actions/checkout from 3 to 4 (#228)6ec1cbaBump concurrently from 8.2.0 to 8.2.2 (#226)807d123Bump@typescript-eslint/eslint-pluginfrom 6.4.1 to 6.9.0 (#229)f68e292Bump eslint-plugin-import from 2.28.1 to 2.29.0 (#230)b2e7489Bump eslint-import-resolver-typescript from 3.6.0 to 3.6.1 (#225)ccb6488Bump lint-staged from 14.0.1 to 15.0.2 (#231)cf3cd4fBump actions/setup-node from 3 to 4 (#227)0ce8017pin babel/core to recent version and bump jest- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by auth0-oss, a new releaser for jwt-decode since your current version.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
| Warnings | |
|---|---|
| :warning: | The PR title contains no Jira issue key (case-sensitive) |
| :warning: | The branch name contains no Jira issue key (case-sensitive) |
| Messages | |
|---|---|
| :book: | Changelog provided 🎉 |
| :book: | |
| :book: |
Generated by :no_entry_sign: dangerJS against 5dcca68f6fbbf42054c15ff69d6acf9377b6cde6