canvacord
Advanced tools
Comparing version 5.4.0 to 5.4.1
{ | ||
"name": "canvacord", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Powerful image manipulation package for beginners.", | ||
@@ -60,3 +60,3 @@ "main": "index.js", | ||
"moment-duration-format": "^2.3.2", | ||
"node-fetch": "2.6.6" | ||
"node-fetch": "2.6.7" | ||
}, | ||
@@ -63,0 +63,0 @@ "devDependencies": { |
@@ -37,6 +37,9 @@ const fs = require("fs"); | ||
module.exports = { | ||
load: loadAssets, | ||
ASSETS_DIR, | ||
font: { | ||
module.exports = class CanvacordAssets { | ||
constructor() { | ||
return CanvacordAssets; | ||
} | ||
static load = loadAssets; | ||
static ASSETS_DIR = ASSETS_DIR; | ||
static font = { | ||
get(name) { | ||
@@ -56,4 +59,4 @@ if (!name || typeof name !== "string") throw new TypeError("font name must be a string"); | ||
} | ||
}, | ||
image: { | ||
}; | ||
static image = { | ||
get(name) { | ||
@@ -60,0 +63,0 @@ if (!name || typeof name !== "string") throw new TypeError("image name must be a string"); |
@@ -1326,2 +1326,3 @@ const Trigger = require("../libs/Trigger"); | ||
* Canvacord assets | ||
* @type {CanvacordAssets} | ||
* @private | ||
@@ -1328,0 +1329,0 @@ */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194161
3880
+ Addednode-fetch@2.6.7(transitive)
- Removednode-fetch@2.6.6(transitive)
Updatednode-fetch@2.6.7