-
Notifications
You must be signed in to change notification settings - Fork 552
bump openapigen commit and mocha to get native javascript url wrappers #964
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
bump openapigen commit and mocha to get native javascript url wrappers #964
Conversation
looks like theres'a tslint v prettier issue atm, i'm investigating |
@davidgamero this change lgtm once you sort out the linting. |
ended up having to make the mocha jump from v5 to v10 to get the critical CVEs out, but it was just some config changes and some small interface tightening :) |
ah yes, codeql thinks i both fixes and reintroduced the same certificate validation vuln in |
@brendandburns idk how to exclude the test file/mark that this isn't a new issue for CodeQL, but we are good to merge now- linting and testing is all passing |
src/config_test.ts
Outdated
@@ -265,24 +265,24 @@ describe('KubeConfig', () => { | |||
const rc = new RequestContext(testServerName1, HttpMethod.GET); | |||
await kc.applySecurityAuthentication(rc); | |||
await kc.applytoHTTPSOptions(opts); | |||
const expectedCA = Buffer.from('CADATA2', 'utf-8') | |||
const expectedCA = Buffer.from('CADATA2', 'utf-8'); | |||
const expectedAgent = new https.Agent({ | |||
ca: expectedCA, | |||
cert: undefined, | |||
key: undefined, | |||
passphrase: undefined, | |||
pfx: undefined, | |||
rejectUnauthorized: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't an actual new vulnerability, codeql is triggering on a test that simulates password auth which has rejectUnauthorized: false
i believe this is good to go now @brendandburns |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: davidgamero The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
get our URL parsing to use the native URL instead of a deprecated dependency we inherited from OpenAPIGen
OpenAPITools/openapi-generator#14319
also remove the last of our shims 'models/IntOrString' residual file that isn't needed since the import mapping works now!