Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Upgraded jimp to the smaller version (#2963)
Browse files Browse the repository at this point in the history
* Upgraded jimp to the latest version

* Downgrade jimp to 0.12
  • Loading branch information
EvanBacon authored Nov 27, 2020
1 parent 939de8b commit bb05003
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 225 deletions.
2 changes: 1 addition & 1 deletion packages/image-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"chalk": "^4.0.0",
"fs-extra": "9.0.0",
"getenv": "0.7.0",
"jimp": "^0.9.6",
"jimp": "0.12.1",
"mime": "^2.4.4",
"node-fetch": "^2.6.0",
"parse-png": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/image-utils/src/Download.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs-extra';
import Jimp from 'jimp';
import Jimp from 'jimp/es';
import fetch from 'node-fetch';
import path from 'path';
import stream from 'stream';
Expand Down
2 changes: 1 addition & 1 deletion packages/image-utils/src/jimp.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs-extra';
import Jimp from 'jimp';
import Jimp from 'jimp/es';
import * as path from 'path';

import {
Expand Down
Loading

0 comments on commit bb05003

Please sign in to comment.