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

Update axios dependency #115

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Update axios dependency #115

merged 1 commit into from
Apr 18, 2024

Conversation

stefansundin
Copy link
Contributor

Fixes #111.

Even if #112 is eventually ready to merge, I would prefer if this minor upgrade was released first so that users on older nodejs versions can benefit.

$ npm run test

> [email protected] test
> mocha --require esm tests/unit



  JobsResource
    all()
      ✓ should fetch all jobs
    get()
      ✓ should fetch a job by id
    create()
      ✓ should send the create request
    delete()
      ✓ should send the delete request
    getExportUrls()
      ✓ should extract the export URLs

  SignedUrlResource
    create()
      ✓ should create a signed URL

  TasksResource
    all()
      ✓ should fetch all tasks
    get()
      ✓ should fetch a task by id
    create()
      ✓ should send the create request
    delete()
      ✓ should send the delete request
    upload()
      ✓ should send the upload request

  UsersResource
    me()
      ✓ should fetch the current user

  WebhooksResource
    verify()
      ✓ should verify the payload


  13 passing (63ms)


$ npm run test-integration

> [email protected] test-integration
> mocha --require esm tests/integration



  JobsResource
    create()
      ✓ test upload and download files (5180ms)
    subscribeEvent()
      ✓ test listening for finished event (3215ms)

  TasksResource
    upload()
      ✓ uploads input.png (3352ms)

  UsersResource
    me()
{
  id: 37116784,
  username: 'CloudConvert-OpenSource',
  email: '[email protected]',
  created_at: '2019-05-28T18:22:10+00:00',
  credits: 1000,
  paying: false,
  task_region: null,
  links: { self: 'https://api.sandbox.cloudconvert.com/v2/users/37116784' }
}
      ✓ should fetch the current user (526ms)


  4 passing (12s)

@josiasmontag josiasmontag merged commit afcb770 into cloudconvert:master Apr 18, 2024
3 checks passed
@josiasmontag
Copy link
Contributor

Thanks.

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.

Moderate Severity: Axios CSRF Vulnerability in Versions 0.8.1 to 1.5.1
2 participants