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.3 to 2.0.4

4

dist/index.js

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

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

@@ -42,3 +42,3 @@ }

set(name, data) {
return this.data[name] = data;
return this.data[name.toUpperCase()] = data;
}

@@ -45,0 +45,0 @@ get size() {

{
"name": "@canvacord/assets",
"version": "2.0.3",
"version": "2.0.4",
"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