apexify.js 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/index.js +1 -2
- package/package.json +3 -6
package/README.md
CHANGED
|
@@ -291,8 +291,8 @@ const result = await db.drop();
|
|
|
291
291
|
Add images, shapes, and effects to images with ease!
|
|
292
292
|
|
|
293
293
|
```js
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
const { ApexPainter } = require('apexify.js');/// cjs module .js
|
|
295
|
+
import { ApexPainter } from 'apexify.js';/// ejs module .mjs or ts
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
const paintImage = new ApexPainter();
|
|
@@ -657,7 +657,7 @@ client.on('interactionCreate', async (i) => {
|
|
|
657
657
|
## 📚 More Info & Documentation 📖
|
|
658
658
|
<details>
|
|
659
659
|
|
|
660
|
-
Explore a detailed list of apexify.js and their usage at our [Support Server](https://
|
|
660
|
+
Explore a detailed list of apexify.js and their usage at our [Support Server](https://discord.gg/2YsyePDB).
|
|
661
661
|
|
|
662
662
|
## 🚨 Important Notes 📌
|
|
663
663
|
|
package/index.js
CHANGED
|
@@ -4,7 +4,6 @@ var axios_1 = require("axios");
|
|
|
4
4
|
var path = require("path");
|
|
5
5
|
var fs_1 = require("fs");
|
|
6
6
|
var RED = "\x1b[31m";
|
|
7
|
-
var GREEN = "\x1b[32m";
|
|
8
7
|
var CYAN = "\x1b[36m";
|
|
9
8
|
var RESET = "\x1b[0m";
|
|
10
9
|
var packageJsonPath = path.resolve(process.cwd(), "package.json");
|
|
@@ -18,7 +17,7 @@ var getLibraryVersion = function (library) {
|
|
|
18
17
|
var checkLibraryVersion = function (library, version) {
|
|
19
18
|
var installedVersion = getLibraryVersion(library);
|
|
20
19
|
if (installedVersion === "Not installed") {
|
|
21
|
-
console.error(RED + "Error: Please install ".concat(library
|
|
20
|
+
console.error(RED + "Error: Please install ".concat(library) + RESET);
|
|
22
21
|
}
|
|
23
22
|
if (installedVersion < version) {
|
|
24
23
|
console.error(CYAN +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apexify.js",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"openai",
|
|
88
88
|
"open-ai"
|
|
89
89
|
],
|
|
90
|
-
|
|
90
|
+
"author": "zenith-79",
|
|
91
91
|
"license": "ISC",
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@iamtraction/google-translate": "^2.0.1",
|
|
@@ -110,9 +110,6 @@
|
|
|
110
110
|
"tesseract.js": "^5.0.5"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"
|
|
114
|
-
"fs": "^0.0.1-security",
|
|
115
|
-
"path": "^0.12.7",
|
|
116
|
-
"typescript": "^5.3.3"
|
|
113
|
+
"typescript": "^5.4.2"
|
|
117
114
|
}
|
|
118
115
|
}
|