Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce dev mode after dropping rollup #195

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Conversation

frederikprijck
Copy link
Member

Description

Reintroduce a basic dev mode to allow to test the SDK in a browser while developing.

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@frederikprijck frederikprijck requested a review from a team as a code owner August 16, 2023 11:29
Comment on lines 4038 to 4039
"node_modules/lite-server": {
"version": "2.6.1",
Copy link

@semgrep-app semgrep-app bot Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: All versions of lite-server are vulnerable to a Denial of Service attack, which an attacker could perform by sending malicious HTTP requests containing control characters that the decodeURI() function is unable to parse.

Fix: There are no safe versions of this library available for upgrade. Library included at jwt-decode/package-lock.json:4038.

Reference(s): GHSA-89w7-5q45-r53w, CVE-2022-25940

Ignore this finding from ssc-fca99209-f4e2-4682-9619-96ca735b9acb.

package.json Outdated Show resolved Hide resolved
@frederikprijck frederikprijck merged commit 714c606 into beta Aug 17, 2023
@frederikprijck frederikprijck deleted the chore/dev-mode branch August 17, 2023 15:05
"prebuild": "rimraf build",
"build": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json && echo '{\"type\": \"commonjs\"}'> build/cjs/package.json",
"build:watch": "tsc -b --watch ./tsconfig.cjs.json ./tsconfig.esm.json && echo '{\"type\": \"commonjs\"}'> build/cjs/package.json",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to note, the last step of this command will never complete, as the TypeScript compiler is running in watch mode.

frederikprijck added a commit that referenced this pull request Oct 27, 2023
Co-authored-by: Jon Koops <[email protected]>
Co-authored-by: Ewan Harris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants