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

Add forge.pki.getPublicKeyFingerprint to node-forge #41470

Merged
merged 1 commit into from Jan 8, 2020

Conversation

@pimterry
Copy link
Contributor

pimterry commented Jan 8, 2020

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/digitalbazaar/forge/blob/8753559e3881e4fe7db8bcc1d19003b2f5be7baa/lib/x509.js#L807-L854
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed
@typescript-bot

This comment has been minimized.

Copy link
Contributor

typescript-bot commented Jan 8, 2020

@pimterry Thank you for submitting this PR!

🔔 @westy92 @flynetworks @a-k-g @Rafal2228 @beenotung @joeflateau @Apologiz @timhwang21 @supaiku0 @andersk @saschazar21 @rogierschouten - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@typescript-bot

This comment has been minimized.

Copy link
Contributor

typescript-bot commented Jan 8, 2020

👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings.

Let’s review the numbers, shall we?

Comparison details 📊
master #41470 diff
Batch compilation
Memory usage (MiB) 59.7 60.3 +1.1%
Type count 9052 9067 0%
Assignability cache size 964 968 0%
Language service
Samples taken 836 881 +5%
Identifiers in tests 836 881 +5%
getCompletionsAtPosition
    Mean duration (ms) 339.5 347.6 +2.4%
    Mean CV 9.6% 9.8%
    Worst duration (ms) 470.8 439.8 -6.6%
    Worst identifier privateKey CipherSuites
getQuickInfoAtPosition
    Mean duration (ms) 341.5 350.1 +2.5%
    Mean CV 10.1% 10.3% +2.1%
    Worst duration (ms) 482.8 450.6 -6.7%
    Worst identifier log connected

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

@typescript-bot typescript-bot moved this from Waiting for Reviewers to Check and Merge in Pull Request Status Board Jan 8, 2020
@typescript-bot

This comment has been minimized.

Copy link
Contributor

typescript-bot commented Jan 8, 2020

A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped!

@armanio123 armanio123 merged commit ff2cdfa into DefinitelyTyped:master Jan 8, 2020
3 checks passed
3 checks passed
DefinitelyTyped.BenchmarkPR Build #29847 succeeded
Details
DefinitelyTyped.DefinitelyTyped Build #20200108.35 succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Pull Request Status Board automation moved this from Check and Merge to Done Jan 8, 2020
@typescript-bot

This comment has been minimized.

Copy link
Contributor

typescript-bot commented Jan 8, 2020

I just published @types/node-forge@0.9.1 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.