Skip to content

fix(mongodb): missing 'abort' method on GridFSBucketWriteStream - #44391

Merged
typescript-bot merged 1 commit into
DefinitelyTyped:masterfrom
peterblazejewicz:fix/44360
May 4, 2020
Merged

typescript-bot merged 1 commit into
DefinitelyTyped:masterfrom
peterblazejewicz:fix/44360

Conversation

@peterblazejewicz

Copy link
Copy Markdown
Member
  • add missing method from write stream
  • tests amended

https://mongodb.github.io/node-mongodb-native/3.6/api/GridFSBucketWriteStream.html#abort

/cc @alexy4744

Thanks!

fixes #44360

  • 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.)
  • Run npm run lint package-name (or tsc if no tslint.json is present).
  • Provide a URL to documentation or source code which provides context for the suggested changes
  • Include tests for your changes

@typescript-bot typescript-bot added the Popular package This PR affects a popular package (as counted by NPM download counts). label Apr 30, 2020
@typescript-bot

typescript-bot commented Apr 30, 2020 •

Copy link
Copy Markdown
Contributor

@peterblazejewicz Thank you for submitting this PR!

Code Reviews

Because you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Most recent commit is approved by type definition owners or DT maintainers

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 44391,
  "author": "peterblazejewicz",
  "owners": [
    "CaselIT",
    "alanmarcell",
    "dante-101",
    "mcortesi",
    "EnricoPicci",
    "AJCStriker",
    "julien-c",
    "daprahamian",
    "denys-bushulyak",
    "BastienAr",
    "sindbach",
    "geraldinelemeur",
    "various89",
    "angela-1",
    "lirbank",
    "hector7",
    "floric",
    "erikc5000",
    "Manc",
    "jloveridge",
    "ranguna",
    "HosseinAgha",
    "albertossilva",
    "peterblazejewicz",
    "LinusU",
    "taxilian",
    "xamgore",
    "avaly"
  ],
  "dangerLevel": "ScopedAndTested",
  "headCommitAbbrOid": "20d3dc1",
  "headCommitOid": "20d3dc1405eddcea622a35b0e6bc0bb7c880f4e8",
  "mergeIsRequested": true,
  "stalenessInDays": 3,
  "lastCommitDate": "2020-04-30T20:38:27.000Z",
  "lastAuthorCommentDate": "2020-05-04T20:21:56.000Z",
  "reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/44391/files",
  "hasMergeConflict": false,
  "authorIsOwner": true,
  "isFirstContribution": false,
  "popularityLevel": "Popular",
  "anyPackageIsNew": false,
  "packages": [
    "mongodb"
  ],
  "files": [
    {
      "filePath": "types/mongodb/index.d.ts",
      "kind": "definition",
      "package": "mongodb"
    },
    {
      "filePath": "types/mongodb/test/index.ts",
      "kind": "test",
      "package": "mongodb"
    }
  ],
  "hasDismissedReview": false,
  "travisResult": "pass",
  "lastReviewDate": "2020-05-01T08:17:19.000Z",
  "reviewersWithStaleReviews": [],
  "approvalFlags": 2,
  "isChangesRequested": false
}

@typescript-bot

Copy link
Copy Markdown
Contributor

👋 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 #44391 diff
Batch compilation
Memory usage (MiB) 81.5 81.0 -0.5%
Type count 16881 16895 0%
Assignability cache size 6276 6277 0%
Language service
Samples taken 1812 1794 -1%
Identifiers in tests 2154 2171 +1%
getCompletionsAtPosition
    Mean duration (ms) 397.7 400.3 +0.6%
    Mean CV 8.6% 8.6%
    Worst duration (ms) 499.2 507.8 +1.7%
    Worst identifier toArray openUploadStream
getQuickInfoAtPosition
    Mean duration (ms) 398.6 401.4 +0.7%
    Mean CV 8.9% 8.9% -0.4%
    Worst duration (ms) 503.5 502.3 -0.2%
    Worst identifier find numberField

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

@typescript-bot typescript-bot added Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. Author is Owner The author of this PR is a listed owner of the package. labels Apr 30, 2020
@typescript-bot

Copy link
Copy Markdown
Contributor

🔔 @CaselIT @alanmarcell @dante-101 @mcortesi @EnricoPicci @AJCStriker @julien-c @daprahamian @denys-bushulyak @bastienar @sindbach @geraldinelemeur @various89 @angela-1 @lirbank @hector7 @floric @erikc5000 @Manc @jloveridge @Ranguna @HosseinAgha @albertossilva @peterblazejewicz @LinusU @taxilian @xamgore @avaly - 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.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label May 1, 2020
@typescript-bot

Copy link
Copy Markdown
Contributor

@peterblazejewicz Everything looks good here. Great job! I am ready to merge this PR on your behalf.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

@peterblazejewicz

Copy link
Copy Markdown
Member Author

Let's go wild, shall we?
Ready to merge

@LinusU LinusU left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@peterblazejewicz

Copy link
Copy Markdown
Member Author

Ready to merge

@typescript-bot typescript-bot added the Self Merge This PR can now be self-merged by the PR author or an owner label May 4, 2020
@typescript-bot
typescript-bot merged commit a939d5f into DefinitelyTyped:master May 4, 2020
@peterblazejewicz
peterblazejewicz deleted the fix/44360 branch May 4, 2020 20:22
@typescript-bot

Copy link
Copy Markdown
Contributor

I just published @types/[email protected] to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Owner Approved A listed owner of this package signed off on the pull request. Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. Popular package This PR affects a popular package (as counted by NPM download counts). Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[@types/mongodb] Property "abort" does not exist on type GridFSBucketWriteStream

4 participants