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

replaces jsonpath-plus module #1547

Merged
merged 4 commits into from
Oct 17, 2024
Merged

Conversation

jaredperreault-okta
Copy link
Contributor

resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed"
integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==

ansi-regex@^3.0.1, ansi-regex@^6.0.1:
Copy link
Contributor

Choose a reason for hiding this comment

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

I was expecting to see jsonpath-plus removed in this diff but it isn't

Copy link
Contributor Author

Choose a reason for hiding this comment

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

jared:auth-js$ yarn why jsonpath-plus
yarn why v1.22.19
[1/4] 🤔  Why do we have the module "jsonpath-plus"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "jsonpath-plus@6.0.1"
info Reasons this module exists
   - "_project_#@okta#samples.express-embedded-sign-in-widget#@okta#okta-signin-widget#@okta#okta-auth-js" depends on it
   - Hoisted from "_project_#@okta#samples.express-embedded-sign-in-widget#@okta#okta-signin-widget#@okta#okta-auth-js#jsonpath-plus"
   - Hoisted from "_project_#@okta#samples.react-embedded-auth-with-sdk#@okta#okta-signin-widget#@okta#okta-auth-js#jsonpath-plus"
   - Hoisted from "_project_#@okta#samples.webpack-spa#@okta#okta-signin-widget#@okta#okta-auth-js#jsonpath-plus"
info Disk size without dependencies: "372KB"
info Disk size with unique dependencies: "372KB"
info Disk size with transitive dependencies: "372KB"
info Number of shared dependencies: 0
✨  Done in 0.56s.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We include samples in the repo

@milanmayr milanmayr mentioned this pull request Oct 16, 2024
Comment on lines 7 to 12
while ((match = jsonpathRegex.exec(path)) !== null) {
const step = match?.groups?.step ?? match?.groups?.index;
if (step) {
steps.push(step);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Formatting is kind of wonky, it's not failing lint?

Copy link
Contributor

@shawyu-okta shawyu-okta left a comment

Choose a reason for hiding this comment

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

just a comment about the indentation/whitespace of the main util file but overall lgtm

@oktapp-aperture-okta oktapp-aperture-okta bot merged commit 710288d into 7.8 Oct 17, 2024
3 checks passed
@oktapp-aperture-okta oktapp-aperture-okta bot deleted the jp-OKTA-819401-jsonpath branch October 17, 2024 00:10
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.

2 participants