near / create-near-app

Create a starter app hooked up to the NEAR blockchain
https://near-examples.github.io/hello-near-examples/
MIT License
353 stars 157 forks source link

[Snyk] Upgrade mixpanel from 0.17.0 to 0.18.0 #2121

Closed Ekleog-NEAR closed 10 months ago

Ekleog-NEAR commented 10 months ago

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.

:information_source: 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 **3 months 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.

      </li>
      <li>
        <b>0.17.0</b> - <a href="https://snyk.io/redirect/github/mixpanel/mixpanel-node/releases/tag/v0.17.0">2022-08-11</a></br><p>As of this release, <code>time</code> properties set as Date objects will be sent to the Mixpanel API with millisecond precision (instead of being rounded to the second).</p>
      </li>
    </ul>
    from <a href="https://snyk.io/redirect/github/mixpanel/mixpanel-node/releases">mixpanel GitHub release notes</a>

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

Ekleog-NEAR commented 10 months ago

WTH snyk? I’ll just kill its access to my account, this was supposed to no longer happen.

gagdiez commented 10 months ago

🤷