Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@canvacord/assets

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canvacord/assets - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

6

dist/index.js

@@ -28,3 +28,3 @@ "use strict";

const name = (_a = file.split(".").shift()) !== null && _a !== void 0 ? _a : file;
this.data[name] = `${this.dir}/${file}`;
this.data[name] = `${this.dir}\\${file}`;
}

@@ -49,4 +49,4 @@ this.loaded = true;

module.exports = {
font: new AssetManager(path_1.default.join(__dirname, "data", "fonts")),
image: new AssetManager(path_1.default.join(__dirname, "data", "images")),
font: new AssetManager(path_1.default.join(__dirname, "..", "data", "fonts")),
image: new AssetManager(path_1.default.join(__dirname, "..", "data", "images")),
utils: {

@@ -53,0 +53,0 @@ AssetManager

{
"name": "@canvacord/assets",
"version": "2.0.2",
"version": "2.0.3",
"description": "Assets used in Canvacord",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc