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

refactor(image): deprecate urlPlaceholder #3341

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Dec 24, 2024

According to our integration test and some manual tests, I determined, that faker.image.urlPlaceholder is no longer working most of the time.
So we should deprecate it for removal.

https://github.com/faker-js/faker/actions/runs/12460490305/job/34778781065

https://via.placeholder.com/1000x1000
https://via.placeholder.com/3501x3500/922c3c/c30a74.jpeg?text=vulnus%20cuius%20veritas

There seems to be additional size constrictions e.g. 3999 -> 3500.

@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: image Something is referring to the image module deprecation A deprecation was made in the PR labels Dec 24, 2024
@ST-DDT ST-DDT added this to the v9.x milestone Dec 24, 2024
@ST-DDT ST-DDT requested review from a team December 24, 2024 13:15
@ST-DDT ST-DDT self-assigned this Dec 24, 2024
Copy link

netlify bot commented Dec 24, 2024

Deploy Preview for fakerjs ready!

Name Link
🔨 Latest commit 5842965
🔍 Latest deploy log https://app.netlify.com/sites/fakerjs/deploys/676ab3e8dc6e9d00080356be
😎 Deploy Preview https://deploy-preview-3341.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (e0a96f2) to head (5842965).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #3341      +/-   ##
==========================================
- Coverage   99.97%   99.97%   -0.01%     
==========================================
  Files        2811     2811              
  Lines      217006   217012       +6     
  Branches      939      936       -3     
==========================================
+ Hits       216955   216959       +4     
- Misses         51       53       +2     
Files with missing lines Coverage Δ
src/modules/image/index.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs deprecation A deprecation was made in the PR m: image Something is referring to the image module p: 1-normal Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants