Skip to content

Fix MakeDirectoryOptions for node 12#43352

Merged
uniqueiniquity merged 3 commits into
DefinitelyTyped:masterfrom
simhnna:patch-1
Mar 30, 2020
Merged

Fix MakeDirectoryOptions for node 12#43352
uniqueiniquity merged 3 commits into
DefinitelyTyped:masterfrom
simhnna:patch-1

Conversation

@simhnna
Copy link
Copy Markdown
Contributor

@simhnna simhnna commented Mar 24, 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).

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: https://nodejs.org/docs/latest-v12.x/api/fs.html#fs_fs_mkdir_path_options_callback
  • 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 typescript-bot added Where is Travis? Popular package This PR affects a popular package (as counted by NPM download counts). labels Mar 24, 2020
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 24, 2020

@simhnna Thank you for submitting this PR!

🔔 @microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @BrunoScheufler @smac89 @tellnes @Touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias @ExE-Boss @Ryan-Willpower @peterblazejewicz @ZaneHannanAU @jeremiergz @ivansieder - 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
Copy link
Copy Markdown
Contributor

@simhnna - It appears Travis did not correctly run on this PR! /cc @RyanCavanaugh to investigate and advise.

Copy link
Copy Markdown
Contributor

@Flarna Flarna left a comment

Choose a reason for hiding this comment

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

Please update also /types/node/fs.d.ts

Copy link
Copy Markdown
Contributor

@ExE-Boss ExE-Boss left a comment

Choose a reason for hiding this comment

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

There should probably be a documentation on the expected string format somewhere.

@simhnna
Copy link
Copy Markdown
Contributor Author

simhnna commented Mar 24, 2020

I found out node 11 types were also wrong. The format isn't documented in the nodejs api docs. It only mentions the default value

@typescript-bot typescript-bot added Revision needed This PR needs code changes before it can be merged. and removed Where is Travis? labels Mar 24, 2020
@typescript-bot
Copy link
Copy Markdown
Contributor

@simhnna One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits or comments. Thank you!

Copy link
Copy Markdown
Contributor

@Flarna Flarna left a comment

Choose a reason for hiding this comment

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

Usually there is no need to adapt EOL versions like node 11 but it's not wrong either.

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. The Travis CI build failed labels Mar 24, 2020
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 24, 2020

@simhnna The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@simhnna
Copy link
Copy Markdown
Contributor Author

simhnna commented Mar 26, 2020

I'm not sure why the tests are failing. It doesn't appear to be anything related to my changes. Anyone got any ideas?

@Flarna
Copy link
Copy Markdown
Contributor

Flarna commented Mar 26, 2020

I think there was some issue because 3.9. Maybe it was fixed meanhwhile. Try to rebase or merge master. This should retrigger CI.

@peterblazejewicz
Copy link
Copy Markdown
Member

Anyone got any ideas?

You should be able to run local npm test now to verify status and push update (or push empty commit) to restart CI:
microsoft/TypeScript#37610

@typescript-bot
Copy link
Copy Markdown
Contributor

@simhnna I haven't seen anything from you in a while and this PR currently has problems that prevent it from being merged. The PR will be closed tomorrow if there aren't new commits to fix the issues.

@typescript-bot
Copy link
Copy Markdown
Contributor

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!

@uniqueiniquity
Copy link
Copy Markdown
Contributor

Congratulations on your first DefinitelyTyped contribution!
Thank you for being a part of the community!

@uniqueiniquity uniqueiniquity merged commit 21c3e41 into DefinitelyTyped:master Mar 30, 2020
@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/node@13.9.6 to npm.

@simhnna simhnna deleted the patch-1 branch June 4, 2020 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Owner Approved A listed owner of this package signed off on the pull request. Popular package This PR affects a popular package (as counted by NPM download counts). Revision needed This PR needs code changes before it can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants