Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's Changing and Why
Previously, the plugin code was not exporting the following plugins themselves:
circle
fisheye
shadow
threshold
This PR updates this to do just that. This fixes #864
What else might be affected
Because we're technically adding new functionality (our typings were wrong before, this just wasn't present on
jimp
before), we could make this a minor release or we could just make it a patch release and say that lack of export was a bugTasks
None of the tasks were required
jimp.d.ts
📦 Published PR as canary version:
0.9.8-canary.866.767.0
✨ Test out this PR locally via:
npm install @jimp/cli@0.9.8-canary.866.767.0 npm install @jimp/core@0.9.8-canary.866.767.0 npm install @jimp/custom@0.9.8-canary.866.767.0 npm install jimp@0.9.8-canary.866.767.0 npm install @jimp/plugin-blit@0.9.8-canary.866.767.0 npm install @jimp/plugin-blur@0.9.8-canary.866.767.0 npm install @jimp/plugin-circle@0.9.8-canary.866.767.0 npm install @jimp/plugin-color@0.9.8-canary.866.767.0 npm install @jimp/plugin-contain@0.9.8-canary.866.767.0 npm install @jimp/plugin-cover@0.9.8-canary.866.767.0 npm install @jimp/plugin-crop@0.9.8-canary.866.767.0 npm install @jimp/plugin-displace@0.9.8-canary.866.767.0 npm install @jimp/plugin-dither@0.9.8-canary.866.767.0 npm install @jimp/plugin-fisheye@0.9.8-canary.866.767.0 npm install @jimp/plugin-flip@0.9.8-canary.866.767.0 npm install @jimp/plugin-gaussian@0.9.8-canary.866.767.0 npm install @jimp/plugin-invert@0.9.8-canary.866.767.0 npm install @jimp/plugin-mask@0.9.8-canary.866.767.0 npm install @jimp/plugin-normalize@0.9.8-canary.866.767.0 npm install @jimp/plugin-print@0.9.8-canary.866.767.0 npm install @jimp/plugin-resize@0.9.8-canary.866.767.0 npm install @jimp/plugin-rotate@0.9.8-canary.866.767.0 npm install @jimp/plugin-scale@0.9.8-canary.866.767.0 npm install @jimp/plugin-shadow@0.9.8-canary.866.767.0 npm install @jimp/plugin-threshold@0.9.8-canary.866.767.0 npm install @jimp/plugins@0.9.8-canary.866.767.0 npm install @jimp/test-utils@0.9.8-canary.866.767.0 npm install @jimp/bmp@0.9.8-canary.866.767.0 npm install @jimp/gif@0.9.8-canary.866.767.0 npm install @jimp/jpeg@0.9.8-canary.866.767.0 npm install @jimp/png@0.9.8-canary.866.767.0 npm install @jimp/tiff@0.9.8-canary.866.767.0 npm install @jimp/types@0.9.8-canary.866.767.0 npm install @jimp/utils@0.9.8-canary.866.767.0 # or yarn add @jimp/cli@0.9.8-canary.866.767.0 yarn add @jimp/core@0.9.8-canary.866.767.0 yarn add @jimp/custom@0.9.8-canary.866.767.0 yarn add jimp@0.9.8-canary.866.767.0 yarn add @jimp/plugin-blit@0.9.8-canary.866.767.0 yarn add @jimp/plugin-blur@0.9.8-canary.866.767.0 yarn add @jimp/plugin-circle@0.9.8-canary.866.767.0 yarn add @jimp/plugin-color@0.9.8-canary.866.767.0 yarn add @jimp/plugin-contain@0.9.8-canary.866.767.0 yarn add @jimp/plugin-cover@0.9.8-canary.866.767.0 yarn add @jimp/plugin-crop@0.9.8-canary.866.767.0 yarn add @jimp/plugin-displace@0.9.8-canary.866.767.0 yarn add @jimp/plugin-dither@0.9.8-canary.866.767.0 yarn add @jimp/plugin-fisheye@0.9.8-canary.866.767.0 yarn add @jimp/plugin-flip@0.9.8-canary.866.767.0 yarn add @jimp/plugin-gaussian@0.9.8-canary.866.767.0 yarn add @jimp/plugin-invert@0.9.8-canary.866.767.0 yarn add @jimp/plugin-mask@0.9.8-canary.866.767.0 yarn add @jimp/plugin-normalize@0.9.8-canary.866.767.0 yarn add @jimp/plugin-print@0.9.8-canary.866.767.0 yarn add @jimp/plugin-resize@0.9.8-canary.866.767.0 yarn add @jimp/plugin-rotate@0.9.8-canary.866.767.0 yarn add @jimp/plugin-scale@0.9.8-canary.866.767.0 yarn add @jimp/plugin-shadow@0.9.8-canary.866.767.0 yarn add @jimp/plugin-threshold@0.9.8-canary.866.767.0 yarn add @jimp/plugins@0.9.8-canary.866.767.0 yarn add @jimp/test-utils@0.9.8-canary.866.767.0 yarn add @jimp/bmp@0.9.8-canary.866.767.0 yarn add @jimp/gif@0.9.8-canary.866.767.0 yarn add @jimp/jpeg@0.9.8-canary.866.767.0 yarn add @jimp/png@0.9.8-canary.866.767.0 yarn add @jimp/tiff@0.9.8-canary.866.767.0 yarn add @jimp/types@0.9.8-canary.866.767.0 yarn add @jimp/utils@0.9.8-canary.866.767.0