Skip to content

[object-fit-images] Fix name: objectFillImages -> objectFitImages#59199

Merged
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
rnitta:patch-1
Apr 4, 2022
Merged

[object-fit-images] Fix name: objectFillImages -> objectFitImages#59199
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
rnitta:patch-1

Conversation

@rnitta
Copy link
Copy Markdown
Contributor

@rnitta rnitta commented Mar 9, 2022

object-fit-images does not have objectFillImages function.
There is objectFitImages.
https://github.com/fregante/object-fit-images/blob/master/dist/ofi.js#L2

Select one of these and delete the others:

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tslint.json should contain { "extends": "@definitelytyped/dtslint/dt.json" }, and no additional rules.
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: the implementation of the package
  • 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.
    • The type definition is incorrect when the conventional type definition is published.

If removing a declaration:

  • If a package was never on Definitely Typed, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
  • Delete the package's directory.
  • Add it to notNeededPackages.json.

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 9, 2022

@rnitta Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

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.

Inactive

This PR has been inactive for 6 days.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 59199,
  "author": "rnitta",
  "headCommitOid": "98fcec6d509ab2054f3c038256ba3281fb22c1ed",
  "mergeBaseOid": "4d36ebc9253e57b2f3117eea9af3cc18adc2a6ab",
  "lastPushDate": "2022-03-09T04:14:51.000Z",
  "lastActivityDate": "2022-04-04T02:19:52.000Z",
  "mergeOfferDate": "2022-03-28T23:25:02.000Z",
  "mergeRequestDate": "2022-04-04T02:19:52.000Z",
  "mergeRequestUser": "rnitta",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "object-fit-images",
      "kind": "edit",
      "files": [
        {
          "path": "types/object-fit-images/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/object-fit-images/object-fit-images-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "rann91"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "andrewbranch",
      "date": "2022-03-28T23:24:23.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 1062536013,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Mar 9, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @rann91 — 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 removed the Untested Change This PR does not touch tests label Mar 9, 2022
@DangerBotOSS
Copy link
Copy Markdown

Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files.
The check for missing properties isn't always right, so take this list as advice, not a requirement.

object-fit-images (unpkg)

was missing the following properties:

  1. supportsObjectFit
  2. supportsObjectPosition

Generated by 🚫 dangerJS against 98fcec6

@typescript-bot
Copy link
Copy Markdown
Contributor

Re-ping @rann91:

This PR has been out for over a week, yet I haven't seen any reviews.

Could someone please give it some attention? Thanks!

@typescript-bot typescript-bot added the Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. label Mar 20, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

It has been more than two weeks and this PR still has no reviews.

I'll bump it to the DT maintainer queue. Thank you for your patience, @rnitta.

(Ping @rann91.)

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner and removed Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. labels Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@rnitta: Everything looks good here. I am ready to merge this PR (at 98fcec6) 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! ❤️

(@rann91: you can do this too.)

@rnitta
Copy link
Copy Markdown
Contributor Author

rnitta commented Apr 4, 2022

Ready to merge

@typescript-bot typescript-bot merged commit 71d3ff0 into DefinitelyTyped:master Apr 4, 2022
@rnitta rnitta deleted the patch-1 branch April 4, 2022 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Approved 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.

4 participants