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

[Snyk] Upgrade mixpanel from 0.17.0 to 0.18.0 #264

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

ludeknovy
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mixpanel from 0.17.0 to 0.18.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-09-12.
Release notes
Package name: mixpanel
  • 0.18.0 - 2023-09-12

    The library can now be initialized with a logger option to provide custom logging instead of the default console logging:

    const bunyan = require(`bunyan`);
    const mixpanel = Mixpanel.init(`<YOUR_TOKEN>`, {debug: true, logger: bunyan});

    Any logger which implements the interface at https://github.com/mixpanel/mixpanel-node/blob/7f334f1d3f07e1c7783887b8090211614a26d5bc/lib/mixpanel-node.d.ts#L9-L15 will work:

    export interface CustomLogger {
      trace(message?: any, ...optionalParams: any[]): void;
      debug(message?: any, ...optionalParams: any[]): void;
      info(message?: any, ...optionalParams: any[]): void;
      warn(message?: any, ...optionalParams: any[]): void;
      error(message?: any, ...optionalParams: any[]): void;
    }

    Support has also been dropped for the long-deprecated Mixpanel.Client() initializer.

  • 0.17.0 - 2022-08-11

    As of this release, time properties set as Date objects will be sent to the Mixpanel API with millisecond precision (instead of being rounded to the second).

from mixpanel GitHub release notes
Commit messages
Package name: mixpanel
  • d304d85 npm pkg fix
  • 7f334f1 0.18.0
  • 4d46126 changelog for 0.18.0
  • dbbeb1e Merge remote-tracking branch 'iatsiuk/master' into rc-0.18.0
  • f8e7f74 add tests for custom logger
  • 8b7f570 Apply suggestions from code review
  • f36b1d6 finally remove long-deprecated 'Client' initializer
  • 600d6ab add custom logger support

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #264 (bfb2866) into master (b9b2b3d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #264   +/-   ##
=======================================
  Coverage   51.04%   51.04%           
=======================================
  Files          85       85           
  Lines        1432     1432           
  Branches      126      126           
=======================================
  Hits          731      731           
  Misses        686      686           
  Partials       15       15           
Flag Coverage Δ
unittests 51.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ludeknovy ludeknovy merged commit 7e015ab into master Oct 4, 2023
5 checks passed
@ludeknovy ludeknovy deleted the snyk-upgrade-142408e38b74a7ec0d9dc043768e46fc branch October 4, 2023 06:30
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