-
-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(image)!: remove v8 deprecated providers (#2634)
- Loading branch information
1 parent
c96176b
commit 44d698e
Showing
6 changed files
with
21 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### Remove deprecated image providers | ||
|
||
Removed deprecated image providers from `faker.image`. They already returned broken image URLs anyways. | ||
|
||
| old | replacement | | ||
| ----------------------------------------- | ------------------------------------------------------ | | ||
| faker.image.lorempicsum.image | faker.image.urlPicsumPhotos | | ||
| faker.image.lorempicsum.imageGrayscale | faker.image.urlPicsumPhotos({ grayscale: true }) | | ||
| faker.image.lorempicsum.imageBlurred | faker.image.urlPicsumPhotos({ blur: 4 }) | | ||
| faker.image.lorempicsum.imageRandomSeeded | faker.image.urlPicsumPhotos | | ||
| faker.image.lorempicsum.imageUrl | faker.image.urlPicsumPhotos | | ||
| faker.image.placeholder.imageUrl | faker.image.urlPlaceholder | | ||
| faker.image.placeholder.randomUrl | faker.image.urlPlaceholder | | ||
| faker.image.unsplash.image | faker.image.url | | ||
| faker.image.unsplash.imageUrl | faker.image.url | | ||
| faker.image.unsplash.food | faker.image.urlLoremFlickr({ category: 'food' }) | | ||
| faker.image.unsplash.people | faker.image.urlLoremFlickr({ category: 'people' }) | | ||
| faker.image.unsplash.nature | faker.image.urlLoremFlickr({ category: 'nature' }) | | ||
| faker.image.unsplash.technology | faker.image.urlLoremFlickr({ category: 'technology' }) | | ||
| faker.image.unsplash.objects | faker.image.urlLoremFlickr({ category: 'objects' }) | | ||
| faker.image.unsplash.buildings | faker.image.urlLoremFlickr({ category: 'buildings' }) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.