Skip to content

[netmask]: Fix regressions in 2.0.0 typings#65824

Merged
typescript-bot merged 3 commits intoDefinitelyTyped:masterfrom
Page-:netmask
Jun 19, 2023
Merged

[netmask]: Fix regressions in 2.0.0 typings#65824
typescript-bot merged 3 commits intoDefinitelyTyped:masterfrom
Page-:netmask

Conversation

@Page-
Copy link
Copy Markdown
Contributor

@Page- Page- commented Jun 19, 2023

Please fill in this template.

If changing an existing definition:

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Jun 19, 2023

@Page- Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in 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.

You can test the changes of this PR in the Playground.

Status

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

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": 65824,
  "author": "Page-",
  "headCommitOid": "b382a5364cc1f5700133ff1a1a8bc688d4ca14c9",
  "mergeBaseOid": "94d68a3feab124a908cf95682dfcb254726ec0b5",
  "lastPushDate": "2023-06-19T15:17:46.000Z",
  "lastActivityDate": "2023-06-19T17:13:11.000Z",
  "mergeOfferDate": "2023-06-19T16:32:37.000Z",
  "mergeRequestDate": "2023-06-19T17:13:11.000Z",
  "mergeRequestUser": "Page-",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "netmask",
      "kind": "edit",
      "files": [
        {
          "path": "types/netmask/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/netmask/netmask-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "mhfrantz",
        "JanST123"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "JanST123",
      "date": "2023-06-19T16:31:51.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1597108583,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Jun 19, 2023
@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @mhfrantz @JanST123 — 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.

@Page-
Copy link
Copy Markdown
Contributor Author

Page- commented Jun 19, 2023

These changes are notable if you are extending the netmask class, eg as in the case of https://github.com/balena-io/open-balena-vpn/blob/v11.26.5/src/utils/netmask.ts

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Jun 19, 2023
@typescript-bot typescript-bot removed Owner Approved A listed owner of this package signed off on the pull request. Untested Change This PR does not touch tests labels Jun 19, 2023
@typescript-bot
Copy link
Copy Markdown
Contributor

@JanST123 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@Page-
Copy link
Copy Markdown
Contributor Author

Page- commented Jun 19, 2023

I added a test

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 19, 2023
@typescript-bot
Copy link
Copy Markdown
Contributor

@Page-: Everything looks good here. I am ready to merge this PR (at b382a53) on your behalf whenever you think it's ready.

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! ❤️

(@mhfrantz, @JanST123: you can do this too.)

@Page-
Copy link
Copy Markdown
Contributor Author

Page- commented Jun 19, 2023

Ready to merge

@typescript-bot typescript-bot merged commit 203b682 into DefinitelyTyped:master Jun 19, 2023
Desplandis pushed a commit to Desplandis/DefinitelyTyped that referenced this pull request Jul 3, 2023
…typings by @Page-

* [netmask]: Re-add properties `maskLong` and `netLong`

* [netmask]: Mark functions as methods and not properties

* [netmask]: Add test that we can extend the Netmask class
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. 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.

3 participants